I have been getting this error since I upgraded to Windows XP, Access XP.
The code I have been using follows:
<%
StrADO = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
StrADO = StrADO & "C:\INetPub\wwwRoot\Tivities\NAmerica.mdb;User
ID=;Password="
Set Cnnct = Server.CreateObject("ADODB.Connection")
Cnnct.CursorLocation = 3
Cnnct.Open StrADO
%>
' Logical Code Here
<%
Set rsUnivs = Server.CreateObject("ADODB.Recordset")
Set rsSchools = Server.CreateObject("ADODB.Recordset")
%>
' Logical Code Here
<%
rsUnivs.Close
rsSchools.Close
Cnnct.Close
Set objAccess = Server.CreateObject("Access.Application")
objAccess.Visible = False
Error Type:(0x80010105)The server threw an exception. Error on Next Line.
objAccess.OpenCurrentDatabase "C:\INetPub\wwwRoot\Tivities\NAMERICA.mdb"
' Line that creates error above
mcrName = "Canutillo"
objAccess.DoCmd.RunMacro mcrName
objAccess.CloseCurrentDatabase
objAccess.Quit 2 ' 2 = acQuitSaveNone
Set objAccess = Nothing
%>
Does anyone know the problem and should I post this problem to another group?
Thanks a bunch, this one has driven me crazy!