Hi,
Struggling along with AJAX.
In my header, I have the following (1):
Code:
<!-- #include File="VdfAjaxLib/2-4/Includes.inc.asp" -->
<script>
function GetTestCntry(){
var oVdfCall = new vdf.ajax.VdfCall("oTestCntry", "get_ReturnThis", null);
oVDFCall.onFinished.addListener(HandleTestCntry);
oVdfCall.send(true);
}
function HandleTestCtry(oEvent){
var oVDFCall = oEvent.sReturnValue;
alert(oVDFCall);
}
GetTestCntry();
</script>
as per the example in the help, VdfCall
later in my html page, I have (2)
Code:
<td><%=oTestCntry.call("get_ReturnThis") %></td>
(2) works just fine. (1) gives me the error:
Application: ECommerceWorkspace
Session: N/A
From: N/A
Session failed to initialize: Fatal error occurred during child process initialization: Login unsuccessful [Microsoft][ODBC SQL Server Driver]Dialog failed
VDF Error#: 12293 in line: 18005.
MSG_ERROR_REPORT (433) - OWEBAPPERROR (4) - at address 5424
[start] - at address 18005
in the event viewer. It does not seem to really be a login issue since 2 works fine. What am I missing?