Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a

本文介绍了解决服务器上应用程序错误的方法,包括调整web.config文件中的自定义错误设置、更新ASP.NET版本等步骤,帮助开发者有效定位并解决问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Server Error in  '' 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 > 
  


我在本地测试的很成功,但上传到服务器后就没老出现这样的问题? 
下面是我的方法,但我到现在还没有解决这个实际问题,想请各位给说说这怎么办呀?谢谢 


1.先打开IE选项.然后删除Cookeis.和文件.再然后点IE选项里的程序选项..点重置Web设置就可以了哦 


2.如果本机IIS测试通过就是服务器权限问题 


3.解决方法: 
出现此类错误时,请您修改站点配置文件web.config,也就是在web.config文件里创建一个  
<customErrors > 标记。然后应将此  <customErrors > 标记的“mode”属性设置为“Off”(请您注意是“Off”,不是“off”,大写的“O”,否则也不会出来错误信息),这样就可以出来错误具体信息。(推荐您更改web.config文件, 因为这种问题往往是客户端程序问题) 

4.解决办法:把C:Inetpubwwwroot中的aspnet_client文件夹传到了站点根目录。这个文件夹里面的.js文件是验证函数,关键部分啊! 


 

 

 

我这个问题解决了。 
方法:我登陆国外服务器,打开IIS,选中IIS站点名
---属性----ASPNET-----ASPNET VERSION 中把1.0 改为2.0然后在远程进入访问网站就可以正常访问了。 
/******************************************************************************* Returns all objects in the part of the specified types on all layers (including layers not writable or viewable) regardless of their current state of displayability. This routine does not return expressions, condemned objects, temporary (system created) objects, or sleepy objects. An object that is asleep is one that has been removed from the model. For example, if you blend an edge, then the edge is asleep. The WCS will not be returned unless it has been saved. NOTE: This routine cycles the features in a part when the type specified is UF_feature_type. Do not attempt to delete objects when cycling the database in a loop. Problems can occur when trying to read the next object when the current object has been deleted. To delete objects, save an array with the objects in it, and then when you have completed cycling, use UF_OBJ_delete_array_of_objects to delete the saved array of objects. Environment: Internal and External See Also: History: ******************************************************************************/ extern UFUNEXPORT int UF_OBJ_cycle_objs_in_part( tag_t part_tag ,/* <I> Tag of part you wish to cycle */ int type ,/* <I> Type of object on which to cycle */ tag_t * object /* <I/O> On input the object found by the last call to this routine. if this routine has not been called yet, then set object=NULL_TAG to start cycling. On output the next object of the type specified. If there is no object, and the cycling is complete a NULL_TAG is returned. */ );翻译,给我讲解一下这个函数怎么使用
04-03
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值