Skip to Content
author's profile photo Former Member
Former Member

SQL Server login credentials.

Hi,

I'am trying to open a crystal report from B1.I need to pass the User Id and Password of the SQL Server.How do i retrieve these without Hardcoding them .Currently we do not want the user to enter the Login details.. from an UI..

Is this information stored in the SBO Tables anywhere.

Regards

Vishal

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Aug 01, 2005 at 05:47 AM

    Hi Tim!

    I suppose there is the only way to get SQLServer login/password - you have to use <b>SSO</b> and then read <b>DI</b>-Company properties like <b>CompanyDB</b>, <b>DbPassword</b> and <b>DbUserName</b>.

    Hope it's clear.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi!

      >> you have to use SSO and then read DI-Company

      >> properties like CompanyDB, DbPassword and DbUserName.

      i've tested that i told u. i can access and read all properties (CompanyDB, DbPassword and DbUserName), but DbPassword-value is '***********'. 😔

      i suppose it was designed specially for IT-security.

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2005 at 10:02 PM

    Hello!

    I believe is not possible to read the db password. You can access the database with the credentials of SBO, but, if you want to pass the DB password to any other application, that is not possible.

    Regards

    Sir Harold

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2005 at 06:01 AM

    thanx for ur answers.Does that mean I wont be able to access the Sql server UserId and password form SBO.

    So I have to prompt the user to enter the UID and Pwd explicitly..???

    Regards Vishal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2005 at 06:50 AM

    thanx for ur answers.Does that mean I wont be able to access the Sql server UserId and password form SBO.

    So I have to prompt the user to enter the UID and Pwd explicitly..???

    Regards Vishal

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Unfortunately that is exactly what it means (:

      You can however still access the server name and database name. I use these to correctly set the server and database for each of the tables.

      I created a simple form that asks for the username and password and stores it in a user table (encrypted of course).

      Then when I open a report I check if the username/password is stored if not I prompt for it then continue printing the report.

      Regards

      Darryn

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.