HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/21/2014 4:41:51 AM
Gravatar
Total Posts 12

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

Hi,

I am trying to create code for deploy on azure cloud service.

I have created cloud service and added webrole, in that webrole have added the mojo code(web folder). When i tried to run the code runtime its shows the error "HTTP Error 500.19 - Internal Server Error: The requested page cannot be accessed because the related configuration data for the page is invalid." 

I have tried all possible resolutions for the same.

Please see below error details.

Let me know what I'm doing wrong, and what is the solution for the same.

----------------------------------Error details -----------------------------------------------------

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
Module       IIS Web Core
Notification       Unknown
Handler       Not yet determined
Error Code       0x800700b7
Config Error       Config section 'system.web/compilation' already defined. Sections must only appear once per config file. See the help topic <location> for exceptions
Config File       \\?\D:\PowerSite\AzureDeploy\deploymojo1\Web\web.config
Requested URL       http://localhost:55325/
Physical Path       
Logon Method       Not yet determined
Logon User       Not yet determined
Request Tracing Directory       C:\Users\rohit.jagtap\Documents\IISExpress\TraceLogFiles\
Config Source:

 1173:   <system.web>
 1174:     <compilation targetFramework="4.0" />
 1175:     

----------------------------------------------------------------------------------------------------

Thanks,

Rohit

5/21/2014 10:41:26 AM
Gravatar
Total Posts 18439

Re: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

you error message seems clear:

"Config section 'system.web/compilation' already defined. Sections must only appear once per config file. See the help topic <location> for exceptions
Config File       \\?\D:\PowerSite\AzureDeploy\deploymojo1\Web\web.config"

either your web.config file has mistakes before deployment or it is getting corrupted during deployment somehow.

You must sign in to post in the forums. This thread is closed to new posts.