IIS Express站点dosnt在VS F5上启动

时间:2018-05-25 12:47:37

标签: iis-express episerver

在VS 2017中使用Episerver

我的网站在IIS Express中运行。当我从Chrome中的VS启动项目时,我得到默认的IIS屏幕(带有IIS信息的蓝屏) - 因此IIS启动,但该站点无法启动。如果我重新加载浏览器,则会启动该站点。

这是我在applicationhost.config中的网站定义:

      <site name="MySite" id="3">
            <application path="/" applicationPool="Clr4IntegratedAppPool">
                <virtualDirectory path="/" physicalPath="C:\Projects\mysite-episerver\src\MySite" />
            </application>
            <bindings>
                <binding protocol="http" bindingInformation="*:80:mysite.mydomain.com" />
            </bindings>
        </site>   

更新

查看日志:

Software: Microsoft Internet Information Services 10.0
Version: 1.0
Date: 2018-05-25 18:09:24
Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2018-05-25 18:09:24 127.0.0.1 GET / - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 - 302 0 0 13991
2018-05-25 18:09:31 127.0.0.1 GET /personal/ - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 - 200 0 0 6389
2018-05-25 18:09:31 127.0.0.1 GET /dist/styles/main.css v=636627702363674333 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 37
2018-05-25 18:09:31 127.0.0.1 GET /dist/fonts/stylesheet.css - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 29
2018-05-25 18:09:31 127.0.0.1 GET /EPiServer.Forms/DataSubmit/GetFormInitScript formGuid=6bd570d3-3e91-447f-903e-566e9d9f9468&formLanguage=en 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 171
2018-05-25 18:09:31 127.0.0.1 GET /WebResource.axd d=TzRGlCddaaqtz0Im2nSJhBlH3P1Fze7Czb4HaEn0ZkkpUFjLB2tREFUTizpsCAfxQQOQDZCZqUiBZLAo7l7EhsGTwsuUFnRXRabRz6n3XcvVK2Bd0VQe-ZDaVHtSCoc3paD6qdAAJwaIPHOv9FJMVOt6_eqfG_NNb1zepx_9qUk1&t=636601600300000000 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 81
2018-05-25 18:09:31 127.0.0.1 GET /dist/scripts/sticky-header.js v=636627702363754120 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 130
2018-05-25 18:09:31 127.0.0.1 GET /dist/scripts/main.js v=636627702363724200 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 149
2018-05-25 18:09:31 127.0.0.1 GET /dist/scripts/forms.js v=636627702363704257 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 165
2018-05-25 18:09:31 127.0.0.1 GET /siteassets/settings/logo_mysiteusa.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 171
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/profile.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 185
2018-05-25 18:09:31 127.0.0.1 GET /siteassets/image-blocks/785x650.png - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 181
2018-05-25 18:09:31 127.0.0.1 GET /siteassets/heros/180800277.jpg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 294
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/BG-Pattern.png - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 70
2018-05-25 18:09:31 127.0.0.1 GET /siteassets/image-and-text-blocks/bbb.png - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 217
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/chevron.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 65
2018-05-25 18:09:31 127.0.0.1 GET /siteassets/image-and-text-blocks/bestmysite.png - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 255
2018-05-25 18:09:31 127.0.0.1 GET /siteassets/settings/logo_ehl.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 253
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/jumplink.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 89
2018-05-25 18:09:31 127.0.0.1 GET /siteassets/settings/footer-mountains.png - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 112
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/footer_linkedin.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 38
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/icon_quotation.png - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 37
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/footer_twitter.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 76
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/doublearrow.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 173
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/footer_facebook.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 68
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/mobilephone.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 43
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/email.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 115
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/footer_youtube.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 200
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/doublearrow-white.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 105
2018-05-25 18:09:31 127.0.0.1 GET /dist/images/worldwide.svg - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/dist/styles/main.css?v=636627702363674333 200 0 0 115
2018-05-25 18:09:31 127.0.0.1 GET /util/LiveMonitor/Tracking/Index contentId=34&languageId=en&r=0.6407196012207004&referrer= 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 131
2018-05-25 18:09:32 127.0.0.1 GET /util/LiveMonitor/Tracking/Index contentId=34&languageId=en&r=0.5590579783850214&referrer= 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/personal/ 200 0 0 565
2018-05-25 18:09:36 127.0.0.1 GET /login/ - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 - 200 0 0 223
2018-05-25 18:09:36 127.0.0.1 GET /util/LiveMonitor/Tracking/Index contentId=271&languageId=en&r=0.29442535680181825&referrer= 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/login/ 200 0 0 55
2018-05-25 18:09:36 127.0.0.1 GET /util/LiveMonitor/Tracking/Index contentId=271&languageId=en&r=0.21276262992917028&referrer= 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/login/ 200 0 0 578
2018-05-25 18:09:52 127.0.0.1 POST /login/post/ - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/login/ 302 0 0 443
2018-05-25 18:09:52 127.0.0.1 GET /login/post/mysiteusa/cms/ - 80 admin 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/login/ 404 0 0 506
2018-05-25 18:09:52 127.0.0.1 GET /util/LiveMonitor/Tracking/Index contentId=9&languageId=en&r=0.2522424054704595&referrer=http%3A//mysite.mydomain.com/login/ 80 admin 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/login/post/%2Fmysiteusa%2Fcms%2F 200 0 0 37
2018-05-25 18:09:52 127.0.0.1 GET /util/LiveMonitor/Tracking/Index contentId=9&languageId=en&r=0.9305181288066644&referrer=http%3A//mysite.mydomain.com/login/ 80 admin 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/login/post/%2Fmysiteusa%2Fcms%2F 200 0 0 42
2018-05-25 18:09:52 127.0.0.1 GET /epiutil/images/quicknav/quicknav-arrow.png - 80 admin 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 http://mysite.mydomain.com/epiutil/styles/quicknavigator.css 200 0 0 57

enter image description here

<WebProjectProperties>
      <UseIIS>True</UseIIS>
      <AutoAssignPort>True</AutoAssignPort>
      <DevelopmentServerPort>0</DevelopmentServerPort>
      <DevelopmentServerVPath>/</DevelopmentServerVPath>
      <IISUrl>http://goalaskausa.mydelphic.com</IISUrl>
      <NTLMAuthentication>False</NTLMAuthentication>
      <UseCustomServer>False</UseCustomServer>
      <CustomServerUrl>
      </CustomServerUrl>
      <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
    </WebProjectProperties>

UseIIS不断重置为true。我认为发生的事情是它击中IIS,而不是IIS表达。然后,当我刷新它点击IIS快递。

0 个答案:

没有答案