Page 1 of 1

PgSqlDataSource and Visual Web Developer

Posted: Sun 27 Sep 2009 20:21
by Gift
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.

Posted: Mon 28 Sep 2009 16:35
by Shalex
We will investigate the issue and notify you about the results as soon as possible.

Posted: Wed 14 Jul 2010 13:56
by Shalex
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>

re:

Posted: Tue 26 Oct 2010 16:09
by amndalb27
thanks for your reply