« Previous Next »

Thread: ASP.net with nativerd.dll error

Last post 03-01-2009 9:54 PM by robwafle. 12 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (13 items)

Sort Posts:

  • 06-08-2007, 3:00 AM

    • Sue.J
    • Not Ranked
    • Joined on 06-08-2007, 6:18 AM
    • Posts 3

    ASP.net with nativerd.dll error

    When I create a website project and built it, there comes up a following error:

    Error 1 Unable to initialize the native configuration support external to the web worker process (HRESULT=0x80004002).  nativerd.dll must be in %windir%\system32\inetsrv.  

    I do check that nativerd.dll has been in %windir%\system32\inetsrv.

    More infomation: my machine is installed with Vista Ultimate and Visual Studio 9.0.

    Could anyone who know please give me some help?

    Many thanks to you!

  • 06-10-2007, 11:41 AM In reply to

    Re: ASP.net with nativerd.dll error

    Try running regsvr32 on the DLL.  Post back if you still have issues.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 06-10-2007, 9:25 PM In reply to

    • Sue.J
    • Not Ranked
    • Joined on 06-08-2007, 6:18 AM
    • Posts 3

    Re: ASP.net with nativerd.dll error

    Hi, Steve. I re-registered the dll as your suggestion, however, it also returned the same error.

    Thanks for your help all the same!

  • 06-10-2007, 11:04 PM In reply to

    Re: ASP.net with nativerd.dll error

    So much for an easy fix. :)  Hmm.  Have you tried enabling FREB and see what errors are displayed?  

    http://blogs.iis.net/bills/archive/2006/10/19/Making-Failed-Request-Tracing-More-Approachable.aspx

    Also, just to make sure all the easy stuff is done, have you tried running this as a local administrator?

    -Make sure ASP.NET modules are installed and enabled in IIS7.

    -Look in c:\windows\iis7.log using Notepad, see if there are any 'error' or 'failed' messages in there.  Maybe something did not install correctly. 

    There are a few other ideas off the top of my head.   Beyond that, I'm not sure what to recommend next.  Hope that helps.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 06-10-2007, 11:14 PM In reply to

    Re: ASP.net with nativerd.dll error

    Well, I thought of something else.  Are you trying to use this in your asp.net project? If so, have you tried making a reference to the DLL and copying the interop DLL to the '/bin' folder. 

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 06-11-2007, 4:59 PM In reply to

    • sankohm
    • Not Ranked
    • Joined on 10-24-2002, 12:46 PM
    • Posts 1

    Re: ASP.net with nativerd.dll error

    Hi steve, I have experienced the same problem. If I try to build (F5) a website hosted on IIS I get the nativerd.dll error. So I tried running the site wirh the cassini web server. It ran ok but if I try to programmatically load the web.config file in cassini web server, I also get the nativerd.dll error. This only happens with windows vista. I am using ultimate edition with VS2005 as well. The same site (the CSK 2.0 starter kit) ran ok on windows 2000 (IIS and cassini).The error appears whenever a site is created to run on IIS in windows vista or when the web config file is loaded programatically in Cassini.

    Thanks for looking into this issue.

  • 06-11-2007, 7:23 PM In reply to

    Re: ASP.net with nativerd.dll error *bug?*

    Bump. This sounds like a 'bug' or a feature of trying to get this working with Cassini.  We'll need someone from MS to probably reply to this thread.  They do a good job of keeping track of threads like this.   I put "bug" in the subject, that tends to get everyone's attention.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 06-11-2007, 8:29 PM In reply to

    Re: ASP.net with nativerd.dll error *bug?*

    Looks like a OS bug. [ already reported :) ]

    But not sure when the fix will be out. we will need wait till SP1 for vista probably.

    ~ Ganesh

  • 06-12-2007, 2:02 AM In reply to

    • Sue.J
    • Not Ranked
    • Joined on 06-08-2007, 6:18 AM
    • Posts 3

    Re: ASP.net with nativerd.dll error *bug?*

    Yeah, there has been a Window OS bug for this error. Maybe a SP for vista will come out later. Waiting for it! ^_^

  • 07-08-2007, 10:20 AM In reply to

    Re: ASP.net with nativerd.dll error *bug?*

    By now, I've the same problem

    Except that I was working on Vista and Orcas beta 1 without any problem until I

    Download and run the Microsoft .NET Framework 3.5 June 2007 CTP installer

    Download and run the Visual Web Developer Codename "Orcas" Express Edition June 2007 CTP installer

    Download and run the ADO.NET Entity Framework June 2007 CTP installer

    Any way to rollback ? 

     

  • 07-12-2007, 2:06 AM In reply to

    • willacious
    • Not Ranked
    • Joined on 05-22-2006, 10:04 PM
    • Internet
    • Posts 1

    Re: ASP.net with nativerd.dll error *bug?*

    Here is how I solved:

    1. Uninstall Orcas / Express Edition (2008)
    2. Uninstall .NET Framework 3.5
    3. Run Visual Studio 2005 Setup / Repair
    4. Uninstall ALL Windows Updates associated with Orcas / .NET Framework 3.5 upgrades
    5. Restart

    That seemed to work for me.

     Good luck to all of you.

  • 01-16-2008, 12:08 AM In reply to

    • volnet
    • Not Ranked
    • Joined on 07-20-2007, 4:21 AM
    • Posts 1

    Re: ASP.net with nativerd.dll error

    I encounter the same problem 2 days ago.
    Details:
    1. System:Windows Vista Ultimate and Visual Studio 2005
    2. I want running a application coding with Visual Studio 2008(in my laptop).But I can't running it in IIS7 of my Vista PC. I thought it is because of the difference environment. I got the ASP.NET 3.5 CTP(I installed it in my laptop,It ran well!) and installed it in the Vista PC.
    3. But I also can't run my application after installing the ASP.NET 3.5 CTP.
    4. The error hint was talking about the error dll be config in my web.config.(I can see the 3.6.0.0 version, but I never use it in my application.)
    5. I got back to my laptop.Recompile my application by .NET Framework 2.0(Version 2.0.50272).Re deploy it in my Vista PC. It ran well!
    6. But i got the error code when I want to debug my other's solution. I was trying to uninstall the ASP.NET 3.5 CTP. Uninstalling succeed! However I can't debug.
    7. After uninstall ASP.NET 3.5 CTP, I got the error:
    Error 1 Unable to initialize the native configuration support external to the web worker process (HRESULT=0x80004002). nativerd.dll must be in %windir%\system32\inetsrv.
    8. I have tried a lot of method to deal with it. (Unsucceed!)
    | a. Repair my Visual Studio 2005 :(
    | b. Recover my Vista System. :( unsucceed!
    | c. Recover my IIS 7. :(
    | d. Uninstall .NET Framework 2.0 and install .NET Framework 2.0 :(
    | e. Register the nativerd.dll by "regsvr32 nativerd.dll" command line. :(
    9. (Succeed!)f. Install the .NET Framework 3.5(Succeed!). I can debug my old application now!It is nice now!
    But I still want to know why ...?
    ___________________________________________________________________________
    MyBlog(zh-cn):http://volnet.cnblogs.com
    Email:volnet(a)tom.com
  • 03-01-2009, 9:54 PM In reply to

    • robwafle
    • Not Ranked
    • Joined on 04-17-2007, 9:29 PM
    • Posts 1

    Re: ASP.net with nativerd.dll error

    I had a very similar problem which lead me here.

    I tried to re-install IIS via command line (aspnet_regiis -i) and that failed..

    I came across a thread that someone suggested this:

    1) Uninstall WPAS

    2) Uninstall IIS

    3) Re-install IIS

     This resolved my problem with visual studio.  Now my computer is taking 15 minutes to "shut down".. no message about configuring or installing updates.. just shutting down...

    Oh, and I did have a language pack installed (spanish) and I uninstalled that too.. but only because other people reported their systems being much faster.. I figured I didn't use the language pack enough to keep it installed or deal with cryptic visual studio errors.

    Here is the full thread:

    http://social.technet.microsoft.com/Forums/en-US/itprovistasetup/thread/b3544c0b-6637-4a7e-9cd8-2669c626b778/

Page 1 of 1 (13 items)
Microsoft Communities