当前位置:首页
开发技术指南» 文章正文
    引言:

    摘要: 搜索过了,好象都是用某类控件的。不知用win32的api如何做到? ......
    摘要: 请问下面两句sql语句能否合成一句,如何合成一句? update reciprocity set one=bbb where one=aaa update reciprocity set another=bbb where another=aaa ......


我按书上的实例做asp.net的web水晶报表报以下错误,我该怎么办

“/WebApplication1”应用程序中的服务器错误。  
  --------------------------------------------------------------------------------  
   
  配置错误    
  说明:   在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。    
   
  分析器错误信息:   找不到文件或程序集名称“CrystalDecisions.Shared”,或找不到它的一个依赖项。  
   
  源错误:    
   
   
  行   13:                       调试   ASP.NET   文件的文档。  
  行   14:           -->  
  行   15:           <compilation   defaultLanguage="c#"   debug="true"><assemblies><add   assembly="CrystalDecisions.CrystalReports.Engine,   Version=9.1.3300.0,   Culture=neutral,   PublicKeyToken=692fbea5521e1304"/><add   assembly="CrystalDecisions.ReportSource,   Version=9.1.3300.0,   Culture=neutral,   PublicKeyToken=692fbea5521e1304"/><add   assembly="CrystalDecisions.Shared,   Version=9.1.3300.0,   Culture=neutral,   PublicKeyToken=692fbea5521e1304"/><add   assembly="CrystalDecisions.Web,   Version=9.1.3300.0,   Culture=neutral,   PublicKeyToken=692fbea5521e1304"/></assemblies></compilation>  
  行   16:    
  行   17:           <!--     自定义错误信息  
     
   
  源文件:   c:\inetpub\wwwroot\WebApplication1\web.config         行:   15    
   
  程序集加载跟踪:   下列信息有助于确定程序集“CrystalDecisions.Shared”无法加载的原因。  
   
   
  ===   Pre-bind   state   information   ===  
  LOG:   DisplayName   =   CrystalDecisions.Shared,   Version=9.1.3300.0,   Culture=neutral,   PublicKeyToken=692fbea5521e1304  
    (Fully-specified)  
  LOG:   Appbase   =   file:///c:/inetpub/wwwroot/WebApplication1  
  LOG:   Initial   PrivatePath   =   bin  
  Calling   assembly   :   (Unknown).  
  ===  
   
  LOG:   Publisher   policy   file   is   not   found.  
  LOG:   No   redirect   found   in   host   configuration   file   (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).  
  LOG:   Using   machine   configuration   file   from   C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.  
  LOG:   Post-policy   reference:   CrystalDecisions.Shared,   Version=9.1.3300.0,   Culture=neutral,   PublicKeyToken=692fbea5521e1304  
  LOG:   Attempting   download   of   new   URL   file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary   ASP.NET   Files/webapplication1/8dd84b00/b065eec7/CrystalDecisions.Shared.DLL.  
  LOG:   Attempting   download   of   new   URL   file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary   ASP.NET   Files/webapplication1/8dd84b00/b065eec7/CrystalDecisions.Shared/CrystalDecisions.Shared.DLL.  
  LOG:   Attempting   download   of   new   URL   file:///c:/inetpub/wwwroot/WebApplication1/bin/CrystalDecisions.Shared.DLL.  
  LOG:   Attempting   download   of   new   URL   file:///c:/inetpub/wwwroot/WebApplication1/bin/CrystalDecisions.Shared/CrystalDecisions.Shared.DLL.  
  LOG:   Attempting   download   of   new   URL   file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary   ASP.NET   Files/webapplication1/8dd84b00/b065eec7/CrystalDecisions.Shared.EXE.  
  LOG:   Attempting   download   of   new   URL   file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary   ASP.NET   Files/webapplication1/8dd84b00/b065eec7/CrystalDecisions.Shared/CrystalDecisions.Shared.EXE.  
  LOG:   Attempting   download   of   new   URL   file:///c:/inetpub/wwwroot/WebApplication1/bin/CrystalDecisions.Shared.EXE.  
  LOG:   Attempting   download   of   new   URL   file:///c:/inetpub/wwwroot/WebApplication1/bin/CrystalDecisions.Shared/CrystalDecisions.Shared.EXE.  
   
    请问我该怎么办?  
   
 

NO.1   作者: Alekin

那你就添加程序集的引用阿!  
  一般是  
  using   CrystalDecisions.Shared;  
  using   CrystalDecisions.CrystalReports.Engine;

NO.2   作者: kension

加入命名空间:  
  using   CrystalDecisions.Shared;  
  using   CrystalDecisions.CrystalReports.Engine;  
 

NO.3   作者: pignut_wang

你有setup过水晶报表没有?


    摘要: 如何打开这个数据库文件? 谢谢! ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE