Solved

I need a help with a program that uses Soup and Httprio to connect to web service - catastrophic error

Posted on 2013-10-28
11
610 Views
Last Modified: 2013-10-29
Hello Guys

I developed a system in D7 that uses TSoapConnection and THttPrio.

The system works fine in windows xp, windows 7, windows 8, windows 2003.

I tried to run it in windows 2008 and I have an error that doesn't help me at all.

" catastrophic error " .

What could it be? I have already tried to turn off the firewalls but nothing.

I thank a lot any clue

Alex
0
Comment
Question by:hidrau
  • 6
  • 5
11 Comments
 
LVL 26

Expert Comment

by:Sinisa Vuk
ID: 39607317
Try to use some of exception handlers like madExcept or Eurekalog. They will bring you a call stack when exception occurs. It is hard to locate real problem without such "tools". Because is windows Inet behind of THttPrio - try to upgrade IE and do reset Internet options too. You can use custom log file, make simple application and after each line (or logic block) set log line witch will be listed in file and show you real position in code....
0
 
LVL 1

Author Comment

by:hidrau
ID: 39608363
Hello Sinisav,

maybe you can help me now with more details.

Please, take a look at the txt with all information raised with madExcept.

thanks
bugreport.txt
0
 
LVL 26

Expert Comment

by:Sinisa Vuk
ID: 39608399
From log there is exception on calling:  ClientDataSet.Open (intenally TCustomClientDataSet.DoGetRecords)
Seems that midas.dll is missing or not available because it is not registered.
0
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 
LVL 1

Author Comment

by:hidrau
ID: 39608442
I have midas.dll in the folder where is the exe file. What do you think should I do?
0
 
LVL 26

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 39608523
Try register this midas.dll using regsvr32.exe from folder %SystemRoot%\SysWoW64
because I see that you have Win2008 64bit.
//.bat
%SystemRoot%\SysWoW64\regsvr32.exe midas.dll

Open in new window

0
 
LVL 1

Author Comment

by:hidrau
ID: 39608549
Sinisav, do you know any function that I can use to know if a dll is registered in windows?
0
 
LVL 1

Author Comment

by:hidrau
ID: 39608574
Hi, i got a function to be sure that my dll is registered.

http://www.showdelphi.com.br/dica/windows/92/como-saber-se-uma-determinada-dll-esta-registrada-no-windows-delphi

It is registered but the program doesn't go on :(
0
 
LVL 26

Expert Comment

by:Sinisa Vuk
ID: 39608646
This code is not for registered but for availability of dll. Because is in your folder then this is ok. Just call batch with regsvr32 to force register and see if it helps.
0
 
LVL 1

Author Comment

by:hidrau
ID: 39608693
Sinnav, i discovery the solution

I added my program in windows DEP, do you know this?
0
 
LVL 1

Author Closing Comment

by:hidrau
ID: 39608775
thanks for you help, although I solved the problem alone, you gave me other tries that help me to try other forms.
0
 
LVL 26

Expert Comment

by:Sinisa Vuk
ID: 39609141
Thanks.
Because it is servers, probably needs all programs run under DEP.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question