Hi,i got an error while loading a page in asp.net.I have renamed the page before loading it.The error is as follows:-
**could not read state "obj\Debug\ResolveAssemblyReference.cache"**
Please help
Hi,i got an error while loading a page in asp.net.I have renamed the page before loading it.The error is as follows:-
**could not read state "obj\Debug\ResolveAssemblyReference.cache"**
Please help
Sounds to me like you need to clear your ASP.NET cache directory, located in:
C: \ Windows directory \ Microsoft.NET \ Framework \ v2.0.50727 \ Temporary ASP.NET Files \
Navigate to that directory and delete all folders in it.
Or Perhaps resetting your IIS will do the trick:
Or perhaps Visual Studio crapped out on you when you re-named the file. Check so see if your .aspx page is referencing it's .aspx.cs code-behind file and partial class correctly:
// First line of Default.aspx:
<%@ Page CodeFile="Default.aspx.cs" Inherits="_Default" %>
The Inherits property should be set to your partial class's name in your .aspx.cs code-behind file. The CodeFile property should point to your .aspx.cs. code-behind file.