473,382 Members | 1,635 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

FileNotFoundException ParserCacheItem GetParserCacheItem

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.CompileAndGetP arserCacheItem(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.GetCompiledIns tance(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context,
String requestType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig)

Nov 19 '05 #1
5 1961
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>aspne t_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
"Chris Aitchison" wrote:
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.CompileAndGetP arserCacheItem(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.GetCompiledIns tance(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context,
String requestType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig)

Nov 19 '05 #2
I'm having the exact same problem.
Just like you I get in on the production server but not in any test
environment.
W1ld0ne74 wrote:
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>aspne t_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
"Chris Aitchison" wrote:
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.CompileAndGetP arserCacheItem(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.GetCompiledIns tance(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context, String requestType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requestType, String path, String pathTranslated, Boolean useAppConfig)


Nov 19 '05 #3
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.


"jo***********@gmail.com" wrote:
I'm having the exact same problem.
Just like you I get in on the production server but not in any test
environment.
W1ld0ne74 wrote:
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>aspne t_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
"Chris Aitchison" wrote:
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.CompileAndGetP arserCacheItem(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.GetCompiledIns tance(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context, String requestType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requestType, String path, String pathTranslated, Boolean useAppConfig)


Nov 19 '05 #4
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.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Mon, 4 Jul 2005 21:44:02 -0700, "Andre"
<An***@discussions.microsoft.com> wrote:
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.


Nov 19 '05 #5
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.CompileAndGetP arserCacheItem(String
virtualPath, String inputFile, HttpContext
context)
at System.Web.UI.TemplateControlParser.GetCompiledIns tance(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String
virtualPath, String inputFile, HttpContext context
)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context,
String requestType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String
requestType, String path, String pathTransla
ted, Boolean useAppConfig)

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

"Scott Allen" wrote:
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.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Mon, 4 Jul 2005 21:44:02 -0700, "Andre"
<An***@discussions.microsoft.com> wrote:
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.


Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: ulf | last post by:
Hello, After I got a FileNotFoundException in my real life CSharp code, I nailed it down to the following line: System.EnterpriseServices.ResourcePool rp = new...
2
by: msnews.microsoft.com | last post by:
Not sure where this error is coming from. I have my asp.net app set to email me error messages, but this error message does not indicate where it occurs. There is no page called get_aspx_ver.aspx...
1
by: nemomason | last post by:
Since a couple of days I get reports of unhandled exception send by email by way of the global.asax method. As it happens, two files produce the following error a couple of times a day: Message:...
0
by: Karl Lang | last post by:
Hi, I'm getting a really strange error with a web application. I get the following stacktrace: Error Message: X:\Web\site.www\category\products\index.aspx Stack Trace: at...
5
by: MattC | last post by:
Hi, I am getting the following error: System.IO.FileNotFoundException: C:\Dreamtxt\WebSites\mysite\www\feedback.aspx at System.Web.UI.TemplateParser.GetParserCacheItem() at...
3
by: James | last post by:
Hi guys Do you ever get the exception in Managed C++? How can I know which file or dll is missed?
0
by: InnoCreate | last post by:
Hi Everyone, I'm a newbie to the group. Hope to be able to contribute something :D I have an asp.net v1.1 web application that randomly throws the error below. Does anyone have any idea's...
0
by: Peter Vestergaard | last post by:
Hi, I am running VS .Net 2005. I have an application in which one of the classes are having a member that is an instance of a class defined in a managed C++ dll. As soon as I try to create an...
2
by: bbindae | last post by:
I am trying to check whether XmlTextReader reads the xml file successfully or not. MSDN says that XmlTextReader raise the FileNotFoundException when it cannot find the file to read. Here is...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.