在没有安装.net的服务器端安装组件前是可以打开.asp的文件的,现在在安装.net的服务器组件后不能打开.aspx格式的文件了,但能打开.txt和图片格式的文件。请问高手如何再配置,在线急等!!!!
第一次用.net就遇到这么难解决的问题。
我上午把.net全部卸了,把IIS也全卸了,然后又重新安装,.net全部安装的,现在还是打不开。在上面直接用.net建了一个.aspx的文件就能打开,程序员拷上去的就打不开。
打开时报的错误如下:
Server Error in '/ICManage' Application.
--------------------------------------------------------------------------------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>
在这台服务器上直接用.net创建了一个虚拟目录,写了一段程序,就可以用打开发布的.aspx;但在程序员机器上能打开的,放到这个服务器上就不行了。我真的是没办法啦!
第一次用.net就遇到这么难解决的问题。
我上午把.net全部卸了,把IIS也全卸了,然后又重新安装,.net全部安装的,现在还是打不开。在上面直接用.net建了一个.aspx的文件就能打开,程序员拷上去的就打不开。
打开时报的错误如下:
Server Error in '/ICManage' Application.
--------------------------------------------------------------------------------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>
在这台服务器上直接用.net创建了一个虚拟目录,写了一段程序,就可以用打开发布的.aspx;但在程序员机器上能打开的,放到这个服务器上就不行了。我真的是没办法啦!
解决方案 »
- 使用了母版的子页 使用AspNetPager 出现问题
- 后台添加新闻时,给关键字添加链接
- GridView 简单问题 在线等
- Asp.net做网站合适么
- 请教个时间格式的问题 请指教!
- 精简版XP的IIS安装
- 关于asp.net下载文件出现乱码的问题,请帮忙,谢谢!
- 是否有ASP.NET(C#2.0)的开源项目或者小型代码?
- asp.net中的<select id="DepartCity" style="width:180px;">调用js的问题?
- 请问有关在网站上实现跟手机互通短信的技术
- HyperLink3.ImageUrl中,我设制了图片的路径,要如何设制这个图片的的高和宽呀
- b/s结构的程序,如何得到客户端的条形码阅读器的信息?
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>这里把他的mode="xxx"改成mode="Off"看看具体是出的什么错误,记住Off的"O"要大写。。还有这种情况哄,很可能是跟数据库有关系,我上次碰到过一次,
和数据库会有什么关系?能否和你直接联系一下呀?
我的QQ是31720327,现在在线!非常希望能向你直接请教!谢谢!
错误已经很清楚了啊。
Server Error in '/ICManage' Application.
--------------------------------------------------------------------------------Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.Source Error:
Line 37: by Microsoft that offers a single logon and core profile services for member sites.
Line 38: -->
Line 39: <authentication mode="Windows" />
Line 40:
Line 41:
Source File: D:\ICKYW\ICManage\user\web.config Line: 39
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573