Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Visual Studio 2008 Error Message

Reply
 
Old 08-06-2008   #1 (permalink)
MarcW


 
 

Visual Studio 2008 Error Message

I have a fresh install of VS2008, and when I drag a data grid on and
try and
bind it (create a new connection) I get an error.
If I connect to a database in the database window and then try and
drag a
table into a dataset, I get the same error.
The error is: "Some Update Commands Could not be generated
automatically.
The database returned the following error: Failed to find or load
the .NET
Data Provider"

Any ideas? It happens with an SqlConnection (MS SQL 2005) and an
Access
connection. Others in my office can do it fine.


I reformatted my PC last week because of a borked .NET installation,
and now
this. It's doing my nut.


Any ideas or suggestions much appreciated.


Marc

My System SpecsSystem Spec
Old 08-06-2008   #2 (permalink)
Marc Wickens


 
 

Re: Visual Studio 2008 Error Message

On Wed, 6 Aug 2008 00:56:54 -0700 (PDT), MarcW <> wrote:
Quote:

>I have a fresh install of VS2008, and when I drag a data grid on and
>try and
>bind it (create a new connection) I get an error.
>If I connect to a database in the database window and then try and
>drag a
>table into a dataset, I get the same error.
>The error is: "Some Update Commands Could not be generated
>automatically.
>The database returned the following error: Failed to find or load
>the .NET
>Data Provider"
>
>Any ideas? It happens with an SqlConnection (MS SQL 2005) and an
>Access
>connection. Others in my office can do it fine.
>
>
>I reformatted my PC last week because of a borked .NET installation,
>and now
>this. It's doing my nut.
>
>
>Any ideas or suggestions much appreciated.
I have managed to fix this problem. Here is the solution for anyone
else who may get it.

I also have another IDE on my system, CodeGear (Formally Borland
Delphi) RAD Studio.
I don't use any of the Borland database stuff, so I chose not to
install the providers when installing RAD Studio.

However it still added an entry to <DbProviderFactories> in my
machine.config.
So I commented out the line
"<add name="AdoDbx Data Provider"
invariant="Borland.Data.AdoDbxClient" description=".Net Framework Data
Provider for dbExpress Drivers"
type="Borland.Data.TAdoDbxProviderFactory, Borland.Data.AdoDbxClient,
Version=11.0.5000.0, Culture=neutral,
PublicKeyToken=91d62ebb5b0d1b1b"/> "

I am guessing that it could not be found, and this was cuusing all
other providers to have an error. With this commented out, Data Grids
now work (and bind automatically) without any error messages.

I'd be interested to know who's at fault here. Rad Studio for the
entry, or Visual Studio for not recovering from this entry.

Regards

Marc
http://imarc.co.uk
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Visual studio 2008 IDE application R6034 runtime error - MSDN news group moderator Please Respond. .NET General
Visual Studio 2008 Link Error for VS6.0 Project .NET General
Visual Studio 2008 Vista General
Visual studio 2008 Vista General
Visual Studio 2008 Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46