473,508 Members | 2,337 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

running a vb .net exe as a sql agent job

I'm primarily a vb .net developer, doubling (as many of us have to) as a sql
2000 dba.

I'm having difficulty running a vb.net exe as a sql agent job. I figured
out that sql 2000 can't really run a windows forms exe, as it thinks it
needs user interaction. However, since it can run an activex script, can it
also run a windows service produced in visual studio 2003?

Thanks for any help.

Bernie Yaeger
Nov 20 '05 #1
1 3827
Hi Dave,

Tx for the response. I figured it out - right, a windows service fails, but
a console app runs fine.

Thanks again,

Bernie

"David Williams" <Da***********@discussions.microsoft.com> wrote in message
news:35**********************************@microsof t.com...
I would not think that you would run a windows service (written in any language) from a SQL Agent job. A windows service is normally run by the
operating system as a "background" application, and is (normally) run under
a seperate user. In all cases it is a separate session - meaning of course
that the user that the service runs under logs into the system and runs the
service. It does not run in the interactive users environment at all.
You should be able to run a console application however.
--
David Williams, VB.NET MVP
"Bernie Yaeger" wrote:
I'm primarily a vb .net developer, doubling (as many of us have to) as a sql 2000 dba.

I'm having difficulty running a vb.net exe as a sql agent job. I figured out that sql 2000 can't really run a windows forms exe, as it thinks it
needs user interaction. However, since it can run an activex script, can it also run a windows service produced in visual studio 2003?

Thanks for any help.

Bernie Yaeger

Nov 20 '05 #2

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

Similar topics

1
4295
by: Adi | last post by:
A java program we have written crashes with IBM JDK 1.3.1 on linux. It works fine on other platforms(Solaris,HPUx). It gets a SIGSERV Signal 11 and crashes just after few minutes after starting up....
10
6802
by: Bill | last post by:
I have an asp page that will be updating the data from one database into my sql server database every 3 hours. I'd like to write code that will tell the page to automatically run every three hours....
60
7202
by: Fotios | last post by:
Hi guys, I have put together a flexible client-side user agent detector (written in js). I thought that some of you may find it useful. Code is here: http://fotios.cc/software/ua_detect.htm ...
2
2166
by: Query Builder | last post by:
I have a wired situation..! I set up transactional replication on one of my development server (SQL 2000 Dev Edition with sp4). It is running fine without any issues and all of a sudden, i...
0
968
by: Nick | last post by:
Hi, I have following question: Two applications ( exe) work on the same computer in the same AppDomain. For example: First is called " agent ", second (other) is called " " Clinet "Agent"...
1
1417
by: Nick | last post by:
Hi, I have following question: Two applications ( exe) work on the same computer in the same AppDomain. For example: First is called " agent ", second is called "Client". "Agent" load data from...
51
4083
by: Ojas | last post by:
Hi!, I just out of curiosity want to know how top detect the client side application under which the script is getting run. I mean to ask the how to know whether the script is running under...
1
2569
by: Joe Gulla | last post by:
Hi all I'm running 9i on xp professional. I have the oem manager install and can connect to the Oracle management server or launch standalone. When I connect to the management server I cannot get...
0
7225
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
7123
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
7383
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...
1
7046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.