Cannot connect to SQL in VB6 COM DLL called from C#
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, Due to issues with VB6 on Windows 2008 I had created a C# EXE that wraps calls to VB6 COM DLL. This works fine as long as I don't access the SQL database from the C#. If I have a query from the SQL database in the C#, then in the VB DLL I have an exception when it tries to connect to the database ("Login failed for user...") The system I am testing this on is windows 2008 32Bit and the SQL is SQL Server 2005. Any ideas to the causes/how to solve the issue? thanks.