How do I trouble shooting- Parser Error Message: Unrecognized attribute ‘type’
Posted by chrissyz on May 5, 2009
Well, this is annoying… after some developers on my team played around ASP.NET framework (this is what I am guessing.. no one come to me to confess so far though
) our SharePoint portal suddenly stop working and get this message
Server Error in ‘/’ Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
|
Source File: C:\Inetpub\wwwroot\wss\VirtualDirectories\80\web.config Line: 16
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407 It took me some efforts to resolve this issue… First of all, after some investigation, I found in IIS manager, our sharepoint site is pointing to ASP.NET framework 1.1. The fix will be adjust it back to ASP.NET framework 2.0 (Just right click the web site -> Properties->ASP.NET tab ->Choose the correct framework) Now I re-render it again. This time I got page cannot be found error…Argh….so I tried re-registering ASP using Aspnet_regiis.http://msdn.microsoft.com/en-us/library/k6h9cz8h(VS.80).aspx And then render the page again…now I got this error: CS0016: Could not write to output file ‘c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a0f950ac\3f897461\fr-fr\App_GlobalResources.k8ft-2zy.resources.dll’ — ‘The directory name is invalid. ‘ OK, babe…whatever..This clearly indicate that the folder Temporary ASP.NET Files does not exist. So I went to My computer ->Properties->Advanced->Envrionment Variables. Make sure the folder System variables TEMP and TMP is pointing to exists on your computer and Network Services and aspnet accounts have full control of it. Then after an iisrest and long wait, my dream portal finally appears on the screen!




Christopher said
I am very grateful for this post. You just helped me bring a server back up. Thanks very much.
Rami said
Thank you, this post helped me, where this problem came from ?
Jonathan said
Thank you, thank you, thank you! You just saved my backside when my server suddenly crashed! Keep up the good work!
Rachael Bausor said
Thanks very much, exactly right.
Sharepoint web.config error after upgrade | Technomummy said
[...] quick google led me to Chris Zhong’s blog, and she very succintly detailed the fix – in IIS manager, go to the Properties of the [...]
Darin said
Thank you very much!
Your statemnet “I found in IIS manager, our sharepoint site is pointing to ASP.NET framework 1.1. The fix will be adjust it back to ASP.NET framework 2.0 (Just right click the web site -> Properties->ASP.NET tab ->Choose the correct framework”
Saved me a lot of time of trying to figure this error out.
Error went away immediately.
Thank you for sharing this information