Unmanaged DLL Instantiation Fails in ASP.NET and Page Expires

Discussion in 'ASP .Net' started by =?Utf-8?B?QWJoaWxhc2g=?=, Aug 1, 2005.

  1. Hello,

    I have developed a WebApplication in ASP.NET where it is required to
    instantiate a DLL developed in VB 6.0. I have added the dll reference to
    ASP.NET and using the following statement to instantiate the library:

    Dim Package As New PkgUtil.Package

    In my development PC the application runs fine, ie it instantiates the
    library and I'm able to call the methods wrapped inside the library. The
    application is running successfully.

    The same application deployed on the live server fails to run. I have
    debugged the application remotely and found that the above quoted statement
    that instantiates the library is executing for ever and never returns to the
    next statement after it.
    Finally the web page expires or the user will be prompted for
    re-authentication (supply user name and password). Even after supplying the
    credentials a page will display a message "You are not authorized..."

    My user account is having Administrative, Debuggers previleges in both the
    development PC as well as in the live server.

    Any ideas to solve this issue will be highly appreciated.

    Please do reply to or to the same forum.

    Thanks,
    Abhi
     
    =?Utf-8?B?QWJoaWxhc2g=?=, Aug 1, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Weston Fryatt
    Replies:
    2
    Views:
    1,042
    Weston Fryatt
    Jan 1, 2005
  2. Sacha Korell
    Replies:
    0
    Views:
    710
    Sacha Korell
    Jul 25, 2003
  3. Luiz Miranda

    Problems using a unmanaged DLL from ASP.NET

    Luiz Miranda, Jul 30, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    621
    Luiz Miranda
    Jul 30, 2003
  4. =?Utf-8?B?UHJpeWE=?=

    call a unmanaged dll in ASP.NET app

    =?Utf-8?B?UHJpeWE=?=, Oct 28, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,870
    CJ Taylor
    Oct 28, 2004
  5. David Taylor
    Replies:
    0
    Views:
    174
    David Taylor
    Oct 11, 2004
Loading...

Share This Page