简体   繁体   中英

Deploy asp.net on IIS 8

I'm trying to deploy a asp.net site on iis 8 but i'm getting an error.

Site is working in visual studio, deployment is done without error using a custom profile with file system as publish method. (Here is actually my first question, should I use file system?)

Build->publish site->(Custom profile, file system, release)

Well, the site is added to selected folder which I've set up in IIS. I host several php pages from this folder whithout problem. But when I try to url forward to the new site I get this error: Given URL returns 500

I'm using IIS8, .tk adress through a dlinkddns.com adress

Any ideas?

Edit: added picture 在此处输入图片说明

What should I choose here if i'm hosting the page on the same computer? (I tried File system for now)

The error I get when I'm opening default.aspx 在此处输入图片说明

  1. To deploy a website into IIS8 from Visual Studio, use 'File System' instead of 'Web Deploy', and put in the directory of where you want to publish your site.

  2. Right-click your site name on your IIS 8 manager, select 'Add Application', and select the folder where you published your website in your physical path.

  3. Click on the application under the website, then click browse, and you should view the website on your browser.

You can look at my question on how to create new website under the title, 'New website not showing default page in IIS 8.5' .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM