FileNotFoundException ParserCacheItem GetParserCacheItem

G

Guest

I Keep on getting this error on a production server, but never seem to manage
reproducing it on any test environment.

I just can't get my head around it, any ideas?

Inner Exception
---------------
Type : System.IO.FileNotFoundException, mscorlib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : C:\WebSites\RNBS\WebUI\wwwroot\retailOffice\loans.aspx
Source : System.Web
Help link :
FileName :
FusionLog :
TargetSite : System.Web.UI.ParserCacheItem GetParserCacheItem()
Stack Trace : at System.Web.UI.TemplateParser.GetParserCacheItem()
at
System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.GetCompiledInstance(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context,
String requestType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig)
 
G

Guest

Does your test server have a version of VS installed on it. What are the
differences between the two servers? I am getting the same problem.

MSCORLIB (I THINK) is part of the .Net framework. Is the same version of the
framework installed on both servers. Check this by running the following
command on both server:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>aspnet_regiis.exe -lk

That will list all versions of the framework on your pc and also which
version is running which iis apps.

Hope that stab in the dark helps.

David
 
J

johan.mansson

I'm having the exact same problem.
Just like you I get in on the production server but not in any test
environment.
 
G

Guest

Hi,

I discovered same error in my production environment. This error did not
happen earlier and I can see it happening from time to time (sometimes once
per hour, sometimes twice withing 5 minutes). The only difference between
before and now is that I had to restart my app on almost every day before
(software updates) and I did not do it on day errors started to occur. I have
feeling that it is related to some caching overflow issues inside .Net, but
not sure what do I need to change.
Please help.
 
S

Scott Allen

This error is a 404 error - it can happen when a request arrives at
the server for a non-existant ASPX page. Someone might have given out
a bad link to your site, or perhaps you have a bad link within your
site.
 
G

Guest

Dear Scott,

Thank you for your reply. I am sorry I have mislead you. I do not have
FileNotFoundException The error I get is shown below. As I said this is very
inconsistant error it occurs at different intervals, but seems always on the
same form, although I do not see anything done differently on this form to
others (I have around 70 pages in total and this one is not most commonly
used although it is frequent page).
This is precisely what I get in my logs:

Error in: /hams/ams/customer.aspx
Url: /hams/ams/customer.aspx
Application Path: /hams

Error Message: c:\inetpub\wwwroot\hams\ams\customer.aspx
Error Source: System.Web
Error Target Site: System.Web.UI.ParserCacheItem GetParserCacheItem()
Error Stack: at System.Web.UI.TemplateParser.GetParserCacheItem()
at
System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String
virtualPath, String inputFile, HttpContext
context)
at System.Web.UI.TemplateControlParser.GetCompiledInstance(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String
virtualPath, String inputFile, HttpContext context
)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context,
String requestType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, String path, String pathTransla
ted, Boolean useAppConfig)

QueryString Data:
-----------------
Exception Stack Trace:
----------------------
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, String path, String pathTransla
ted, Boolean useAppConfig)
at
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top