Windows/SQL Authentication & Connection Strings...

From: Sai Prakash (saip_s@hotmail.com)
Date: 08/24/02


From: "Sai Prakash" <saip_s@hotmail.com>
Date: Sat, 24 Aug 2002 10:46:31 +0300


An easy way to ensure that you have the right connection strings for SQL or
other data sources is as
follows:

1. Create a new text file (say test.txt) on your machine and rename it to
test.udl
2. Double-click the file and it will open a Data Source dialog. Click on the
first tab to select the kind of source - i.e. SQL Server for example.
3. Click the Next button and fill in the username, password etc and then
select
the database. You can test the connection by clicking the Test Connection
button.
4. Once done, click OK and the dialog will go. Then open the test.udl file
in Notepad and you will find in it an OLEDB connection string for the
source. Copy/paste into your code and your done. You can then delete the
file or use it for another source.

Regards,
Sai P.S.



Relevant Pages

  • Re: Office Web Parts connecting to SQL Server from extranet
    ... and the PivotView parts retrieve data from our SQL Server ... > our extranet, even if the user logs in using their domain credentials, the ... Using connection strings ... > extranet has been to use SQL Authentication and a connection string ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Office Web Parts connecting to SQL Server from extranet
    ... and the PivotView parts retrieve data from our SQL Server ... > our extranet, even if the user logs in using their domain credentials, the ... Using connection strings ... > extranet has been to use SQL Authentication and a connection string ...
    (microsoft.public.office.developer.web.components)
  • Re: Office Web Parts connecting to SQL Server from extranet
    ... and the PivotView parts retrieve data from our SQL Server ... > our extranet, even if the user logs in using their domain credentials, the ... Using connection strings ... > extranet has been to use SQL Authentication and a connection string ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Cant connect to SQL (ASPNET account)
    ... Are you intending to use integrated security or a SQLS login? ... connection strings which are unclear. ... The SQL server is on my webserver running ...
    (microsoft.public.sqlserver.security)
  • ASP.NET Forms Authentication Via A SQL Server Database With Windows User types?
    ... I would recommend not creating connection strings per ... the Intranet using SQL ... not as a Standard SQL user type. ...
    (microsoft.public.dotnet.framework.aspnet.security)