We have found an issue using the SDAC .NET DLLs when referenced in a visual studio 2010 (.NET 3.5) project that has a target platform of 64-bit.
The exception is
"System.OverflowException: Arithmetic operation resulted in an overflow."
It appears this was raised in the below post but no solution was added.
http://www.devart.com/forums/viewtopic. ... e6a8be1f3e
We are using version 4.35.1.5016 of the SDAC components but I downloaded the latest trial version (5.x) and the same exception occurred.
I have a very basic demo project that I'm happy to send you, but it basically looks like this...
Code: Select all
using System;
using CoreLab.Sdac;
namespace DevArtSdacTest
{
class Program
{
static void Main(string[] args)
{
try
{
Console.Write("Please enter the database server: ");
string server = Console.ReadLine();
TMSConnection c = new TMSConnection(null);
c.Authentication = TMSAuthentication.auWindows;
c.Server = server;
c.Database = "master";
c.Connect();
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
}
Console.ReadLine();
}
}
}
Regards,