Exception of type 'System.Web.HttpUnhandledException' was thrown. RRS feed

  • Question

  • Exception of type 'System.Web.HttpUnhandledException' was thrown. at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.userpay_aspx.ProcessRequest(HttpContext context) in \\AppData\Local\Temp\2\Temporary ASP.NET Files\vs\f84583d4\9677a859\App_Web_wg0gcyin.9.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    I am getting an error when i try to download a pdf using the Asp.net page.

    On running the script an exception has been thrown in the page when i try to debug

    An exception of type 'System.IO.FileLoadException' occurred in Web.dll but was not handled in user code
    Additional information: Could not load file or assembly 'FlexCel, Version=, Culture=neutral, PublicKeyToken=cb8f6080e6d5a4d6' or one of its dependencies. The located assembly's manifest definition does not

    Tried google and checked for the solution, 

    removed the Asp.net temporary files from the location and tried debugging it and still issue persists. 

    Friday, May 24, 2019 10:29 AM

All replies

  • Anexception of type 'System.IO.FileLoadException'occurred in Web.dll but was nothandled inuser code
    Additionalinformation: Could notload file orassembly 'FlexCel, Version=, Culture=neutral, PublicKeyToken=cb8f6080e6d5a4d6' orone of its dependencies. Thelocated assembly's manifest definition does not

    It's telling you what is wrong. You are being told that the ASP.NET Web program cannot find the FlexCel DLL that should be sittting in the Bin folder the Web program is using. The .NET assembly manifest knows about the FlexCel DLL it wants right down to its version number and publickeytoken.

    If the'FlexCel DLL is there with  the correct version no and PKT, then a dependency DLL the FlexCel DLL needs  is missing in the Bin folder.

    ASP.NET issues can be discussed in the ASP.NET forums.



    • Edited by DA924x Friday, May 24, 2019 6:55 PM
    Friday, May 24, 2019 6:52 PM
  • Hi Sachin151181,

    Thank for posting here.

    Since this thread is related to asp.net, you could post in the following link.


    The Visual C# forum discusses and asks questions about the C# programming language, IDE, libraries, samples, and tools.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, May 27, 2019 1:59 AM