Why is the "Use custom server" option disabled in Visual Studio 2010?

I have DotnetNuke loaded in Visual studio 2010. The "Use custom server" option in the "Startup options" section is disabled. Why is it disabled? The default is "Use default web server"? How to change what is default? In earlier versions of VS, I managed to switch between IIS and the internal web server (Cassini). Now this is more confusing in VS 2010!

Will the project project, web application project, and website project affect the setting?

+7
visual-studio-2010
source share
3 answers

I had this problem in only one of my projects that was configured to use IIS Express.

The solution for me was to right-click the website project and choose the option of using the VS server instead. The option to then use the custom server was activated again, so I could point it to the IIS site I wanted to test with.

+18
source share

This problem also had a problem with Visual Studio 2012. Another solution is open VS (without loading the project) and then File> Open Web Site. Select the website that you come across. At this point, VS will warn that another server is configured for use on this site. If you select “No” in the dialog box, you can then use the property pages to install the custom server as expected.

+6
source share

I have all of these options that work fine on my machine, and I tried this with quite a few solutions, web applications, and web projects. He worked everywhere ...

In your case, I think it could be a permission issue or some installation problems.

What version of VS did you install? Web developer? Pro? Final? Did you throw any errors during installation?

Are you sure Cassini is installed and available on your computer?

Alternatively, you can try running VS as an administrator. Of course, it should still work without it (and it's true, trust me: P), but it can help figure out the problem ...

UPD: What do you have, and is it 32/64 bit?

What exe files do you have in these folders?

C: \ Program Files \ Common Files \ microsoft shared \ DevServer \ 10.0
C: \ Program Files (x86) \ Common Files \ microsoft shared \ DevServer \ 10.0

0
source share

All Articles