(一)

C#有一些函数如GetHashCode和x86,X64版本有关系,为了和服务器保持一致,本地iis Express也需要设置64位。

方法如下,vs2010不支持。

IISExpress使用64位

vs2012可以手动添加配置

reg add HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\WebProjects /v Use64BitIISExpress /t REG_DWORD /d 1

如果手动敲字母的话,要防止多一个空格。

vs2010不支持该方法

(二)设置IIS可以远程访问

 <site name="XXXX.Web" >
                <application path="/" applicationPool="Clr4ClassicAppPool">
                    <virtualDirectory path="/" physicalPath="I:\XXXXXXn.Web" />
                </application>
                <bindings>
                    <binding protocol="http" bindingInformation="*:7766:*" />
                </bindings>
  </site>

相关文章:

  • 2021-09-21
  • 2021-08-20
  • 2022-01-31
  • 2022-03-02
  • 2022-02-17
  • 2021-08-15
  • 2021-06-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2021-12-04
  • 2022-12-23
  • 2021-06-28
  • 2021-05-30
相关资源
相似解决方案