Ciao a Tutti,
ho la seguente pagina prova.asp:
<%@ Language=VBScript %>
<%
Option Explicit
Dim access
'
set access = server.createobject("Access.Application")
access.opencurrentdatabase "c:\inetpub\wwwroot\dir1\fpdb\esame.mdb"
access.docmd.runmacro "macro_riex"
access.quit
%>
<HTML>
<BODY>
testo
</BODY>
</HTML>
Ho visto che lanciandola da browser IE nel seguente modo: http://dir1/prova.asp
la macro viene eseguita,
pero' la pagina intranet mi da' il seguente errore:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.
--------------------------------------------------------------------------------
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Error Type:
(0x800A09C5)
/dir1/prova.asp, line 8
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Page:
GET /dir1/prova.asp
Sono andato in Internet a cercare il tipo di errore:
nell' IIS ho guardato il file iisstart.asp e localstart.asp,
ma non e' cambiato niente ...
Come fare a risolvere il problema ??
C' e' forse un codice migliore da scrivere ??
Grazie mille in anticipo !!!!

Rispondi quotando
