Last post Feb 22, 2012 09:38 AM by Sam Johns
Apr 21, 2010 08:37 AM|cdubone|LINK
I recently upgraded to VS 2010 and downgraded to SQL Server 2005. Now when I go Website > ASP.NET Configuration nothing happens.
It's likely this has to do with the fact that when I was installing SQL Server I got the 'ASP.net Version Registration requirement' warning, as well as the 'Failed to find the ASP.net Version Registration requirement with MS IIS'.
Anyone know what I need to get ASP.NET Configuration working?
Apr 22, 2010 09:33 AM|Jalpesh P. Vadgama|LINK
You have to register the asp.net once again in IIS and then you might able to see it.
Apr 22, 2010 10:49 AM|sendtodilip|LINK
try aspnet_regsql in vs command prompt...
Apr 22, 2010 08:33 PM|cdubone|LINK
Thanks for getting back to me!
I tried both of your suggestions: Registering asp.net in IIS, by using Aspnet_regiis -i as well as running aspnet_regsql, but neither worked. Still when I click Website > ASP.NET Configuration nothing happens. Actually the first time I try the little balloon
comes up that says 'Asp.net development server', but that's it, no configuration pages.
It's weird, because everything on my site works just fine, dynamic pages, login, etc, it all works. It would just be really nice to be able to be able to use ASP.NET Configuration.
Apr 23, 2010 09:55 AM|kaiclassic|LINK
Just want to make sure you have run the aspnet_regsql.exe. If you, like me, use Framework 2.0, the aspnet_regsql.exe is from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\. You will then see a dialog box which you can configure the SQL Server. Did you see
the aspnet_regsql dialog box?
Apr 24, 2010 01:16 AM|cdubone|LINK
Yes, I see it. I've actually ran it several times. Still nothing.
Now I'm actually in a situation where it would be great to be able to add some users and roles using this tool.
Apr 26, 2010 04:31 AM|kaiclassic|LINK
I did a Google on the error message you report. There were several posts. Seems like there are answers.
Yes it would be nice if the tool works. If not, you just have to do that in SQL Server. Hey then you have these tables: dbo.aspnet_Roles, dbo.aspnet_Users, etc?
Apr 26, 2010 04:35 AM|kaiclassic|LINK
Would it be that you are mixing 32 bit application with 64 bit OS or vice versa? I google on the error message you post. I find those posts say something about using 32 bit SQL Server (Express) in 64 bit OS...
Apr 26, 2010 09:18 PM|cdubone|LINK
Yeah, that's probably it.
I tried opening the ASP.NET Configuration using VS 2008 and it worked! I suppose that will work for now, I'll just use 2008 for configuration and 2010 for everything else. I'll address it in VS 2010 some other time.
Apr 27, 2010 03:09 AM|kaiclassic|LINK
Good thing that you get it! Cheers!
May 17, 2010 04:23 PM|chazcross|LINK
I just recentaly upgraded to VS2010 and was having the same issue with the
Web Site Administration Tool not opening.
I solved the issue by changing the default browser in VS to anything but Firefox.
In Solution Explorer, Right click a file and select "Browse With..." and change the default to a different browser.
It woks correcly in Chrome, Internal Web Browser, IE, Opera and Safari but does not work at all if Firefox is selected.
May 21, 2010 12:24 AM|cdubone|LINK
Yep, that did the trick. Thanks!
Aug 20, 2010 02:18 PM|asp.dude|LINK
Thanks, it did work now. Cheers!
Aug 25, 2010 07:44 PM|hiprakhar|LINK
Thanks a ton buddy! I was going crazy why "administer website" or asp.net configuration was not working. I spent the whole day trying to figure it out and even googling was not helping. Then I finally found that it was this tiny miny thing that kept me holding...
I guess there should be a clearer indication somewhere that FIREFOX is NOT COMPATABLE WITH ASP.NET CONFIGURATION SETTINGS.
My God! So many people had the same issue?!!
Jan 06, 2012 11:29 AM|ukjim|LINK
I was also having this problem of the ASP.Net Web Site Administration Tool not opening in my Visual Studio 2010, on Windows 7 64bit, using the standard SQL Express connectionString in Web.config;
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
The ASP.NET Configuration button would look as though it was doing something (busy icon), and in the system tray you could see two ASP.NET Development Server processes start up (ports 53221 for http://localhost:53212/asp.netwebadminfiles and 53212 for http://localhost:53212/Website1),
but nothing would open up in Firefox. You could right-click the sys tray icon for the
webadminfiles and choose Open in web browser, but this would show an incomplete Web Site Administration page with the
An error was encountered message.
I found a solution to this problem here:
An error was encountered. Please return to the previous page and try again.
Now I prefer Firefox as my default browser.
Apparently when running the ASP.NET WSA tool in Firefox it does not like unusual characters in the path to the local website, e.g. spaces, #, and various others.
Of course the default location for VS projects initially is in your user documents area, e.g.
C:\Users\<username>\Documents\Visual Studio 2010\WebSites
and this path has SPACES in it.
After moving my tutorial projects from this location to a path without spaces, e.g.
the ASP.NET Web Site Administration page now launches successfully.
This problem has been queried many times since about 2006, and even now continues to cause a problem. As a newcomer to ASP.NET web development, working my way through the MSDN tutorials, I wasted 2 days trying to figure out what was going wrong, and despite
Googling I kept going off in the wrong direction thinking it was something to do with my connectionStrings being incorrect, or that SQL Express or Visual Studio was not installed correctly, or that I needed to run aspnet_regsql or aspnet_regiis. Nope, the
humble Space character yet again rears its ugly little head. Grrr.
Feb 22, 2012 09:38 AM|Sam Johns|LINK
It might be the issue for the web.config too.
But you get the solutions newbies can get this solution so I wrote.