Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ASP ProcessRequestInternal Error (Read 2923 times)
oakenshield
YaBB Newbies
*
Offline



Posts: 19
Location: France
Joined: Sep 21st, 2007
ASP ProcessRequestInternal Error
Oct 29th, 2007 at 11:40am
Print Post  
Hi,

I use NetDiagram in an ASP project, and i've found in the logs of the application the following non-blocking error :

GLOBAL ERROR - The file does not exist.

at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context)

This error is apparently caused by the diagram component, despite the fact that it is displayed correctly, so I'm wondering what is the exact cause of this error, any idea ?

Thanks in advance.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ASP ProcessRequestInternal Error
Reply #1 - Oct 29th, 2007 at 12:31pm
Print Post  
Hi,

StaticFileHandler is used by ASP.NET to send to the browser static files, as they are, without compiling or executing them. The only such file that might be requested while you are using NetDiagram is the applet's ".jar" file. Is there any file name mentioned in the logs regarding that error?

Stoyan
  
Back to top
 
IP Logged
 
oakenshield
YaBB Newbies
*
Offline



Posts: 19
Location: France
Joined: Sep 21st, 2007
Re: ASP ProcessRequestInternal Error
Reply #2 - Mar 31st, 2008 at 10:03am
Print Post  
Hi,

I've refocused recently on that weird problem, here's what I found :

In debug mode, I watched the following object :

Code
Select All
((HttpApplication)sender).Context.Request 



The CurrentExecutionFilePath property of this object is :

<location of my ASP page>/META-INF/services/javax.xml.parsers.DocumentBuilderFactory

This directory doesn't exist, this could explain the "file does not exist" error !

I've tried to create manually this directory, after that the applet returned the following javascript error :

Code
Select All
java.lang.Exception javax.xml.parsers.FactoryConfigurationError:
Provider <html> not found 



Can you help me with this new elements ? This "file does not exist" error occurs very often...

Thanks !
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ASP ProcessRequestInternal Error
Reply #3 - Mar 31st, 2008 at 11:14am
Print Post  
This class is used by the applet, and apparently the Java runtime tries to get it from the server before loading it from the local system. I suppose you could add to JDiagram.jar the DocumentBuilderFactory.class, but then there might be a lot more JDK classes needed. So if the problem is only the message appearing in the logs, probably it's best to not bother with it.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint