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
604 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 25

Expert Comment

by:Sinisa Vuk
Comment Utility
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
Comment Utility
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 25

Expert Comment

by:Sinisa Vuk
Comment Utility
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
 
LVL 1

Author Comment

by:hidrau
Comment Utility
I have midas.dll in the folder where is the exe file. What do you think should I do?
0
 
LVL 25

Accepted Solution

by:
Sinisa Vuk earned 500 total points
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 1

Author Comment

by:hidrau
Comment Utility
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
Comment Utility
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 25

Expert Comment

by:Sinisa Vuk
Comment Utility
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
Comment Utility
Sinnav, i discovery the solution

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

Author Closing Comment

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

Expert Comment

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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now