zoukankan      html  css  js  c++  java
  • 今天第一次使用Visual Studio 2005

    第一次感受一下VS2005,虽然已经安装很多天了
    本来要做一个WEB项目,习惯的打开
    File->New->Project
    可是怎么也找不到WEB项目,还怀疑是我的IIS没有注册,因为我后来装的IIS和VS2003
    还好仔细找找 还有个File->New->Web Site
    设计的很贴心,似乎可以同时指定本地路径和WEB虚拟目录,不过我没有实验..
    然后输入http://localhost/WebSite,耐心的等待了一会儿,项目终于好了.
    说真的 比我想象要顺利 呵呵

    然后直接运行 好象提示要建立一个web.config,还不知道为什么微软没有默认给建了
    然后就出错了
    Unable to start debugging on the web server.The web server is not configured correctly.

    我在IE直接访问
    又出另外一个错误 Mutex could not be created

    不知道这个错误是不是常见,所以Google了一下,没有找到什么
    到CSDN搜索了一篇文章

    http://forums.asp.net/1109781/ShowPost.aspx

    I have got the same issue. It seems like Visual studio 2005 and the web application pool running ASP.NET 2.0 are having a conflict over the temporary folder.
    The workaround I have got for now is:
      - If you have visual studio 2005 is open, close it
      - Go tot the ASP.NET temporary folder for v2.0 of the framework
        <Windows dir>\Microsoft.Net\Framework\v2.0<extra numbers>\Temporary ASpNET pages
      - Remove the folder for your application (or all of them)
      - Reset IIS (on a command line window, >iisreset) [not always needed, but I had to use it sometimes]
      - First Browse your page from IE (http://localhost/your app)
      - Then reopen Visual studio

    And it should work now
    老老实实照着做,问题解决
    还是不知道什么道理。。呵呵

  • 相关阅读:
    Centos7源码安装mysql及读写分离,互为主从
    Linux简介及Ubuntu安装
    CentOS7 IP自动获取
    memcached总结
    CentOS7安装iptables防火墙
    centos 7.0 mono&Jexus V5.5.3安装
    设置背景模糊效果
    vue 动画过渡
    sticky footer
    设置最低高度为100%
  • 原文地址:https://www.cnblogs.com/wormday/p/314169.html
Copyright © 2011-2022 走看看