Ciao a Tutti,
ho un server su cui e' installato IIS Vers. 5.1
Ho messo protezione bassa e IUSR_nomecomputer (Account Internet Guest) membro di Administrator
Su questo server c' e' la pagina index.asp,
in cui e' presente un form, contenente tanti campi di testo da compilare,
e poi un pulsante "Submit email" che quando uno lo schiaccia fa partire l' email di Outlook con all' interno i campi compilati dall' utente.
Sul server tutto funziona correttamente,
mentre se invoco la pagina index.asp dal client e schiaccio il suddetto pulsante,
mi arriva il messaggio:
Errore di run-time di Microsoft VBscript (0x800A01AD)
Il componente ActiveX non puo' creare l' oggetto Outlook.Application
Leggendo i topics in merito in questo Forum,
dal server ho lanciato regsvr32 C:\WINDOWS\system32\scrrun.dll
e C:\WINDOWS|system32\inetsrv\asp.dll
tutto bene ma dal client l' errore permane ...
Non so piu' che fare ...![]()
![]()
<head>
<Script Language="JavaScript">
function notify(n) {
if (n==9) {
document.FrontPage_Form1.action = "mail_dbo.asp "
document.FrontPage_Form1.submit();
return true; } }
</script>
</head>
<body>
<form method="POST" webbot-onSubmit language="JavaScript" name="FrontPage_Form1">
...
ci sono vari input type text da compilare ...
<button onClick="notify(9)" style="width:110;height:26" id="send" name="send" value="Submit email">Submit email</button>
...
</form>
*********** Pagina mail_dbo.asp **********
<%@ Language=VBScript %>
<%
Option Explicit
Dim aFrom, Message, olMailItem, Outlook, sender
'
'
sender = Request.Form("user")
Set Outlook = CreateObject("Outlook.Application")
Set Message = Outlook.CreateItem(olMailItem)
'
With Message
.To = "" & Request.Form("mess") & ""
.Subject = "The Ticket Num. " & Request.Form("rec_mod") & " is SUBMITTED !"
.HTMLBody="
Project Code: " & Request.Form("proj_code") & "
" &_
"Project: " & Request.Form("proj_name") & "
" &_
"Product: " & Request.Form("product") & "
" &_
"Notes: " & Request.Form("notes_2") & "
"
.Display '.Send
End With
'
Set Message = Nothing
Set Outlook = Nothing
'
'
Response.Redirect("http://nome_server/index.asp?rec=" & Request.Form("rec_mod") & "")
%>
Grazie mille in anticipo !!!

Rispondi quotando
