4

I'm trying to deploy my ASP.net webpage on my local using IIS base on the steps from this site http://www.shubho.net/2011/01/quick-deployment-of-aspnet-applications.html

However, when I'm trying to do an import application, the option wasn't available. I tried reinstalling MSDeploy, but it still didn't work.

Any one had an idea of how to set my application importing?

3
  • I've seen the same problem on a Windows 7 laptop and a Windows 8 laptop. On my Windows Server VM, the option works as expected. Commented Apr 19, 2013 at 10:41
  • 2
    You already mentioned it, but still did you verify that you have this component installed correctly iis.net/downloads/microsoft/web-deploy and working state (sometime restart would also help after installation) Commented Apr 23, 2013 at 8:02
  • In addition to SubhashDike 's comment above, make sure that you are working with an ASP.Net Web Application project, and not an ASP.Net Website. You will get different results with the Website. Commented Apr 26, 2013 at 4:46

1 Answer 1

1

All you need to do to publish to local is Click the publish and create "New". Then when asked in the wizard instead of Web Deploy select "File System", then in the target location browse to C:\inetpub\wwwroot\YourFileName. Make sure VS is in Release Mode to publish. In IIS 7 you will set up a new site and make sure you set the Directory to the same file location. Then you're done.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.