HOW TO: Create a New ASP.NET Web Application on a Remote Web Server (822316)
The information in this article applies to:
- Microsoft ASP.NET (included with the .NET Framework 1.1)
- Microsoft ASP.NET (included with the .NET Framework) 1.0
SUMMARYThis step-by-step article describes how to create a new
ASP.NET Web application on a remote Web server by using Visual Studio .NET. back to the topSet Up the Remote Web ServerCreate a New User Account To create a new User account, follow these steps:
- Click Start, point to
Settings, and then click Control Panel.
- Double-click Administrative Tools, and
then double-click Computer Management.
- Expand System Tools, and then expand Local Users and Groups.
- Right-click Users, and then click
New User.
- In User
name text box, type user1, and then type the password for the new user in the Password text box.
- Click to clear the check box for User must change password at next
logon, and then click Create.
back to the topAdd the New User Account to
the Administrators GroupTo add the user1 account to the Administrators group, follow these steps: - Right-click user1, and then click Properties.
- Click Member Of, and then click
Add.
- In the Enter the
object names to select text box, type administrators, and then click OK.
- In the Properties
dialog box, click OK.
- Close Computer Management.
back to the topCreate a Project Folder on the Remote Web ServerTo create a project folder on the remote Web server for you Web application project, do the following: - In the C:\Inetpub\wwwroot folder, create a new folder named remoteWebApp.
back to the topSet Sharing
Permissions on the Project FolderTo set sharing permissions on your project folder, follow these steps:
- Right-click the remoteWebApp folder, and then click Properties.
- Click the Sharing tab.
- On the
Sharing tab, click to select the check box for Share this folder. In the
Share name text box, keep remoteWebApp as the share name.
- Click Permissions, and then click
Add.
- In the Enter the object names to
select text box, type servername\user1, and then click OK.
Note For servername, type the name of the remote Web server. - Under
Allow, click to select the check box for Full Control to assign full access permissions for
the remoteWebApp folder to the user1 account.
- Click OK two times.
back to the topCreate a Virtual DirectoryTo create a virtual directory for your project, follow these steps: - Click Start, point to
Settings, and then click Control
Panel.
- Double-click Administrative Tools, and
then double-click Internet Services Manager (on a computer running Microsoft Windows XP, double-click Internet Information
Services).
- Expand server. In the left pane, right-click Default Web
Site, point to New, and then click Virtual
Directory.
- In the Virtual Directory Creation wizard, click Next to continue.
- On the Virtual Directory Alias page,
type remoteWebApp for the alias (the name) of the virtual directory, and then click
Next.
- On the Web Site Content Directory
page, click Browse. Locate the content folder that you
created to hold the content
(C:\Inetpub\wwwroot\remoteWebApp).
- Click Next to continue.
- On the Access
Permissions page, click Next.
- Click Finish.
back to the topVerify Authentication AccessTo verify the Authentication
and access control settings, follow these steps:
- Right-click the
remoteWebApp virtual directory, and then click Properties.
- Click the Directory Security tab.
- Under Authentication
and access control, click Edit. Verify that the check box for Enable anonymous
access is selected.
back to the topSet Up the Client ComputerMap the Network Drive for the Folder on the Remote Web ServerTo map the network drive for the folder that is located on the remote Web server, follow these steps on the client computer: - Right-click Start, and then click
Explorer.
- Locate My Network
Places, and then right-click My Network
Places.
- Click Map Network Drive.
- In the Drive text box, keep the
drive name that appears, and then type \\servername\remoteWebApp.
Note For servername, type the name of the remote Web server. - Click
Finish.
- In User
name text box, type user1, and then type the password for user1 in the Password text box.
- Click OK.
back to the topCreate an ASP.NET Web Application on the Remote Web ServerTo create a new ASP.NET Web Application project named
remoteWebApp by using Microsoft Visual C# .NET or Visual Basic. NET, follow
these steps on the client computer:
- Start Visual Studio .NET.
- On the File menu, point to
New, and then click Project.
- In the New Project dialog box, click Visual C# Projects or
Visual Basic. NET under
Project Types, and then click
ASP.NET Web Application under Templates.
- In the Location text box, type http://servername/remoteWebApp.
Note For servername, type the name of the remote Web server. - Click OK.
back to the topREFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
318041
HOW TO: Set Up and Use Remote Debugging in Microsoft Visual Studio .NET
320451 PRB: Remote ASP.NET Projects Require IIS on the Client Computer or FrontPage Server Extensions on the Server Computer
326356 HOW TO: Deploy an ASP.NET Web Application Using the Copy Project Feature in Visual Studio .NET
308582 HOW TO: Connect and Disconnect a Network Drive in Windows XP
For more information about how to create Web
projects, visit the following Microsoft Web site:
back to the top
Modification Type: | Major | Last Reviewed: | 6/16/2003 |
---|
Keywords: | kbUser kbSecurity kbDeployment kbWebServer kbHOWTOmaster KB822316 kbAudDeveloper |
---|
|
|
©2003 Microsoft Corporation. All rights reserved.
|
|