G
Guest
I've created a small vb.net application which uses the Data Access Application Block to access a SQL Server 2000 database.
The application works fine on the machine with the development environment (Windows 2K) but I am unable to get it to work on two other machines (Windows XP machines). When I try running the application on these machines I get a message box, after some delay, that says "Application has generated an exception that could not be handled." I've done various searches for potential causes of this and haven't had any luck so far.
The file "Microsoft.ApplicationBlocks.Data.dll" is definitely being installed on the client machines. I've even tried registering it manually, to which the system says that I cannot do it.
The client machine has MDAC 2.8 and version 1.1 of the .NET Redistributable Framework installed. I've also tried using the .NET Wizards and set the trust level to Full for all the zones, and that didn't work.
I'm almost positive that it has to do with the data access. I installed the SQL Server client utilities on one of the client machines and I can browse to the database and see its objects using Enterprise Manager without any problems. I can even use Query Analyzer to log on with the specific user I created for the application. So, the client can obviously see the SQL Server database. Also, when I build a version of the application with the data access routines commented out it runs fine.
Any ideas as to what to do to solve this problem? Is there more something that I need to do to distribute an application that accesses SQL Server 2000?
Thanks a bunch!
The application works fine on the machine with the development environment (Windows 2K) but I am unable to get it to work on two other machines (Windows XP machines). When I try running the application on these machines I get a message box, after some delay, that says "Application has generated an exception that could not be handled." I've done various searches for potential causes of this and haven't had any luck so far.
The file "Microsoft.ApplicationBlocks.Data.dll" is definitely being installed on the client machines. I've even tried registering it manually, to which the system says that I cannot do it.
The client machine has MDAC 2.8 and version 1.1 of the .NET Redistributable Framework installed. I've also tried using the .NET Wizards and set the trust level to Full for all the zones, and that didn't work.
I'm almost positive that it has to do with the data access. I installed the SQL Server client utilities on one of the client machines and I can browse to the database and see its objects using Enterprise Manager without any problems. I can even use Query Analyzer to log on with the specific user I created for the application. So, the client can obviously see the SQL Server database. Also, when I build a version of the application with the data access routines commented out it runs fine.
Any ideas as to what to do to solve this problem? Is there more something that I need to do to distribute an application that accesses SQL Server 2000?
Thanks a bunch!