Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 20, 2012 01:17 PM by nullname
Dec 20, 2012 04:24 AM|LINK
Just purchased VS2012 and tried one of my websites (not web app, just website) that ran without error in VS2010.
When I Build, it runs under the Development Server and I get all sorts of crazy errors, most often I get "Server Too Busy" -- odd!
However, when I run the website using IIS Express (that comes with VS2012) it works flawlessly, no errors, great!!!!
I don't care to figure out the reasons for the errors with the Development Server because it works under IIS Express and it works on the real server running IIS too. Great!
I want to use IIS Express during development all the time so under Tools->Options->Projects and Solutions->Web Projects, I check Use IIS Express for new file-based websites and projects -- expecting IIS Express to be used all the time, right?
But now, every time I open the website VS2012 always asks:
I now have to click Yes every time I open up my websites to work -- how can I disable this? I obviously told it to always use IIS, but this is really annoying!!!!
I have also tried modifying the Start Options under the website's Property Pages but no success. I installed SP1 for VS2012 too.
Can I uninstall the Visual Studio Development Server? How can I fix this? Thanks in advance.
Dec 20, 2012 05:33 AM|LINK
You could try to upgrade to ASP.NET 4.5 and see what happens.
I have experienced this same issue. I've just tinkered with the settings until the message stopped.
I do not believe that you can uninstall the Development Server as this is integrated into Visual Studio.
Dec 20, 2012 11:46 AM|LINK
Thanks, yeah, already on 4.5. Any other ideas? This is really annoying.
Dec 20, 2012 11:54 AM|LINK
Yes, I'm using 4.5 already. Do you recall what steps you did to get rid of the message? Thanks!
Dec 20, 2012 12:16 PM|LINK
When I switched from the dev server to IIS Express within VS, it created a new solution defined on the port number. I saved the solution for the website to use the original solution file. While this was only one of a few things I did, this is probably
the only one that directly impacted the solution file.
When setting the VS web server, this information is stored in the solution file for a website, so I'm guessing that if you do not maintain the solution file (as opposed to going with the default functionality, especially if you hide the solution when using
a website project), this is what may be causing the message to reappear over and over.
This is the difference with a web application project as they have a formal means of setting the development web server settings.
Dec 20, 2012 01:09 PM|LINK
Thank you, this information is interesting. You are spot on, it is automatically creating a solution with a specific port # (i.e. Solution localhost_9999) and it asks me to save that solution as well.
My website does have a SLN/SUO set of files that I maintain.
Also, what's so strange, the message says it sees that my website is "already configured" to use IIS Express -- so why does it keep asking?
How can I tell my website to always use the automatically created localhost solution so I'm not asked this question all the time -- because we are not converting to a web application, it must remain a website.
Again, thank you!
Dec 20, 2012 01:17 PM|LINK
Using what you said, when I open the website using the automatically created Solution files (that I mentioned above), I do not get the question and when I F5 the website, it runs perfectly.
When I open VS2012, and click File->Open Website and open my website that way, it prompts me again.
So the answer seems to be that I have to use the newly created Solution file and not open through File->Open Website.
I can live with this! Your information certainly helped and thank you.