Crystal Report 2008 DataSource binding

Hi,
I have VS2008 webservice which is used to generate report. I am using CR2008 version of crystal report. While creating the report template I specified the development database and now going forward I am trying to set the database source through code and this datasource is specified in the web.config. Issue is reports are not using the datasource that I am setting up at runtime it continues to use the one that is saved in template...
I am using the following code:
protected void logonReport(string dbServerName, string dbName,
            string dbUserId, string dbPwd)
            ConnectionInfo connInfo = null;
            TableLogOnInfo tblLogonInfo = null;
            Tables tbls = null;
            try
                connInfo = new ConnectionInfo();
                connInfo.ServerName = dbServerName;
                connInfo.DatabaseName = dbName;          //not used for Oracle
                connInfo.UserID = dbUserId;
                connInfo.Password = dbPwd;
                tbls = this._crReport.Database.Tables;
                foreach (Table tbl in tbls)
                    tblLogonInfo = tbl.LogOnInfo;
                    tblLogonInfo.ConnectionInfo = connInfo;
                    tbl.ApplyLogOnInfo(tblLogonInfo);
            catch (Exception ex)
                throw ex;
            finally
                if (connInfo != null) connInfo = null;
Please help.
Thanks
kajal

Sorry, looking at this again I realize I made a mistake.
I thought this was a Crystal Report as a  webservice as opposed to  a webservice using CR APIs.
Try setting Table.Location in your code.
Alternatively try DatasourceConnections off of the reportdocument object.
Ludek

Similar Messages

  • Problem using Crystal Reports 2008 with DB/C FS ODBC Datasource.

    HI,
    I'm trying to use Crystal Reports 2008 to connect to an ODBC datasource that using the DB/C FS driver from dbcsoftware (www.dbcsoftware.com).  When I connect to the source and add a table it shows all string fields as 255 characters long when that is not the case in the data definition for the driver.
    This issue has been brought up and resolved in previous versions of Crystal Reports.  In Crystal Reports XI it was ADAPT ticket 00307997.  It's worth noting that even though this issue says it was resolved in version XI with service pack 4 I still experience it in that version of CR as well. 
    If anyone has a solution to this for Crystal Reports 2008 please share.
    Thank you,
    David Guthu

    Hi David,
    Looking over the Adapt it was fixed in CR XI R2 Service Pack 4. CR XI is not the same so not sure if this is a typo or not.
    I don't see a branch for CR 2008 so I'll create one for you but this may be a different issue. The adapt was for all fields coming back as 65K and not 255. Also this was tracked in 2004 and fixes created for all versions of Cr at the time. These fixes get rolled forward so I'm thinking FS changed their driver with their latest build or at some earlier build.
    Note from Developer:
    DBCFS ODBC driver return meta data (e.g. column type) as SQL_DOUBLE instead of SQL_NUMERIC.
    ODBC bind as SQL_DOUBLE or SQL_NUMERIC but always retrieve data (in this case column type) as SQL_NUMERIC.
    Have you contacted FS to see if they have any patches or updates available? Are they following ANSII 92 Standards?
    To build a business case for this issue can you purchase a single support case, once it's been resolved you can get a refund, the reason being it adds more weight to the issue and we can escalate it at a higher level. Otherwise it goes in as a low priority issue and no fix date set.
    Also, we can then pass files back and forth etc. which we can not do through forums.
    Can you turn on ODBC tracing? I would like to see what the trace file shows.
    Thank you
    Don

  • Crystal Reports 2008 - Error setting new datasource location

    Hi All,
    We are experiencing an issue while trying to set datasource location for our RM 3.0 reports in Crystal Reports 2008 designer. As per guide "SAP BusinessObjects Process Control 3.0 and Risk Management 3.0 - How to build and Personalize Custom Crystal Reports" (step 11), after opening the desire report we go to DataBase-->Set DataSource Location and when selecting our RM system (which actually has the BI content addon installed on it), we got the following error message:
    "Some tables could not be replaced, as no match was found in the new data source. Please verify the table required for any unmodified tables"
    I'm new on this so I'm not sure if the table indicated in the original datasource should exist in my DB (new datasource) before doing this? If so, how those tables are imported or created in our DB?
    Could you please help me on this issue?
    Please let me know if any other detail or data is required.
    Regards

    Hi Don,
    Thanks for the update.
    Actually I've installed SAP Integration Kit and its Fixpack in both....BOE Server (which is the same as the SAP server) and in client pc.  In all cases we have select a typical installation which supposes the required drivers are available. Also I've followed Ingo's documentation to activate and publish standard Risk Management reports (RM reports). Everything works ok with them. We are able to access reports through the application.
    The issue appears when trying to customize one of these standard reports through CR Designer. For example if we select the "GRRM_Risk_by_Risk_Category" and try to customize it as indicated in the "SAP BusinessObjects Process Control 3.0 and Risk Management 3.0 - How to build and Personalize Custom Crystal Reports"...the table behind this report (table GRFN_CY_API_GRRM_R1) it's not in our RM System. My main concern or question is regarding this....Did I miss something while importing transports files, activating or publishing RM reports, etc....and thatu2019s the reason why this (and any other) table is not already in my system? I was not able to find where those tables are supposed to be or how they should be imported in my system. The odd thing is...that we are trying to customize and set the new data source for these reports to the same system from where they are being opened. Put in this way...RM reports have been activated in system A (RM System) and published to system B (BOE System). While customizing reports through CR Designer...we are actually opening reports from system A. These reports have as their original data source...a demo SAP system info (uxcir1p.wdf.sap.corp) and when we want to update this data source with our RM system....the error appears. The whole process is explained in the above mentioned guide for your reference.
    Hope being clear enough..
    Thanks for your help

  • No SAP Datasources or SAP Toolbar in Crystal Reports 2008

    I cannot see the SAP toolbar or SAP datasources under "Create New Connection" in Crystal Reports 2008 SP1.
    After reading many threads on SDN and reistalling Crystal Reports 2008 SP1 and the BOBJ SAP Integration Kit many times I have not been able to get this to work. I have installed the following in order:
    - SAP GUI for Windows
    Release: 710
    Build: 1046700
    Patch Level: 12
    includes the BW 3.5 AddOn and BI 7 AddOn
    Crystall Reports 2008 SP1 which I installed all components except Legacy XML Export.
    Business Objects XI Integration Kit XI 3.1 for SAP which I installed all desktop components and all server components excluding web content and SDK. This was a local install on my PC.
    I have ensured that I have only one instance of SAPLOGON.ini on my PC.
    I have not applied the transports yet because I want to see the SAP datasources and SAP toolbar in Crystal Reports before I progress.
    We do not have Business Objects Enterprise and I'm not sure what "BOE 3.1 Client Tools" is referred to earlier in this thread. My understanding is that in addition to SAP and BW we just need Crystal Reports 2008 and the SAP integration kit.
    We are on ECC6 and BW 3.5.
    I hope someone can help.

    Hi Stratos,
    Thanks for your response. I finally got this working. My issue was that I originally used the Crystal Reports 2008 and BOBJ Int Kit downloads from the SAP support portal. I checked with another SDN user Steven Dierick - thanks Steven - for the version of Crystal Reports 2008 he was using (version 12.0.0.683).
    I downloaded Crystal Reports 2008 version 12.0.0.683 and the BOBJ Int Kit from the downloads section of sdn and it works!! SAP Toolbar, datasources and everything.
    Considering I'm using Crystal Reports 2008 SP0 are there any disadvantages of not using Crystal Reports 2008 SP1?
    If I'm better off using SP1 where should I download Crystal Reports 2008 SP1 and the appropriate BOBJ SAP Integration Kit?
    cheers,
    John

  • Crystal Reports 2008 - ERROR when changing datasource

    Hi, I have a report that is connected to a test database that needs to have the datasource changed to the production database.
    The Crystal Report has 2 "on-demand" subreports that the datasource has been changed for as well.
    SQL 2000 Databases on 2 different servers (W2003) used the "Set Datasource Location" and followed steps listed previously in the forum.
    Databases have different names but all tables are same in both.
    Database Expert is showing all tables coming from new datasource BUT when report is run parameter prompt comes up, click ok
    Error message - "Failed to retrieve data from the database" - click OK
    Error message - "Invalid Argument provided"
    Does anyone have an ideas on how to track down the issues.
    Please let me know if you need any other information

    Ok answers below:-
    1. Crystal Reports 2008 Cersion 12.1.0.892
    2. Connecting via OLEDB
    3. Yes able to refresh newly created report without sub reports enclosed
    4. Didn't know that this could be done - this report was done for us by a consultant who doesn't know how to fix this issue and reckons there is a bug in Crystal
    5. Sub reports are accessed after main report is run (I think that means that they are linked)
    6. Not sure how to do this as am newbie to Crystal Reports and we are relying on the person that we contracted to write the reports to know what he is doing.
    Any help appreciated I will try to go into the sub report and unlink - think I have found out how to do this.
    Thanks for the help so far!!

  • Performance in the Server with the created report - Crystal Report 2008

    Hi
          We have developed a complex report and deployed in the server. It takes more time to process and once if the report created and we are trying to expand a group/navigate different pages, the same time delay is happeneing. Sometimes it takes more than a minute which really kills the performance. My client has accepted the delay while the report is being genrated but  they raise question like why it takes too much time just to display the created report.
      I tried keeping the created report in Session and rebind on page_load as well stored a copy on the server and rebind whenver postback happens. Both methods working simliar and no improvement the in the performance. Is there any way to kill the time delay in this.( we have an idea like , if we store the created report  at client machine and whenever postback happens just bind from client machine instead to hit the server back, Is this achievable)
    Any Help would helpful to me
    Thanks

    Hi
    What version of CR are you using?
         Crystal report 2008, I think its in subject of this thread itself. (Version 12.0.0.683)
    What if any CR SP have you applied?
        No
    What version of .NET are you using?
      .Net 3.5 using C# technology (.Net framework 3.5)
    What database are you using?
        SQL Server2008
    What connection type are you using?
       We have created a Stored Procedure and connected the SP to the crystal report.
    What are you comparing the performance to? E.g.; is it faster somewhere else? How much faster?
        No, we didnt compare anywhere. but my question is to avoid the delay in navigation of pages or selecting an item in the group tree. The report contains 100+ pages and client is accepting delay while creating the report but not during navigation or selection( why do the already created report takes more time(even in minutes) to render on navigation or selection and how to avoid the delay))
    Define "complex report ".
    Nothing complexity in the report even we have used oly less formulas(less than 5) but chats are included and used for each group( we have 6 groups in the report)
    Thanks

  • CR2008 Not enough memory while exporting reports from Crystal Reports 2008

    I have recently upgraded our Crystal Reports version from Crystal Reports Basic for Visual Studio 2008 to Crystal Reports 2008. After upgradation I am facing the problem "Memory full.OtherErrorFailed to export the report. Not enough memory for operation" when I am trying to export the report from Crystal Reports 2008 Report viewer, or directly from the code behind. The application is hosted application. The problem occurs in our production environment.
    Server details:
    OS: Windows 2003 Enterprise Edition R2 with SP2
    IIS: IIS 6
    .Net Framework: 3.5
    Application details:
    Hosted application using Crystal Reports 2008 SP 3
    Crystal Reports Viewer version: 12.0.2000.0
    The data binding of the report object is done through an ADODB dataset.
    Web.Config:
    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
      <configSections>
        <sectionGroup name="businessObjects">
          <sectionGroup name="crystalReports">
            <section name="printControl" type="System.Configuration.NameValueSectionHandler" />
            <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
          </sectionGroup>
        </sectionGroup>
      </configSections>
      <businessObjects>
        <crystalReports>
          <printControl>
            <add key="url" value="http://myserver/mysite/PrintControl.cab" />
          </printControl>
          <crystalReportViewer>
            <add key="documentView" value="weblayout" />
          </crystalReportViewer>
        </crystalReports>
      </businessObjects>
      <appSettings>
        <add key="CrystalImageCleaner-AutoStart" value="true" />
        <add key="CrystalImageCleaner-Sleep" value="60000" />
        <add key="CrystalImageCleaner-Age" value="120000" />
      </appSettings>
      <system.web>
        <httpHandlers>
          <add path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
        </httpHandlers>
        <compilation debug="false">
          <assemblies>
            <add assembly="CrystalDecisions.Data.AdoDotNetInterop, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
            <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
          </assemblies>
      </system.web>
      <system.webServer>
         <handlers>
             <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode" />
         </handlers>
      </system.webServer>
    </configuration>
    Sample Code:
    Report = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    Report.Load(Server.MapPath(strReportPath));
    Report.SetDataSource(dsReport);
    Creportviewer.ReportSource = Report;
    For exporting the report to PDF
    string Filename = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.InternetCache).ToString(), Guid.NewGuid().ToString() + ".pdf");
    Report.ExportToDisk(ExportFormatType.PortableDocFormat, Filename);
    Clean Up Code: (Page_UnLoad event)
    if (Report != null)
         Report.Close();
         Report.Dispose();
    Creportviewer.ReportSource = null;
    Creportviewer.Dispose();
    dsReport = null;
    GC.Collect();
    GC.WaitForPendingFinalizers();
    Can someone help me resolve the issue.

    The .rpt file size is 14MB with the Data Save option enabled, 12MB without Data Save.  Presumably the 12MB file size is because of the 24bit PNG we have as our background.
    The Designer executes the report in less than a second and we can scroll through all pages and see the image fields perfectly.
    When we Export to PDF, the Designer takes a long time, eventually gets to the 77%, the 7th record and returns "Export report failed" followed by "Memory full".  If we export only page 1 of the 3 pages, it also returns a Memory full error.  However, when the same report is run with only 1 page, that page exports to PDF but with a ridiculously large size and export time.
    The machine has 2GB of physical memory with an 8GB pagefile with Windows 2003 (latest everything).  The process runs up to about 1GB before reporting the memory full error.
    We've also tried a variety of other suggestions posted in the other thread with no success.
    We're happy to provide the RPT file to the Report Team to diagnose the problem.  Ultimately, we need to be able to produce a 15 page report with approximately 45 images.
    Our preferred scenario is fixing problem 2.  The CR Designer seems quite capable of rendering our report and printing it to our third party PDF printer in a timely manner with small size.  However, the API reports memory full.
    The API resides in a dedicated reporting web service with NO other code except for loading the report, setting parameters and printing.  When executing, it uses up to about 1.1GB before reporting the error.
    Are there any other suggestions for fixing what we have?  Are there known problems with large images in reports?  Do we need to lodge a formal support request?
    Regards,  Grant.
    PS.  Grr and my message formatting is lost when I edited this message!!!
    There is a 1500 character limit and then all formatting is removed to save space. Break you posts into separate entries.
    Edited by: grantph on Sep 30, 2009 2:49 AM

  • Crystal Reports 2008 can't access R/3 queries

    Hi there,
    My company is in the middle of SAP implementation and our go-live is in 2 months. We don't have a BW system in place and are (for the most part) using the Standard SAP Reports available out of the box to facilitate the requirements of the different business users. But as we all know, there are always some reports that require customization. So, for that we decided to use Crystal Report 2008 (ver. 12.3.0.601) to design custom reports while accessing data from the Standard SAP Tables. I am able to access the Standard SAP Tables in R/3 (built on Oracle database) and the fields in those tables from the Crystal Report 2008 Database Expert option and have created an A/R Aging Report successfully. However, while working on my second report (GL Journal Entry By Invoice#) I am struggling to maintain and improve the query execution time since I am accessing data from huge standard FI-CO tables (BSEG, BSID, BSAD). Our 3rd party implementation team has already designed a custom report in R/3 that is available in all the clients using the T-Code in NetWeaver for the end users but it's missing some fields that the end users would need for go-live and it's not possible to ask the 3rd party implementation team to make the needed changes to the already customized report (for whatever reasons). And, that's why, I am asked to customize this report in Crystal. I suspect the execution time is so bad in Crystal because of lack of filtering of the data when I am pointing at the huge Standard Tables. I would have added some SQL clause and filters to bring in only the required fields from the table into the Crystal environment but I don't have that option since the R/3 system is sitting on Oracle. I have couple questions:
    1) Would it be advantageous to build the custom Crystal Report on top the custom R/3 report that is already in place since in the R/3 report I can create a default variant with the conditions I want and it gets executed every time I call it in Crystal giving me only the data I am interested in? And, is it even possible?
    2)  Why am I not able to see the R/3 custom report from the Database Expert option even though the report is accessible from NetWeaver? I am able to access all the Standard SAP Tables from Database Expert in Crystal 2008.
    And I forgot to add, we don't have an ABAP expert in house to create ABAP function modules that might help me filter the data in the R/3 system.
    Is there any suggestions that will get the job done? Am I doing anything wrong here?
    Sorry for the long story but I wanted to give you guys a full background of the issue.
    Any help will be greatly appreciated.
    -RBora

    RohitBora wrote:
    Hi there,
    > My company is in the middle of SAP implementation and our go-live is in 2 months. We don't have a BW system in place and are (for the most part) using the Standard SAP Reports available out of the box to facilitate the requirements of the different business users. But as we all know, there are always some reports that require customization. So, for that we decided to use Crystal Report 2008 (ver. 12.3.0.601) to design custom reports while accessing data from the Standard SAP Tables. I am able to access the Standard SAP Tables in R/3 (built on Oracle database) and the fields in those tables from the Crystal Report 2008 Database Expert option and have created an A/R Aging Report successfully. However, while working on my second report (GL Journal Entry By Invoice#) I am struggling to maintain and improve the query execution time since I am accessing data from huge standard FI-CO tables (BSEG, BSID, BSAD). Our 3rd party implementation team has already designed a custom report in R/3 that is available in all the clients using the T-Code in NetWeaver for the end users but it's missing some fields that the end users would need for go-live and it's not possible to ask the 3rd party implementation team to make the needed changes to the already customized report (for whatever reasons). And, that's why, I am asked to customize this report in Crystal. I suspect the execution time is so bad in Crystal because of lack of filtering of the data when I am pointing at the huge Standard Tables. I would have added some SQL clause and filters to bring in only the required fields from the table into the Crystal environment but I don't have that option since the R/3 system is sitting on Oracle. I have couple questions:
    >
    > 1) Would it be advantageous to build the custom Crystal Report on top the custom R/3 report that is already in place since in the R/3 report I can create a default variant with the conditions I want and it gets executed every time I call it in Crystal giving me only the data I am interested in? And, is it even possible?
    No - this is not possible; you can only report in Crystal against ECC tables, ABAP functions, and SAP Query/Infosets
    > 2)  Why am I not able to see the R/3 custom report from the Database Expert option even though the report is accessible from NetWeaver? I am able to access all the Standard SAP Tables from Database Expert in Crystal 2008.
    ABAP Reports are not a datasource in Crystal
    >
    > And I forgot to add, we don't have an ABAP expert in house to create ABAP function modules that might help me filter the data in the R/3 system.
    > Is there any suggestions that will get the job done? Am I doing anything wrong here?
    > Sorry for the long story but I wanted to give you guys a full background of the issue.
    >
    > Any help will be greatly appreciated.
    >
    > -RBora
    Hello,
    Those are some big tables to be reporting against in Crystal
    Have you considered creating an InfoSet using logical database BRM (Financial Documents) that could then be used to report against Crystal?
    We do use Crystal / SAP Query against the logical database BRM as an InfoSet and so far we haven't seen the performance issues you are describing.
    Also, have you considered upgrading to Crystal Reports 2011?  Not sure that it would help the performance issues you are describing.
    Regards,
    Tammy

  • Help - Crystal reports 2008 - will not work

    I am a Systems Administrator for a small company of 450 users.
    I am unfamiliar with Crystal reports
    We have a recent problem with Crystal Reports 2008, only 1 user in the company uses it.
    Since I recreated a windows profile on this users PC who has Crystal installed. 
    She is using .CSV files as her data sources. These CSV files are on her local machine. 
    She is trying to load an RTM template file, then do a refresh, and it asks for a datasource? 
    We try to select Excel, but it asks for a username and password to connect to the excel Datasource, and anything we type in fails. 
    Previously a refresh just worked. 
    I uninstalled reinstalled, still asking to select datasource. 
    I installed this originally 4 months ago and we did not have this problem. 
    Can you please assist?

    Hello,
    Sounds like possibly a Microsoft update which altered the security settings either on the CSV or the folder where it's located.
    Can she create a new report off the CSV if she copies it locally? I assume the csv is on a network share?
    Don

  • Crystal Reports 2008, mySQL, JDBC, and ODBC

    Hello everyone.
    I have just spent a very challenging few days getting Crystal Reports 2008 Developer (advanced version) working with a mySQL data source.  I fell into several pits and narrowly escaped being eaten by monsters. I thought I'd share my experience to spare others the same trouble.  All the stuff I'm writing about here applies to the runtime as well as the Developer UI.
    I'm working on Windows Server 2008 R2, 64 bit, standard edition.  The mySQL server is 5.1.42. The mySQL ODBC connector is version 5.1.6.  You need the 32-bit version of this connector, even if you're on a 64-bit machine.
    Lessons learned:
    1. JDBC connectivity in Crystal Reports doesn't work correctly.  It consumes excessive memory when a report  requires lots of rows from a data base.  Don't even think about using it.
    2. Crystal Reports has a problem with ODBC for mySQL in which it sometimes gives a dialog box with these words in it.
    The alias requested 'SOME_TABLE_NAME', contains a combination
       of characters which is not considered to be valid.
    This error message come up when using items on Crystal's "Database" menu like "Set Datasource Location..."
    To fix this you need to make a registry change.  As far as I know this has to be done for each account on each machine running the Crystal Developer. (insert usual warning about registry editor). Find the key named:
    [HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports\Database
    Create a new string value named InvalidAliasCharList Give it this value:
    .:{}()@&$#^!*~|%\\\"
    Notice that the last two characters are backslash double-quote.
    Good luck.  It actually works pretty well now that it's working.
    If any other community member can offer corrections or better ways of coping with this stuff, please do!

    Good morning,
    I was wondering if I may ask some additional help...
    We're on version 14.0.4.738 RTM and we are having the same issue.... need to enter the alias as table name with a backslash, ie serparate_work_orders\ for login credential reasons, but all the regedits listed seem to refer to locations in the registry that dont exist.
    Version 14 have two "database locations" from what i can see called...
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseOptions
    and
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseServer
    I've applied the patch to both these locations and still no joy, same error message!
    Any ideas?

  • Using Crystal Reports 2008 standalone to edit CR basic reports?

    Can I use a stand-alone Crystal Reports 2008 to edit reports created with Crystal reports Basic for Visual Studio 2008?
    On this project I am working with other developers who don't want to install the full CR 2008 and I really need to to use full CR 2008 to be able to edit a few things in reports I can't do with CR basic in Visual Studio (like changing colors for bars in charts which you can't edit in VS).
    I also don't want to use the CR 2008 runtime for running the application, just the runtime which comes with VS 2008.
    Is it safe to edit a report in CR 2008 and then use it within Visual Studio (assuming I don't add any CR 2008 specific functions)?
    I made a test and installed CR 2008 but without installing the .NET options (however only 1.1 and 2.0 was listed I guess I need to install SP0 to get VS 2008 support anyway). I could change colors for bars etc and save it and open it again in VS 2008. VS complained about
    The full CR designer is also much better to work with so if I can use full CR 2008 without affecting my VS application that would be nice (I guess installing the .NET components would force the use of CR 2008 runtime assemblies).
    Also another question:
    When you use datasets as datasource and use the preview in VS it will use some fake data. But in CR 2008 stand-alone you don't get any data at all. Is there a way to do the same with full CR?

    Hi Magnus,
    You can use CR 2008 to edit reports but there are warnings. .NET version of CR is 10.5, based on the CR version 10 functionality. CR 2008 has much more functionality so as long as you don't add any features of CR 2008 to the reports then it should work. But it is recommended that you use the same version for functionality and 100% compatability.
    Yes you do need SP0 installed.
    You should also upgrade to CR 2008 Developer then you can use the full SDK functionality within .NET and be able to support all the latest OS platforms.
    Please post a separate question for your database question. Use one posting for each question, if not the posts tend to get messy.
    Thank you
    Don

  • Crystal Reports 2008 SP3 &VS Studio 2008

    Hi,
    i'm trying to use Crystal Reports 2008 with SP3, Visual Studio 2008 and OS Windows Server 2003 (I use this Server OS because i'm developing for Microsoft SharePoint).
    Before upgrading to Crystal Reports SP3 i could not set a basic Visual Studio C# Dataset as the Datasource of my Report. Everytime i get the following Error:
    Unknown Database Connector Error - Error in file temp_GUID.rpt
    Then i read theis forum and it was mentioned that maybe SP3 could solve this problem. But after applying CR 2008 SP3 the following Error occur (VS cancel the debug mode and this error is logged to the Windows Server-Log):
    Message: Could not load file or assembly 'crdb_adoplus, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)
    I'm using the following Code-Snippet:
    CrystalReport1 report = new CrystalReport1();
    NewsDataSet nds = new NewsDataSet();
    DataRow r;
    r = nds.Tables[0].NewRow();
    r["Title"] = "Title";
    r["Body"] = "Body";
    nds.Tables[0].Rows.Add(r);
    //Now the exception will be thrown
    report.SetDataSource(nds.Tables[0]);
    Maybe someone can help me to solve this problem.
    Thanks in Advance!
    Christian

    Well guys,
    i spent the whole day with installing and uninstalling the CR2008 Service Packs with no success. My opion was that eventually the " CR2008 SP3 Full Build" from this download site
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    causes the error, but after applying SP1 the same error occurs.
    As a reminder the error text:
    Message: Could not load file or assembly 'crdb_adoplus, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)
    or
    Exception: System.UnauthorizedAccessException
    Message: Access to the path 'C:\WINDOWS\TEMP\temp_51231be7-4c43-40f1-b0ee-67e76414e046.rpt' is denied.
    StackTrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.Delete(String path)
       at CrystalDecisions.CrystalReports.Engine.ReportClass.Dispose(Boolean bDisposeManaged)
       at CrystalDecisions.CrystalReports.Engine.ReportClass.Finalize()
    Maybe its a permission problem, but the ServiceAccount which performs the action has full control on the temp and CrystalReports Installation folder, so i don't know what to do else.
    Then i tried to  resolve the error, which occurs without any Service Pack:
    Unknown Database Connector Error
    Error in File temp_184c79e9-4eeb-41dd-9043-582b30ac7281 {82AF1B98-C271-4007-B793-723CCFD63FFD}.rpt:
    Unknown Database Connector Error
    Also with no success. I'm using the following Code-Snippets:
    Simple XML-Schema (xsd) because i don't use a Database and the data is generated dynamically:
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema id="NewsSchema"
        targetNamespace="http://tempuri.org/NewsSchema.xsd"
        elementFormDefault="qualified"
        xmlns="http://tempuri.org/NewsSchema.xsd"
        xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
    >
      <xs:element name="News">
        <xs:complexType>
         <xs:sequence>
            <xs:element name="Title" type="xs:string" />
            <xs:element name="Body" type="xs:string" />
          </xs:sequence>
        </xs:complexType>
    </xs:element>
    </xs:schema>
    Then i add this as an ADO.NET (XML) connection an i'm able to integrated the two fields in the report.
    Then i try to call the report with the following C#.Net Code:
    +DataSet ds = new DataSet();
    DataTable t = new DataTable("News");
    +DataColumn title = new DataColumn("Title");+
    +DataColumn body = new DataColumn("Body");+
    +title.DataType = Type.GetType("System.String");+
    +body.DataType = Type.GetType("System.String");+
    +t.Columns.Add(title);+
    +t.Columns.Add(body);+
    +ds.Tables.Add(t);+
    +DataRow drDataRow;+
    +drDataRow = t.NewRow();+
    +drDataRow["Title"] = "My Title";+
    +drDataRow["Body"] = "My Body";+
    +t.Rows.Add(drDataRow);+
    //the exception is thrown here
    report.SetDataSource(ds);
    Now i'm really frustrated because i don't know what to do to resolve this problems and i stuck with this errors for a couple of days now. Any further help or suggestions would be great.
    With kind regards,
    Christian
    Edited by: C.Kaiser on Oct 5, 2010 5:07 PM

  • Crystal Reports 2008 Version 12.2.6.567 Crashes with APPCRASH , opensql.dll

    Hello everyone,
    I have download and installed a trial license of BOBJ 3.1, i have installed an SAP INT Kit and have been trying to convert some sample CR from the SAP servers " iwdfvm..." to a local SAP Server on the network. I receive this error in crystal reports when i try to update the data source
    Problem Event Name:     APPCRASH
      Application Name:     crw32.exe
      Application Version:     12.2.6.567
      Application Timestamp:     4ba3856d
      Fault Module Name:     crdb_opensql.dll
      Fault Module Version:     12.1.0.890
      Fault Module Timestamp:     48db6ad0
      Exception Code:     c0000005
      Exception Offset:     000aea07
      OS Version:     6.0.6002.2.2.0.256.1
      Locale ID:     1033
    Please help me understand why i can not change any of the datasources. The funny thing is this error has popped up in every version of CR and there are still no fixes that i have seen in 2008.

    Hello everyone I have downgraded to the SP1 version of Crystal Reports 2008 seems to have fixed the problem.

  • How to use CRAXDDRT.DLL in crystal report 2008?

    Hello All,
    We have purchased Crystal report 2008 Full software.
    We need to insert BLOB field into Crystal report 2008 at runtime using *CRAXDDRT.DLL*.
    How can I insert OLE object and bind it at Runtime using crystal report 2008?
    Is it possible to insert Ole Object runtime using crystal report 2008? If yes how and if not is there alternative to perform this job.
    Please let me know your feedback.
    Thanks

    CrxDDrt.dll is only provided in order for the Crystal Reports designer in the .NET IDE.
    1) You are not licensed to use this CraxDDrt.dll
    2) Even if you were, in previous versions of CR, there were licensing implications to using the craxDDrt.dll (read $$)
    3) Once your project would be done, using CR 2008, you would not be able to distribute the runtime as there is no CR MSM or MSI that contains the craxDDrt.dll and it's supporting runtime.
    In your original post you say:
    "I need to show Word and Pdf file in to Crystal report 2008 using CRAXDDRT.DLL";
    I do not understand why you'd need to do this using the craxddrt.dll? You should be able to insert a BLOB field using the RAS SDK for .NET and CR 2008. Now, one hting you will have to keep in mind. If you insert a multipage .doc or .pdf file into the report, you will only get the first page of that document. I suggest you try this in the CR designer first. Always remember that if you can not do a certain thing in the designer, you will not be able to do it at runtime either. Giving all the limitations above, if you are still interested in doing this using RAS, let me know and I'll set you up with some resources to get you going.
    Ludek

  • Migration from Crystal Reports 2008 to Crystal reports Enterprise(BOE 4.0)

    Dear all ,
    I m currently doing a project on Crystal reports 2008 where datasource is mostly SAP BW queries.  Our customer will have BOE 4.0 in coming months .  I have heard that in BOE 4.0 Crystal reports for Enterprise will be a better option for BW datasources.Is that true? So here comes my question , Is  it possible to migrate reports based on Crsytal reports 2008 to Crystal reports for Enterpise 4.0  afterwards. What will be best option for us , shall we build further reports on Crystal reports 2008 or Crystal reports 2011 or should wait until we have BOE 4.0 ?
    Thanks
    Best regards
    Atul

    Hi,
    We are going through the migration process from 2008 to Enterprise version. The only issue we are facing is the mapping of the Hierarchy nodeid and parentid. Other than that we were able to migrate most of the pieces from the report.
    Here is the overview of migration process:
    1. When you run the upgrade manager to migrate objects from BOE 3.1 to 4.0 it will automatically upgrade it to CR 2011 version.
    2. You then have option to migrate it manually by opening the report in Enterprise version.
    3. If you open the report in Enterprise version it will prompt you to connect to common semantic layer wizard.
    4. Before that you have to have your datasource ready for that report depends on how your CR 2008 is connected. (can be BEx query or Relational Universe)
    5. If its BEx query you have to maintain the connection in CMC under OLAP connection to your BW system.
    6. Next thing is to map the Source fields to Target fields (BEx query or Relation Universe via IDT) and your report will be converted to Enterprise version.
    7. You might have to resolve if there are any errors.
    Let me know if you have any particular questions if i can help.
    Thanks.
    Edited by: Rajan Patel on Oct 27, 2011 5:13 PM

Maybe you are looking for

  • How to ulock an iphone if i forgot the passcode

    My daughter has has forgotten her password to phone and has it has been locked up. What do i need to do?

  • Cannot drop the table because it does not exist in the system catalog. Transaction context in use by another session

    Hi Every one, An error has occurred during report processing. (rsProcessingAborted) Get Online Help Query execution failed for data set 'NonFinTran'. (rsErrorExecutingCommand) Get Online Help Cannot drop the table '#NonFinTran', because it does not e

  • Change Number in aut10 report.

    Dear All, what is Change number in Aut10 Report and in which manner we can use it?? iam taking it through Tcode wise. Regards Anupam jain

  • Acknowledgement problem

    Hi All, I'm having some weird problems with acknowledgements in XI. I have an interface which runs with the aid of BPM. In this BPM, an acknowledgement is expected, and when it is not received, there is a timeout set in place. So far so good. Now whe

  • CS4: Can Action Call a Script?

    For three versions now, Illustrator has had a bug which greatly limits the kinds of things that could be otherwise accomplished with its scripting features. You can use Insert Menu Item to insert a step in an Action that calls a script from the File>