|
CRM Software - CABC | Maximizer | Maximizer Add-ons | Services | Support | Store | News |
![]() |
|
Maxtalk
Maximizer CRM Software
Maximizer Support
Methods Init / DBLoginCheck fails in client/server scenario|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
New Member |
My code to login into an address book fails, when the client and server are different machines, yet the same code works when the client and server portions are run on the same machine.
I'm composing some ASP code for a website. This code retreives some information from Maximizer, and displays it upon a website. The code to log into the database is the stock example code: Option Explicit Dim o, c, vLogin Set o = CreateObject("MaAccess.Host") o.Init "MaAccess Sample", "DSN=MAS_EsconaTutorial", 5, "", "" If Not o.DBLoginCheck("", "JNAPOLI", "password", vLogin) Then Wscript.Echo "Login failed." Else Set c = o.CreateObject("Company", vLogin) c.Clear c.SetLikeValue "Company_Name", "ABC%" If c.Select(1) Then Wscript.Echo c.Company_Name & " - " & c.Client_Id Else Wscript.Echo "No match." End If c.EndSelect Set c = Nothing End If Set o = Nothing Now, when my client (my browser) and my server (running ISS) are both on machine A, this code executes successfully. Likewise, when the client and server both execute on machine B, the code works. Yet, when I run the client on machine A, and the server on machine B (or vice versa), then the code fails to log into Maximizer. So, as long as all of the code runs locally on one machine, it works. However, if I run the client, my browser, on one machine, and the server upon another, it fails. Any insight would be appreciated. |
||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|
Maxtalk
Maximizer CRM Software
Maximizer Support
Methods Init / DBLoginCheck fails in client/server scenario
|
CRM Software - CABC | Maximizer | Maximizer Add-ons | Services | Support | Store | News |

