Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Not a member of a trusted SQL connection

Posted on 2004-10-28
3
Medium Priority
?
334 Views
Last Modified: 2012-05-05
Have read that unless the UserID and Password is specified in the DSN open command then NT4 will use Windows authentication. I have found this to be true, semmingly intermittently, and need to force SQL authentication (even though it IS set to do so within the DSN!). Therefore trying to add these properties to CrystalReports (using the RDC) with the LogOnServer command:

crxReport.Database.LogOnServer("SQLOLEDB", etc..)...however, errors saying: "the database DLL crdb_oledb.dll cannot be loaded".

Interestingly I've noticed that prior to this error the tables(1).connectionproperties.item("User ID") field is not available (subscript out of range) but "Password" and others are. Closing the form and trying again often resolves the problem for a while. Could this be a memory leak of some kind ?
0
Comment
Question by:CliffordEvans
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Author Comment

by:CliffordEvans
ID: 12442766
I resolved this by connecting using ADO OLEDB instead of ODBC RDO.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12653332
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question