Re: Running vbs from WSH in ASP page
From: Jason Brown [MSFT] (i-brjaso_at_online.microsoft.com)
Date: 10/28/04
- Next message: Roland Hall: "Re: Script for removing .mp3 files"
- Previous message: Peter Shmeigel: "Running vbs from WSH in ASP page"
- In reply to: Peter Shmeigel: "Running vbs from WSH in ASP page"
- Next in thread: Gerry Hickman: "Re: Running vbs from WSH in ASP page"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 28 Oct 2004 17:41:45 +1000
You should probably be looking at MSMQ (Message Queueing) for this
--
Jason Brown
Microsoft GTSC, IIS
This posting is provided "AS IS" with no warranties, and confers no
rights.
"Peter Shmeigel" <pshmigel@nolanitu.com.au> wrote in message
news:uTN9Q5LvEHA.2016@TK2MSFTNGP15.phx.gbl...
> We host a legitimate mailing list server. W2K server SP4/IIS5
> Because of the 10,000 addresses, when sending from CDO in an ASP it takes
> a
> long time.
> To avoid timeout issues etc I wanted to use a vbs fired from wsh.
> When I run the vbs from the command line (wscript myfunc.vbs) all is well.
> When I fire it from an ASP page (so users can launch the mailing
> procedure)
> it fails. I can't pick up the error message. I have a feeling it is
> permissions based.
>
> code from asp page
>
> Dim oShell
> Set oShell = CreateObject ("WSCript.shell")
> strWshCommand = "wscript c:\inetpub\wwwroot\mailman\mailsendscript.vbs"
> mess=oShell.Run(strWshCommand)
> Set oShell = Nothing
> Response.Write ("mess:") & mess
>
> I have tried moving the vbs file, assigning way too much permission for
> the
> file - no go.
>
>
> What should the IIS settings be for application protection?
> Are there any special permissions to set?
> I have seen tons of problems like this on the web all without a proper
> solution.
> Any gurus wanna help?
>
>
> Deflated - Yusuf Muraben
>
>
- Next message: Roland Hall: "Re: Script for removing .mp3 files"
- Previous message: Peter Shmeigel: "Running vbs from WSH in ASP page"
- In reply to: Peter Shmeigel: "Running vbs from WSH in ASP page"
- Next in thread: Gerry Hickman: "Re: Running vbs from WSH in ASP page"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|