[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

MS Visual Studio .NET and mapped webserver root directory

Posted on 2004-09-28
4
Medium Priority
?
370 Views
Last Modified: 2013-12-24
Dear all,

I intend to use MS Visual Studio .NET to implement an ASP.NET Web Application. I have created an ASP.NET Web Application project in my local web server’s directory without problems. I can also open a simple ASP.NET file using:

http://localhost/geoconda/WebForm1.aspx

I have tried to copy everything that I develop locally to the web server. (I have just copied the project-folder into the root directory of the webserver. Unfortunately, when I try something like:

www.whereever.com/project-folder/WebForm1.aspx

it doesn’t work.

What might be the error? I guess I cannot just copy the project’s folder like this?

BTW, is it possible to develop an ASP.NET Web Application directly in the web server’s root directory, even though this root directory is only mapped into the (local) file system (I am using WebDrive)?  

Any pointers would be very much appreciated. Many thanks in advance.

Best wishes,

Christian
0
Comment
Question by:csetzkorn
2 Comments
 
LVL 7

Accepted Solution

by:
smolam earned 252 total points
ID: 12201228
Once you have copied the the project to your server, I am assuming you have full control of this server, you will need to open up the Internet Services Manager and then look at the properties for the project-folder that you copied across, then under the Directory tag you just need to click Create, this will give this directory its own application space, the project should then work properly.

If you wanted to work under the root that is also fine.

Another note is that when you copy your project to the testing server you don't need to copy all the files, you only need the aspx files and the bin directory, once you have built of course.  All you're code behind (.vb) files get compiled into a dll which the aspx files refer to!

HTH
0
 
LVL 5

Assisted Solution

by:LlamaJoe
LlamaJoe earned 248 total points
ID: 12283306
like smolam said, make an "application" in IIS on the server for the root directory of your project (where the global.asax and web.config file are).

Also ensure that the .net Framework is installed on the server and that .aspx pages are associated with the aspnet worker process. (run regiis.exe if needed on the server)  and if it is a 2003 server, then you have to allow .net programs to even run (by default Server 2003 only allows html files)
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
Suggested Courses

834 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