P
paulmitchell507
I have the following code in a asp file on my server 2003 IIS server.
The code works fine, it open the databse and runs the macro. However,
if I change the staff list macro so it uses the SendTo function, the
code will not send an e-mail. I can log onto the server and run the
macro from access no problem. The error message I receive when
running the asp code is
MSAccess error '800a08f5'
Microsoft Access can't send a message for the reason stated in the
preceding alert.
There is no preceding alert, I have outlook 2000 installed and open on
the server, I am unable to find many references to 800a08f5'
Regards,
Paul
<%
Dim objAccessReport
Set objAccessReport = Server.CreateObject("Access.Application")
objAccessReport.Visible = False
objAccessReport.OpenCurrentDataBase "c:\Inetpub\test_intranet
\staff.mdb"
macroname = "staff list"
objAccessReport.DoCmd.RunMacro macroname
objAccessReport.CloseCurrentDatabase
Set objAccessReport = Nothing
Response.Write "Your macro has been run!"
%
The code works fine, it open the databse and runs the macro. However,
if I change the staff list macro so it uses the SendTo function, the
code will not send an e-mail. I can log onto the server and run the
macro from access no problem. The error message I receive when
running the asp code is
MSAccess error '800a08f5'
Microsoft Access can't send a message for the reason stated in the
preceding alert.
There is no preceding alert, I have outlook 2000 installed and open on
the server, I am unable to find many references to 800a08f5'
Regards,
Paul
<%
Dim objAccessReport
Set objAccessReport = Server.CreateObject("Access.Application")
objAccessReport.Visible = False
objAccessReport.OpenCurrentDataBase "c:\Inetpub\test_intranet
\staff.mdb"
macroname = "staff list"
objAccessReport.DoCmd.RunMacro macroname
objAccessReport.CloseCurrentDatabase
Set objAccessReport = Nothing
Response.Write "Your macro has been run!"
%