Hi all. I'm having difficulties with an ASP web application that I don't know how to fix. I'm rapidly running out of ideas so I hope you can help me. Here goes...
At work, I'm writing a web application that accesses a third party .DLL through a COM object. I basically just make function calls against the DLL by declaring external functions like this:
Public Declare Function Bal Lib "DCServer.dll" _
Alias "_GetBalance@12" (ByVal goo As String, _
ByRef Amount As Long, _
ByVal location As Integer) As Long
Everything works perfectly on my dev workstation that runs WIN 2K with IIS 5.0 Personal Web Server. But I've run into problems when I put the application and the associated DLLs and COM objects on our production web server. (The web server runs WIN 2K Advanced Server with IIS 5.0 and all the latest patches.) The problem is...once the application is on the web server, it stops working. When I call a script that access the COM object/DLL I get an error saying that the DLL called by the COM object can't be found at the given directory. I've tried moving the DLL around and recompiling the COM object to point at various locations (windows/System32, program files/common files) and with various permissions in those various locations, but to no avail. In all cases, the DLL still can't be found. So my question is...how do I get my app to work with the third party DLL? It works on my workstation, so I'm assuming that there's some settings on the server that I'm missing. By the way, .NET solutions won't work because we're not going down that path for a while.
Thanks in advance.
At work, I'm writing a web application that accesses a third party .DLL through a COM object. I basically just make function calls against the DLL by declaring external functions like this:
Public Declare Function Bal Lib "DCServer.dll" _
Alias "_GetBalance@12" (ByVal goo As String, _
ByRef Amount As Long, _
ByVal location As Integer) As Long
Everything works perfectly on my dev workstation that runs WIN 2K with IIS 5.0 Personal Web Server. But I've run into problems when I put the application and the associated DLLs and COM objects on our production web server. (The web server runs WIN 2K Advanced Server with IIS 5.0 and all the latest patches.) The problem is...once the application is on the web server, it stops working. When I call a script that access the COM object/DLL I get an error saying that the DLL called by the COM object can't be found at the given directory. I've tried moving the DLL around and recompiling the COM object to point at various locations (windows/System32, program files/common files) and with various permissions in those various locations, but to no avail. In all cases, the DLL still can't be found. So my question is...how do I get my app to work with the third party DLL? It works on my workstation, so I'm assuming that there's some settings on the server that I'm missing. By the way, .NET solutions won't work because we're not going down that path for a while.
Thanks in advance.