473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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
Dec 11 '07 #1
2 3001
On Dec 11, 6:19 am, David Greenberg <davi...@iba.org.ilwrote:
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? ;-)

Dec 11 '07 #2
scoots987 wrote:
On Dec 11, 6:19 am, David Greenberg <davi...@iba.org.ilwrote:
>>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.
Dec 11 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: sqlserver yeahbaby | last post by:
I can't seem to find a step-by-step guide to how to detect or continuously monitor for long-running queries that is suitable for a comparative SQL Server novice. I know that it is possible to...
4
by: Mee Yamo | last post by:
Fellas!! This is a very complicated one and it took me a few days to figure out exactly what's going on, but here's the final story: I have a production environment running on .NET with a SQL...
12
by: Bill Nguyen | last post by:
What's the VB syntax to run the CR report using the following SP? I use CrystalreportViewer and ReportDocument. Thanks Bill Here's the SP in SQLserver 2K: CREATE proc mysp_ReportSubmission...
4
by: Mark Hollander | last post by:
Hi All, How do I enumerate the SQL Servers that are on the network and the instances that are running on those servers I have to develope a wizard and part of the wizard is to ask the user...
0
by: stand__sure | last post by:
Stepping into a stored procedure used to be fairly straight-forward, but after following the guidance in all 6 or so of the MSDN pages about enabling debugging of stored procedures in SQL Server...
2
by: l0b0 | last post by:
I'm working on a restore procedure for the case where all MDF files are missing, but the LDF files are all intact. A full backup is done every 24 hours, and a log backup is done every 3 hours....
1
by: David Greenberg | last post by:
Hi We're using SqlServer 2000. I want to run a DTS using the DTSRUN command. The commmand is inside a ".bat" file which my application is running from an SQL client. No matter how I run it...
1
by: jasonnance77 | last post by:
I have built a SSIS package which runs fine in BIDS. I went into Sql Server Management Studio and created a new job and job step. When I select the SQL Server Integration Services Package, I get...
1
by: Hermes | last post by:
Is there a way to write the information that appears in the "Messages" window in SQL Server Management Studio to an external log file? I'd like to keep a record of these logs as I run each script...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.