Twebconnection method not allowed error windows server 2008 R2 - delphi

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.

Related

Issue occurs while installing the windows service on Windows Server 2012 R2

I have created a windows service which is successfully installed on my machine as well as some other local machines.
But when I try to install the same on client's server which is Windows Server 2012 R2 it is getting error stack as below:
The inner exception System.ComponentModel.Win32Exception was thrown with the following error message: The service did not respond to the start or control request in a timely fashion.
For this, I have tried some solution as below:
Adding ServicePipeTimeout in regedit so that it can increase the timeout.
Comparing Microsoft .Net Framework's version used in windows service and Windows Server 2012 R2.
Both of the solutions did not work for me. Can someone guide me through this issue?

Visual Studio 2017 Web App with SQL Authentication Error 52

I am trying to publish a VS2017 web app to a godaddy domain with authentication on a remote SQL server. The app works fine when run from the Visual Studio environment. I can log in, register, etc and see the data on my SQL Server. When deployed I get ::
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)]
Fixed - I discovered that the web.config file on the domain server did not get updated with the proper connection string.

WebBroker DataSnap in Delphi XE3

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?

Cannot connect to TFS from Windows XP

I have a Team Foundation Server 2013 installed on a server on a domain. I can connect to this server from my domain account using VS 2012.
I also have a virtual machine which runs on Windows XP and NOT part of the domain (login as a local user). I have a VB6 project running on this VM and I want to connect to the TFS to share and control my VB6 code but I keep on getting The Request Failed with HTTP status 404: Not found.
I tried creating a local user on the server with the same name as the user I use for VM but it didn't work. I cannot join the VM to the domain as well.
Hope someone has tackled this and shed me some light.

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.

Resources