ASP.net MethodInfo invoke hangs. Page will no longer respond

Last post 01-07-2009 10:49 PM by emsomeone. 2 replies.

Sort Posts:

  • ASP.net MethodInfo invoke hangs. Page will no longer respond

    11-06-2008, 9:17 PM
    • Member
      point Member
    • emsomeone
    • Member since 11-06-2008, 9:12 PM
    • Posts 5

    Hi everyone I have a problem with MethodInfo.Invoke. Here is the scenario. If i click a button it will dynamically call dll in runtime using MethodInfo.invoke. The DLL receives a hashtable and return a hashtable. I use the output hashtable to populate a PDF file. After the PDF is created it is then redirected to another page using Response.Redirect. What happens is it won't redirect to the designated page. Other functions like LOG off will no longer respond. The thing is the PDF was successfully created. I debugged the application and it does not generate any error or something When i remove the function that Invokes the DLL. The page redirects smoothly.

    I suspect that methodInfo somehow creates a conflict with asp.ner process but I don't know where to look.

    Regards & Thanks in Advance

  • Re: ASP.net MethodInfo invoke hangs. Page will no longer respond

    11-11-2008, 2:06 AM

    Hi,

    Did "Response.Redirect" line execute while debugging? Is there any first chance exception in OutPut window while debugging?

    You can try to use Response.Redirect ("PageName.aspx", false) to see if it works.

     

    I look forward to hearing from you.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: ASP.net MethodInfo invoke hangs. Page will no longer respond

    01-07-2009, 10:49 PM
    • Member
      point Member
    • emsomeone
    • Member since 11-06-2008, 9:12 PM
    • Posts 5

    Hi,

    Yap i Already tried that and it didn't work. Yes the line do execute when I debug the program. I still do not have any clue why it occur.

    Regards,

Page 1 of 1 (3 items)