same password as what?
Main Topics
Browse All TopicsI am stuck here very badly and need your help desperately.
I have a VB.Net Desktop Application(visual studio 2005) which uses Crystal reports XI release 2.
When I run the application on my development machine, it runs fine, CR opens up without any problem. If I Install on Users machine, it runs fine if I log on as me. I have created a Test User. If I log on as Test User , the UI runs fine, it reads the data from SQL server, populates all the combo boxes and listboxes.But when I click on Report, CR gives me an error : Error in Formula: "This field name is not known . Detail : ErrorKind
I know My installation package is good, my connection to database is good because If I log on , everything is ok. I think, there is a problem with security/permission issue with CR. But I cannot figure out where the problem is. Any help will be greatly appreciated.
FYI:I am using Reportviewer to load the report. Application is connected to SQL server via OLEDB(ADO). When I created a report, I used OLE DB(ADO) To connect to SQL server and use the stored procedure. I have checked Integrated Security box on connection box of the crystal report.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The UI gets populated from SQL Server via Stored procedures. That means the TestUser has permissions. I am thinking that if CR has any security issue! Because I get an error when I click on Crystal Report button only.
I am wondering, if i can change the connection to SQL in CR - may be via DNS - ODBC!
I can not have user log on everytime he/she presses CR button!
It would work since you are passng your login information in the connection string. Crystal uses its own connection string not the one in the application. Thus since you are using Integrated Security, Crystal tries to use the logged in user as the user for logging into the database. If that user doesn't have permissions then you can't log in.
mlmcc
Business Accounts
Answer for Membership
by: mlmccPosted on 2009-11-04 at 18:05:26ID: 25746156
Does the Test User have permissions to the database and the stored procedure?
Intergrated security means the logged on Windows user needs to have a SQL Account that uses the same password. He also needs permissions to the stored procedure
mlmcc