Description:An
error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message:CS0234: The type or namespace name 'AspNet' does not exist in the namespace 'DotNetOpenAuth' (are you missing
an assembly reference?)
Source Error:
Line 34: using WebMatrix.WebData;
Line 35: using Microsoft.Web.WebPages.OAuth;
Line 36: using DotNetOpenAuth.AspNet; Line 37:
Line 38:
Source File:c:\Users\me\AppData\Local\Temp\Temporary ASP.NET Files\root\2e9ea05c\2452461e\App_Web_index.cshtml.a8d08dba.2tcd-u2b.0.cs
Line:36
to solved this I deleted the references to DotNetOpenAuth*.dlls and then uninstalled all the DotNetOpenAuth stuff via neget, and now my error as in the OP.
As ignatandrei mentioned, you need to perform a search within your entire solution. If you are still recieving this error, a reference to the library in question still exists somewhere within the application.
GorillaMann
Member
117 Points
332 Posts
Why is IIS giving me an error about this temp App_Web_index.cshtml file
Jan 17, 2013 06:17 PM|LINK
what on earth do I do with this?
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'AspNet' does not exist in the namespace 'DotNetOpenAuth' (are you missing an assembly reference?)
Source Error:
Line 34: using WebMatrix.WebData; Line 35: using Microsoft.Web.WebPages.OAuth; Line 36: using DotNetOpenAuth.AspNet; Line 37: Line 38:Source File: c:\Users\me\AppData\Local\Temp\Temporary ASP.NET Files\root\2e9ea05c\2452461e\App_Web_index.cshtml.a8d08dba.2tcd-u2b.0.cs Line: 36
ignatandrei
All-Star
137682 Points
22147 Posts
Moderator
MVP
Re: Why is IIS giving me an error about this temp App_Web_index.cshtml file
Jan 17, 2013 06:45 PM|LINK
from where do you have this code?
GorillaMann
Member
117 Points
332 Posts
Re: Why is IIS giving me an error about this temp App_Web_index.cshtml file
Jan 17, 2013 06:49 PM|LINK
Its nowhere :(
GorillaMann
Member
117 Points
332 Posts
Re: Why is IIS giving me an error about this temp App_Web_index.cshtml file
Jan 17, 2013 09:42 PM|LINK
this error started as a result of this:
http://forums.asp.net/t/1874652.aspx/1?Could+not+load+file+or+assembly+DotNetOpenAuth+Core+Version+4+0+0+0
to solved this I deleted the references to DotNetOpenAuth*.dlls and then uninstalled all the DotNetOpenAuth stuff via neget, and now my error as in the OP.
not sure what to do next :(
Rion William...
All-Star
31998 Points
5194 Posts
Re: Why is IIS giving me an error about this temp App_Web_index.cshtml file
Jan 17, 2013 09:52 PM|LINK
This error occured since you clearly have some references to DotNetOpenAuth.AspNet (at least on line 37 of the page that threw the error).
You should try searching your solution for :
DotNetOpenAuth.AspNetand deleting any references to it.
You likely may have references to it within your web.config and other areas that you might not normally check.
ignatandrei
All-Star
137682 Points
22147 Posts
Moderator
MVP
Re: Why is IIS giving me an error about this temp App_Web_index.cshtml file
Jan 18, 2013 06:54 AM|LINK
Maybe you not find inside VS because it is a file not included in VS. Search with Windows Explorer.
GorillaMann
Member
117 Points
332 Posts
Re: Why is IIS giving me an error about this temp App_Web_index.cshtml file
Jan 21, 2013 01:36 PM|LINK
I did a full text search using text crawler in the solution but nothing was found :(
do you know why references to it keeps appearing in these temp files?
ignatandrei
All-Star
137682 Points
22147 Posts
Moderator
MVP
Re: Why is IIS giving me an error about this temp App_Web_index.cshtml file
Jan 21, 2013 01:38 PM|LINK
in the solution folder?
Rion William...
All-Star
31998 Points
5194 Posts
Re: Why is IIS giving me an error about this temp App_Web_index.cshtml file
Jan 21, 2013 01:46 PM|LINK
As ignatandrei mentioned, you need to perform a search within your entire solution. If you are still recieving this error, a reference to the library in question still exists somewhere within the application.
GorillaMann
Member
117 Points
332 Posts
Re: Why is IIS giving me an error about this temp App_Web_index.cshtml file
Jan 21, 2013 01:59 PM|LINK
Maybe its a fault with the dotnetauth library I'm using?