How to make WebApp solution work on another computer

Posted on 2005-04-14
Last Modified: 2010-04-07
I was working on a WebApp on my home computer.  I want to work on it on my work computer now.  I copied the solution to my work computer and double clicked on it which opened up  I get a 'Web Access Failed' dialog box in  
It says:
The default Web access mode for this project is set to file share, but the project folder at "http://localhost/WebApplication1" cannot be opened with the path c:\\inetpub\wwwroot\WebApplication1.  The error returned was:
Unable to open Web project 'WebApplication1'.  The Web 'WebApplication1' located on server 'http://localhost' does not exist."

What do I need to do so that I can tranfer my work from one computer to the other?
Question by:jettman26
    LVL 22

    Accepted Solution

    That's because your work computer doesn't have an Application folder under wwwroot called "WebApplication1" (or your web application's name)

    To transfer:
    Method 1:
    1. Under the wwwroot folder on your home computer, there is a folder with the same name as your web application's name, copy the whole folder and its contents and paste it to the wwwroot folder on your work computer.

    2. Make the new folder on your work computer an application folder by following the following steps:
    Control Panel -> Administrative Tools -> Internet Information Services, then click "Web Sites", expand "Default Web Sites". You will see the new folder there. Right click the folde and choose "Properties". In the "Application Settings" section under the  "Directory" tab, the Application Name is greyed out, you need to click the "Create" button next to it, then click "ok" to finish. You will notice the icon before the older has changed.

    3. Double click the solution file on your work computer, you should be able to run it.

    Method 2:
    1. Successully compile your application on your home computer,

    2. Add a Web Setup Projcet into your solution

    3. Compile the Web Setup Project to create a windows installer

    4. Run the windows installer on your work computer

    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    This video discusses moving either the default database or any database to a new volume.

    779 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

    18 Experts available now in Live!

    Get 1:1 Help Now