« Previous Next »

Thread: Unable to register ASP.NET 3.5 with IIS

Last post 11-13-2009 6:44 PM by puznee. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 10-01-2009, 2:39 PM

    • Craig P
    • Not Ranked
    • Joined on 10-01-2009, 6:20 PM
    • Posts 3

    Unable to register ASP.NET 3.5 with IIS

    I'm running on XP Pro SP2 with IIS 5.1 trying to create a web app with MVC 2.0.  It runs in the dev server, but I need to run it on IIS.  I assume it needs .NET 3.5.  I downloaded and re-installed 3.5 with SP1.  When I try executing aspnet_regiis -i it fails saying "The application failed to initialize properly (0xc0000142).

  • 10-01-2009, 8:20 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,417

    Re: Unable to register ASP.NET 3.5 with IIS

    # for hex 0xc0000142 / decimal -1073741502 :
      STATUS_DLL_INIT_FAILED                                        ntstatus.h
    # {DLL Initialization Failed}
    # Initialization of the dynamic link library %hs failed. The
    # process is terminating abnormally.
    # 1 matches found for "c0000142"

    This is not an easy thing to track down. Can you execute "aspnet_regiis -u" first and then execute "aspnet_regiis -i" again?

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 10-05-2009, 9:15 PM In reply to

    • Craig P
    • Not Ranked
    • Joined on 10-01-2009, 6:20 PM
    • Posts 3

    Re: Unable to register ASP.NET 3.5 with IIS

    Thanks for the reply.  I tried -u and got the same message. It looks like it's failing to find some dll so I thought maybe some fusion logging might help, but I could not get that to work, although I have in the past.

  • 10-31-2009, 5:02 AM In reply to

    • rtolapi
    • Not Ranked
    • Joined on 10-31-2009, 8:47 AM
    • Posts 1

    Re: Unable to register ASP.NET 3.5 with IIS

    Did anybody got the solution for this, I am also facing the same problem, briefed below. My machine (XP Professional) got installed a 90 day trail version if Visual Studio 2008. My machine was updated with all the windows Hot fixes/Patches. Everything was running fine in my machine, which had .Net framework 2.0 SP2, 3.0 SP2, 3.5 SP1. All of sudden one day one of ASP.NET web application gave me a message "Server unavailable", As per the information I got from the search I had in the internet, Updated the version v2.0.50727 for ASP.NET tab in the properties window for "Default website" in IIS Administration. Later when I try to launch my ASP.NET web application got a message saying "Failed to access IIS metabase". When I try to run "aspnet_regiis -i" got an error saying "The application failed to initialize properly (0xc0000005)", After breaking my head and searched in the internet about this problem came to know about .Net framework cleanup utility. Downloaded the .net framework cleanup utility and cleaned all the .net framework instances available in my machine. Restarted my machine and installed .Net framework 2.0, 3.0, 3.5 (No service packs for either). I was able to run "aspnet_regiis -i" and able work with my ASP.NET web application successfully. Next day I try to run windows update, which had installed latest frameworks (2.0 SP2, 3.0 SP2, 3.5 SP1). The problem repeated... When I try to launch my web application, it gave a message "Server unavailable", So updated the version v2.0.50727 for ASP.NET tab in the properties window for "Default website" in IIS Administration. Later when I try to launch my ASP.NET web application got a message saying "Failed to access IIS metabase". When I try to run "aspnet_regiis -i" got an error saying "The application failed to initialize properly (0xc0000005)" Please help me.................. Thanks, Ranga
  • 10-31-2009, 1:28 PM In reply to

    • Craig P
    • Not Ranked
    • Joined on 10-01-2009, 6:20 PM
    • Posts 3

    Re: Unable to register ASP.NET 3.5 with IIS

    No, I still have the same problem.  I've been distracted by other tasks, so have not pursued it lately.  After doing more research, I think I might have a clue to what the problem is.  3.5 is really just an extension of 2.0.  This article, http://forums.iis.net/p/1133618/1860351.aspx, says that the ASP.NET tab in IIS cannot refer to 3.5, but should use 2.0 even if you're using 3.5.  So, maybe there is no need for an aspnet_regiis.exe in 3.5, as it's still, from an IIS standpoint, 2.0.  The article also indicates a need to update web.config files to make sites work with 3.5.  I have not yet checked this out, but it looks promising.

  • 10-31-2009, 4:13 PM In reply to

    Re: Unable to register ASP.NET 3.5 with IIS

    2.0 is required for 3.5   There is no 3.5 per se app pool setting.  Read this article, it should help.

    http://www.hanselman.com/blog/HowToSetAnIISApplicationOrAppPoolToUseASPNET35RatherThan20.aspx

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


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 11-13-2009, 6:44 PM In reply to

    • puznee
    • Not Ranked
    • Joined on 06-20-2006, 3:47 PM
    • Posts 1

    Re: Unable to register ASP.NET 3.5 with IIS

    I have had this exact problem as well - the same symptoms as Ranga describes: Asp.Net apps stopped working with "Server unavailable". I uninstalled and reinstalled the framework, it was working with 3.5 but as soon as I updated to 3.5 SP1 the problem came back.

     Has anyone been able to figure this out?

     

    Gabe

Page 1 of 1 (7 items)
Microsoft Communities