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?
Hi,
I was investigating the same error like you have. Followed the procedure on the asp.net forum to get the break on the exception. But I can't seem to identify the causing missing file like you did. I have the latest ASP.NET components 2009.1 SR1 and I am using the style Claymation. The background-image mentioned here I had in the old versions but not in the new one.
Do you have any tips to find out what file could be missing?
It's not the file that is missing, it's a wrong style in the css class. If you open ig_datagrid.css in the ig_res/Claymation directory and find a string like background-image: url(transparent); it should be changed to background-image: none;