如何在服务器上启动网站进行调试

编程入门 行业动态 更新时间:2024-10-23 15:19:27
本文介绍了如何在服务器上启动网站进行调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 我想在另一台服务器上调试Web应用程序. 我已将所有Web应用程序源代码从本地计算机复制到其他服务器. 但是,当我尝试在Visual Studio中打开它时,它无法打开.它给出以下错误:

hi all, I want to debug my web application on the other server. I have copied all web application source code from my local machine to other server. but when i am trying to open it in the visual studio it could not open. It gives following error:

The default web access mode for this project is set to file share, but the project folder at 'localhost/MyApplicationname'cannot be opened with the path '\\servername\wwwroot$\MyApplicationname'. The error returned was: Unable to open Web project 'MyApplicationname'. The web 'MyApplicationname' located on server 'localhost' does not exist.

并提供选项重试使用其他文件共享路径" 请做需要的事... 您的帮助是适用的

and gives option to "Retry using a different file share path" please do needful... your help is appriciable

推荐答案

\ MyApplicationname'.返回的错误是: 无法 打开 Web项目' MyApplicationname'. Web ' MyApplicationname'位于服务器上的 ' localhost'会不会存在. \MyApplicationname'. The error returned was: Unable to open Web project 'MyApplicationname'. The web 'MyApplicationname' located on server 'localhost' does not exist.

并提供选项重试使用其他文件共享路径" 请做需要的事... 您的帮助是适用的

and gives option to "Retry using a different file share path" please do needful... your help is appriciable

首先打开您的解决方案文件,并查看项目的路径是否正确.然后,为您的Web应用程序创建一个虚拟目录.如果仍然不能解决问题,请逐步分享有关setp的详细信息. 1st of all open your solution file and see if the project''s path is correct. Then, create a virtual directory for your web application. If it does not solve your problem please share more information on what you did setp by step.

您将不得不在运行IIS的服务器上使用msvsmon.exe.并且您将必须从本地计算机连接到该计算机并连接到Web服务器进程以进行调试. 确保: 1.代码库与正在运行的站点相同 2.运行中的站点处于调试模式. You will have to use msvsmon.exe on the server where the IIS is running. and you will have to connect from the local machine to that machine and connect to the webserver process to do the debugging. make sure: 1. code base is same as for the running site 2. Running site is in debug mode.

更多推荐

如何在服务器上启动网站进行调试

本文发布于:2023-06-10 22:54:28,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/620825.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:器上   如何在   网站

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!