Deepa
February 19th, 1999, 03:00 PM
Hi,
I am developing an application in ASP, the code is written in VB ( ActiveX DLL's are created)
and they are called in ASP . I checked first by writing a DLL which makes square of the integer that is passed and returns the result back which worked fine when it was called in ASP!
But, then I wrote a DLL which was accessing the MS Access database with ADO and returning a string... When I call this DLL, I get an error saying that ODBC error DSN not fount ! The same DLL works fine when called in VB or when I debug it from Dll itself by using a breakpoint (stop) in ASP!
Also I wrote another DLL which was logging on to the Exchange server and posting a message to a folder. The DLL when called in VB it works fine or when it is debugged from DLL to ASP it works fine, but if I run the ASP code the error is Logon failed MAPI_error etc. etc.
I have come to the conclusion that when the DLL is referring to some other object such as OCX or DLL the ASP code does not work but, for the mathsquare DLL the project did not reference any object than the default ones so that works! So my ASP code does not recognize the ADO or Exchange objects!
Can you please help me about it?
I have Visual Studio 6.0 and Windows NT 4.0, MS Exchange 5.5, ADO 2.0
Thanks,
Deepa
I am developing an application in ASP, the code is written in VB ( ActiveX DLL's are created)
and they are called in ASP . I checked first by writing a DLL which makes square of the integer that is passed and returns the result back which worked fine when it was called in ASP!
But, then I wrote a DLL which was accessing the MS Access database with ADO and returning a string... When I call this DLL, I get an error saying that ODBC error DSN not fount ! The same DLL works fine when called in VB or when I debug it from Dll itself by using a breakpoint (stop) in ASP!
Also I wrote another DLL which was logging on to the Exchange server and posting a message to a folder. The DLL when called in VB it works fine or when it is debugged from DLL to ASP it works fine, but if I run the ASP code the error is Logon failed MAPI_error etc. etc.
I have come to the conclusion that when the DLL is referring to some other object such as OCX or DLL the ASP code does not work but, for the mathsquare DLL the project did not reference any object than the default ones so that works! So my ASP code does not recognize the ADO or Exchange objects!
Can you please help me about it?
I have Visual Studio 6.0 and Windows NT 4.0, MS Exchange 5.5, ADO 2.0
Thanks,
Deepa