Problem with UniDAC 3.0.010 and IIS

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ivsal
Posts: 4
Joined: Sat 11 Jun 2005 13:43

Problem with UniDAC 3.0.010 and IIS

Post by ivsal » Tue 03 Aug 2010 13:16

Hi,

I am using UniDAC 3.0.010 Trial version and Delphi 2010 Professional to create COM Library that implements my Business Logic Layer.

This COM Library is used by Delphi for desktop application and Visual Studio .Net + IIS for web application.

Desktop application is working and debug version of .Net application is working as well. But when I deploy web application on server it hangs.

After some tests I discovered that even I just include "Uni" unit in uses clause my dll stop working. So it means that something happens on initialization parts of UniDAC units in multi-threaded mode, because of IIS.

SO what could be the reason for that?

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Thu 05 Aug 2010 14:52

Hello

UniDAC supports multi-threaded mode and works properly. Maybe trial protection has a conflict with Visual Studio .Net or IIS. Can you send us a small sample to reproduce this issue?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 05 Aug 2010 16:14

Maybe this problem is connected with using UniDAC Trial Edition. To avoid the trial message, please open the "HKEY_LOCAL_MACHINE\SOFTWARE\Devart\Unidac" registry key and create new DWORD value with the 'ShowTrialMessage' name and value 0.

Post Reply