HELP!! Remap Visual Studio asp apps to renamed web server

Posted on 2005-04-22
Last Modified: 2012-06-27
Hi there,

I'm still relatively new to Visual Studio. recently I was asked by our IT department to rename the web applciation server. The problem now is when I wish to open a Visual Studio project, the project goes off looking for the old web server name. Obviously it doesn't see it, and then returns an error.

How do I point my existing applications in Visual Studio to the new webserver name?


Old server name - 'jwdevbox'. New server name 'tntu082154'.


Question by:LoveToSpod
    LVL 44

    Expert Comment

    Hi LoveToSpod,

    You should be able to edit the .sln file for the project in notepad and change the location there.

    Tim Cottee

    Author Comment

    Hi Tim,

    Is this done in VS or on the webserver?

    LVL 44

    Accepted Solution


    You should only need to do this on the machine where VS is installed, locate the folder where your project sits and then open the .sln file in notepad. It should show the details of the webserver that hosts the project, you can then change this to the new server name and save it. Then open the project as normal from VS and hopefully it should work as you want it to.


    Author Comment

    Cheers Tim, sussed it and fixed it!!

    Can I draw your attention to another open question I have:

    Cheers for your help...


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
    Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
    This video teaches users how to migrate an existing Wordpress website to a new domain.
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now