在asp.net 1.1版本中打开一个项目 [英] Opening a project in asp.net 1.1 version

查看:76
本文介绍了在asp.net 1.1版本中打开一个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须修改asp.net 1.1版本的应用程序.但是在打开该项目并运行时发生错误"Internet Explorer无法打开网页".其实我不熟悉1.1版本.任何机构都可以帮助我打开和修改该应用程序....

解决方案

您不能只打开一个页面并在网站中反映出更改本身.实际上,如果您对aspx页面进行了更改而又没有重新编译后面的代码,则很可能会完全破坏该页面.至少,您将必须打开与包含您要编辑的页面的程序集关联的项目.更改完成后,您将需要重建该项目.然后,要调试解决方案,您将必须使用浏览器打开有问题的页面,然后从Visual Studio 2003连接到正在运行的进程(工具"->调试进程"菜单,然后附加到aspnet进程).在代码中设置相关的断点就可以了.
如果您在使IIS在IIS7安装上正常工作方面遇到问题,此链接可能会有所帮助:


<您在这里有两件事.打开项目涉及Visual Studio.运行应用程序并显示页面使用IE(如果这是您的默认浏览器).您实际上在哪个部分遇到困难?


我已经完成了以下操作:

.从本地C中的IIS和inetpub删除具有相同名称的文件.
.在IIS默认网站中,创建一个新应用程序并在wwwroot中提供路径.
.在Visual Studio中,从wwwroot打开项目.

谢谢大家....


I have to modify an application which is in asp.net 1.1 version. But while opening that project and running error is occured ''Internet Explorer Cannot Open the webpage''. Actually I''m not familiar with 1.1 version. Any body can please help me to open and modify the application....

You can''t just open a single page and have changes reflect in the site itself. In fact, if you make changes to the aspx page without recompiling the code behind afterwards, you will likely break the page completely. At minimum, you will have to open the project associated with the assembly that contains the page you are trying to edit. Once the changes are complete, you will need to rebuild that project. Then to debug the solution you will have to open the page in question using the browser, and then connect to the running process from Visual Studio 2003( Tools->Debug Processes Menu, then attach to the aspnet process). Set relevant breakpoints in the code and away you go.
If you are having issues with getting IIS working properly on an IIS7 install, this link may help:
http://blogs.iis.net/bills/archive/2008/06/02/installing-asp-net-1-1-with-iis7-on-vista-and-windows-2008.aspx[^]


[Update]
After rereading your comments to the previous answer, you would need to right-click on the page you wish to edit in the solution explorer and select the View Code option from the context menu that pops up.


You have two different things here. Opening a project involves Visual Studio. Running the application and displaying pages uses IE (if that is your default browser). Which part are you actually having difficulty with?


I''ve done the following:

. delete the file which is having the same name from IIS and inetpub in local C.
. In IIS-Default websites create a new application and provide the path in wwwroot.
. In visual studio open project from wwwroot.

Thank for all....


这篇关于在asp.net 1.1版本中打开一个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆