河南服务器托管租用,快速备案,广电双百套餐,福兔卡,景安云服务器,首选景安,Good Luck To You!

ASP.NET程序报错及处理意见

1.报错现象:

php 脚本GET传递变量打印后是乱码.

问题描述:

NT下的php需要设定转码。

解决案例:

<td width="61%" height="25"><a href="1234.php?leibie=中国信息港">添加</a></td>
改成
<td width="61%" height="25"><a href="1234.php?leibie=<?=urlencode("中国信息港")?>">添加</a></td>

2.报错现象:

HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable
问题描述:

404报错。
解决方案:

处理方法检查404设置,需要登录http://cp.cncnc.com.cn --检查404设置。

3.报错现象:

Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005' [Microsoft][ODBC SQL Server Driver][Named Pipes]Specified SQL server not found. /conn.asp,行12
问题描述:

无法连接数据库。
解决方案:1、检查其conn.asp中的数据库信息是否书写正确;2、检查数据库是否健康运行。

4.报错现象:

NOT Found
The requested URL/was not found on this server.
Apache/1.3.26 Server at test.com port 80
问题描述:

访问的页面不存在。
解决方案:

检查页面的完整性或者重新上传。

5.报错现象:

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
问题描述:

域名没有绑定。
解决方案:

检查iis域名绑定和默认首页文件。请您进入控制面板(http://cp.cncnc.com.cn)-主机域名绑定和默认首页文件调整。


6.报错现象:

Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005' [Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0x4ec Thread 0x81c DBC 0x22f3544 Jet'。

问题描述:

ACCESS数据库读取报错
解决方案:

1).放弃ODBC方式读取,改用OLEDB来连接Access。连接字符串为:Provider=Microsoft.Jet.OLEDB.4.0;Data Source=数据库文件名。
2).客户Access数据库文件可能损坏,解决方法将Access数据库文件FTP下载到本地,用本地Access打开,用修复功能修复数据库。


7.报错现象:

Microsoft OLE DB Provider for SQL Server 错误 ‘80040e2f‘
Cannot insert the value NULL into column ‘id‘, table ‘dsc*****_db.dsc*****.message‘; column does not allow nulls. INSERT fails.
问题描述:

在通过企业管理器导入数据库结构时,自动增量没有选中或丢失造成的
解决方案:

把原的数据库生成一个.sql语句,然后在服务器上的查询分析器上执行,以便可以在服务器上先创建库结构和存储过程,其次再让客户通过企业管理器进行导入即可。请参考万网提供的手册:

MSSQLSERVER2000: /service/faq/xuni/database/200604/1001.html;

MSSQLSERVER2005: http://www.net.cn/service/ziliao/cpsc/200801/3048.html

2000版升级2005:http://www.net.cn/service/ziliao/cpsc/200801/3049.html;

8.报错现象:

Error Summary

HTTP Error 500.23 - Internal Server Error

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. Detailed Error InformationModule ConfigurationValidationModule

问题描述:

.NET运行模式模式错误。

解决方案:

请您进入控制面板http://cp.cncnc.com.cn---应用程序池设置,自行调整运行模式。

9.报错现象:

HTTP Error 404.0 - Not Found

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Detailed Error InformationModule IIS Web Core

Notification MapRequestHandler

Handler StaticFile

Error Code 0x80070002

Requested URL http://hgc0****.chinaw3.com:80/GenericErrorPage.htm?aspxerrorpath=/a.aspx

Physical Path f:\usr\LocalUser\hgc0****\GenericErrorPage.htm

Logon Method Anonymous

问题描述:

客户的配置报错,但是设置了错误堆栈跟踪,导致隐藏了真实报。

解决方案:

把web.config文件中的错误堆栈跟踪<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">,屏蔽后,根据真实的报错分析原因。


 

景安服务器,广电5G手机卡,双百套餐,福兔卡,办理入口,大流量手机套餐,快速备案,联系 QQ:537008047 , 电话/微信 19211778507 王卿意



扫码添加微信办理
更多

标签:
分类:空间| 发布:admin| 查看: | 发表时间:2011/12/15
原创文章如转载,请注明:转载自 景安云服务器托管租用 http://www.kuaidehen.com/
本文链接:http://www.kuaidehen.com/post/16.html

相关文章

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

微信二维码