MudMan2000
Programmer
In our dev environment (W2K, Crystal 8.0) our .asp code works fine. In the production environment (W2K, Crystal 8.0) we get the error "Incorrect Log On Parameters" when calling the LogOnServer method of the Crystal Application object. We have also tried using the SetLogonInfo method of the table objects used by the report; this method does not error but when the report is run we still get the same problem.
Code:
Set Session("oApp" = Server.CreateObject("Crystal.CRPE.Application"
session("oApp".LogOnServer "pdsodbc.DLL", CStr(strODBCName),"" , cstr(userid), cstr(password)
We've confirmed we're passing the correct string variables for these parameters. The only difference between our dev environment and production is that the dev environment also includes Visual Studio 6.0 and SQL Server 2000 (the production site points to a SQL Server on a different box).
DESPERATE FOR HELP!!!!!
Code:
Set Session("oApp" = Server.CreateObject("Crystal.CRPE.Application"
session("oApp".LogOnServer "pdsodbc.DLL", CStr(strODBCName),"" , cstr(userid), cstr(password)
We've confirmed we're passing the correct string variables for these parameters. The only difference between our dev environment and production is that the dev environment also includes Visual Studio 6.0 and SQL Server 2000 (the production site points to a SQL Server on a different box).
DESPERATE FOR HELP!!!!!