Showing posts with label ODBC. Show all posts
Showing posts with label ODBC. Show all posts

Tuesday, September 7, 2010

ADOConnectionString

Syntax:ADOConnectionString=On/Off
If this variable is set to True then WBSP will accept any valid ADO connection string in WB_DBObject . If it is set to False then WB_DBObject will accept only predefined values D35, D36, A35, A40 and A07. Default value is off.

Example of use

ADOConnectionString variable is used in Server configuration section, a configuration is set for all aliases of a single virtual host.
[wbsp.com]
DisableWB=F
AbsolutePath=On
Upload=On
FileCommands=On
Execute=JavaScript,VBScript,JScript
HiddenEnvVars=PATH,COMP*,System*
TimeOutSec=20
DefaultDocument=index.wbsp
ADOConnectionString=T
ActivateCGIByExt=wbsp
CGISecurityString=LhBv3KP
MaxInstances=0
HideDocuments=sr,aut,inc,ic,mdb
ScriptTimeOutSec=60

[dsd.ba]
DisableWB=F
AbsolutePath=Off
Upload=On
FileCommands=Off
Execute=VBScript
HiddenEnvVars=PATH,COMP*,System*,Win*
TimeOutSec=10
DefaultDocument=default.wbsp
ADOConnectionString=F
ActivateCGIByExt=wbsp
CGISecurityString=LhBv3KP
MaxInstances=10
 

Monday, July 5, 2010

3146 - ODBC--call failed.

This error may occur when the ODBC data source is on a network drive and user is not connected to the network or network is unavailable to user for any other reason. Make sure the network is available, and then try the operation again.
If this does not help make sure that user has the necessary permissions to access the ODBC source and the network drive. Remember that WBSP scripts are executed by user "internet_user", "nobody", "guest", etc.
read more