Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

How to make WebApp solution work on another computer

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 VS.net.  I get a 'Web Access Failed' dialog box in VS.net.  
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?
0
jettman26
Asked:
jettman26
1 Solution
 
prairiedogCommented:
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
0
 
jettman26Author Commented:
Thanks!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now