Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#19 not compatible with .Net 2002

closed
nobody
None
5
2007-03-23
2004-05-05
Christine
No

I develop with Microsoft .Net 2002. Today, I tried to
run my program, to which I have just added the
MySQLDriverCS library.

The code is as follows:

try
{
MySQLConnection con;
string connectionStr = new MySQLConnectionString
(localhost, database, user, pass).AsString;
con = new MySQLConnection();
...

It compiles just fine, but when I run it, I get the
following error:

File or assembly name System.Data, or one of its
dependencies, was not found.

I did a Google search on this problem, and found that it
might be a discrepancy between .Net versions 2002 and
2003. Basically, if the library was developed in .Net
2003, then it might not be compatible with a developer
using the library in .Net 2002. The following URL gives
more detailed information:

http://weblogs.asp.net/fbouma/articles/7384.aspx

Have you encountered this problem before? Is there a
solution I haven't considered?

Thanks,
Christine

Discussion

  • Logged In: NO

    I develop with VS.NET 2002 and it worked fine....Perhaps you
    need to upgrade your .NET version running on your machine.
    Windows Update should be able to help you out and check
    whether you have the latest version of .NET framework.

     
  • Logged In: YES
    user_id=406263
    Originator: NO

    VS.NET 2002 has some problems that were fixed in 2003. The C Runtime had so many bugs that no one develops with this version.

     
    • status: open --> closed