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
609 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
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…

832 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