473,765 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

FileNotFoundExc eption ParserCacheItem GetParserCacheI tem

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.FileN otFoundExceptio n, mscorlib, Version=1.0.500 0.0,
Culture=neutral , PublicKeyToken= b77a5c561934e08 9
Message : C:\WebSites\RNB S\WebUI\wwwroot \retailOffice\l oans.aspx
Source : System.Web
Help link :
FileName :
FusionLog :
TargetSite : System.Web.UI.P arserCacheItem GetParserCacheI tem()
Stack Trace : at System.Web.UI.T emplateParser.G etParserCacheIt em()
at
System.Web.UI.T emplateControlP arser.CompileAn dGetParserCache Item(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.T emplateControlP arser.GetCompil edInstance(Stri ng
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.P ageParser.GetCo mpiledPageInsta nceInternal(Str ing
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.P ageHandlerFacto ry.GetHandler(H ttpContext context,
String requestType, String url, String path)
at System.Web.Http Application.Map HttpHandler(Htt pContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig)

Nov 19 '05 #1
5 1973
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\Micr osoft.NET\Frame work\v1.1.4322> aspnet_regiis.e xe -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.FileN otFoundExceptio n, mscorlib, Version=1.0.500 0.0,
Culture=neutral , PublicKeyToken= b77a5c561934e08 9
Message : C:\WebSites\RNB S\WebUI\wwwroot \retailOffice\l oans.aspx
Source : System.Web
Help link :
FileName :
FusionLog :
TargetSite : System.Web.UI.P arserCacheItem GetParserCacheI tem()
Stack Trace : at System.Web.UI.T emplateParser.G etParserCacheIt em()
at
System.Web.UI.T emplateControlP arser.CompileAn dGetParserCache Item(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.T emplateControlP arser.GetCompil edInstance(Stri ng
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.P ageParser.GetCo mpiledPageInsta nceInternal(Str ing
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.P ageHandlerFacto ry.GetHandler(H ttpContext context,
String requestType, String url, String path)
at System.Web.Http Application.Map HttpHandler(Htt pContext 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\Micr osoft.NET\Frame work\v1.1.4322> aspnet_regiis.e xe -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.FileN otFoundExceptio n, mscorlib, Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b77a5c561934e08 9
Message : C:\WebSites\RNB S\WebUI\wwwroot \retailOffice\l oans.aspx
Source : System.Web
Help link :
FileName :
FusionLog :
TargetSite : System.Web.UI.P arserCacheItem GetParserCacheI tem()
Stack Trace : at System.Web.UI.T emplateParser.G etParserCacheIt em() at
System.Web.UI.T emplateControlP arser.CompileAn dGetParserCache Item(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.T emplateControlP arser.GetCompil edInstance(Stri ng virtualPath, String inputFile, HttpContext context)
at System.Web.UI.P ageParser.GetCo mpiledPageInsta nceInternal(Str ing virtualPath, String inputFile, HttpContext context)
at System.Web.UI.P ageHandlerFacto ry.GetHandler(H ttpContext context, String requestType, String url, String path)
at System.Web.Http Application.Map HttpHandler(Htt pContext 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\Micr osoft.NET\Frame work\v1.1.4322> aspnet_regiis.e xe -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.FileN otFoundExceptio n, mscorlib, Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b77a5c561934e08 9
Message : C:\WebSites\RNB S\WebUI\wwwroot \retailOffice\l oans.aspx
Source : System.Web
Help link :
FileName :
FusionLog :
TargetSite : System.Web.UI.P arserCacheItem GetParserCacheI tem()
Stack Trace : at System.Web.UI.T emplateParser.G etParserCacheIt em() at
System.Web.UI.T emplateControlP arser.CompileAn dGetParserCache Item(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.T emplateControlP arser.GetCompil edInstance(Stri ng virtualPath, String inputFile, HttpContext context)
at System.Web.UI.P ageParser.GetCo mpiledPageInsta nceInternal(Str ing virtualPath, String inputFile, HttpContext context)
at System.Web.UI.P ageHandlerFacto ry.GetHandler(H ttpContext context, String requestType, String url, String path)
at System.Web.Http Application.Map HttpHandler(Htt pContext 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***@discussi ons.microsoft.c om> 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
FileNotFoundExc eption 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\wwwr oot\hams\ams\cu stomer.aspx
Error Source: System.Web
Error Target Site: System.Web.UI.P arserCacheItem GetParserCacheI tem()
Error Stack: at System.Web.UI.T emplateParser.G etParserCacheIt em()
at
System.Web.UI.T emplateControlP arser.CompileAn dGetParserCache Item(String
virtualPath, String inputFile, HttpContext
context)
at System.Web.UI.T emplateControlP arser.GetCompil edInstance(Stri ng
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.P ageParser.GetCo mpiledPageInsta nceInternal(Str ing
virtualPath, String inputFile, HttpContext context
)
at System.Web.UI.P ageHandlerFacto ry.GetHandler(H ttpContext context,
String requestType, String url, String path)
at System.Web.Http Application.Map HttpHandler(Htt pContext context, String
requestType, String path, String pathTransla
ted, Boolean useAppConfig)

QueryString Data:
-----------------
Exception Stack Trace:
----------------------
at System.Web.Http Application.Map HttpHandler(Htt pContext context, String
requestType, String path, String pathTransla
ted, Boolean useAppConfig)
at
System.Web.MapH andlerExecution Step.System.Web .HttpApplicatio n+IExecutionSte p.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously)

"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***@discussi ons.microsoft.c om> 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
6704
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 System.EnterpriseServices.ResourcePool(null); The exception I get for this line is System.IO.FileNotFoundException: The specified module could not be found.
2
1582
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 and I don't know where it's getting that. Any ideas? System.IO.FileNotFoundException: c:\inetpub\wwwroot\framescale\get_aspx_ver.aspx at System.Web.UI.TemplateParser.GetParserCacheItem() at...
1
1141
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: ...\article1.aspx Source: System.Web TargetSite: System.Web.UI.ParserCacheItem GetParserCacheItem() StackTrace: at System.Web.UI.TemplateParser.GetParserCacheItem() at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem ....
0
1132
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 System.Web.UI.TemplateParser.GetParserCacheItem() at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControlParser.GetCompiledInstance(String
5
2255
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 System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControlParser.GetCompiledInstance(String virtualPath,
3
9085
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
1151
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 what's causing it. The website is www.homester.co.uk/homebuyers/search.aspx. I have asked another asp.net developer and he thought it was to do with page caching but i've since removed the page caching tag from the html page and the error is still...
0
1420
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 instance of the local class I get a FileNotFoundException not telling much more than the file cannot be found. I have made the below code that reproduces this behaviour. What I don't understand is that the debugger is reporting that the...
2
3087
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 the source code I wrote. string fileName = "thisfileneverexist.xml"; XmlTextReader xmlReader = null;
0
9398
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7375
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.