2
Answers

Copied website won't open without an error

Thomas J

Thomas J

13y
2.1k
1
I created a website from the asp.net web site template and copied it to a remote web site.  If I start without debugging in VS the website will show but if I enter the url for the remote web site I get an error message,

HTTP Error 500.19 - Internal Server Error


Config Source
   49:   <system.webServer>    50:      <modules runAllManagedModulesForAllRequests="true"/>    51:   </system.webServer> 

I'm not sure what the problem is, I think it has something to do with IIS and a section being locked but then again that is why I'm seeking help on with this situation.

Answers (2)
0
Thomas J

Thomas J

NA 21 15.5k 13y
I think it's 4.0. If i check the IIS manager the connection fails when I click test connection. Authentication passes but Authorization fails with the message,

The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path.

I can't find any settings to change the read access for the application pool identity or anything similar to that, I've looked at advanced settings and basic settings of the application pool but don't understand them that well.
0
Praneeth Kumar

Praneeth Kumar

NA 832 43.4k 13y
Did you create a Asp.Net 4.0 website? If yes then have you enabled the deployed website to use the .Net 4.0 Framework. By default it will be .Net 2.0.

Regards,
Praneeth