Error: Unable to load DLL 'rasapi32.dll'

Discussion in 'ASP.NET 2.0' started by Esquiador, Nov 8, 2005.

  1. I get the following error when trying to load my default.aspx:

    Unable to load DLL 'rasapi32.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)

    I'm trying to pull data from a Web Service and I think, judging from Stack Trace info,I'm running into some proxy issues.

    For Stack Trace info, etc., please access my site:

    http://www.freshiereport.com/default.aspx


    The page loads locally. If more info is required, please let me know.


    Thanks!
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    There is this new setting in asp.net 2.0 (not even in the beta release) configuration that cause this error.

    Put this in your web.config

    <system.net>
    <defaultProxy>
    <proxy usesystemdefault='false' />
    </defaultProxy>
    </system.net>

    It should solve the problem

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Bruce, that fixed it.


    Thanks!!!
     
  4. Bruce, did it for me too thanks - this is likely to be a popular thread !


    I'm trying to get the ASP.net 2 shareware starter kit to run on my site. Looks like I need to sign up for SQL as it uses an mdf databasefile. How do I activate SQL express support ?


    Thanks again - very smooth transition to ASP2.


    Jon
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    sorry.. no support for sql express.

    sql express is designed to be used as a desktop engine and not in a large scale hosting env.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page