ASP.NET

Moderators: None (Apply to moderate this forum)
Number of threads: 1727
Number of posts: 3292

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
learning ASP.net Posted by belu3508 on 14 Feb 2007 at 8:26 PM
Dear Sir
I am trying to learn ASP.net. I develop a project in my workplace desktop and bring the project files ( the entire folder)home to continue the work.I have not been successful in opening the project in my home machine. I have same version of VisualStudio.net at both the places.
Kindly advise me on:
1.where to place the project folder in my home machine.
2.Are there any modifications required in webinfo file or URL.
3.How to define file path for a project initiated on a different machine as the home computer returns the error message "http:\\localhost\.........\......\ could not be located " even if files are present in the defined location
Kindly help
Lalit Belwal

Report
Re: learning ASP.net Posted by digioz on 19 Feb 2007 at 10:15 AM
: Dear Sir
: I am trying to learn ASP.net. I develop a project in my workplace desktop and bring the project files ( the entire folder)home to continue the work.I have not been successful in opening the project in my home machine. I have same version of VisualStudio.net at both the places.
: Kindly advise me on:
: 1.where to place the project folder in my home machine.
: 2.Are there any modifications required in webinfo file or URL.
: 3.How to define file path for a project initiated on a different machine as the home computer returns the error message "http:\\localhost\.........\......\ could not be located " even if files are present in the defined location
: Kindly help
: Lalit Belwal
:
:

Lets say you have a project called "WebSite1". Here is what you would need to do:

1- Copy the project folder from your work PC to your Home PC, to the following location:

C:\Inetpub\wwwroot\WebSite1\

2- Open the file WebSite1.sln (solution file) and make sure you have the following:

URL: http://localhost/WebSite1/
Physical Path: "..\..\..\..\..\..\inetpub\wwwroot\WebSite1\"
VirtualPath = "/WebSite1"

3- Open IIS Manager. Expand the "Default Website" tree on the left menu, right click on the "WebSite1" folder and choose "Properties".

4- Click on the "Create" button under "Application Settings" and make sure the "Execute Permissions" says "Scripts and Executables".

5- Save all changes and run your project. You should be ok now.

That should do the trick for you. Let me know if you have any more trouble with it.







 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.