Error 500 after changing web.config
Hi,
I changed the web.config file to allow code blocks. Added <PageParserPath VirtualPath="/QTeam/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders=”true” /> under the PageParserPaths section, but now
I get an HTTP 500 error code. The error dissapears as soon as I revert the change and save web.config
What I am doing wrong?
Thanks in advance...Vlad
May 20th, 2011 5:47pm
Can you try enabling detailed error messages in IIS to see what exactly he error is
http://blogs.msdn.com/b/rakkimk/archive/2007/05/25/iis7-how-to-enable-the-detailed-error-messages-for-the-website-while-browsed-from-for-the-client-browsers.aspxMy SharePoint Blog
http://dhireny.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
May 21st, 2011 3:26am
Can you try enabling detailed error messages in IIS to see what exactly he error is
http://blogs.msdn.com/b/rakkimk/archive/2007/05/25/iis7-how-to-enable-the-detailed-error-messages-for-the-website-while-browsed-from-for-the-client-browsers.aspxMy SharePoint Blog
http://dhireny.blogspot.com
May 21st, 2011 3:26am
Thanks for your reply. Basically the error message is "Configuration file is not well-formed XML". But I can't find the error in this line:
<PageParserPath VirtualPath="/QTeam/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders=”true” />
Do I need to specify the whole path?
Thanks
Free Windows Admin Tool Kit Click here and download it now
May 30th, 2011 10:10am
HTTP Error 500.19 – Internal Server Error
HRESULT: 0x8007000d
Description of HRESULT
The requested page cannot be accessed because the related configuration data for the page is invalid.
Here's Micro$oft's resolution:
Delete the malformed XML element
Dah!
May 30th, 2011 10:19am