The problem is that the file System.Data.dll is not found

Stimulsoft Reports.NET discussion
Post Reply
AlekseyK
Posts: 1
Joined: Fri Jul 06, 2012 11:58 am

The problem is that the file System.Data.dll is not found

Post by AlekseyK »

Hi all

The problem is that the file System.Data.dll is not found on the assembly directory. When the Stimulsoft preview opens this file is not found so Windows throwes an exception error. What can I do?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: The problem is that the file System.Data.dll is not foun

Post by Alex K. »

Hello,

We found some strangeness in work of .NET Framework 4.0. In some cases, the compiled project cannot load the System.Data.dll system library, although the link to the library project is added.
You should do the following to solve this problem:
in start of your application please add the following lines of code:

using System.Data;
....
DataSet ds = null;

This lines of code will be force to load System.Data library in the memory.

Thank you.
Post Reply