What happened to the Connection Properties window?

Topics: Data Access Application Block
Jun 17, 2009 at 6:51 PM
Edited Jun 17, 2009 at 6:52 PM

Hello.

I'm trying to setup a new connection string via the EntLib Config Tool. In the last version (3.1), when I click the ellipsis button next to the "ConnectionString" value in the Property Window, I used to get "Connection Properties" dialog.

But in EntLib 4.1 and VS2008, when I click that ellipsis button, all I get is a multiline text area for me to manually key in the Connection String. What happened to the connection properties dialog or what am I doing wrong?

Thank you.

Jun 18, 2009 at 12:54 AM

Hi,

Are you using the standalone tool or the visual studio integrated editor?

Valiant Dudan
Global Technology & Solutions
Avande, Inc.
entlib.support@avanade.com

Jun 18, 2009 at 4:36 AM

Hi,

After hours of investigation, I think I found a workaround for this. With a few modification to the EntlibConfig.exe.config.

Here is the UNMODIFIED config.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<runtime>
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
				
			<dependentAssembly>
				<assemblyIdentity name="Microsoft.Data.ConnectionUI"
					publicKeyToken="b03f5f7f11d50a3a"
					culture="neutral" />
				<codeBase version="8.0.0.0"
          href="file:///C:/Program%20Files/Microsoft%20Visual%20Studio%208/Common7/IDE/Microsoft.Data.ConnectionUI.dll" />
			</dependentAssembly>
			
			<dependentAssembly>
				<assemblyIdentity name="Microsoft.Data.ConnectionUI.Dialog"
					publicKeyToken="b03f5f7f11d50a3a"
					culture="neutral" />
				<codeBase version="8.0.0.0"
          href="file:///C:/Program%20Files/Microsoft%20Visual%20Studio%208/Common7/IDE/Microsoft.Data.ConnectionUI.Dialog.dll" />
			</dependentAssembly>
		</assemblyBinding>
	</runtime>
</configuration>
 
Here is the MODIFIED config, the modified text are in bold.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<runtime>
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
				
			<dependentAssembly>
				<assemblyIdentity name="Microsoft.Data.ConnectionUI"
					publicKeyToken="b03f5f7f11d50a3a"
					culture="neutral" />
				<codeBase version="9.0.0.0"
          href="file:///C:/Program%20Files/Microsoft%20Visual%20Studio%209.0/Common7/IDE/Microsoft.Data.ConnectionUI.dll" />
			</dependentAssembly>
			
			<dependentAssembly>
				<assemblyIdentity name="Microsoft.Data.ConnectionUI.Dialog"
					publicKeyToken="b03f5f7f11d50a3a"
					culture="neutral" />
				<codeBase version="9.0.0.0"
          href="file:///C:/Program%20Files/Microsoft%20Visual%20Studio%209.0/Common7/IDE/Microsoft.Data.ConnectionUI.Dialog.dll" />
			</dependentAssembly>
			
		</assemblyBinding>
	</runtime>
</configuration>
 
Valiant Dudan
Global Technology and Solutions
Avanade, Inc.
entlib.support@avanade.com