WebBroker DataSnap in Delphi XE3 - delphi

I'm working on a project with WebBroker DataSnap in Delphi XE3.
First I created a DataSnap Server WebBroker VCL exclusively using the wizard, TDSServerModule inheriting the class and ran to port 8085.
After I created the client application (MyApp.exe), also using the wizard (Class Client and Client Module), and connected to the server successfully.
Now I decided to host the DataSnap Server WebBroker in IIS 7.5 Express, so I created a new server with WebBroker DataSnap ISAPI, using the same units of the first server, but a new port 8090.
I configured IIS 7.5 Express, following the tutorial Embarcadero. (http://edn.embarcadero.com/article/40873)
Using the browser, when I access the address localhost:8090/myserver/srvweb.dll, I get the "DataSnap Server" message.
I believe this means that the DataSnap server in IIS is configured properly and available to clients.
But when I modify the client (MyApp.exe) and direct it to port 8090 (IIS) and put in URLPath /myserver/srvweb.dll, I get the message
HTTP/1.1 405 Method not Allowed"
What is missing? Any suggestions?

Related

How to run multiple Delphi RAD Server applications on same IIS?

I have created a RAD Server application and hosted it on the IIS. For this I had also installed the interbase 2020 instance using the RAD Server Multi-Site License.
Now, I want to host one more RAD Server application on the same IIS. I installed another instance of interbase 2020 instance specifying another port number and another instance name. Gave the RAD Server Multi-Site License again, and installation was done successfully.
But when i start the second instance, it fails to start, and the log said "the same license key already used by another instance".
How can I run more than 1 rad server application on an IIS ? Should there be an interbase instance for each such rad server application ? Multi-Site license wont support this ?
Can someone help me ?
I got this fixed. Though I had created a second IB database in the existing instance,
app1, app2 were created within the "Default Web Site" of IIS. i deleted those, and Created app1, app2 under "Sites" by assigning different port numbers, and opened the ports in windows firewall settings. Now, I have access app1 and app2 by specifying the ip address and the particular port number assigned to them.

Application not working on iis 7 windows server 2012r2

In windows server 2012r2 I have installed the iis7 and host the ASP.NET MVC application but domain is still not reachable or accessble the files. irt is showing "This site can't be reach".
I have tried with another domain mapped with the same server ip but issue is still remain same.

Delphi SOAP server wsdl not refreshing

I have written a SOAP server and client to consume the services in Delphi XE2. The SOAP server executable is installed on a development Windows 8.1 PC running IIS and also a Windows 2003 Server (also IIS). Everything has been going ok except I have just added another service(method?) to my SOAP server and it won't show up in the WSDL after deploying the exe.
If I browse to the services executable (using firefox) e.g.
192.168.2.64:8080/mysoapservices/MySOAPServer.exe or 192.168.2.64:8080/mysoapservices/MySOAPServer.exe/SOAP/IASOAPServer
Then I can see the new method listed, but if I look at the WSDL
192.168.2.64:8080/mysoapservices/MySOAPServer.exe/WSDL/IASOAPServer
then it isn't in the XML definition. So, when I import the WSDL via Delphi/Component/Import WSDL it is missing my new method.
Does anyone know what I am doing wrong?
Why are you looking at ASOAPServer.exe instead of MySOAPServer.exe?

ASP.NET app on IIS 8 Server not talking to SQL Server 2012 database server

I am working on an ASP.NET MVC application, recently we are given IIS 8 server (Windows Server 2012) and database server with SQL Server 2012. Now application sits on my local machine, talking to the SQL Server database works perfectly.
But when I deploy the application to IIS and run the app and try to let it talk to that database ... it does not and getting following warning
The remote host does not have the dbDacFx Web Deploy provider installed, which is required for database publishing. To learn more about this visit this link.

Twebconnection method not allowed error windows server 2008 R2

I have a Delphi application server that I installed on windows server 2008 R2
I have registered the dcom object in windows component services.
when I connect to the app server via tsocketconnection i can connect fine no problems whatsoever, and my client application runs fine.
When I try connect to the application server via Twebconnection,
I get a error :
"method not allowed error"
I have added a scripts virtual directory in iis 7.5 and added httpsrvr.dll into that directory
But still cant get it to connect from the client.

Resources