locked
ASP.net with nativerd.dll error RRS feed

  • Question

  • User-1535270864 posted

    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!

    Friday, June 8, 2007 3:00 AM

Answers

  • User-1535270864 posted

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

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, June 12, 2007 2:02 AM

All replies

  • User1073881637 posted

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

    Sunday, June 10, 2007 11:41 AM
  • User-1535270864 posted

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

    Thanks for your help all the same!

    Sunday, June 10, 2007 9:25 PM
  • User1073881637 posted

    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.

    Sunday, June 10, 2007 11:04 PM
  • User1073881637 posted

    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. 

    Sunday, June 10, 2007 11:14 PM
  • User-1897996719 posted

    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.

    Monday, June 11, 2007 4:59 PM
  • User1073881637 posted

    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.

    Monday, June 11, 2007 7:23 PM
  • User157784788 posted

    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

    Monday, June 11, 2007 8:29 PM
  • User-1535270864 posted

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

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, June 12, 2007 2:02 AM
  • User-1863354985 posted

    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 ? 

     

    Sunday, July 8, 2007 10:20 AM
  • User454942578 posted

    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.

    Thursday, July 12, 2007 2:06 AM
  • User-1198828515 posted
    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
    Wednesday, January 16, 2008 12:08 AM
  • User727435307 posted

    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/

    Sunday, March 1, 2009 9:54 PM