HOW TO: Modify the XLANG File DSN to Use SQL Authentication in Microsoft BizTalk Server (312765)



The information in this article applies to:

  • Microsoft BizTalk Server 2000
  • Microsoft BizTalk Server 2002

This article was previously published under Q312765

SUMMARY

The XLANG file data source name (DSN), which BizTalk Orchestration uses to connect to the XLANG database, uses Microsoft Windows security by default. This article describes how to modify the XLANG DSN to use SQL security.

IMPORTANT: This modification is not recommended because of increased security risks.

back to the top

Sample Code to Modify the XLANG DSN

To modify the XLANG file DSN so that it uses SQL authentication instead of Windows authentication, follow these steps:
  1. Open Windows Explorer, and browse to the XLANG Scheduler.dsn file in the following folder:

    \Program Files\Common Files\ODBC\Data Sources\

  2. Open XLANG Scheduler.dsn in Notepad. The contents of XLANG Scheduler.dsn appear as follows:

    [ODBC]
    DRIVER=SQL Server
    UID=
    DATABASE=XLANG
    Trusted_Connection=Yes
    WSID=
    APP=Microsoft Open Database Connectivity
    SERVER=CMSERVER2K1
    AutoTranslate=No
    						

  3. Replace the contents of XLANG Scheduler.dsn with the following code:

    [ODBC]
    DRIVER=SQL Server
    UID=your_user_id
    PWD=password
    DATABASE=XLANG
    WSID=
    APP=Microsoft Open Database Connectivity
    SERVER=CMSERVER2K1
    AutoTranslate=No
    						

  4. Stop and restart the XLANG COM+ application for the changes to take effect.
NOTE: You can use the ODBC Data Source Administrator to modify the XLANG file DSN to use SQL Server Authentication. However, if you use this method, the password is not saved with the DSN.

back to the top

Modification Type:MajorLast Reviewed:6/4/2003
Keywords:kbhowto kbHOWTOmaster kbpending KB312765 kbAudDeveloper