Publishing my web application can take long time to accomplish because of the .suo file

前端 未结 2 1489
面向向阳花
面向向阳花 2021-02-19 01:07

I have a web application project that I publish via Visual Studio 2010 to my server. My problem is that it can take very long time before it can actually publish it. May

2条回答
  •  甜味超标
    2021-02-19 01:29

    Try this way

    In order to deploy the release on the development or production server, please follow the following steps.

    1. Install Web Deployment MSI.
    2. Right Click on the your project under the solution explorer and add the web deployment project( Here I am not using convert to web application or publishing)
    3. Then compile the files. This will create a folder in your project directory which will contain the required files to be deploy on the server.
    4. Take the back up of your virtual directory and remove the virtual directory as well as files from inetpub.
    5. Goto Inet mgr , type inetmgr in run hit enter.
    6. Under the default website, create a virtual directory, keep the deployed files in the inetpub and browser the files.
    7. Allow appropriate access such as read, run script and browse. That's all

    Flag it as your answer if you have find it useful else let me know ...

提交回复
热议问题