Reports 9i R2 Need SQL database connect string
We have set up REports 9i R2 and can connect to Oracle Database but unabel to find correct connect string to connect to a MS SQL database ?
You'll need to the JDBC pluggable data source for this - there's no longer any to connect to foreign databases directly through the connect dialog.
Please take a look at this functionality and ensure that it meets your needs.
Hope this helps,
Danny
Similar Messages
-
I receive REP-0501: Unable to connect to specified database. I run developer 6i application on windows 2008 r2. I have applied the nn60.dll and nnb60.dll files to the \BIN directory. The forms are working fine. The reports will only display after the correct user id (username, password and database connection string) is supplied. This is happening to all attempts to open already complied form. Pls, help.
If you are connecting to an Oracle 11g database, remember that by default the passwords are case sensitive. To disable that, run
ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE; -
Report in production prompts for database connection info
Hi,
I'm using SAP Crystal Reports version for VS 2010 SP1. I'm trying to implement the most basic need--to create reports in a development environment and move them to production by just copying the .rpt files. I want to rely on the database connection string from web.config, but don't see how that is done. I've tried using ADO.NET DataSets from Project Data and can get the report to run while developing, but when I move to another server I'm always prompted with the "The report you requested requires further information" dialog.
I tried this solution, which keeps the db server name in a web.config variable:
ReportDocument boReportDocument = new ReportDocument();
boReportDocument.Load(Server.MapPath(rmCR.SelectedItem.Value.ToString()));
ConnectionInfo boConnectionInfo = new ConnectionInfo();
boConnectionInfo.ServerName = ConfigurationManager.AppSettings["dbServerName"];
boConnectionInfo.DatabaseName = "dbCMRP_Employees";
boConnectionInfo.IntegratedSecurity = true;
ModifyConnectionInfo(boReportDocument.Database, boConnectionInfo);
// Modify the ConnectionInfo for all tables in all subreports
foreach (ReportDocument boSubreport in boReportDocument.Subreports)
ModifyConnectionInfo(boSubreport.Database, boConnectionInfo);
Session.Add("Report", boReportDocument);
Response.Redirect("CrystalReportsViewer.aspx");
and this works fine in development, but when moved to a different server I get the "The report you requested requires further information" dialog. I've made sure that the db has the correct security settings, but can't find anything missing.
I'm sure I'm missing something basic, but can't seem to find any solution after searching for days. Any solution that allows me to create the report in VS 2010 and copy to a production server will be appreciated.
Thanks,
DanThanks for your replies.
I think I've done what's outlined in the Troubleshooting Guide link that Ludek gave me. I did install Process Monitor and found the "Access Denied" entry, but I'm not sure which folder needs permission given to IIS APPPOOL\ASP.NET v4.0.
Here's the entry from Process Monitor:
Description: IIS Worker Process
Company: Microsoft Corporation
Name: w3wp.exe
Version: 7.5.7601.17514
Path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Command Line: C:\Windows\SysWOW64\inetsrv\w3wp.exe -ap "ASP.NET v4.0" -v "v4.0" -l "webengine4.dll" -a
.\pipe\iisipm461f344a-3d68-4e7c-b42e-ca18eac4553c -h "C:\inetpub\temp\apppools\ASP.NET v4.0\ASP.NET v4.0.config" -w "" -m 0 -t 20
PID: 7512
Parent PID: 3892
Session ID: 0
User: IIS APPPOOL\ASP.NET v4.0
Auth ID: 00000000:00465886
Architecture: 32-bit
Virtualized: False
Integrity: High
Started: 8/29/2011 1:03:58 PM
Ended: (Running)
Modules:
w3wp.exe 0x120000 0x8000 C:\Windows\SysWOW64\inetsrv\w3wp.exe Microsoft Corporation 7.5.7601.17514
Microsoft.Web.Administration.dll 0x28ae0000 0x24000 C:\Windows\assembly\GAC_MSIL\Microsoft.Web.Administration\7.0.0.0__31bf3856ad364e35\Microsoft.Web.Administration.dll Microsoft Corporation 6.1.7601.17514
App_Web_822ce1a1f503e532a2e860f7ce344f6d0d0f2eba.ascx.3417f053.eb4fk61t.dll 0x28b10000 0x8000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\intranet\58a686e6\86baa618\App_Web_822ce1a1f503e532a2e860f7ce344f6d0d0f2eba.ascx.3417f053.eb4fk61t.dll n/a 0.0.0.0
App_Web_aed28e8a45aa161f6c9fc3f563283cb89b317bdc.ascx.3417f053.rodqolhn.dll 0x28c90000 0x8000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\intranet\58a686e6\86baa618\App_Web_aed28e8a45aa161f6c9fc3f563283cb89b317bdc.ascx.3417f053.rodqolhn.dll n/a 0.0.0.0
pvlocale-1-0.dll 0x2fc80000 0x76000 C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\pvlocale-1-0.dll SAP BusinessObjects 14.0.0.760
System.Data.Entity.ni.dll 0x2fd50000 0xcb8000 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Data.Entity\978e8514751373383f79c3fdd667aa2b\System.Data.Entity.ni.dll Microsoft Corporation 4.0.30319.1 -
OBIEE 11g install fails on step 7 (database connect string)
I've currently spent 2 days trying to install OBIEE 11g on two machines (independently). This first is a Windows XP SP3 test PC running 4GB RAM, whilst the second is a Windows 2003 virtual server with 3GB RAM. The Database is Oracle 10g (10.2.0.4.0) on AIX 5.3.
The DBA has successfully run the RCU on the Database and the schemas needed for OBIEE have been created. The BIPLATFORM schema has also been granted DBA privileges.
Now I've tried to run both the simple and the Enterprise install for OBIEE 11g, but it always fails at the same step (step 7 of 13: Database details). I have selected the following:
Database Type: Oracle Database
Connect String: hostname:port:instance, where hostname is the full server path eg xxxxx.uk.com and instance name is FFADEV01
BIPLATFORM Schema Username: As per username defined in RCU
BIPLATFORM Schema Password: As per password entered in RCU
If i change the connection string to FFADEV01.WORLD i get a 08031 error, whereas I am normally getting an 08035 error. The annoying thing is that I can connect to the schema using RapidSQL and the usernames and passwords as created in the RCU.
Any help greatly appreciated. ThanksHow was he able to install the BIPlATFORM schema using RCU on AIX? I thought RCU was only on Linux and Window platforms? I am about to install OBIEE 11.1.1.5 on AIX with a Oracle 10g DB but from what I read I wont be able to create the needed OBIEE schemas for the install because I won't be able to use the RCU on AIX. Any help would be appreciated.
Thanks.
Ryan -
Error in OFR : "No database connection string set for connection group"
Hi all..
In OFR, Batches Fail To Export When Line Pairing is Enabled and Batch Remains in State 750 With Error "No database connection string set for connection group".
I have followed all steps associated to line pairing with database still my batch is not exported..
Any help is appreciated..
Thanks in advanceHi,
in case you haven't done this already: for this problem we'd really need you to open a CSS message.
From your problem description it sounds likely that LCA routines and liveCache user don't fit together. Please check the solution of note 811207 to see if that assumption is correct.
Furthermore: liveCache 7.5 and SCM 4.0 are not released together (yet). When using SCM 4.0 only liveCache versions 7.4.03 Build XX are released. This it seems you're current combination is not supported!
Please take a look at PAM (Produkt Availability Matrix) on the SAP Service Marketplace to see which combinations have been released.
Kind regards,
Roland
Message was edited by: Roland Mallmann -
how to find database connection string after instllation of Oracle 10g application server .
any queries we have no documents.its ok i got it
<my machine>:1521:databasename.
ignore this. -
Default Database Connection Strings
Does anyone know if it is possible to default the database connection strings/setup?
We are trying to rollout ADI through Citrix and would like to default or pre-install the database connection setup instead of having every user set this up individually.
I'm assuming there are some registry entries that can be set?
If anyone has any ideas please share.
Thanks and Regards,
Chris
([email protected])ADI 7.2 included a service to centrally manage database definitions. Instructions on how to setup this service can be found in any of the ADI 7.2 Rollup patches in a file called CENTRAL.TXT (root directory of the patch).
-
Can a full file path be used to open a sql database connection?
I have a requirement to open an unattached sql server database file with a given path. Can this be done?
This would be similar to opening a Jet database using the path as the Data Source. For example, the path might be "C:\MyFolder\MyDatabase.mdf". I need to put the path in the connection string and open the database. It would look
something like the following.
Provider=SQLOLEDB;Data Source=C:\MyFlolder\MyDatabase.mdf;Itegrated Security=SSPI;
Rob E.I don't think its possible with unattached file.
http://www.connectionstrings.com/sql-server-2008/
--Prashanth -
Crystal Report Viewer Not Releasing Oracle Database Connections
I have a very simple vb.net 3.5 web application that uses the Crystal Report viewer 2008 to open a report. My requirements are as follows:
1. Reports are built by another company and provided to us and used in a web environment
2. All reports contain parameter fields
3. The web application must be generic enough that a report can be added to a list and the user simply selects the report and provides database login information. The Crystal report viewer with handle the request for parameter values and prompt the user for their values.
4. All reports connect to an Oracle 10g server.
The above requirements have been meet and we have an extremely simple web application that runs the reports. It is working very well other than the crystal report viewer is not releasing the database connections. This is bad because the credentials are on a per user basis and that same user must login to a different oracle application simultaneously. They are being denied access because the credentials are already in use. We do not have control nor influence over the policies in use on the Oracle server. Ideally we would like to control the Crystal Report viewer so that it closes connections after use.
The web application code is:
Private Sub viewReports_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
If Not IsPostBack Then
ConfigureCrystalReport()
End If
End Sub
Private Sub ConfigureCrystalReport()
'Load the Crystal Report viewer with a report.
Try
Dim reportPath As String = Server.MapPath(Session("reportname"))
crViewer.ReportSource = reportPath
Catch ex As Exception
Response.Write(Server.MapPath(Session("reportname")) & "
" & ex.Message.ToString & "
" & ex.StackTrace.ToString)
End Try
End Sub
Can anyone shed some light on this topic? Thank youHello, Timothy;
By default, having the report in session will hold it open for 20 minutes.
If you create the report as a ReportDocument object you can take it out of session and release it more efficiently. That will release the connection.
Private Sub ConfigureCrystalReports()
If (Session("hierarchicalGroupingReport") Is Nothing) Then
hierarchicalGroupingReport = New ReportDocument()
hierarchicalGroupingReport.Load(Server.MapPath("Hierarchical Grouping.rpt"))
Session("hierarchicalGroupingReport") = hierarchicalGroupingReport
Else
hierarchicalGroupingReport = CType(Session("hierarchicalGroupingReport"), ReportDocument)
End If
myCrystalReportViewer.ReportSource = hierarchicalGroupingReport
End Sub
In the Form Unload of the Viewer:
'Take the report out of session
Session("hierarchicalGroupingReport") = Nothing
Session.Contents.Remove("hierarchicalGroupingReport")
'Clean up the ReportDocument object
hierarchicalGroupingReport.Close
hierarchicalGroupingReport.Dispose()
hierarchicalGroupingReport = Nothing
GC.Collect()
Elaine -
Database connection string dynamic
Hello everybody,
My application should do some tests that user choses.
For each test type I should save the database in a file with different name, something like : Report_YYYY_MM_DD_Test_x, without stopping the execution of the application.
My problem is that i cannont rename the database after Teststand wrote in it. I must stop first the application and then I can rename it.
I tried to build dynamic connection strings and to prepare the database before Teststand write it. But I saw that after the first acces, despite of new connection string, Testand write further in the database described in the first connection string. Also seems that the handle to database once established, will be released at the end of test. I could close the connection to the DB but i don't know if it is possible.
for any ideea how to handle this situation i would be gratefulHi Harleen Kaur Chadha,
I understand your requirement is access 5-6 database on same server using one JDB receiver channel. I think, it is possible. SAP Help [Link|http://help.sap.com/saphelp_nwpi711/helpdata/en/44/7c24a75cf83672e10000000a114a6b/frameset.htm ]. In receiver JDB channel select Message Protocol : u201CNative SQL Stringu201D. Then you have make sure that the payload coming to this JDBC receiver channel should look like this
INSERT INTO DatabaseName : tableName
(column-name1, column-name2, column-name3)
VALUES(u2018column-value1u2019, u2018column-value2u2019, u2018column-value3u2019)
But, the mapping program you are using now, should generate the String (shown above). And SAP says this protocol is primarily for test purposes.
FYI. If you select Message Protocol: "XML SQL Format", finally it would be converted to string (shown above) will be sent to database.
Regards,
Raghu_Vamsee -
Sql / msql connection string
Hi
How can i do to connect to a sql or mysql database created in azure pack? the "View info" buttom show the connection string but, the server name is the listener name of my tenant cluster. Is there any option to connect like "publish profile?"
or something like that¨?Hi,
We can find the server name, database name and user name from the connection string. We can connect to the database with the information provided by the connection string.
If you want to connect to the database by API, please refer to the link below,
SqlConnection.ConnectionString Property
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring(v=vs.110).aspx
Best Regards.
Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
I been searching online for information on how to setup a
connection string using CFQUERY to connect to a Oracle database. I
been reading that this can be done but I cannot find any
information on constructing a connection string or working examples
for anything besides Microsoft Access or local Microsoft DNS
Database names.
I know ColdFusion can connect. I have the database selected
in "Data & Services > Datasources > Oracle " but at run
time I might need to connect to another Oracle database. Any incite
would be appreciated.Connection strings, and thus "DSN-less" connections, were
available in CF 5, but no more. -
Change database connection string
Hi, does anybody know if it possible (and eventyally how) to change the DB connection string of the farm (both WF and SB). I do not need to change DB or server, just a parameter of the connection string.
Thanks,
SimoneThe Connection string will be persisted in the config database as well as in the registry. I don't think there are any APIs to change it.
This post is my own opinion and does not necessarily reflect the opinion or view of Slalom. -
Problem in JDBC-SQL Server connection string
Anyone could help me to write proper connection string using JDBC with SQL Server 2000. The descp:
Server name: CD
databaseName: songs
Using Window NT authentication.
I dont know whether to include username and password.
When I executed the statement below:
DriverManager.getConnection("jdbc:microsoft:sqlserver://CD:1433;databaseName=songs");
Recieved error: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket
Plz help!! Thank you very much.Look at the URl below:
How to connect to Microsoft SQL server with Type 4 JDBC driver
http://www.java-tips.org/content/view/615/29/ -
How can I map an image (JPEG) from the SQL database image string
I saved the image into SQL database, see attachment (SaveImage2SQLDB.rar), while I have some trouble to retrieve the image. I also attached the vi which I used to convert the string to image. The string already has a value I obtained from the database. Can anyone tell me the reason why it didn't work.
Thanks in advance.
Jane
LabVIEW 2012, VDM 2012
Attachments:
convertstringtoimage.vi 78 KB
SaveImage2SQLDB.zip 27 KBHi Jane,
What exactly isn't happening correctly? The conversion or the retrieval?
This discussion forum may be of some use: http://forums.ni.com/t5/LabVIEW/image-from-compressed-string/m-p/2207894
Matt S.
Industrial Communications Product Support Engineer
National Instruments
Maybe you are looking for
-
Hi, IDOCs for creation and change of PO is done successfully. But when I try to delete a particular line item in the PO (ME22N), the IDOC is not generated and when I try to issue the output manually, an error message No Items Found is displayed. Plea
-
HELP ! Two SATA drives in an external enclosure RAID ZERO. Need data recovery.
What a nightmare ! My neighbor died from esophageal cancer and the funeral is in one week. He left behind a G5 2.5 DP tower with a dead motherboard, and he put the two 640 GB SATA drives in an Other World Computing external enclosure Mercury Eli
-
Album song order changes when synced to i-pod
On I-tunes the songs in the albums are in the correct playback order but when I sync it to my i-pod the some of the songs are in the wrong order. Everything looks ok when I look at the "get info" section. Any ideas?
-
hi guys... iam stuck in a problem what can i do because my iphone is not gettin started after the restoration process and its showing me a itunes symbol and a usb port
-
OSX 10.6.8 upgrade disactivated my ethernet port.
after having installed the latest upgrade of OS X 10.6.8, my ethernet port doesn't work anymore. I get the message "ethernet cable unplugged". Does anybody have the same problem?