日期:2014-05-18  浏览次数:20394 次

开贴求救~~,ASP.net配置问题!急,在线等~~
运行后,就弹出了以下的信息:
“/SeaPrice”应用程序中的服务器错误。
配置错误  
说明:   在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。  

分析器错误信息:   访问被拒绝:“XDropDownList”。

源错误:  


行   196: <add   assembly= "System.EnterpriseServices,   Version=1.0.5000.0,   Culture=neutral,   PublicKeyToken=b03f5f7f11d50a3a "/>
行   197: <add   assembly= "System.Web.Mobile,   Version=1.0.5000.0,   Culture=neutral,   PublicKeyToken=b03f5f7f11d50a3a "/>
行   198: <add   assembly= "* "/>
行   199: </assemblies>
行   200: </compilation>
 

源文件:   e:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config         行:   198  

程序集加载跟踪:   下列信息有助于确定程序集“XDropDownList”无法加载的原因。


但当我重新启动电脑后,和删除E:\Documents   and   Settings\micoliangsz\VSWebCache\MICO下的文件后,再运行,就不会出现这样问题了,
郁闷死了,为了这个问题,一天要重启电脑N多次.
请各位大虾解救~,谢谢


===   Pre-bind   state   information   ===
LOG:   DisplayName   =   XDropDownList
  (Partial)
LOG:   Appbase   =   file:///e:/inetpub/wwwroot/SeaPrice
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:   XDropDownList
LOG:   Attempting   download   of   new   URL   file:///E:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary   ASP.NET   Files/seaprice/f4ce60a5/d1ed4c21/XDropDownList.DLL.
LOG:   Attempting   download   of   new   URL   file:///E:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary   ASP.NET   Files/seaprice/f4ce60a5/d1ed4c21/XDropDownList/XDropDownList.DLL.
LOG:   Attempting   download   of   new   URL   file:///e:/inetpub/wwwroot/SeaPrice/bin/XDropDownList.DLL.
LOG:   Policy   not   being   applied   to   reference   at   this   time   (private,   custom,   partial,   or   location-based   assembly   bind).
LOG:   Post-policy   reference:   XDropDownList,   Version=1.0.2300.29313,   Culture=neutral,   PublicKeyToken=null

 


--------------------------------------------
版本信息:   Microsoft   .NET   Framework   版本:1.1.4322.2407;   ASP.NET   版本:1.1.4322.2407

------解决方案--------------------
路过

mark
------解决方案--------------------
出错后你把machine.config文件打开,再重新保存一下试试。
------解决方案--------------------
没看明白你的问题到底出在哪里,删除引用DLL的版本号试一试呢!

行 196: <add assembly= "System.EnterpriseServices, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a "/>
行 197: <add assembly= "System.Web.Mobile, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a "/>

------解决方案--------------------
JF UP