Quantcast
Channel: SCN : Unanswered Discussions - BI Platform
Viewing all articles
Browse latest Browse all 5661

Configuring Server Files Crystal Services in Visual Studio 2013

$
0
0

Hi,

 

I was reading SAP Crystal Reports .NET SDK Developer Guide, specifically Working With Crystal Reports as a Web Service. I was trying to do the configuration to have server files in the crystal services. I create the Web Services ServerFileReportService and ServerFileReportManager like the documentation says.


In ServerFileReportService.asmx, I have:

 

<%@ WebService language="C#"
class="CrystalDecisions.Web.Services.ServerFileReportManager" %>

In ServerFileReportManager.asmx, I have:

<%@ WebService language="C#"
class="CrystalDecisions.Web.Services.ServerFileReportManager" %>

And, the Web.config it is like:

 

<?xml version="1.0"?><configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">  <configSections>    <sectionGroup name="crystalDecisions">      <section name="serverFileReportManager" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null"/>    </sectionGroup>  </configSections>  <crystalDecisions>    <serverFileReportManager>      <add key="rootDirectory" value="C:\Users\Ernesto.ADVANSYS\Documents\Reports"/>    </serverFileReportManager>  </crystalDecisions>  <appSettings/>  <connectionStrings/>  <system.web>    <compilation debug="true">      <assemblies>        <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>      </assemblies>    </compilation>  </system.web></configuration>

I put my last version of Crystal Report for Visual Studio and I having this error:

 

Could not load file or assembly 'CrystalDecisions.Web, Version=12.1.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

 

the Stack Trace have this:

[FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Web, Version=12.1.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.]

  System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0

  System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +34

  System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +152

  System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +77

  System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +16

  System.Reflection.Assembly.Load(String assemblyString) +28

  System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +38

 

[ConfigurationErrorsException: Could not load file or assembly 'CrystalDecisions.Web, Version=12.1.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.]

  System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +736

  System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +57

  System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +170

  System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +124

  System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +44

  System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +187

  System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +74

  System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +299

  System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +103

  System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) +82

  System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath) +15

  System.Web.UI.WebServiceParser.GetCompiledType(String inputFile, HttpContext context) +43

  System.Web.Services.Protocols.WebServiceHandlerFactory.GetCompiledType(String url, HttpContext context) +34

  System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath) +179

  System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +47

  System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +346

  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

 

Thanks.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>