PgSqlDataSource and Visual Web Developer

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
Gift
Posts: 1
Joined: Sun 27 Sep 2009 20:15

PgSqlDataSource and Visual Web Developer

Post by Gift » Sun 27 Sep 2009 20:21

Hello,

when trying to use PgSqlDataSource with Visual Web Developer 2008 Express edition, upon selecting the connection I get following error message:

System.IO.FileLoad.Exception: Could not load file or assembly 'Microsoft.VisualStudio.Data, Version=8.0.0.0, Culture=neutral, etc.


I would be thankful for your comments.

Shalex
Site Admin
Posts: 8241
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Mon 28 Sep 2009 16:35

We will investigate the issue and notify you about the results as soon as possible.

Shalex
Site Admin
Posts: 8241
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Wed 14 Jul 2010 13:56

We have investigated the problem. dotConnect for PostgreSQL is looking for the assemblies from the previous version of Visual Web Developer. Starting from the next build of dotConnect products, this bug will be fixed by our installation. As a workaround, you can add the following entries to the assemblyBinding element in the \Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VWDExpress.exe.config file:

Code: Select all

            <dependentAssembly>
                <assemblyIdentity name="Microsoft.VisualStudio.Data" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
                <bindingRedirect oldVersion="8.0.0.0" newVersion="9.0.0.0" />
            </dependentAssembly>           
            <dependentAssembly>
                <assemblyIdentity name="Microsoft.Data.ConnectionUI" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
                <bindingRedirect oldVersion="8.0.0.0" newVersion="9.0.0.0" />
            </dependentAssembly>
            <dependentAssembly>
               <assemblyIdentity name="Microsoft.Data.ConnectionUI.Dialog" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
               <bindingRedirect oldVersion="8.0.0.0" newVersion="9.0.0.0" />
            </dependentAssembly>
            <dependentAssembly>
               <assemblyIdentity name="Microsoft.VisualStudio.Data.Interop" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
               <bindingRedirect oldVersion="8.0.0.0" newVersion="9.0.0.0" />
            </dependentAssembly>
            <dependentAssembly>
              <assemblyIdentity name="Microsoft.VisualStudio.DataTools.Interop" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
              <bindingRedirect oldVersion="8.0.0.0" newVersion="9.0.0.0" />
            </dependentAssembly>

amndalb27
Posts: 1
Joined: Tue 26 Oct 2010 16:03

re:

Post by amndalb27 » Tue 26 Oct 2010 16:09

thanks for your reply

Post Reply