Skip to content

Infragistics Community Forum / Desktop / Ultimate UI for ASP.NET Web Forms / System.Web.HttpException: File does not exist.

System.Web.HttpException: File does not exist.

New Discussion
Mark
Mark asked on Jun 23, 2011 2:18 PM

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

Sign In to post a reply

Replies

  • 0
    [Infragistics] Rumen Stankov
    [Infragistics] Rumen Stankov answered on Jan 28, 2009 6:57 AM

    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?

     

     

    • 0
      Mark
      Mark answered on Jan 28, 2009 7:37 PM

      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?

       

      • 0
        Alex Kartavov
        Alex Kartavov answered on Jan 28, 2009 8:43 PM

        This appears to be a problem with our css classes. If you open the

        ig_dataGrid.css file in /ig_res/default, search for url(transparent),

        two of the css classes are using it:

        ..igg_HeaderRowSelector

        {

        background-color:Transparent;

        background-image: url(transparent);

        border-width:0px;

        }

        ..igg_FooterRowSelector

        {

        background-color:Transparent;

        background-image: url(transparent);

        border-width:0px;

        }

        Change it to url(none);

        That should take care of the problem you're having. Sorry about that,

        typo on our side.

      • 0
        Mark
        Mark answered on Jan 28, 2009 9:10 PM

        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. 

      • 0
        Alex Kartavov
        Alex Kartavov answered on Jan 28, 2009 9:20 PM

        My bad, it should be

        background-image: none;

        when url() is used it instructs the browser to download the image in

        parenthesis. Obviously /ig_res/default/transparent does not exist but

        the browser still asks for it. I bet now it was asking for

        /ig_res/default/none

      • 0
        Mark
        Mark answered on Jan 28, 2009 9:51 PM

        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.

      • 0
        Alex Kartavov
        Alex Kartavov answered on Jan 28, 2009 9:55 PM

        The css file is probably cached by the browser. Try purging the cache

        and/or removing temporary files. Hope this will help.

      • 0
        Mark
        Mark answered on Jan 28, 2009 10:28 PM

        Harasho! Yzumitelno! Spasibo!

        That did the job. Thank you very much for your help Alex.

         Paka

      • 0
        LN
        LN answered on Jun 23, 2011 2:18 PM

        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?

         

      • 0
        Stijn René Cumps
        Stijn René Cumps answered on Aug 12, 2009 1:18 PM

        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?

        Thanks

      • 0
        Alex Kartavov
        Alex Kartavov answered on Aug 13, 2009 9:52 PM

        Hi,

        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;

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Mark
Favorites
0
Replies
11
Created On
Jun 23, 2011
Last Post
14 years, 8 months ago

Suggested Discussions

Created by

Created on

Jun 23, 2011 2:18 PM

Last activity on

Jun 23, 2011 2:18 PM