I have an IIS ISAPI server and I am having some problems. I can connect to it directly using the url in my web browser and it returns the info as expected. The /BIN returns the rodl xml. I connect to ther server in design time by setting the target url and then I get a drop down of the services available in the TRORemoteService. In the ROService Tester I can connect to the server and get a list of services. Selecting a service I get a list of available methods. However, just like when I try to access a method from my client app, as soon as I try to action a method (ServerTime) I get an “unable to connect to remote server” exception. Any ideas?
A little more information. If I turn off the iis pool then I get a 503 Service Unavailable, which is what I expect. When I turn it on I get Unable to connect to remote server.
In the tester, I can get the list of services available, but if I select a service that descends from another it throws an exception when trying to get the methods and only pulls back the methods in itself and not those that are inherited.
I switched the connection component from Synapse to Indy to see if I got anymore info on the exception. And I did - the “Socket Error #10054. Connection reset by peer”
Hello,
We couldn’t reproduce it.
We tested it on a new standart isapi project. IIS 5.1
Can you send us a small testcase which reproduce it? What IIS ver do you use?
I doubt I could. All my other remobjects app behave exactly as they should, so it is really strange. I have even recreated the whole server app and still has this problem. I just hoped that someone had experienced something similar and might have a solution.
russellweetch said: I have even recreated the whole server app and still has this problem. I just hoped that someone had experienced something similar and might have a solution.
Unfortunately we didn’t faced with such problem before. Looks like this happens due IIS settings. What version of OS and IIS you are using? Does it have any unusual settings? Is Service tester running on the same computer with IIS?
Have managed to get it to run on IIS 7 / Win 2008 Server. But it won’t run on IIS 6 / Win 2003 for some reason. Yet RO Servers I have written in Delphi 6 are running on there. It doesn’t even respond to a straight web call although running it as a standalone exe does.The tester is not running on the server.
really not sure what the issue is - possibly dbx? anyway have used a work around to allow it to use the stanadlone server. Thanks fro all your efforts though.