Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
LBI Connection to AS400 Server failure
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
185
Members:
0
Total:
185
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1372
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
LBI Connection to AS400 Server failure
Please
login
to post a reply.
17 Replies
0
Subscribed to this topic
22 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
imty
Advanced Member
Posts: 35
3/8/2012 5:56 PM
:confused:Hello All,
I have a crystal report that I created where it pulls data from the AS400 system via an ODBC driver. The report in Crystal works fine. I have published this report to LBI and in the DATA SETINGS i used INFINIUM as the data source and the following user id and password which works from Cyrstal.
Infinium User Profile for ODBC connect.
User Profile: LAWPAY
Password: PASSLAW
Library (Directory) USLAWSON
Table (File) USP1470HF
For the Default user ID I used LAWPAY which is the user profile and the password I used PASSLAW which is the password. Now this works in Crystal. However, after populating these fields in LBI DATA SETTINGS, when I try to run using DATA REFRESH I get the following error message:
Failed to open the connection. Failed to open the connection. {4B227D6A-2E44-429C-8A8B-2ACA570CBE94}.rpt
I don't know what this error means or what I need to do or check. Could someone please tell me what the cause of the error is and how i could fix it so LBI recognizes the INFINIUM ODBC driver.
I am using LBI Version: (201005) 9-0-4-1-150 01.28.2011
I appreciate your input.
thanks for your time
Imty.:confused::confused:
Chris Martin
Veteran Member
Posts: 277
3/8/2012 6:11 PM
First thing I would do is change your password for user LAWPAY.
Chris Martin
Veteran Member
Posts: 277
3/8/2012 6:18 PM
Make sure that you have the DB2 client installed on the LBI server.
Greg Moeller
Veteran Member
Posts: 1498
3/8/2012 6:32 PM
And you'll need the datasource configured on the LBI server as well (and if you have a remote RAS, configure it there as well). You'll want to configure the datasource in the 32-bit ODBC Data Sources program if you are running a 64 bit OS. ie C:\Windows\SysWOW64\odbcad32.exe
mikeP
Veteran Member
Posts: 151
3/8/2012 6:50 PM
We use the Client Access ODBC drivers, but I dimly recall a similar problem with those.
My notes say that when the report is developed on the local workstation, it must be done with a system DSN, previously we had always used file DSNs for convenience. The name of the system DSN on the workstation must match the name of the system DSN on the LBI server, or no data source will be found when the reports runs on the LBI server with it's internal datasource (if you don't user overrides.)
We use override datasources in LBI, which might be irrelevant for you, but I thought I should mention it.
First, verify that your Infinium ODBC drivers are installed on the LBI server, and a working ODBC system DSN has been set up on the LBI server that points to your AS400 Lawson data. Test the DSN by doing a simple MS Query or similar while logged in to the LBI server. We are hosted, so we had to have an admin at the host end do that for us.
Make sure the test is done with the credentials used in your report. We use a single generic user account for reporting, maybe similar to your LAWPAY account.
Here, for our setup, we created override datasources in LBI, so we could switch reports between test and production environments. When creating an override datasource, you supply the name of a system DSN that's already been created on the LBI server, and the credentials that will be used to access the Lawson data.
We always select an override datasource as soon as we publish, and I think we got the “Failed to open the connection error” when those weren’t set up correctly, so all this my not apply to you, but I might get you pointed in the right direction.
imty
Advanced Member
Posts: 35
3/8/2012 7:31 PM
Thanks guys for your responses. Looks like we have two installations to do. In addition to installing on the Windows server we need to also install it on the INFINIUM Server.
imty.
imty
Advanced Member
Posts: 35
3/9/2012 10:41 PM
We installed the IBM ODBC Driver to the LBI Server but we are still having problems with connecting. We still get the same error message Failed to open the connection. Failed to open the connection. {269E30EB-CAED-4B65-856A-91AF187F03F0}.rpt . Does anyone have any further thoughts on what we should do to resolve this.
thanks,
imty
Chris Martin
Veteran Member
Posts: 277
3/9/2012 10:59 PM
So you installed the driver, but did you create the ODBC datasource on the LBI server? If you have the Crystal Reports client installed on the LBI server, try running the report that way. This should help isolate the issue.
imty
Advanced Member
Posts: 35
3/9/2012 11:13 PM
Chris,
The data source was created in LBI but I am getting the same error message. We are using a system DSN
Chris Martin
Veteran Member
Posts: 277
3/9/2012 11:50 PM
You are using system dsn when you develop it in Crystal Reports, but you need to create an identical system dsn on the LBI server. This in addition to the Override datasource that you created in Reporting Services. Just wanted to clarify...
imty
Advanced Member
Posts: 35
3/10/2012 5:19 AM
Chris,
Do you happen to know where in LBI would I do this. Could you please provide me the menu path.
thanks,
Imty
Chris Martin
Veteran Member
Posts: 277
3/10/2012 5:29 AM
Take a look at Greg and Mike's replies. They have provided the information that you need.
imty
Advanced Member
Posts: 35
3/12/2012 6:16 PM
Hello All,
Please see attachment. I created a new Data source in LBI. I was told by the LBI Administrator that when he created the ODBC connection in LBI he used INFINIUM as the DSN Name. For Database I chose INFINIUM. The INFINIUM administrator provided the following information to connect to INFINIUM.
Infinium User Profile for ODBC connect.
User Profile: LAWPAY
Password: PASSLAW
IP address: INFINIUM or 10.8.253.117
Library (Directory) USLAWSON
Table (File) USP1470HF
For the Schema I chose DB2 and user name and password LAWPAY and PASSLAW respectivley. After I completed this I went to DATA SETTINGS and for Override datasource I chose INFINIUM (which is the data source i just created). After doing this I tried to run with Data Refresh and I am still getting the message "Connection failed to open."
Do you notice anything that may not be correct? Any thoughts or suggestions as to what I should do next, is most welcome.
thanks again for your time.
Imty.
Attachments
LBI_DATA_SOURCE_AND_DATA_SETTINGS.docx
mikeP
Veteran Member
Posts: 151
3/12/2012 7:10 PM
I compared your datasource screen clip with our datasource.
"DSN" is an arbitrary name assigned when creating the DSN, in our case Lawson 9 EUG.
"Database" is the name of what our provider calls a "data area". I don't know if that applies to you, but if it helps, our production environment has one data area, while our test environment currently has two. Each data area contains all the Lawson tables.
"Schema". Our value is "dbo". My notes say this must be in lower case. This info was provided by Lawson support when we were working out problems with override datasources.
I compared your report settings with one of our reports. The Override Datasource is set to the name of the production datasource, in our case "Lawson9 EUG". In our case, our override datasources are named the same as the their underlying system DSNs on the LBI server. Not sure if this is required.
The Default User ID and password are left in blank, I think because this information is already stored in the overide datasource.
I think your first step should be to work with your LBI admin to verify that, while logged on to the LBI server, you can use the INFINIUM *DSN* to pull Lawson data via MS Query or other ODBC query tool. If so, then try to run your CR. Once you verify your CR will run locally from the LBI server using the *DSN*, you can try running it in LBI using the override datasource.
My notes say that the report must be developed on using a system DSN.
Chris Martin
Veteran Member
Posts: 277
3/12/2012 7:25 PM
I'm not currently able to view your attachment and see how your Override Datasource is configured, but...
I would stress what mikeP said and what I mentioned earlier:
Run the report from the LBI Server (not from within the LBI/Reporting Services application) using the Crystal Reports designer. If this is successful, then you probably have an issue with your Override Datasource.
Additionally, you can run it from LBI/Reporting Services without the Override Datasource (hard coding the user/pw in the report: Details --> Data Source) to further isolate the cause.
imty
Advanced Member
Posts: 35
3/12/2012 7:59 PM
I tried running the report by using "use report data source" in Override datasource and selecting use Crystal Designer and it does not like that either. The problem here is that the person administering the LBI is not a proficient LBI administrator. Based on what he tells me that he has created an ODBC connection on the LBI server. I told him that we could test the LBI connection using MS query to see if the test is successful. I went to MS Query in Excel and i don't even see an LBI data source for INFINIUM in there to even test it. I appreciate you guys trying to help out but there does not seem much else that I can do at this point. When I run the report in the Crystal designer the report runs fine but fails in LBI. I will keep toying with it and hopefully figure it out.
Greg Moeller
Veteran Member
Posts: 1498
3/12/2012 8:14 PM
Crystal Reports (and therefore LBI) are still 32-bit apps. Verify that the ODBC datasource was created using C:\Windows\SysWOW64\odbcad32.exe and not C:\Windows\system32\odbcad32.exe
If you can, create the exact same name on the Designer side as well, using the syswow64 executable. This will allow you to 'use report datasource' more seamlessly.
imty
Advanced Member
Posts: 35
3/15/2012 11:02 PM
We finally got it working. There were a couple of issues to iron out. Lawson informed us that
There are two odbcad32.exe programs on your server:
1. C:\Windows\System32\odbcad32.exe (This is the 64-bit version that launches from Start menu > Administrative Tools. It won't work for LBI/RAS.)
2. C:\Windows\SysWOW64\odbcad32,exe (This is the 32-bit version, which you must use to create any DSNs to be used by LBI/RAS, and they must be System DSNs.)
The other issue was that the DSN created on the LBI server was a user DSN and not a System DSN. So, this was another hiccup.
Once these two issues were fixed we tested using the report data source and when this was successful we used the Override data source which was also successful.
Please
login
to post a reply.