Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

the problem of web service in windows 2003

5 views
Skip to first unread message

daniel pan

unread,
Jun 7, 2006, 5:47:24 AM6/7/06
to
Hi, everybody,
I wrote a web service, and it works well in my computer. But I need to
deploy to the windows 2003 server. And the web service in 2003 will return a
'Access violation' error where I call it.
The web service's function is to access another web service which
developped by C#. The web service developped by C# has 4 functions. 2 of
them return WideString, and 2 of them return array of WideString(alias with
ArrayOfString). The first 2 function are ok, and last 2 function will return
'Access violation'.
If deploy the web service in my computer, everything is ok. My
computer's OS is windows XP, and my delphi is 7.0. The computer I want to
deploy my web service is windows 2003(Simplified Chinese version), and
IIS6.0.
Does anybody help me?
PS: In order to deploy to 2003, I modified the delphi's SysUtils.dcu,
because it has a bug, if not fix it, the web service will display internal
errors(500) in IE.
daniel


daniel pan

unread,
Jun 7, 2006, 9:36:57 PM6/7/06
to
I found the anwser. Thanks Google!
The DEP(Data Execution Provention) must be set.
Control Panel -> System -> Advanced -> Performance -> settings - > Data
Execution Prevention

Then add your Soap Client application to the list.

Everything is done.

"daniel pan" <dani...@gd165.com> 写入消息新闻:4486a0b5$1...@newsgroups.borland.com...

0 new messages