Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I use ODBC connect MSSQL2000 Databa

Status
Not open for further replies.

lincon

MIS
Dec 24, 2002
50
CN
I use ODBC connect MSSQL2000 Database,in impromptu the report is work well,but after published to web,I logon Impromptu Web with administrator then open the report,diplay following error infomation:

Application Error
The following error has occurred:
The report request failed.
Unable to execute report D:\cognos\turf\apps\Report2.imr. Reason: Error: 0, Generic; Process ID: 3596; Thread: 3700; Host: EWIN; Text: Logon error while connecting the database.; BackTrace Info: 1. File Name: Y:\src\impromptu\ImpromptuServer\app.exe\ole.lib\APPAUTO.CPP; Line#:3938; Desc.:CAppAuto::ConnectDatabase; 2. File Name: Y:\src\impromptu\ImpromptuServer\app.exe\ole.lib\APPAUTO.CPP; Line#:9155; Desc.:CAppAuto::ExecuteRunReport; .


Who can tell me how to do? thanks!
 
The ODBC connection should also be available on the IWR server with the same name as it is present on your devmachine. To prevent this you might consider to switch from ODBC to native database connection.

Jack
 
thank esselinj response.
I create an ODBC connection at IWR Server machine,but the MSSQL database is in other machine.your means is that MSSQL database must be local machine?
 
On the machine where IWR is installed you should create an ODBC driver with the same name and properties as you installed on the machine on which you developed your Impromptu reports. It doesn't matter that the SQL server is on another machine.

Impromptu and IWR will connect to the database but the connection strings should have the same name (if you use ODBC); otherwise IWR is not able to connect

Jack
 
Jack,Thanks for your fast response.
The developed report is on the machine where IWR is installed, ODBC is on IWR machine too,only database live in other machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top