| Paul's profilePaul Galvin's SharePoint...BlogListsSkyDrive | Help |
|
|
November 12 Functional Example: BDC ADF that connects to SQL database with embedded user id and passwordI needed to wire up MOSS to a SQL database via BDC. For testing/POC purposes, I wanted to embed the SQL account user id and password in the ADF. Starting with this template (http://msdn2.microsoft.com/en-us/library/ms564221.aspx), I created an ADF that connects to a particular SQL server instance and logs in with a specific user id and password and shown in this snippet: <LobSystemInstances> <LobSystemInstance Name="ClaimsInstance"> <Properties> <Property Name="AuthenticationMode" Type="System.String">PassThrough</Property> <Property Name="DatabaseAccessProvider" Type="System.String">SqlServer</Property> <Property Name="RdbConnection Data Source" Type="System.String">actual server\actual instance</Property> <Property Name="RdbConnection Initial Catalog" Type="System.String">actual initial catalog</Property> <Property Name="RdbConnection Integrated Security" Type="System.String">SSPI</Property> <Property Name="RdbConnection Pooling" Type="System.String">false</Property> <!-- These are the key values: --> <Property Name="RdbConnection User ID" Type="System.String">actual User ID</Property> <Property Name="RdbConnection Password" Type="System.String">actual Password</Property> <Property Name="RdbConnection Trusted_Connection" Type="System.String">false</Property> </Properties> </LobSystemInstance> </LobSystemInstances> It is not a best practice, but it's useful for a quick and simple configuration for testing. This was surprisingly difficult to figure out. I never found a functional example with search keywords:
</end> Comments (4)
Trackbacks (1)The trackback URL for this entry is: http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!320.trak Weblogs that reference this entry
|
|
|