Chinaunix首页 | 论坛 | 博客
  • 博客访问: 221118
  • 博文数量: 47
  • 博客积分: 1485
  • 博客等级: 上尉
  • 技术积分: 475
  • 用 户 组: 普通用户
  • 注册时间: 2005-03-14 18:07
个人简介

一人,一生,一条路!

文章分类

全部博文(47)

文章存档

2015年(1)

2014年(2)

2013年(1)

2012年(1)

2010年(2)

2009年(2)

2008年(1)

2007年(3)

2006年(9)

2005年(25)

我的朋友

分类:

2005-08-17 21:16:28

遇到下面的问题或许大家在c#写的aspx页面里都会晕的,解决方式或许不简单,但想知道为什么的确也不容易。

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: Unable to load file 'ASClientCpp'.

 错误如下,记得以前就写过这个问题,当初是因为ASClientCpp这个dll即使放置在bin下也无济于事,最终是拷入System32下解决的,但这一次无论拷入什么目录底下都不顶事了。而且错误页面上所显示的地址我都拷入了,于是就在群中使命的发贴,争取解决问题。解决方法无非是上面的两点,但我都做了,不过还是有高手的,有位高手最终说了一句,可能是动态库的版本问题,当时我就晕了,不可能呀,程序里什么也没改过,但是我导入的库好像是后来又编译过一遍的,不会只因为又编译了一遍程序就不认了吧,这样aspx也太脆弱的吧。于是将所涉及的自己编写的dll都重新编译了一遍,然后重新导入,再编译,然后拷入System32下。居然这次可以显示正常页面了,哎,真是无语了。

居然真的是这样,以后做程序要小心了。但这只是实践的结果,还不知道真正的原因到底是什么呢。等查到了再来。若有高人,也可以告之,先谢过了。

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: Unable to load file 'ASClientCpp'.

Source Error:

Line 256:                
Line 257:                
Line 258:                
Line 259:            
Line 260:

Source File: c:winntmicrosoft.netframeworkv1.1.4322Configmachine.config    Line: 258

Assembly Load Trace: The following information can be helpful to determine why the assembly 'ASClientCpp' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = ASClientCpp
 (Partial)
LOG: Appbase = file:///D:/xnltest/tsa
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: ASClientCpp
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/xnltest/b7d96956/4e104a7a/ASClientCpp.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/xnltest/b7d96956/4e104a7a/ASClientCpp/ASClientCpp.DLL.
LOG: Attempting download of new URL file:///D:/xnltest/tsa/bin/ASClientCpp.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: ASClientCpp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null


Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Server Error in '/xnltest' Application.

Configuration Error

阅读(2450) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~