Crystal 10 hang up when I  click 'set datasource location...'

I got this problem from yesterday, and I use crystal for many year, never have this problem.
I'm not sure is it a license problem? Thanks.

I uninstall and install cr10 again this morning, problem still there.
I install a software developed by myself 2 days ago, but it doesn't have relationship with the CR. Check .dll is good idea, but I check the dependency, nothing missed:(
Database side, it just run as normal. No new table, new sp. I'm afraid it's virus. I scan the disk by ESET, all clear.
That's all I did to found out the problem. Thanks for your answer. If find out the reason finally(I hope), I will post it here:)
Thanks

Similar Messages

  • Crystal crashes when trying to "Set Datasource Location"

    Hi,
    My client's Crystal app (version 9) crashes when she attempts to remap a report using the "Set datsource Location". Basically, as soon as she selects it, she gets a msg ..something like "CRw32.exe error" and the app bombs.
    Any ideas on what may cause this folks ??
    thx a lot,
    Steve

    Open the report up and Click on Database, Set Location, find ODBC in the list and connect using your DSN. Now select your DB and tables, varies so you may have just click on the OLE DB connection and the n DSN and click Update button or you may have to do this for each table also.

  • VS2010 Crystal Report Crashes System when using 'Set DataSource Location..'

    Runtime ASP.NET 3.5
    VS 2010
    Under Database Fields (rt click) try Set DataSource Location... causes VS2010 to crash.
    This is on an imported report from VS2008.  VS2008 has no problem with the report.
    Since this is a ASP.NET 3.5 program the internal property field
    <ResGenToolArchitecture>Managed32Bit</ResGenToolArchitecture>
    has been set in the project in order to allow the code to compile w/out errors.
    What is solution for Crystal Report Set DataSource Location?

    Hi Ken,
    Here's one link on the issue: CRVS2010 RTM: Database Expert / External Component has thrown an exception
    The reason is Old OS's used c:\temp as the default, now you are require to use %user%\temp as your temp folder as well as using the AppData folder for your app. If CR finds c:\temp it uses it and depending on what is in there it can cause Cr to crash, XML files have been know to do this.
    Following MS's new rules on users temp folder should make your app Windows Compliant.
    Thanks again
    Don

  • Set Datasource Location - Crystal XI to Access 2007 DB

    Hi all,
    Is it possible to Set Datasource location for a Crystal XI report to an Access 2007 DB?  I have reviewed the postings and can not find an answer.
    Edited by: Karen Arena on Jun 23, 2009 3:24 PM - I have resolved this on my own, it is possible, see library documentation.

    Resolved through documentation in Library.

  • Set Datasource Location does nothing???

    I dont get it...
    I have reports that are fed by SQL Server stored procedures.  Every now and then the developers will change some minor thing in one of the procedures (maybe a Group by or Order by change) and then rename the stored procedure.  So for example....
    USP_RPT_MYREPORT gets a minor update and gets renamed to USP_RPT_MYNEWREPORT...
    (I am over-simplifying, but you get the idea...)
    I go into Crystal Reports in Visual Studio and select the "Set Datasource Location" choice off the menu.  There, right on the darn screen that comes up it says "highlight the new datasource and click the Update button"...  I do that, and absolutely NOTHING happens, NOTHING changes, NOTHING gets updated.  I've done this about 20 times and now and every time, same thing - NOTHING happens.
    But if I go into the Database Expert, highlight my existing stored proc, and then hit "F2" to rename the alias, and set it to the new stored proc name - BING!!!  Everything works just fine.
    I looked in the Crystal documentation but of course, nothing there to illuminate whats going on with this seemingly useless "Set Datasource" selection...  So...
    What is this for?  What is it all about?  ...and why doesnt it work?
    Any help would be appreciated and sorry in advance for being frustrated - I work in Crystal...

    Thanks for the response and the attemp to help, but this cannot be quite correct - at least it does not seem so.  How do I know this?....
    Well, I have 2 stored procedures that are almost exactly alike - the only difference is the ORDER BY clause in the SQL itself (so this should have NO effect on Crystal)...
    I use the Set Datasource selection and yes, you are right, it DOES NOT change the name from my old Stored Procedure to the new one.  But if you are suggesting that it DID actually change where its pointing I dont believe you are correct because of this...
    The report itself has 3 Groups - these group headers are "tied" to the first stored procedure and even though I change the datasource (supposedly), these groups DO NOT change and thus when I run the report I get an error stating that the "Groupings do not exist"...
    In other words lets say the first stored procedure is called "SP1" and I am changing to a virtually identical stored procedure called "SP2".  Sure enough, when I use Set Datasource, the name DOES NOT change - it still says SP1...  But when I run the report the Grouping dies because nothing changed it to "SP2".  In fact, the Groups now say "???"
    What is particularly odd and frustrating about this (and also the sign of a very poorly QA'd product) is that if I go into the Database Expert and simply press "F2" and change the alias from SP1 to SP2, that seems to do the very thing that Set Datasource seems entirely unable, undesigned and unwilling to do.
    Bear in mind here that I have worked with Crystal for 3 very painful years and when any fields (columns) change in the backend SQL, I understand that it takes hours to rework the entire report - its stupid, it shouldnt take that long, but I have just accepted it with this klunky product - but when NO fields change it seems to me that should be very easy to manage and yet the only way I have found to do it is to try Set Datasource, watch it fail again and again and then use the Database Expert (and the F2 key in there) to rename the alias.
    In all the Crystal documentation I have (downloaded, and came with product) there is not one line I can find that talks about what Set Datasource is supposed to do, and should be doing.
    Anything that would make my life easier with this sometimes beastly product would be most appreciated.

  • Crystal 10 set datasource location issue

    I am getting hung up when trying to set a datasource location in Crystal 10.  I have tried uninstalling and reinstalling the software.  Any ideas?

    Hi,
    Try with this:
    1. Reduce the 'Hardware acceleration' setting in Microsoft Windows.
    2. To access the 'Hardware acceleration' setting in Microsoft Windows:
    Click Start > Settings > Control Panel > System > Display > Settings > Advanced > Troubleshooting.
    There are typically six possible settings for 'Hardware acceleration': from 'None' to 'Full'.
    If you are using Dual monitor run the CR application on primary monitor cause Dual monitor is not tested with Crystal Reports.
    Regards,
    Shweta

  • Error in setting datasource location from oracle to sql server

    Post Author: jonathanaramburo
    CA Forum: Data Integration
    Hello,
    I have an application that uses a table named "events" which conflicts the sys.events view in master database in sql server. The error i was encountering is that, whenever i tried to set the datasource location of my crystal report from its previous connection oracle to sql server, i get an error saying that some of the fields has not been updated because theres no matching fields to the current connection. It seems that crystal is pointing on sys.events view on master db and not on the events table in myDb database. How can I tell crystal reports to not pick up sys.events and get only myDB.events table.
    Thank you in advance,
    Thanks,
    Jonathan

    The exact statement in oracle side which causing this error (O2SS0050:
    Conversion of identifier 'to_date(VARCHAR2, CHAR)' is not supported.) is below:
    dStartDate:= to_date(sStartDate,'MON-YYYY');
    Statement causing error O2SS0050:
    Conversion of identifier 'regexp_replace(VARCHAR2, CHAR)' is not supported is below.
    nCount2:= length(regexp_replace(sDataRow,'[^,]'));
    So there is no statement which is using to_date(VARCHAR2,
    CHAR) and regexp_replace(VARCHAR2, CHAR) in as such. 'MON-YYYY'  and '[^,]'
    are CHAR values hence SSMA is unable to convert it from varchar2 to char.
    Regarding SYSDATE issue, you mean to put below code in target(SQL) side in SSMA ?
    dDate date := sysdate;
    Thanks.

  • Set datasource location command at runtime

    Post Author: Jamal
    CA Forum: Semantic Layer and Data Connectivity
    Dear Folks,
    I have crystal report 10 and MS access, I need to change my datasource location at runtime without having to type code other than crystal report like VB or C++, Do crystal report have this possibility to change datasource location at runtime without needing to code other than crystal report ???
    Basicly I have multiple MS access database files and need one Crystal report to read from all of them at the same time, how can I do that without coding in a language other than crystal report.
    Best Regards
    Jamal

    Post Author: matthewh
    CA Forum: Semantic Layer and Data Connectivity
    Get a copy of BO Server and use a Business View.   Don't know of any way in Crystal Reports  itself.  BO Server is good but it ain't cheap.  Depends on how many users you have and what sort of budget you have.  I'm using it here and it has a lot of benefits. Alternatively build a data warehouse just for reporting using a proper DB engine and get a single report off that.  Use something like MySQL - fast, and above all - free!   If you don't need bang-up-to-the-second reports then run a scheduled data extraction and upload over night, load the data into the new warehouse and then run your reports against it.  I'm in the process of doing just that.  Read Ralph Kimball's books "The Data Warehouse Toolkit" and "The Data Warehouse ETL Toolkit" to get the idea.  The MySQL forum has a good Data Warehouse section.  A warehouse also gives you many advantages in that your production databases are not too heavily loaded, all your data conforms to set standards (eg data formats are all the same) and you have a historical record that can build over the years to many GB of data - I think Access will struggle with that ;0) - to name but a few.  Hope this helps.  BTW - thought of this last night - MySQL also has the Federated engine - so you could hook all your databases into it and query it with Crystal as though they were a single database.  Not sure if it'll connect to Access though.

  • Set datasource location and remapping fields in code instead of designer

    Dear all,
    We are currently migrating a VS6 reporting project to VS2010. The old project has like 133 Crystal Reports XI release 2 reports.
    All of these .rpt files need to have their datasource location changed and fields remapped because of a change in naming convention.
    The datasource location is currently set to a stored procedure in an Oracle database and this will remain; only the name of the
    stored procedure and the name of the fields returned are changed (due to new naming conventions).
    Is there a way, and I really hope so, to programmatically change the datasource location and remap the fields (mind that these fields are also used in formulas, grouping, total, ...).
    Doing this manually in the designer for like 133 times would be very time consuming.
    After some research I stumbled upon the CrystalDecisions.ReportAppServer.Controllers.DatabaseController but I'm looking for some example usage, if this is the correct way.
    The end result should be that all these 133 .rpt files have their datasource location changed and fields remapped.
    Any assistance or pointers in the right direction would be kindly appreciated.
    Thanks.

    Not aware of how you can do this in code.
    However, there are third party products which you can use to mass update reports with datasource and table mapping.
    RptInspector is a product I know of that can do what you want.
    Ian

  • Set Datasource location in Crystal XI not working

    I have what seems to be a common problem with the setting of a datasource in Crystal XI designer.
    I am converting my Crystal 8.5 reports to crystal XI.
    The connection I am using is an OLE DB(ADO) connection to SQL Server 2005.
    When I try to change the Datasource from a test database to a production database, absolutely nothing happens.
    The data displayed on the report is the data from the database from which the report was designed.
    I have scoured the internet and have found numerous complaints about this issue.
    The only semi-acceptable solution I have found is that you have to go into the properties of each table on the report (including subreports) and change the Overridden Qualified Table Name by typing in the name of the table.
    Is this the only solution?
    I have over 300 reports. Many with subreports.
    How archaic is this?
    Is there at least some sort of conversion program available that would help me with my existing reports.
    I have no problems during runtime. It is only the designer with which I am having an issue.
    Any help is appreciated.
    Leonard
    Edited by: Leonard Mann on Oct 13, 2009 4:25 PM
    Edited by: Leonard Mann on Oct 13, 2009 5:23 PM

    Hi Teri,
    Thanks for the input. I thought I would try this out in the simplest way possible.
    The results are a little bizaar but I think they may be helpful in finding a solution.
    I simply cannot understand how any one has been able to get this to work as I have tested this on various PCs using different crystal version and service pack combinations. Both crystal 10 and X1. XP and Windows 7. Nothing has worked.
    This is what I did.
    Create 3 databases, each with 1 table (COMPANY) and 1 Column (COMPANY_NAME).
    First database (LIVE_DB) on 'Server 1' with COMPANY_NAME = 'LIVE COMPANY S1'
    Second database (TEST_DB) on 'Server 1' with COMPANY_NAME = 'TEST COMPANY S1'
    Third database (TEST_DB) on 'Server 2' with COMPANY_NAME = 'TEST COMPANY S2'
    TEST #1 - USING ODBC (RDO) *********
    Setup 3 Datasources using 'Data Sources (ODBC)' in Administrative Tools.
    LIVE_DB_S1 - Points to Database LIVE_DB on Server 1
    TEST_DB_S1 - Points to Database TEST_DB on Server 1
    TEST_DB_S2 - Points to Database TEST_DB on Server 2
    Create report with 'Company Name' using DataSource LIVE_DB_S1
    Report name correctly shows 'LIVE COMPANY S1'
    Change data source to TEST_DB_S2
    Error occurs: Database Connection Error: '42S02:[Microsoft][ODBC SQL Driver][SQL Server] Invalid object name 'LIVE_DB.dbo.COMPANY'.[Database Vendor Code: 208]
    Crystal appears to be looking for the Database 'LIVE_DB' on server 2 and it does not exist.
    Changed the datasource at the table level
    Reran report - Report name correctly shows 'TEST COMPANY S2'
    Changed Datasource back to LIVE_DB_S1
    Reran report - Report name incorrectly  shows 'TEST COMPANY S1'
    Crystal appears to look for the Database TEST_DB on Server 1 and finds it and therefore displays the wrong Company Name.
    Scrap this report close crystal and start from scratch.
    Create report with 'Company Name' using DataSource TEST_DB_S1
    Report name correctly shows 'TEST COMPANY S1'
    Change data source to TEST_DB_S2
    Report name correctly shows 'TEST COMPANY S2'
    Change data source to LIVE_DB_S1
    Report name incorrectly shows 'TEST COMPANY S1'
    Crystal seems to have changed the server but not the database.
    TEST #2 - USING OLE DB (ADO) *********
    Setup 3 Datasources usong OLE DB after opening Crystal.
    Since the name of an OLE DB connection is the SERVER, for the purposes of this example let's pretend that each connection has a name the same as above.
    LIVE_DB_S1 - Points to Database LIVE_DB on Server 1
    TEST_DB_S1 - Points to Database TEST_DB on Server 1
    TEST_DB_S2 - Points to Database TEST_DB on Server 2
    Create report with 'Company Name' using DataSource LIVE_DB_S1
    Report name correctly shows 'LIVE COMPANY S1'
    Change data source to TEST_DB_S2
    Report name correctly shows 'TEST COMPANY S2'
    Crystal correcly switched the Server and the Database.
    Changed Datasource back to LIVE_DB_S1
    Reran report - Report name incorrectly  shows 'TEST COMPANY S1'
    Crystal appears to look for the Database TEST_DB on Server 1 and finds it and therefore displays the wrong Company Name.
    Scrapped this report and headed to the bar for a shot of SANITY.
    Leonard

  • Crystal Reports 2008 crashes when previewing image with graphic location

    Hi,
    I'm using Crystal Reports 2008 for SAP Business One.  When I try to insert an image with a UNC graphic location (browse to a UNC drive for image) and I preview, Crystal Reports crashes with the following debug info:
    Problem signature:
      Problem Event Name:     APPCRASH
      Application Name:     crw32.exe
      Application Version:     12.1.0.892
      Application Timestamp:     48de4bbc
      Fault Module Name:     cslibu-3-0.dll
      Fault Module Version:     12.4.0.966
      Fault Module Timestamp:     4daed0a1
      Exception Code:     c0000094
      Exception Offset:     0002d7fd
      OS Version:     6.1.7601.2.1.0.272.7
      Locale ID:     1033
      Additional Information 1:     0a9e
      Additional Information 2:     0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:     0a9e
      Additional Information 4:     0a9e372d3b4ad19135b953a78882e789
    Any idea why?  If I trun graphic location off, it works fine.
    The code I'm using to pull image is:
    sapserver\B1_SHR\Bitmaps\Versailles\" & {RSM_Inventory_Images;1.PicturName}
    Thanks.

    Through  Startu2014Run are you able to view the image by choosing the following path ?
    sapserver\B1_SHR\Bitmaps\Versailles\" & {RSM_Inventory_Images;1.PicturName}
    Also try to insert any image which is on your local hard drive and try.  I think this is because, CR is unable to access the images which are on UNC.
    Thanks,
    Sastry

  • JRC - Error when trying to set datasource using resultsets greater than 1

    Hi
    I have one report and 2 subreports. All the reports use resultsets. At runtime the report fails when I try to set more than one result set. It works if I set one result set.
    Please advise asap
    thank you
    selvi
    FATAL - Request failed and JRC Command failed to be undone
    ERROR - JRCAgent9 detected an exception: Cannot modify a read-only collection.
         at com.crystaldecisions.reports.common.e.a.clear(Unknown Source)
         at com.crystaldecisions.reports.common.e.e.clear(Unknown Source)
         at com.crystaldecisions.reports.queryengine.ax.for(Unknown Source)
         at com.crystaldecisions.reports.queryengine.at.if(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.bj.new(Unknown Source)
         at com.crystaldecisions.reports.common.as.a(Unknown Source)
         at com.crystaldecisions.reports.common.ae.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.w.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.w.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.g.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
         at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Unknown Source)
    Edited by: Jason Everly on Aug 15, 2008 10:06 AM
    Title was being interpretted by forums and resulted in unusable title

    I was running into this same problem and found what is either a workaround or a solution. I have a XIr2 report that I defined to use a single Java Beans Connectivity connection, and 2 resultsets from this connection as the datasources ( i.e. MyReportDatasource.getResultSet1() and MyReportDatasource.getResultSet2() ). When I tried running my app, which was using JRC to populate the report datasources, I would get that 'Cannot modify a read-only collection' exception when I called getDatabaseController().setDataSource() on the second resultset.
    To get past the error, I had to redefine the second resultset in the report as coming from a different JBC connection, so the end result was the report using 2 resultsets that come from 2 different JBC connections ( i.e. MyReportDataSource.getResultSet() and MySecondReportDataSource.getResultSet() ). When I did this, the report ran successfully. It looks like JRC doesn't like it when you to use multiple resultsets from the same JBC connection.

  • Setting Datasource Location

    Hello,
    I have a complex report and I am trying to avoid having to re-create it.
    The report's driving table (the left-outermost table) stores data for each employee by period.  So say you have 3 periods, Jan09, Feb09, and Mar09,  you will have 3 records for 1 employee.  Basically it is a historical data warehouse table.
    The left outermost table is this very data warehouse table.  What I want to be able to do is bring back only those records for the period in which we are in.  If I use a select expert to filter on the period, it appears as though the reports still scans all the records in the table first and then filters when it already gets into Crystal.  A very poor performance resoluion.
    I tried creating SQL Command that says
    select *
    from table
    where period='{?Enter End Period}'
    Then use this as the main driving table and left outer join it to the previous driving table.  But it still appears as though it parses through all the records.
    I don't want to recreate the report so how can I do the filtering on the database level before it gets into Crystal?
    Thanks in advance,
    Zack H.
    Edited by: Zack H on Sep 4, 2009 11:23 AM

    This is showing as answered, but I don't see any responses, so I'll go ahead.
    In Crystal, go to the File menu and select "Report Options".  Make sure that "Use Indexes or Server for Speed" and "Perform Grouping on Server" are both checked.  You can also set these values to be your defaults by going to the File menu, selecting "Options" and going to the Database tab.
    However, some things will affect whether the sorting and grouping actually happen on the server.  For example, if you're using a Crystal function on a field in your selection criteria or as a group, it may cause Crystal to bring down all of the data and process it locally.
    -Dell

  • Clearing the History Folder on the Set Datasource Location dialog

    I am using Crystal Reports for .NET 2.0 and am using VS 2005 Pro. Does anyone know if there is any way of clearing out the items in the history folder in the SetDataSource Location dialog? I have been told there is no way to do this, but I figure VS is storing this information somewhere, right? Is it stored in the registry? If so, where is it? Thank you in advance!
    Ed Cohen

    Hi
    I have had a lot of failures with CR so I ended up with several datasource connections for CR. I wish to be able to clear them too. your answers that you can right-click them and select remove doesnt work for me. there is no option to remove them when you right click. also the path given for the key; i have tried searching my computer for a crystal decisions folder but couldnt find it. I use CR that comes with VS2005. could you be a little bit clearer on where that registry file would be found in my case: HKCU/?
    Thanks.
    Mambo

  • 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!!

Maybe you are looking for