Crystal Report Can nt Load System.Web.Extensions Version=2.0.0.0.

I have an application that I created in ASP.NET 1.1 that I subsequently upgraded to VS2008 - ASP.NET 2.0. Whenever I attempt to run the report in the application, I get the following error
Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I have installed the Crystal Reports Runtime but to no avail. I would appreciate if someone could give me some help. Below is the source of the form containing the viewer
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmCompletedApplication.aspx.cs" Inherits="JobApplication.frmCompletedApplication" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
            AutoDataBind="True"
            SelectionFormula="{ApplicantPersonalInfo.ApplicantID} = 2"
            SeparatePages="False" Height="32767px"
            Width="901px" ReportSourceID="CrystalReportSource1">
        </CR:CrystalReportViewer>          
        <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
            <Report FileName="JobApplicationReport.rpt">
            </Report>
        </CR:CrystalReportSource>
    </form>
</body>
</html>
Here is my Web Config
<?xml version="1.0"?>
<configuration>
     <configSections>
          <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
               <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                    <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                         <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
                         <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                         <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    </sectionGroup>
               </sectionGroup>
          </sectionGroup>
     </configSections>
    <appSettings>
        <add key="CrystalImageCleaner-AutoStart" value="true" />
        <add key="CrystalImageCleaner-Sleep" value="60000" />
        <add key="CrystalImageCleaner-Age" value="120000" />
    </appSettings>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <publisherPolicy apply="no"/>
            <dependentAssembly>
                <assemblyIdentity name="system.web.extensions" PublicKeyToken="31bf3856ad364e35" Culture="neutral"/>
                <bindingRedirect oldVersion="2.0.0.0" newVersion="1.0.61025.0"/>
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
    <system.web>
          <pages>
               <controls>
                    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                    <add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>
               </controls>
          </pages>
          <!--
          Set compilation debug="true" to insert debugging
          symbols into the compiled page. Because this
          affects performance, set this value to true only
          during development.
    -->
          <compilation debug="true">
               <assemblies>
                    <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                    <!<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>>
                    <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <!-- <add assembly="System.Windows.Forms,
                , Culture=neutral, PublicKeyToken=B77A5C561934E089"/>-->
                    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                    <add assembly="CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                    <add assembly="CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                    <add assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                    <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                    <add assembly="CrystalDecisions.Enterprise.Framework, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                    <add assembly="CrystalDecisions.Data.AdoDotNetInterop, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                    <add assembly="CrystalDecisions.VSDesigner, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                     </assemblies>
          </compilation>
          <httpHandlers>
               <remove verb="" path=".asmx"/>
               <add verb="" path=".asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
               <add verb="" path="_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
               <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
               <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
          </httpHandlers>
          <httpModules>
               <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
          </httpModules>
     </system.web>
<system.webServer>
          <validation validateIntegratedModeConfiguration="false"/>
          <modules>
               <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
          </modules>
          <handlers>
               <remove name="WebServiceHandlerFactory-Integrated"/>
               <add name="ScriptHandlerFactory" verb="" path=".asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
               <add name="ScriptHandlerFactoryAppServices" verb="" path="_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
               --<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
               <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
               <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"/>
               <validation validateIntegratedModeConfiguration="false"/>
          </handlers>
     </system.webServer>
</configuration>

Note the error is re. 'System.Web.Extensions' which is a Microsoft framework dll. I would suggest:
1) repair of the .NET installation
2) update the framework with the latest SP
3) see if you can crate a new app - without Crystal Reports using the 'System.Web.Extensions' assembly
4) see if you can create a new app using Crystal Reports (One line app using saved data report will do; crystalreportviewer1.reportsource = <path>)
5) Download the latest CR SP. As you don not mention what version of CR you are using, see if you can find the SP in our downloads section:
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
Ludek

Similar Messages

  • Cannot load file or assembly 'System.Web.Extensions, Version 2.0.0.0...

    Windows 2008 Server, 64-bit
    ASP.NET 2.0
    Ajax 1.0
    Crystal Reports version 10.5.3700.0
    I am trying to deploy my web application to a 64-bit Windows 2008 Server.  I have built several web setups using both the 32-bit 10.2 merge modules and I've run the 10.5 version msi package.  I receive the following error:
    Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    Ludek,
    1) Navigate to the ASP.NET AJAX 1.0 Installer Package found at ( http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en )  -- (We'll try this, but we have been down this same path at least once already.)
    Download and install on your production server. Install and reboot the server.
    This will install all required DLL files in your Win/Assemblies/ folder on your server, which is what your config file is looking for.
    -- We know this will put older versions of the assembly files into the cache, but it will not put in the version that we receive the error on: 2.0.0.0.  A newer version seems to only dump 3.5.0.0 into the GAC.
    2) Place System.Web.Extensions.dll and System.Web.Extensions.Design.dll directly in the Bin folder of your web app.
    -- (We have tried placing both 1.0.6x.xx and 3.5.0.0 version of those dlls into our site's bin fodler, and have received various errors, but never a solution.)
    The bottom line seems to be that the error is calling for a dll, that Microsoft claims existed at one time, but that no one can currently seem to locate.  Microsoft APS IIS Team personnell indicate that System.Web.Extensions 2.0.0.0 belong to Ajax 2.0, and that the .msi installer for that is no longer available.
    We'll try the above 2 steps again, and have a look at the links below, but they seem unlikey to produce a different outcome.
    3) See the following:
    http://allwrong.wordpress.com/2007/07/17/aspnet-error-could-not-load-file-or-assembly-systemwebextensions/
    http://bytes.com/topic/asp-net/answers/586766-could-not-load-file-assembly-system-web-extensions
    http://www.ask.com/q/Could-not-load-file-or-assembly-'System.Web.Extensions
    http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Studio_.NET_2005/Q_23149479.html

  • Deploying Crystal Reports with IIS - Load Report Failed

    Post Author: jeremyrarextreme
    CA Forum: Deployment
    Hi
    We have installed Crystal Reports Developer XI release 2 with Visual Studio 2005 to implement a very simple app that allows a crystal report to be loaded via the web. This works perfectly fine when I publish my build from Visual Studio 2005 (using the built in cystal controls) and go view in browser.
    Everything looks fine when I run the app from Visual Studio by clicking view in browser - the crystal report loads and everything is how it should be.
    When I publish the build on our production server (a Windows 2003 server running IIS6) I get the error: Load Report Failed
    A full detailing of this error can be found on this forum post: http://aspadvice.com/blogs/rjdudley/archive/2005/05/18/2591.aspx
    where many other people are having the same issue.
    I have struggled for a very long time to find a solution to this, how do I resolve this issue?
    when I try to view the .net 2.0 project from a browser running through IIS It displays the business objects toolbar but returns the error: Load Report Failed
    When I run this in my development environment directly from Visual Studio 2005 it works perfectly fine and loads the report.
    The report path is perfectly fine and correct, we have permissions on all folders for read, write and execute for both general user / admin accounts and IIS accounts on the Windows 2003 Server.
    We also have full permissions on c:/temp and c:/windows/temp
    What else can I do to make this work!
    Many thanks and awaiting your reply

    Post Author: mikeeby
    CA Forum: Deployment
    Yes I too have been fighting this problem. I was using a XML Data file and schema file for my u201Cdatabase templateu201D in the report. I would then run my query using the .NET SQLClient then fill the report with my dataset table using the SetDataSource method from the ReportDocument object.
    I tried both embedded and runtime loaded reports all worked fine on my development machine but would NOT work on my production server. I use all the server installs, played with user rights, registering DLLu2019s still nothing.  I went as far as creating a winform app to fix the problem. I then had exactly the same problem, I was catching the error and it originated from the viewer control in both winform and webforms.
    What finally worked for me was to attach to the database using OLE DB instead of XML/schema (xml/xsd) datasource then pasting my SQL Query into the database connection command this gave me the fields to build the report. I actually used the u201CSet Database Locationu201D Dialog in Crystal Reports so I didnu2019t have to redesign my report. This dialog works very weird but I managed to figure it out. I then used an embedded report and all seem to be well. I think there is a problem with the Crystal Reports .NET Server Install and Merge Modules used with .NET with XML files, but I cannot be sure, all I know is this worked for me.
    I am concerned that if my database server is moved or renamed my report might break because the server connection is embedded in the report, but for right now it is working. I thought that was the reason for using the xsd file was to eliminate the dependence on a server connection in the report.
    Good luck and I hope this helps you fix your problem too. If it does please let me know I have see so many reports of people asking questions about this problem and it seems like most are left hanging.
    Mike

  • Adapting Crystal Reports to a New System

    Hi guys
    I'm implementing Best Practices for BI (based on BO Edge XI 3.1) ver. 1.31.
    My backend system is ECC 6.0 EhP3.
    Now I'm trying to import some reports from Crystal Reports to the ECC system, but it says the user I'm specifying in the "Set Datasource Location" dialog box has not got enough rights.
    The user has roles CRYSTAL_DESIGNER and CRYSTAL_ENTITLEMENT, and in addition it has profiles SAP_ALL, SAP_NEW and X_REST.
    Can you please tell me what I'm missing?
    Thanks.
    Best regards,
    Lars-Erik Hallsten
    SAP Basis

    Hi guys
    The problem has been solved.
    I found the solution at [Crystal Reports 2008] - Logon failed in SAP system
    Regards,
    LEH

  • I can not load a web page? I have gone through the help pages so many times. Removed, reinstalled, checked preferences, checked security settings. Can anyone offer a possible solution?

    I can not load a web page? I have gone through the help pages so many times. Removed, reinstalled, checked preferences, checked proxies, cleared cache, checked security settings. I have tried disabling plugins and addons. Can anyone offer a possible solution? On Mac.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *http://kb.mozillazine.org/Error_loading_websites
    *https://support.mozilla.org/kb/Error+loading+web+sites

  • I can not load several web sites ???? Everything was running fine yesterday. I've tried using Firefox Safe Mode, IE , cleaned out all of my cache & temp. files with no success. Any more ideas ?

    I can not load several web sites. I used my computer at a friends house yesterday and connected via their wireless system. Back home today and realized the problem. Any ideas?

    Did you check the connection settings?
    See "Firefox connection settings" in [[Server not found]]

  • While generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    while generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • While generating a crystal report can we edit database files in field explorer ?

    Hi,
    while generating a crystal report can we edit database files in field explorer (at middle can we edit database fields)
    Regards,
    Mahendra

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • Which version of crystal reports can link to Windev 14 and SQL server 2008 applications

    I am developing an application with windev 14 and sql server 2008, i would like to know which version of crystal report can i use?

    Hi GS,
    Move to .NET SDK forum.
    I don't know how CR for Visual Studio will integrate into WinDev but to get the installer for VS 2010/2012/2013 go to this page:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    It's the runtime for CR 2011 or 2013 now.
    As for SQL 2008 you need to install the Client tools and when creating reports use the SQLNCLI10.dll as the client DB driver for ODBC or OLE DB.
    Don

  • Why the speed of MacBook Air to download a web page is lower than iPad2? Even worse sometimes Ipad2 can but MBA can't load the web pages.

    Why the speed of MacBook Air to download a web page is lower than iPad2?
    Even worse ,Why sometimes iPad2 can but MBA can't load the web pages?

    Why the speed of MacBook Air to download a web page is lower than iPad2?
    Even worse ,Why sometimes iPad2 can but MBA can't load the web pages?

  • Can you load photoshop elements, disc version, on more than one computer?

    Can you load photoshop elements, disc version, on more than one computer?

      It‘s been part of recent versions, perhaps from PSE8 onward; I‘m not exactly sure. The software activates automatically upon installation. If you ever change computers and already have two activations simply open the Editor on the old machine and on the top menu click help à deactivate
     

  • Can I capture crystal report user input in my web application?

    Folks, I have a report that has a input paramter named "AccountKey". Crystal report launches its own input parameter capture screen where user can type in the AccountKey value and hit OK button. Subsequently the crystal report gets renedred in crystal report viewer.
    I have a requirement of rendering the report in PDF not in crystal report. How do I do that.
    I am able to do that when there is no user input needed in the crystal report or, if I can somehow supply needed input from code-behind, but the moment I has a parameter that expects user-input I loose control.
    Is there anyway I can capture what value user has entered in Crystal Report Input paramagter capture form? or, any alternate that can help me acheive the result?
    Thanks.

    Hi,
    To capture the values of Parameters the best thing you can do is to code for parameters and take values from it through text boxes, so that you can capture it.
    here some sample code for it - try it
    I would like you to know the following code that I have tried at my end using Viewer Object model:
    // Object Declaration
    ParameterFields boParameterFields = null;
    ParameterField boParameterField = null;
    ParameterValues boParameterValues = null;
    ParameterDiscreteValue boParameterDiscreteValue = null;
    ParameterRangeValue boParameterRangeValue = null;
    // loading the report
    CrystalReportViewer1.ReportSource = Server.MapPath("ReportWithSubReport.rpt");
    CrystalReportViewer1.RefreshReport();
    // passing database credentials...
    foreach(CrystalDecisions.Shared.TableLogOnInfo boTableLogOnInfo in CrystalReportViewer1.LogOnInfo)
                  ConnectionInfo boConnectionInfo = boTableLogOnInfo.ConnectionInfo;
                  boConnectionInfo.UserID ="sa";
                  boConnectionInfo.Password="sa";
    // Parameter Country
    boParameterFields = CrystalReportViewer1.ParameterFieldInfo;
    boParameterField = boParameterFields["Country"];
    boParameterValues = boParameterField.CurrentValues;
    boParameterDiscreteValue = new ParameterDiscreteValue();
    boParameterDiscreteValue.Value = "Argentina";
    boParameterValues.Add(boParameterDiscreteValue);
    // Parameter Sales
    boParameterField = boParameterFields["Sales"];
    boParameterValues = boParameterField.CurrentValues;
    boParameterRangeValue = new ParameterRangeValue();
    boParameterRangeValue.StartValue = 25000;
    boParameterRangeValue.EndValue = 100000;
    boParameterValues.Add(boParameterRangeValue);
    // Parameter @percentage in subreport named SubReport
    boParameterField = boParameterFields["@percentage", "SubReport"];
    boParameterValues = boParameterField.CurrentValues;
    boParameterValues.Clear();
    boParameterDiscreteValue = new ParameterDiscreteValue();
    boParameterDiscreteValue.Value = 75;
    boParameterValues.Add(boParameterDiscreteValue);
    Please note that I have used Range and Discrete values as parameter in the above code.
    Also if you want to use the ReportDocument Object model then you can use:
    ReportDocument.SetParameterValues("Parameter name", value)
    Note:- This code is valid for only discrete values of Parameters.
    or
    boParameterFieldDefinitions = boReportDocument.DataDefinition.ParameterFields;
    boParameterFieldDefinition = boParameterFieldDefinitions["@percentage","SubReport"];
    boParameterValues = boParameterFieldDefinition.CurrentValues;
    For getting output in PDF you can export the report to PDF throug viewer or from code fro e.g.-
    boReportDocument.ExportToDisk(ExportFormatType.portabledocumentformat,"c:\\temp\\myrpt.pdf");
    To download sample code click [here|https://boc.sdn.sap.com/codesamples].
    You can also take help from [Dev library|https://boc.sdn.sap.com/node/7770]
    Hope this helps!!
    Regards,
    Amit

  • The crystal report can't be open in B1 system

    There is an interface between the portal and B1 system.The customer user created a crystal report
    using the data from the portal.The software of crystal reporter has been set up as the addon of B1
    system.The customer want to open that report from B1 system but failed.

    Hi,
    What kind of connection did you use in your report? If you run the report from within B1, it will look for the B1 data and not that from the portal data... that may be causing the error because it can't find the data. What was the error message?
    You may need to look at using the Crystal Reports Viewer - or does the report pull data from both B1 and the portal?
    Heather

  • Crystal Report can't access db in enterprise XI

    Post Author: rgarabedian
    CA Forum: Administration
    Product:                    Business Objects EnterpriseVersion:                      XIPatches Applied:        SP3Operating System(s): Red Hat Linux Enterprise 4Database(s):                  PostgreSQL My company is new to BO. We just purchased Enterprise XI and are in the process of project planning. In order to get reporting up and running as quickly as possible, we decided to release a phase I deployment that will include publishing our existing crystal reports (rpt's) to Enterprise. I'm able to publish the rpt files directly to the CMC from within Crystal Reports. When I view all the objects in the CMC, I can see the reports. However, when I try to run the reports I get this error (taken from  boe_crystalras logfile):ErrorLog 2008  2  6  3:00:56.523 1244 712 (../cdtsagent.cpp:3191): CDTSagent::doOneRequest reqId=103: CSResultException thrown.   ErrorSrc:"CRPE" FileName:"../reporthandler.cpp" LineNum:19034 ErrorCode:536 ErrorMsg:"Cannot logon with the custom database information specified in the InfoStore.  This is a configuration problem. Please contact your system administrator." DetailedErrorMsg:""  So something is wrong the database information - I'm just not sure what. My report works when run through Crystal Reports. I have a little test script that validates the ODBC channel on the linux side. I downloaded it from someplace - its called: odbctest.sh. Using that script, I can execute queries against the database, from the Linux server, with the DSN the report is based on.I've also tried various iterations of explicitly setting the database connection properties in the CMC via the process => database tab. Not matter what I enter there, I get the following error when trying to preview:Error
    The database logon information for this report is either incomplete or incorrect. I'm not quite sure where to go from here to continue troubleshooting. Can someone give me a nudge?Thanks in advance ...

    Post Author: JohnHolding
    CA Forum: Administration
    First of all your report must be able to run on the server, as well as the PC you created it on.  So the first thing to do is instal crystal developer (or whatever you used to create the report) on the server and see if you can run your report.  If not you will need to set up the same connection (same name too) on the server as you use on your PC to create the report.  Then try again and it should work.
    Next in the CMC in the Web browser, go to objects and find your file.  Click on it to open up its properties and then select the Process Tab and then Database.  Then you can fill in the password for your connection.  At the bottom click on the lower radial button to "Use Same Database Logon"
    This is a pain, and needs doing everytime you change and resave the report.
    Let me know how you get on.
    John

  • Crystal Reports with VS2005 - Load Report failed Error....

    Post Author: rajeshvijayan
    CA Forum: Older Products
    Hi,
    I am running Crystal Reports viewer on IIS6.0 and windows server 2003, which was installed using the redistributable package that comes along with Visual Studio 2005. We open these reports through a web based application 1 which is run on a different application pool on IIS. We have about 3 to 4 other web applications runing on the same IIS. All the other Web applications are working fine.
    This  web application 1 has 2 parts - one is the normal data display quiries from the back end SQL server 2005 and the other is the Crystal Reports which also quires data from SQL Server 2005. At times i find that these reports all of them throw an error - Load Report Failed. At the same time the Part 1 of this application does work fine in showing the data that is queried from the database. Moreover at this stage, I dont find any errors in the Event viewer. If i restart this application pool alone, the reports starts working fine again.
    I had gone through a few of the news groups and have made all the necessary permission related changes like the TEMP Folder, ASP.NET temporary folder, the folder in which the crystal reports is placed etc but still the same error throws up after some point in time. Wanted to know if there is any special configuration required on the Application pool when it comes to Crystal Reports. We have bout 10 to 15 users using this application for testing and it only throws this error at times and not always.
    Looking forward to any kind of solution from your side.
    Regards
    Rajesh

    Post Author: mikeeby
    CA Forum: Deployment
    Yes I too have been fighting this problem. I was using a XML Data file and schema file for my u201Cdatabase templateu201D in the report. I would then run my query using the .NET SQLClient then fill the report with my dataset table using the SetDataSource method from the ReportDocument object.
    I tried both embedded and runtime loaded reports all worked fine on my development machine but would NOT work on my production server. I use all the server installs, played with user rights, registering DLLu2019s still nothing.  I went as far as creating a winform app to fix the problem. I then had exactly the same problem, I was catching the error and it originated from the viewer control in both winform and webforms.
    What finally worked for me was to attach to the database using OLE DB instead of XML/schema (xml/xsd) datasource then pasting my SQL Query into the database connection command this gave me the fields to build the report. I actually used the u201CSet Database Locationu201D Dialog in Crystal Reports so I didnu2019t have to redesign my report. This dialog works very weird but I managed to figure it out. I then used an embedded report and all seem to be well. I think there is a problem with the Crystal Reports .NET Server Install and Merge Modules used with .NET with XML files, but I cannot be sure, all I know is this worked for me.
    I am concerned that if my database server is moved or renamed my report might break because the server connection is embedded in the report, but for right now it is working. I thought that was the reason for using the xsd file was to eliminate the dependence on a server connection in the report.
    Good luck and I hope this helps you fix your problem too. If it does please let me know I have see so many reports of people asking questions about this problem and it seems like most are left hanging.
    Mike

Maybe you are looking for