Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Failed To Access IIS Metabase [modified]

Failed To Access IIS Metabase [modified]

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netwindows-adminhelpquestion
7 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • realJSOPR Offline
    realJSOPR Offline
    realJSOP
    wrote on last edited by
    #1

    I'm working on a website on a machine running Vista, and using VS2005. Even though IIS7 is installed, I am NOT running this site under IIS - I am running it from within VS2005. When I run the site, it goes through some code to load a connection string the root web.config file. There is only one web.config file associated with the site, so there's no conflicts with trying to load an overriding file that may/may not exist. When it tries to load the web.config file, I get an exception stating the following: Failed to access IIS metabase. I have a co-worker that is also running Vista that doesn't have this problem. I have other co-workers that are running XP that do not have this problem. Despite the fact that I'm not running under IIS, I've tried using aspnet_regiis -i, and even with the -ua to unregister asp.net, and then **-i** to re-register asp.net. I'm going to go now and completely uninstall .net 2.0, and then reinstall it, but I'm not optimistic in a positive outcome. If this doesn't work, it's looking like I'll have to do a complete reinstall of this crapware they call Vista/.net, and then all my apps, etc, etc... I'm not a happy camper. If .Net can be knocked over so easily, it still remains categorized as "crap" in my book. Does anyone have any super-secret advice? -- modified at 11:15 Wednesday 24th October, 2007 It seems as if you can't uninstall .net 2.0 from Vista, so that avenue is pointless. The more I use Vista, the more pissed off I get. I've googled this problem to freakin death, and I haven't been able to find ANYTHING that will resolve this problem for me. -- modified at 14:33 Wednesday 24th October, 2007 I just got done completely uninstalling VS2005, and then reinstalling it, and I still get the exception. -- modified at 15:44 Wednesday 24th October, 2007 I'm running VS2005 as administrator.

    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
    -----
    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

    S M C P R 5 Replies Last reply
    0
    • realJSOPR realJSOP

      I'm working on a website on a machine running Vista, and using VS2005. Even though IIS7 is installed, I am NOT running this site under IIS - I am running it from within VS2005. When I run the site, it goes through some code to load a connection string the root web.config file. There is only one web.config file associated with the site, so there's no conflicts with trying to load an overriding file that may/may not exist. When it tries to load the web.config file, I get an exception stating the following: Failed to access IIS metabase. I have a co-worker that is also running Vista that doesn't have this problem. I have other co-workers that are running XP that do not have this problem. Despite the fact that I'm not running under IIS, I've tried using aspnet_regiis -i, and even with the -ua to unregister asp.net, and then **-i** to re-register asp.net. I'm going to go now and completely uninstall .net 2.0, and then reinstall it, but I'm not optimistic in a positive outcome. If this doesn't work, it's looking like I'll have to do a complete reinstall of this crapware they call Vista/.net, and then all my apps, etc, etc... I'm not a happy camper. If .Net can be knocked over so easily, it still remains categorized as "crap" in my book. Does anyone have any super-secret advice? -- modified at 11:15 Wednesday 24th October, 2007 It seems as if you can't uninstall .net 2.0 from Vista, so that avenue is pointless. The more I use Vista, the more pissed off I get. I've googled this problem to freakin death, and I haven't been able to find ANYTHING that will resolve this problem for me. -- modified at 14:33 Wednesday 24th October, 2007 I just got done completely uninstalling VS2005, and then reinstalling it, and I still get the exception. -- modified at 15:44 Wednesday 24th October, 2007 I'm running VS2005 as administrator.

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      S Offline
      S Offline
      SHatchard
      wrote on last edited by
      #2

      If you arent already try running VS as administrator, can be done by right clicking on the link or shortcut and selecting run as administrator. I know this solved most of the problems i had running the 2005 version of VS under Vista. You could always upgrade to 2008 - Even though its only in beta i have found it to be much more reliable than the existing version of VS - and have had no compatibility issues when converting fairly complex solutions over.

      realJSOPR 1 Reply Last reply
      0
      • S SHatchard

        If you arent already try running VS as administrator, can be done by right clicking on the link or shortcut and selecting run as administrator. I know this solved most of the problems i had running the 2005 version of VS under Vista. You could always upgrade to 2008 - Even though its only in beta i have found it to be much more reliable than the existing version of VS - and have had no compatibility issues when converting fairly complex solutions over.

        realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote on last edited by
        #3

        SHatchard wrote:

        f you arent already try running VS as administrator

        I'm running as administrator.

        SHatchard wrote:

        You could always upgrade to 2008

        No, I can't. Doing dev work with beta tools is (IMHO) the next best thing to "stupid". Besides, I learned from other people's experiences with installing VS2005 beta that it causes nothing but heartburn later on down the road. Microsoft's release code is dicey enough, and I really don't want to add to the "excitement" by using beta code as well.

        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

        1 Reply Last reply
        0
        • realJSOPR realJSOP

          I'm working on a website on a machine running Vista, and using VS2005. Even though IIS7 is installed, I am NOT running this site under IIS - I am running it from within VS2005. When I run the site, it goes through some code to load a connection string the root web.config file. There is only one web.config file associated with the site, so there's no conflicts with trying to load an overriding file that may/may not exist. When it tries to load the web.config file, I get an exception stating the following: Failed to access IIS metabase. I have a co-worker that is also running Vista that doesn't have this problem. I have other co-workers that are running XP that do not have this problem. Despite the fact that I'm not running under IIS, I've tried using aspnet_regiis -i, and even with the -ua to unregister asp.net, and then **-i** to re-register asp.net. I'm going to go now and completely uninstall .net 2.0, and then reinstall it, but I'm not optimistic in a positive outcome. If this doesn't work, it's looking like I'll have to do a complete reinstall of this crapware they call Vista/.net, and then all my apps, etc, etc... I'm not a happy camper. If .Net can be knocked over so easily, it still remains categorized as "crap" in my book. Does anyone have any super-secret advice? -- modified at 11:15 Wednesday 24th October, 2007 It seems as if you can't uninstall .net 2.0 from Vista, so that avenue is pointless. The more I use Vista, the more pissed off I get. I've googled this problem to freakin death, and I haven't been able to find ANYTHING that will resolve this problem for me. -- modified at 14:33 Wednesday 24th October, 2007 I just got done completely uninstalling VS2005, and then reinstalling it, and I still get the exception. -- modified at 15:44 Wednesday 24th October, 2007 I'm running VS2005 as administrator.

          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
          -----
          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

          M Offline
          M Offline
          Mircea Grelus
          wrote on last edited by
          #4

          I know this may sound dumb, but have you tried creating a virtual directory and running the solution from IIS? I'll second your opinion that Vista is still in a crappy state and that's why it might just be some bug with the local VS web server.

          Cheers, Mircea "Pay people peanuts and you get monkeys" - David Ogilvy

          1 Reply Last reply
          0
          • realJSOPR realJSOP

            I'm working on a website on a machine running Vista, and using VS2005. Even though IIS7 is installed, I am NOT running this site under IIS - I am running it from within VS2005. When I run the site, it goes through some code to load a connection string the root web.config file. There is only one web.config file associated with the site, so there's no conflicts with trying to load an overriding file that may/may not exist. When it tries to load the web.config file, I get an exception stating the following: Failed to access IIS metabase. I have a co-worker that is also running Vista that doesn't have this problem. I have other co-workers that are running XP that do not have this problem. Despite the fact that I'm not running under IIS, I've tried using aspnet_regiis -i, and even with the -ua to unregister asp.net, and then **-i** to re-register asp.net. I'm going to go now and completely uninstall .net 2.0, and then reinstall it, but I'm not optimistic in a positive outcome. If this doesn't work, it's looking like I'll have to do a complete reinstall of this crapware they call Vista/.net, and then all my apps, etc, etc... I'm not a happy camper. If .Net can be knocked over so easily, it still remains categorized as "crap" in my book. Does anyone have any super-secret advice? -- modified at 11:15 Wednesday 24th October, 2007 It seems as if you can't uninstall .net 2.0 from Vista, so that avenue is pointless. The more I use Vista, the more pissed off I get. I've googled this problem to freakin death, and I haven't been able to find ANYTHING that will resolve this problem for me. -- modified at 14:33 Wednesday 24th October, 2007 I just got done completely uninstalling VS2005, and then reinstalling it, and I still get the exception. -- modified at 15:44 Wednesday 24th October, 2007 I'm running VS2005 as administrator.

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            I never run anything from the built in web server ( is it called Cassini ? ), because I've found it's really only good for the most basic of sites. I set up IIS, browse to my site, and attach the debugger if I want to set breakpoints. And yes, I also hate vista. My latest peeve is that the file browse dialog has a drop arrow next to the file path, if I push it, it shows me a bunch of URLs. How retarded is that ?

            Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

            1 Reply Last reply
            0
            • realJSOPR realJSOP

              I'm working on a website on a machine running Vista, and using VS2005. Even though IIS7 is installed, I am NOT running this site under IIS - I am running it from within VS2005. When I run the site, it goes through some code to load a connection string the root web.config file. There is only one web.config file associated with the site, so there's no conflicts with trying to load an overriding file that may/may not exist. When it tries to load the web.config file, I get an exception stating the following: Failed to access IIS metabase. I have a co-worker that is also running Vista that doesn't have this problem. I have other co-workers that are running XP that do not have this problem. Despite the fact that I'm not running under IIS, I've tried using aspnet_regiis -i, and even with the -ua to unregister asp.net, and then **-i** to re-register asp.net. I'm going to go now and completely uninstall .net 2.0, and then reinstall it, but I'm not optimistic in a positive outcome. If this doesn't work, it's looking like I'll have to do a complete reinstall of this crapware they call Vista/.net, and then all my apps, etc, etc... I'm not a happy camper. If .Net can be knocked over so easily, it still remains categorized as "crap" in my book. Does anyone have any super-secret advice? -- modified at 11:15 Wednesday 24th October, 2007 It seems as if you can't uninstall .net 2.0 from Vista, so that avenue is pointless. The more I use Vista, the more pissed off I get. I've googled this problem to freakin death, and I haven't been able to find ANYTHING that will resolve this problem for me. -- modified at 14:33 Wednesday 24th October, 2007 I just got done completely uninstalling VS2005, and then reinstalling it, and I still get the exception. -- modified at 15:44 Wednesday 24th October, 2007 I'm running VS2005 as administrator.

              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
              -----
              "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #6

              John - are you running this as an administrator, or have you run Visual Studio as the Administrator? They are two slightly different things. This failure is normally associated with VS DEV running in normal mode even though you are running as an administrator. To fix this, right click on Visual Studio and select Run as administrator from the context menu.

              Deja View - the feeling that you've seen this post before.

              1 Reply Last reply
              0
              • realJSOPR realJSOP

                I'm working on a website on a machine running Vista, and using VS2005. Even though IIS7 is installed, I am NOT running this site under IIS - I am running it from within VS2005. When I run the site, it goes through some code to load a connection string the root web.config file. There is only one web.config file associated with the site, so there's no conflicts with trying to load an overriding file that may/may not exist. When it tries to load the web.config file, I get an exception stating the following: Failed to access IIS metabase. I have a co-worker that is also running Vista that doesn't have this problem. I have other co-workers that are running XP that do not have this problem. Despite the fact that I'm not running under IIS, I've tried using aspnet_regiis -i, and even with the -ua to unregister asp.net, and then **-i** to re-register asp.net. I'm going to go now and completely uninstall .net 2.0, and then reinstall it, but I'm not optimistic in a positive outcome. If this doesn't work, it's looking like I'll have to do a complete reinstall of this crapware they call Vista/.net, and then all my apps, etc, etc... I'm not a happy camper. If .Net can be knocked over so easily, it still remains categorized as "crap" in my book. Does anyone have any super-secret advice? -- modified at 11:15 Wednesday 24th October, 2007 It seems as if you can't uninstall .net 2.0 from Vista, so that avenue is pointless. The more I use Vista, the more pissed off I get. I've googled this problem to freakin death, and I haven't been able to find ANYTHING that will resolve this problem for me. -- modified at 14:33 Wednesday 24th October, 2007 I just got done completely uninstalling VS2005, and then reinstalling it, and I still get the exception. -- modified at 15:44 Wednesday 24th October, 2007 I'm running VS2005 as administrator.

                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                R Offline
                R Offline
                Rama Krishna Vavilala
                wrote on last edited by
                #7

                Replied here: http://www.codeproject.com/script/comments/forums.asp?forumid=12076&mode=all&userid=7741&select=2288099&df=100&mpp=50&fr=329&msg=2288099[^]

                Co-Author ASP.NET AJAX in Action

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups