Crystal Report XI - Accessing a mySQL DB

My office just recently purchsed Crystal Report XI and the Crystal Server (hosted via contract). I (a non-IT type) have the pleasure of designing useful reports.
My question is...how do I get the two to talk to eachother. I've inupt the Database IP, Port, Database Name, Userid and login in as many places as I could find with no success....
The contracted company who hosts the server uses mySQL DB and is limited to providing the resource...not support or assistance.
Any guidance offered would be greatly appreciated!!!
Thanks,
Adam

Hi Adam,
Wow.. you are in trouble... First CRS is a program that once you have reports created and then published to CRS your users can then run them.
Question is is where is the database you are reporting off of? If it too is hosted on the same PC as CRS then your only option is to ask them how to connect. Likely you'll need a VPN tunnel or some access to get to the reporting database.
Try creating an ODBC DSN to the server if you do have access that way. There is no direct MySQL driver so you'll need a local client installed also.
I suggest you go back to the hosting company and ask them at least how you are supposed to connect since they are hosting your DB also I assume....
For more info on how to use CR and CRS refer to the help files.
Good luck
Don

Similar Messages

  • Crystal Reports and Access database connection error

    I had this in a different forum with no hits, so I am trying this one.
    A person that I work with has multiple reports set up that pulls from an Access database that is password protected. When we moved everything over to a new computer, those reports now say that it cannot access the fields inside the database. It never pops up with a login screen either, like it does on the old computer. I played around with the ODBC, with no luck, couldn't get anything to work. I have also tryed relinking the database, but I keep getting connection problems. We are on a network, so her settings should have all moved with the new computer. Along with the database and the reports being on the server, so they were never moved. I am thinking it has something to do with a system file.
    I also found this document on this site, but cannot find the download it mentions, sounds similar to my problem.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/208b8fe5-681e-2b10-d2bb-b201f266d0ab
    Does anybody know how to fix this without the utility mentioned in the above link, or know where I can get the utility??
    We are using Access 2007 and Crystal Reports 7.  The database is not save as an Access 2007 database, but a regular mdb.
    Please Help!

    Post Author: ejthunder
    CA Forum: Crystal Reports
    Hello Chris,
    Crystal Reports does not store the database password with the RPT file.  This is by design (Crystal is not a database security product).  This is true of all versions of Crystal Reports.
    If your users need to see fresh data when opening the reports then they will have to log in by providing at least the password.
    You can send reports with Saved Data that won't try to hit the database, but the data won't refresh either.  To save data with the report go to the File menu and click next to Save Data with Report.  Refresh the report and then save it.  The report will now have saved data and won't try to hit the database when opened.  If the user hits the refresh button then they will get prompted to log into the database.
    I hope this helps.
    EJ

  • Crystal Reports 2008 Server and MySQL DataBase source for reports

    Hello,
    I am having an issue with crystal reports server 2008. I have created a report on my local machine with crystal reports and the datasource is a ODBC connection to a MySQL database.
    The report works fine on my local. if i publish to the Crystal Reports Server, i get an error when i try and run the report.
    "error Failed to open the connection. "
    I have gone into the database connections for this report and put in the connection details. I have also created a ODBC connection on the server in windows to the actual database (installed both the 32bit and 64bit ODBC drivers, both Test succesfully). But when i go into crystal no matter what settings i try it will not work.
    anyone have any ideas?
    kthank you

    I have solved the issues. This may be usefull for anyone ...
    1. Make sure on the developer machine you have your ODBC connection setup under the System DNS setting in windows.
    2. On the Crystal Report Server, the exact same setup must be done under System DNS, same name, etc
    Once this was done, everything was fixed.

  • Crystal Report on Universe with MySQL ODBC

    Hi
    I created a report with Crystal reports by using a Universe based on MySQL ODBC. In my local (Windows XP) installed Report Designer everything is running fine. I'm also able to publish this report to my BOE, based on RHEL.
    If I will refresh my report on InfoView, database credential are required, but my credential are not accepted. I only become a error message: Failed to open the connection
    If I use Webi with the same universe and the same connection, everything is fine.
    I have also change the ODBC version, but no other result.
    Any idea, where I can trace this connection?
    Versions:
    Crystal Reports 2008 (12.0.0.683)
    Business Objects Enterprise 3.0 (12.0.0.683)
    MySQL ODBC 3.51.27 and 5.1.5
    Thanks a lot
    Christoph

    Hi,
    thank you very much for reply.
    I think you got it. We have the goal to create a report that can be printed and is top-gloss-report for management ; ) One query would not be able to include all that stuff. It is very different.
    So we created 7 different queries in SAP BW Query Designer and we want to put them together in BO Crystal Reports.
    All Queries work with input variable for period and year. These input variables are used in the columns of the queries for calculating the key figures.
    So, if we put these queries together into Crystal Reports, we should actually use "replacement path" for variables. But the sap.help says, that isn't doable.

  • How to set path of MS-Access databse file dynamically in crystal report

    i have windows application and crystal reports and access database.when i connect crystal report to database through followingpath like
    \\machinename\FolederName\AccessDBFile.mdb..here machine name is my machine name(i.e:PCNAMe).but when i will deploy this application on cliet machine then how i can set the path to crystal report with his machine name dynamically..or is
    there any other provision to do this so that i can set it dynamically.
    one more thing i want to tell you is that i wwant to share database on multiple machines so how can i do that.

    Hello,
    Crystal reports is for a long time not anymore supported by Microsoft. 
    Moreover for sure not in this forum for api's components and classes for the user interface Windows Forms
    Try direct the SAP community for Crystal reports for .Net
    http://scn.sap.com/community/crystal-reports
    Success
    Cor

  • Connecting Crystal report with MySql

    Post Author: brajbhushan
    CA Forum: Data Connectivity and SQL
    hi all
            i m trying to connect crystal reports XI Release 2 to MySql 5.0 using ODBC.Problem is that after connecting it successfully it shows only few fields of our table in database when i see it in Database Expert of Crystal Reports. The second problem is that the fields don't have any data with them. Can anyone guide me is there any problem with Crystal Reports while connecting to MySql. Is there any Compatibilty Problem of DataType in Crystal Reports while using MySql.
    Thanks

    Moved to .NET SDK forums
    First issue is CR 10 has not been tested nor is it supported in VS 2010.
    To use CR in VS 2010 download [CR for VS 2010|Crystal Reports for Visual Studio 2010 Production Release Now Available;
    Likely what your problem is is you are not setting or replacing the database connection info but without more info I can't suggest how to fix it. It could also be that you have set your framework to 4.0, CR 10 is FW 1.1 or possibly 2.0 only.
    Or you may even be trying to use the craxddrt.dll which is again no longer supported not are you licensed to use it or distribute it.
    Also you'll likely run into version problems with IIS. I believe CR 10 only supported IIS 5 but check the platforms PDF for more info.
    Good luck.
    Don

  • Error code 1064 mysql and crystal reports XI

    Post Author: aminski
    CA Forum: Data Connectivity and SQL
    Hello friends , I am trying to create a Crystal Report connected to a MySQL database using an ODBC (RDO) connection.  I created a DSN using the MySQL Connector/ODBC 3.51 and mysql database 3.23.51 version .  When creating a new report I can add the ODBC (RDO) connection using Add Command Option, I place my query into the Add Command Text Box then i click on Ok button and i get an error message that reads as follows: << Failed to retrieve data from database, details 2300 mysql odbc 3.51 driver mysqld 3.23.51 you have an error in your sql syntax near ;create temporary table if not exists cursa (cbod_puc varchar(14), saldo floa at line 1 database vendor code 1064.>>
    The error message doesn't display the whole SQL statement, so I can't tell if Crystal Reports is making a bad SQL statement or if it is a problem with the MySQL ODBC driver. or with the delimiter character ( ; ) interpreted by crystal or the odbc driver 
    this is my complete query:
    DROP TABLE IF EXISTS cursa; create temporary table if not exists cursa (cbod_puc varchar(14), saldo float(12,2));insert into cursa select cbod_puc,sum(if(cbod_tipo='D',cbod_valor,0))-sum(if(cbod_tipo='C',cbod_valor,0))from myacbodymovimientoswhere cbod_puc='110505003' and cbod_fecha<='2007-08-31' and cbod_estado not in ('a','A')group by cbod_puc;
    select       x.cbod_ccosto,      x.cbod_documento,      x.cbod_fecha,cbod_concepto,      x.cbod_tipo,      ccos_nombre,      x.cbod_puc,      a.puc_nombre,      x.cbod_razonconcepto,      if(x.cbod_tipo='D' and x.cbod_estado not in ('a','A'),x.cbod_valor,0) as debito,      if(x.cbod_tipo='C' and x.cbod_estado not in ('a','A'),x.cbod_valor,0) as credito,      substring(x.cbod_puc,1,1) as puc_clase,      substring(x.cbod_puc,1,2) as puc_grupo,      substring(x.cbod_puc,1,4) as puc_mayor,      substring(x.cbod_puc,1,6) as puc_submayor,      ifnull(b.puc_nombre,'') as puc_NombreClase,      ifnull(c.puc_nombre,'') as puc_NombreGrupo,      ifnull(d.puc_nombre,'') as puc_NombreMayor,      ifnull(e.puc_nombre,'') as puc_NombreSubMayor,      chea_chequeno,saldo,      x.cbod_fecha as Ffinicio,x.cbod_fecha as Fffinalfrom myacbodymovimientos as x  left join myacheadmovimientos on chea_ccosto=x.cbod_bodega and         chea_documento=x.cbod_documento and chea_concepto=x.cbod_concepto and         chea_beneficiario=x.cbod_beneficiario  left join myaccosto on ccos_codigo=x.cbod_ccosto  left join myacpuc a on a.puc_codigo=x.cbod_puc        left join myacpuc b on b.puc_codigo=substring(x.cbod_puc,1,1)  left join myacpuc c on c.puc_codigo=substring(x.cbod_puc,1,2)  left join myacpuc d on d.puc_codigo=substring(x.cbod_puc,1,4)  left join myacpuc e on e.puc_codigo=substring(x.cbod_puc,1,6)  left join cursa f on f.cbod_puc=x.cbod_pucwhere x.cbod_puc='110505003' and x.cbod_fecha BETWEEN '2007/01/01' and '2007/09/07'order by         x.cbod_puc,        x.cbod_fecha,        x.cbod_concepto,        lpad(trim(x.cbod_documento),12,'0')
    I tested this query using HeidiSQL program Version 3.0 Revision 572 and it runs perfectly without errors, please help me to know if the problem is my odbc driver version or what is the right delimiter character that i have to use in crystal reports XI in order to run perfectly
    Thanks -Aminski

    I developed a JSP page that displays a Crystal Report using NetBeans 4.1, and it works fine.
    Then I set up a project in SJSC with exactly the same libraries, context parameters, etc., and I copied over my JSP page, making it the starting page of the SJSC project, but I get the same "Unexpected error determining relative path". It's got to be a problem with the way SJSC sets up the servlet context or something, but I need help from some of you guys out there with some pretty serious knowledge of SJSC's plumbing...
    Thanks,
    Luca

  • Crystal reports server and microsoft access db

    Hi
    I have created a Crystal Report using Crystal Reports XI. In terms of a datasource I simply used a unc path to the actual mdb file.
    I can open the report local on the PC in CR XI and the report runs no problem however I have deployed to our Crystal Reports server XI so that users can use it.
    The problem is that when I try to run the report from the Info view console it keeps asking me for a user id and password. I have logged into the CMC admin console and looked at the properites of the report and the process/database tab however not matter what I configure in there it either asks for the username and password or says invlaid object when I try to view the report.
    I have created other reports which have used an SQL database as the data source and published them to the CR Server and they work no problem so I am guessing I need to change something for using an Access DB as the dataource. Not usr eif that change is in Crystal Reports XI or Crystal Reports Server?
    Can anyone help?
    Many thanks

    Try this
    Symptom
    Access files present on the network drives.
    Create a report based on files on the network drives.
    Reproducing the Issue
    Create a Crystal Report using Access and Excel files on the network drive as Data Source.
    Crystal Reports XI Release 1, Release 2.
    Operating System: Windows XP SP2
    Database: Microsoft Access / Excel.
    Resolution
    On the Windows XP system go to Start -> Settings -> Control Panel.
    Double Click on Administrative Tools.
    Double Click on Data Sources (ODBC).
    Click on the System DSN tab and then Click on Add.
    Select a driver for which you want to set up a data source.
    For Access Files select 'Driver do Microsoft Access (*.mdb)' as driver type and then click on Finish.
    For Excel Files select 'Driver do Microsoft Excel (*.xls)' as driver type and then click on Finish.
    Enter the Data Source Name and under the Database option click on Select.
    Then click on the Network button, Map Network Drive window will appear.
    Select the Drive and Folder where you have the Access and Excel Files on the network and then click on Finish button.
    Select the appropriate Directory where the file is located and double click on the folder and select the Excel or Access files depending on the driver you have selected and click on OK button.
    After the DSN is created click on OK button.
    Open the Crystal Report application.
    Click on create New Report.
    Under the Available Data Sources expand the Create New Connection then expand ODBC (RDO) and select the newly created Data Source Name and then click on Finish.
    Select the appropriate tables and create a report as per the requirement.
    Keywords
    Excel Access Crystal Reports Network Drive
    Regards,
    Raghavendra

  • Crystal report 11 and IIS

    Post Author: lijolawrance
    CA Forum: Exporting
    Hi to all
    We are using crystal report 8.5 for my application till now. The reports are viewed online using IIS and report viewer. Due to some technical infeasibility, we have planned to switch to crystal report 11. Can anyone tell me that how can i migrate to this using the IIS. I want to open my report online like (http:
    localhost:8099\report.rpt user earlier)./can anyone help me in that

    Post Author: iamtgo3
    CA Forum: Data Connectivity and SQL
    I just purchased Crystal Reports 2008 and it still does not seem to recognize access 2007 *.accdb files. So I have same answer as above will there be a patch or upgrade of some sort to make Crystal Reports recognize Access 2007 *.accdb files.

  • Crystal Report Server Backup and Recovery problem

    I have a problem on the backup Crystal Report Server
    My Environment:
    - Windows Server 2003
    - Crystal Report Server XI R2
    - MySQL Database for Central Management Server System Tables(Default setting in the Crystal Report Server installation)
    - Tomcat (Default seting in the Crystal Report Server installation)
    I stop the Central Management Server before backup.
    I run the following command to backup Central Management Server System Table:
    mysqldump --user=root --password=pass1234 boe115 > C:\CMSBackup.sql
    It is ok to generate CMSBackup.sql file.
    After backup, I re-install the Crystal Report Server and run the following command to restore Central Management Server System Table:
    mysqldump --user=root --password=pass1234 boe115 < C"\CMSBackup.sql
    After finish the restore process, I cannot found my setting on the Central Management Server System.
    Any backup step i missed ?

    Hi Stefan,
    Thank you for your reply.
    I had set Users Rights, Folders setting, Group setting, and Windows Authentication information in the Crystal Report Server
    Also I had upload reports to Crystal Report Server, but i cannot found above information after I restore the MySQL CMS database.
    Any step i missed ?
    About the Output File Respository, Can i copy and paste the Input and Output File Repository ?

  • Crystal Reports Server 2008 trial install - unable to log into CMC

    Hi,
    I have been looking for a way to host my existing Crystal XI reports on our in house web application rather than using a thick client application with cview. I was told that the options were Crystal Reports Server 2008 or Visual Studio 2008. I have downloaded trials of both and am currently testing.
    After installing Crystal Reports Server 2008, including MySQL DB and Tomcat web server, i am unable to log into any of the applications with the error that:
    Error: Server SCOTTPC:6400 not found or server may be down (FWM 01003) null
    After seeing this i checked the services on my test machine and found that the Server Intelligence Agent was not started. So i tried starting it and recieved the generic windows message:
    Service on local computer started and them stopped. Some services stop automatically if they have no work to do ... etc
    After multiple reboots and reinstalls i am still unable to use any aspect of the application as i am unable to log into the CMC as the server is down. Now i am new to Crystal reports and web servers so have a very limited knowledge of whats going on here - i am primarily a DBA. From what i can tell MySQL does not even appear to be installed but i cannot be sure.
    Any suggestions?

    ok... after research it seems a DSN has not been created.
    Also when trying to start the server intelligence service i see the following in the application event viewer:
    [Node Name: SCOTTPC]
    [User Name: SYSTEM]
    Server Intelligence Agent has failed to initialize because the bootstrap file C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\_boe_SCOTTPC.bootstrap is missing information about the CMS cluster. Please restore your bootstrap file from your backup.
    i have recreated the bootstrap file but still get the same error.
    i have SQL Server 2005 installed on this rig as well - could this be causing the issue? Would it be better for me to integrate this to SQL Server rather than using the MySQL DB that comes with Crystal server 2008?

  • Crystal Reports 10 Datasource Location and SQL Query update

    I am running Crystal Reports 10 accessing SQL Server 2008 database on Windows 7. Our product changed database names and I'm trying to update reports to point to the new database. Sounds nice and simple. The database has no structure changes yet, it's just a copy and rename of the old database. Both databases exist, same SQL instance, same permissions, etc. ...
    Existing working report:
       Has an ODBC (RDO) location to database DbVersion1
       If I run Show SQL Query, the database name is in the query text (i.e. FROM DbVersion1.dbo.MyTable)
    Attempted:
       In Set Database Location popup, I created a new ODBC (RDO) connection to database DbVersion2
       Updated Current Data Source for report to this new ODBC (RDO) connection.
       Ran Verify Database. Popup stated "The database is up to date."
    But when I run "Show SQL Query", is still shows DbVersion1 in the text, and the report displays data from DbVerison1. When I display the Datasource Location for the report, it shows DbVersion2 as I changed to above. How do I "refresh" the SQL Query to recognize the new Datasource Location?
    Thanks,
    Gary

    Hi Gary,
    A possible couple of issues, CR 10 doesn't support SQL Server 2008 and it doesn't support Windows 7. We had to update CR XI R2 SP 6 and above to make SQL 2008 work. MS changed the name of their client dll so CR is not aware of the new drivers.
    MDAC native driver may work but not sure....
    Try OLE DB, it may work better.
    Thanks
    Don

  • Looping login screen in Crystal Reports for Visual Studio 2008

    Hello,
    I am using Visual Studio 2008 with the Crystal Reports Basic for Visual Studio 2008. Visual Studio and the Crystal Reports Basic Runtime for Visual Studio 2008 (x64) are installed on both the development and production boxes.  I am using Crystal Reports via Visual Studio and do not have the full blown version of Crystal Reports installed on my machine.
    We have used Visual Studio to create an aspx webpage and would like to use Crystal Reports to display a graph. The report displays fine in debug mode, but displays a looping login screen when moved into production on the web server. The web server is using Windows Server 2008 (x64) with IIS 7. We have tried passing the logon parameters to the crystal report during the page init event with the auto-bind feature enabled on the crystal report viewer. A MySQL database provides the data for the report. All ODBC data sources have been configured the same on both machines. 
    Any help would be greatly appreciated!  Thanks!

    Hello,
    Use a tool called ProcessMonitor from Microsoft and watch what happens when you try to log on.
    Also can you verify you created your DSN using the 64 bit ODBC Admin and that you are using a System DSN so IIS can find it.
    And that the MySQL ODBC drive is also 64 bit?
    If you can read ODBC trace logs you could enable it also and see what error you are getting.
    Thank you
    Don

  • Linking a few Crystal Reports

    Hello,
    Let me start by apologizing in advance because I am not as technical as most of you that will likely respond.  I am working for a company that has partnered with BOBJ and I am trying to develop a report internally, but we do not have any Crystal Reports experts in-house.  Here is the background info:
    I am using Crystal Reports XI R2 (SP3) and I am accessing the report data from a Universal Web Services Connection (UWSC).  Basically, our company pushes reports to a server (in what appears to be a flat .CSV file) and my Crystal Reports designer accesses this data via the USWC after authenticating login credentials for the server.  I have four data tables stored on the server, each with ~8,100 records.
    Here is what I am trying to do:
    I am trying to consolidate the four data tables into one Crystal Report, but I think I am linking the data tables incorrectly.  The report would be structured to show all metrics and calculated values (via formulas) for 900 projects grouped by the 9 established date periods.  These are my four data tables, with their associated columns, on the server:
    1. 
    Date
    Project name
    Project ID
    Sales Rep
    Sales $ (Forecast)
    Sales $ (Actual)
    Sales $ (Variance)
    2.
    Date
    Project Name
    Project ID
    Project Manager
    3.
    Date
    Project Name
    Project ID
    Cost $
    4.
    Date
    Project Name
    Project ID
    Revenue $
    So, as I said, I am trying to link these reports into one comprehensive Crystal Report that may contain formulas that span across each data table.  Each table has about 900 projects where each project's values are reported for each of 9 date periods (there are only 9 possible values in the date column), which gives me my ~8,100 records in each table.  Think of this as a pivot-table file where each of the 900 projects (and Project IDs) will appear 9 times in each table for each of the 9 established date periods.  I tried linking the values Date and Project ID in my Database Expert to the corresponding Date and Project ID columns in report #1 and then grouping the Crystal report by Date from report #1, but I received a database connection error and reading records seemed to take about 3 seconds per record.
    If anyone can provide some insight here I would greatly appreciate it.  Please be as specific as possible because I have tried a few options and cannot seem to get exactly where I need to be.
    Thanks in advance for any responses.

    @sharon towler: Sorry, I must have not been clear about the end result of my report, so your reply is not specific enough and doesn't seem to get me to the solution that I desire in my report output.
    @Brian Dong:
    It's a report that would list the records pretty basically with some formula use (addition of fields between reports).  The report might apear as below with each column header separated by "|"  and the formuals written in the column headers:
    (Group Header)
    Date
    (Details)
    Project name | Sales Rep | Sales $ (Forecast) | Sales $ (Actual) | Sales $ (Variance) | Project Manager | Cost $ | Revenue $ | Sales $ (Actual) minus Cost $ | Revenue $ minus Cost $
    In this report, the table listed as #1 in my first post would be the "1 driving or main table" and all the other tables (#2,3 & 4) will supply the supplimental data for each record (table #1).
    As for my criteria for a record, I would say that technically, in this Crystal report it is determined by the unique Project ID AND the Date (my Key Fields).  More specifically, each project, with its unique Project ID, will appear 9 times in each of my 4 tables for the 9 different date periods, so my records are really determined by the unique Project ID AND the unique Date.  In all cases, the Project ID and Date are the same field types in the 4 tables.  Here is a simplified example using date input in only table #1 & 2:
    1.
    Date   | Project Name      | Project ID | Sales Rep | Sales $ (Forecast) | Sales $ (Actual) | Sales $ (Var)
    9/1/08 | Deployment Test |   5           | Jim Smith  | $100                     | $75                   | $25
    8/1/08 | Deployment Test |   5           | Jim Smith  | $120                     | $50                   | $75
    9/1/08 | Testing Website  |   34         | John Doen  | $200                    | $50                    | $150
    8/1/08 | Testing Website  |   34         | John Doen  | $400                    | $125                  | $275
    2.
    Date | Project Name | Project ID | Project Manager
    9/1/08 | Deployment Test |   5           | Bob Jones
    8/1/08 | Deployment Test |   5           | Bob Jones
    9/1/08 | Testing Website  |   34         | Bill Carr 
    8/1/08 | Testing Website  |   34         | Bill Carr
    In this case, you can see the Projects with IDs 5 and 34 appear in both of the two tables.  In my final Crystal report I would just want to display the Project Manager from table #2 above as another column alongside all the other metrcis in the "main table" in table #1 above when the Project ID and Date match.  The trial and error method is not exaclty working for me vert well because any field that I add to my report causes the database connection error. 
    I hope I didn't complicate things even more and please let me know if you have any more advise now that I have provided some specifics.

  • MySQL 5.5, Crystal Report for Visual Studio not working when hosted IIS

    Software and Component detail
    Microsoft visual studio 2010
    MS .NET Framework
    Version 4.0.30319 RTMRel
    MYSQL SERVER Database
    Version 5.5
    MySQL Connector 6.6.4 64 Bit
    MySQL ODBC Driver Version 5.2.a
    Crystal Report for Visusl Studio 64 Bit 13.0.5
    (CRforVS_redist_install_64bit_13_0_5)
    Current Setup
    1. I have WebSite in ASP.NET Visual Basic which works fine and is connected to MySQL Database, using MySQl Connector 6.6.4 64 bit
    and is using a connection string,defined in web.confg.
    2. I am using a Crystal report( It is very complex report, so cannot dare to redo it). Data Source for the report is set using a connection string
    DRIVER={MySQL ODBC 5.2a Driver};SERVER=Licensedb;DATABASE=License;pwd=root;PORT=3306;OPTION=3 and this report is called from website using the below code
    Dim crystalReport As ReportDocument = New ReportDocument()
    Dim repPath As String = Server.MapPath("~/Reports/") + "LicenseReport.rpt"
    crystalReport.Load(repPath)
    CrystalReportViewer1.ReportSource = crystalReport
    crystalReport.SetParameterValue("InstanceID", CInt(Session("sessionInstanceID")))
    crystalReport.Refresh()
    crystalReport.SetParameterValue("InstanceID", CInt(Session("sessionInstanceID")))
    CrystalReportViewer1.Visible = True
    3. The above setup works fine, when I run the website from Visual studio 2010. But when i use IIS 7, the aspx page having crystal report viewer control load and its blank.
    However it work very well from studio it self.
    4. So I changed the setup in point 2, by having a ODBC Data source defined. And changed the report accordingly. It work fine in Visual studio , but from IIS
    it gives error "Failed to Open Connection, Failed to Open Connection <Crystal Report File name.rpt>"
    5. I tried creating a System DSN and same connection string in IIS Application Connection string. But nothing changed.
    Please can anyone point in correct direction. I must admit this is my first website development work, so I might have overlooked some minor details.
    Any help would be much appreciated.
    Thanks
    Dilpreet ([email protected])

    hello again. I fear that what is said in that article does not apply to my particular case.
    First of all i am using the Crystal Report Basic 2008, which I think is not the same product as Crystal Reports 2008.
    In addition, printing fails always, on my PC and on the web server.
    On the other hand I can not find anywhere printcontrol.cab file or printcontrol.dll, just do not exist either in my PC or on the web server.
    The folder where the report viewer is located is not CrystalReportViewers12, is CrystalReportWebFormViewer4, and is located at wwwroot\aspnet_client\system_web\2_0_50727\
    Investigating I found something, but has not helped me:
    [http://social.msdn.microsoft.com/forums/en-US/vscrystalreports/thread/0af08d25-dd71-41ce-92fa-ca374f933eaa/]
    This problem is what always happens to me when on my local PC I access my web server by its public IP.
    I think I must resign myself to use only the PDF print
    thanks anyway

Maybe you are looking for

  • Skype number is busy when people try to call me ?p...

    When i got my skype number it was busy when someone tried to call me and my skype was online . I changed my skype to only friends on skype list logged out for 5 minutes then logged in and changed it back to everyone can contact me. Been 3 days now an

  • How do work Time Machine?

    So, I'm about to download OS 10.6 Snow Leopard onto my Mac, however when I read that I should backup every file onto Time Machine. How do I do that, like how am I supposed to transfer or whatever all files onto the app when it says it can't find a Ai

  • Consumer Vs Customer

    Hello All, What is the difference between a consumer and a customer. What I understand is that customer is a superset on consumers. Any help appreciated. Regards Priyanka

  • How do you created object level security in BI for roles.

    How do you created object level security in BI for roles.  For example if I want users to only execute reports in BI for a particular "object" report how would I do that. Thanks.

  • How to call .bat file

    hi ; i want to call a batch file in my java programe, i have tried it but i am gettin a error any one can help me ,, public class ExecutingBatfile {      public static void main(String[] args) {           try                Runtime rt= Runtime.getRun