Click here to Skip to main content
15,877,967 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Devenv : VS 2010
Project type : Website
Settings : Use default Web server

When I run the website from VisualStudio inside my organization network, it is running good with the URL "http://localhost:2277/MySite/Default.aspx". Fine..

For my application development, I have to connect to my client Network through VPN. After I'm connected to their network through VPN, I opened Visual Studio using the command
runas /netonly /user:clientdomain\clientuser "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe"
Now , when I try to run the same Website from the Visual Studio, it is not loading the page , but shows that the URL ("http://localhost:2277/MySite/Default.aspx") is NOT valid..

What can be the reason ? Thanks in advance for help
Keith Barrow 6-May-11 5:10am    
Just a few basic checks:
You are running the Browser on the same machine as Visual Studio aren't you?
It isn't an insane firewall thing on the VPN?
Is Cassini running on the local machine when you build and run?
MaheshNet 12-May-11 2:46am    
Now the IE is loading the page (some setting went wrong with IE while connecting VPN, which is solved now)
Also , the command "runas /netonly..." is taking the target domain credentials correctly (I say that because I'm able to connect the SQL server in target domain using Windows Authentication).

But the web application is taking my organization credentials when it is running .. And that gives an error because those credentials cannot be matched with the Client's domain credentials

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900