日期:2014-05-20  浏览次数:20856 次

配置错误,四十分,在线等
项目没有问题,在我的电脑上面(xp+net2003+orale)运行正常,但是转移到服务器(windows2003+oracle+net2003),这个想没有原来我是服务器上面转移过来的
配置错误  
说明:   在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。  

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

源错误:  


行   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>
 

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

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


===   Pre-bind   state   information   ===
LOG:   DisplayName   =   ExportToExcel
  (Partial)
LOG:   Appbase   =   file:///D:/CG_MIS
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:   ExportToExcel
LOG:   Attempting   download   of   new   URL   file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary   ASP.NET   Files/cg_mis/e4cf44dc/fd8fe1a0/ExportToExcel.DLL.
LOG:   Attempting   download   of   new   URL   file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary   ASP.NET   Files/cg_mis/e4cf44dc/fd8fe1a0/ExportToExcel/ExportToExcel.DLL.
LOG:   Attempting   download   of   new   URL   file:///D:/CG_MIS/bin/ExportToExcel.DLL.
LOG:   Policy   not   being   applied   to   reference   at   this   time   (private,   custom,   partial,   or   location-based   assembly   bind).
LOG:   Post-policy   reference:   ExportToExcel,   Version=1.0.0.1,   Culture=neutral,   PublicKeyToken=null

 


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

------解决方案--------------------
如果没记错的话服务器端的EXCEL操作是需要管理员权限的...

你的问题明显出在了权限设置上..
------解决方案--------------------
我同意楼上的,是管理员权限的问题!
------解决方案--------------------
设置下权限,把权限打沟就行了
------解决方案--------------------
是你使用的那个目录没有aspnet的操作权限,加下权限就ok了