Hello
I am using the WebDataGrid and I keep getting this error when I load the page that only has a WebDataGrid on it.
System.Web.HttpException: File does not exist.
at System.Web.StaticFileHandler.GetFileInfo(String virtualPathWithPathInfo, String physicalPath, HttpResponse response)
at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context)
at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
The page loads just fine, but I have log4net that keeps logging the above error when ever the page loads, grid sorts, etc. Did a file not get copied when I added the WebDataGrid to the page?
Thanks
Hello,
Is this the complete stack-trace? It is not originating from WebDataGrid and WebDataGrid is not mentioned anywhere in it, so it is really hard to tell how WebDataGrid relates to it. Is it possible that you have not copied some required resource the grid uses, like the skins folder ig_res?
Do you get these errors in debug only mode or both in debug and release?
Google searches for similar errors lead to this thread, maybe it will be helpful for you:
http://forums.asp.net/t/1360302.aspx
If none of these helps, could you please paste your grid declaration and any relevant code, so we can try to reproduce that locally?
It seems that I am missing the following resource folder.
/ig_res/default/transparent
Any ideas how to find this folder and add it to my project?
I have changed the css code in the copy of ig_datagrid.css in my applications ig_res folder. Unfortunately, this did not work. I am wondering how you managed to find the above solution. I am unable to catch this exception when it occurs (the only information I get is in application_error, by which time it is too late, i don't know the source of the error.)
It seems to happen everytime I call databind() on the WebDataGrid.
When I tried url(none) it still continued to ask for /ig_res/default/transparent. I replaced url(none) with:
background-image: none;
Unfortunately, I continue to get the same request for /ig_res/default/transparent. I am replacing in both .igg_HeaderRowSelector and .igg_FooterRowSelector. I even tried removing the entire background-image line, but I continue to get the same request. The problem always happens in the databind on the WebDataGrid.
Hey,
I made background-image: url(transparent); into background-image:none; and aslo cleared browser history. still I 'm facing same error...Can you help?
Harasho! Yzumitelno! Spasibo!
That did the job. Thank you very much for your help Alex.
Paka