Unix Technical Forum

running a vbs file as a step of an SqlServer job

This is a discussion on running a vbs file as a step of an SqlServer job within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi I have a VBScript file which runs fine when I click it or when I run it from ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2008, 03:45 PM
David Greenberg
 
Posts: n/a
Default running a vbs file as a step of an SqlServer job

Hi
I have a VBScript file which runs fine when I click it or when I run it
from a command prompt level.
I added it as the 1st step of an SqlServer job and the job always fails
with the error message
"Executed as user: GVIANT\Administrator. The process could not be
created for step 1 of job 0xBE3A0405EB9F624282C1A9474AA9F719 (reason: %1
is not a valid Win32 application). The step failed."

Cn anyone help me understanding this error message.

Thanks 1

David Greenberg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-01-2008, 03:46 PM
scoots987
 
Posts: n/a
Default Re: running a vbs file as a step of an SqlServer job

On Dec 11, 6:19 am, David Greenberg <davi...@iba.org.il> wrote:
> Hi
> I have a VBScript file which runs fine when I click it or when I run it
> from a command prompt level.
> I added it as the 1st step of an SqlServer job and the job always fails
> with the error message
> "Executed as user: GVIANT\Administrator. The process could not be
> created for step 1 of job 0xBE3A0405EB9F624282C1A9474AA9F719 (reason: %1
> is not a valid Win32 application). The step failed."
>
> Cn anyone help me understanding this error message.
>
> Thanks 1
>
> David Greenberg


Do you have VBScripting enabled on the server? Without more info I
couldn't guess at anything else. Versions? Windows 98? ;-)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-01-2008, 03:46 PM
David Greenberg
 
Posts: n/a
Default Re: running a vbs file as a step of an SqlServer job

scoots987 wrote:
> On Dec 11, 6:19 am, David Greenberg <davi...@iba.org.il> wrote:
>
>>Hi
>>I have a VBScript file which runs fine when I click it or when I run it
>>from a command prompt level.
>>I added it as the 1st step of an SqlServer job and the job always fails
>>with the error message
>>"Executed as user: GVIANT\Administrator. The process could not be
>>created for step 1 of job 0xBE3A0405EB9F624282C1A9474AA9F719 (reason: %1
>>is not a valid Win32 application). The step failed."
>>
>>Cn anyone help me understanding this error message.
>>
>>Thanks 1
>>
>>David Greenberg

>
>
> Do you have VBScripting enabled on the server? Without more info I
> couldn't guess at anything else. Versions? Windows 98? ;-)
>


We have windows 2000 on the server.
I am sure we have VBScripting enabled on the server because the job runs
fine when I click it to run it or when I run it from the command prompt.
We use SqlServer 2000.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com