我原有一个asp写的系统(d:\asp),现在里面的一个新增的功能用.net 来写了,我把新写好的.net (d:\net)目录下的内容copy 到d:\asp\kh下程

amwn 2006-11-02 03:00:42
我原有一个asp写的系统(d:\asp),现在里面的一个新增的功能用.net 来写了,我把新写好的.net (d:\net)目录下的内容copy 到d:\asp\kh下程序下程序就不能使用了,请问如何修改?

在开发d:\net下新增的功能时,我把虚拟目录设为d:\net主目录,是可以运行的

我已经把bin目录及web.config都放在根目录下了(d:\asp)(虚拟目录主目录)
出现这样的错误:
无法找到资源。
说明: HTTP 404。您正在查找的资源(或者它的一个依赖项)可能已被移除,或其名称已更改,或暂时不可用。请检查以下 URL 并确保其拼写正确。

请求的 URL: /kh/cus_emplkhcs_detail.aspx

原来的asp及.net 开发的共用session的

谢谢!

谢谢!
...全文
101 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
amwn 2006-11-02
  • 打赏
  • 举报
回复
我现在把这些文件传到服务器上去
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>


不知如何解决?
amwn 2006-11-02
  • 打赏
  • 举报
回复
没法共用session 这没关系


但是我已经把该目录设为应用程序 ,再把d:\net所有文件都copy 过来,还是不行呀,提示

无法找到资源。
说明: HTTP 404。您正在查找的资源(或者它的一个依赖项)可能已被移除,或其名称已更改,或暂时不可用。请检查以下 URL 并确保其拼写正确。
真相重于对错 2006-11-02
  • 打赏
  • 举报
回复
asp asp.net 试运行在两个进程中的无法直接使用session,另外注意,虚拟目录要配制成应用程序

62,017

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧