Http://support.microsoft.com/kb/825790/zh-cn
This section describes how to connect to a new Microsoft ASP. NET web application on a remote web server by using Microsoft Visual Studio. NET. Program .
Back to Top Set remote web server
Create a new ASP. NET web application
Create a project namedTestappUse a new ASP. NET web application project of Microsoft Visual C #. Net or Microsoft Visual Basic. net. To do this, follow these steps on the client computer:
- Start Visual Studio. NET.
- InFilePointNewAnd then clickProject.
- InCreate a projectThe dialog box is selectedVisual C # projectOrProject TypeUnderVisual Basic Project, And then selectTemplateUnderASP. NET web applications.
- InLocationEnterHttp: // localhost/testappAnd then clickOK.
- InGenerateClickGenerate a solution.
- Disable Visual Studio. NET.
Set permissions for shared project folders
Default, project folderTestappCreated in% Systemdrive % \ Inetpub \ wwwroot \.
To set the permissions for shared project folders, perform the following steps:
- Find% Systemdrive % \ Inetpub \ wwwroot \ testappProject folder.
- Right-clickTestappFolder, and then clickAttribute.
- ClickShareTab.
- InShareTab click to selectShare this folder.
- ClickPermissionAnd then clickAdd.
- InEnter an object name to selectBox, typeServername\ TestuserAnd then clickOK.
Note:TestuserIs that the user account has management creden。 on the server.Servername, Type the site name server.
- ToTestappThe full access permission of the folder is assignedTestuserAccount, clickAllowSelectFull ControlCheck box.
- ClickOKTwice.
Back to Top Set the Client Computer
You can use one of the following options to open an existing ASP. NET web application.
- File Sharing path
- FrontPage Server Extension
Use the file sharing path option to open a Remote Application
Map folders on remote Web servers to network drives
To map a network drive to a folder on a remote web server, follow these steps on the client computer:
- Right-clickStartAnd then clickResource Manager.
- Right-clickNetwork neighborsAnd then clickMAP network drive.
- InDriveBox Type\\Servername\ Testapp.
Note:IsServername, Type the name of the remote web server.
- ClickComplete.
- InUser NameBox TypeTestuserAnd thenPasswordEnter the password of testuser.
- ClickOK.
Open the application on the remote server
- Start Visual Studio. NET.
- InFilePointOpenAnd then clickProject from Web.
- InOpen a project from a websiteIn the window, TypeLocationInHttp ://Remotewebserver.
- TypeTestuserMediumUser NameBox, and then typePasswordInPassword.
- InOpen a projectIn the dialog box, clickTestappAnd then clickTestapp. csprojOrTestapp. vbproj.
Back to Top Use FrontPage Server Extension to Open remote applications
- Start Visual Studio. NET.
-
- InToolsIn the menu, clickOption.
-
- TheOptionExpand in the dialog boxProjectAnd then clickWeb Settings.
-
- InWeb server connectionSection, clickFrontPage Extension.
-
- ClickOK.
-
- InFilePointOpenAnd then clickProject from Web.
-
- InOpen a project from a websiteDialog Box TypeHttp ://RemotewebserverInEnter the URL to open the project's slave serverBox.
- TypeTestuserMediumUser NameBox, and then typePasswordInPassword.
-
- InOpen a projectIn the dialog box, clickTestappAnd then clickTestapp. csprojOrTestapp. vbproj.
Back to Top
Reference
For more information, click Article Number to view the corresponding: 822316 (http://support.microsoft.com/kb...
For other information, click the following document number to view the corresponding information in the Microsoft Knowledge Base:
822316 Http://support.microsoft.com/kb/822316) How to: create a new ASP. NET web application 326495 on a remote web server Http://support.microsoft.com/kb/326495) How to: Move your Visual Studio. NET web project to another computer 308582 Http://support.microsoft.com/kb/308582) How to connect and disconnect a network drive back to the top in Windows XP
The information in this article applies:
- Microsoft ASP. Network 1.1
- Microsoft ASP. Network 1.0
Back to Top
Keywords: |
Kbmt kbuser kbideproject kbsecurity kbwebserver kbhowtomaster kb825790 kbmtzh |
Back to Top Machine Translation
Note: This article is completed by Microsoft's automatic machine translation software without human intervention. Microsoft is pleased to provide you with manually translated and machine-translated articles so that you can access all knowledge base articles in your language. However, machine translation is not always perfect. It may have vocabulary, syntax, or grammar problems, as a foreigner may always make such mistakes when speaking Chinese. Although we often upgrade machine translation software to improve the quality of translation, we do not guarantee the adequacy of machine translation, it is not responsible for any direct or indirect problems caused by incorrect content translation or customer usage.