Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struggling to Get it running without Visual Studio #10

Open
farhan3777 opened this issue Feb 21, 2016 · 3 comments
Open

Struggling to Get it running without Visual Studio #10

farhan3777 opened this issue Feb 21, 2016 · 3 comments

Comments

@farhan3777
Copy link

Hello All,
I have followed the steps written here and got the application running, but I am struggling to run the application through IIS directly. Is there a way to do that?

@rroman81
Copy link

rroman81 commented Aug 1, 2019

I know this is dated, but could you explain the errors you are getting?

@tcsecchen
Copy link

i have a try and i can run application through IIS directly
First, publish the application to your folder (use visual stdio to publish)
then add it to iis

the project use .net3.5 default, i use .net4.8 have some errors and i resolved

  1. duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
    图片

you have two solutions
a.change your apppool .net version to 2.0

图片

b. delete the section from web.config
图片

if you choose solution B(use .net4.0 or later), maybe have another error
图片

then, modify web.config and add
<system.web>
...
< siteMap >
< providers >
< remove name="MySqlSiteMapProvider" />


</ system.web>
图片

the default.aspx will be ok
图片

then if have this error, change the apppool authority
图片
图片

click rebuild database
then everything will be ok
图片

@Pen-Ace
Copy link

Pen-Ace commented Jul 28, 2022

@tcsecchen
I'm stuck on the last bit as I don't know where that is located in the visual studio.
image
Are you able to explain how you got the MYSQL section working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants