Connect to an existing ASP. NET web application on a remote web server

Source: Internet
Author: User

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:

    1. Start Visual Studio. NET.
    2. InFilePointNewAnd then clickProject.
    3. InCreate a projectThe dialog box is selectedVisual C # projectOrProject TypeUnderVisual Basic Project, And then selectTemplateUnderASP. NET web applications.
    4. InLocationEnterHttp: // localhost/testappAnd then clickOK.
    5. InGenerateClickGenerate a solution.
    6. 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:

    1. Find% Systemdrive % \ Inetpub \ wwwroot \ testappProject folder.
    2. Right-clickTestappFolder, and then clickAttribute.
    3. ClickShareTab.
    4. InShareTab click to selectShare this folder.
    5. ClickPermissionAnd then clickAdd.
    6. 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.

    7. ToTestappThe full access permission of the folder is assignedTestuserAccount, clickAllowSelectFull ControlCheck box.
    8. 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:

    1. Right-clickStartAnd then clickResource Manager.
    2. Right-clickNetwork neighborsAnd then clickMAP network drive.
    3. InDriveBox Type\\Servername\ Testapp.

      Note:IsServername, Type the name of the remote web server.

    4. ClickComplete.
    5. InUser NameBox TypeTestuserAnd thenPasswordEnter the password of testuser.
    6. ClickOK.
Open the application on the remote server

    1. Start Visual Studio. NET.
    2. InFilePointOpenAnd then clickProject from Web.
    3. InOpen a project from a websiteIn the window, TypeLocationInHttp ://Remotewebserver.
    4. TypeTestuserMediumUser NameBox, and then typePasswordInPassword.
    5. InOpen a projectIn the dialog box, clickTestappAnd then clickTestapp. csprojOrTestapp. vbproj.
Back to Top Use FrontPage Server Extension to Open remote applications

  1. Start Visual Studio. NET.
  2. InToolsIn the menu, clickOption.
  3. TheOptionExpand in the dialog boxProjectAnd then clickWeb Settings.
  4. InWeb server connectionSection, clickFrontPage Extension.
  5. ClickOK.
  6. InFilePointOpenAnd then clickProject from Web.
  7. InOpen a project from a websiteDialog Box TypeHttp ://RemotewebserverInEnter the URL to open the project's slave serverBox.
  8. TypeTestuserMediumUser NameBox, and then typePasswordInPassword.
  9. 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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.