Solved

Launching an app in another server's process space...

Posted on 2001-09-06
2
135 Views
Last Modified: 2010-04-13
What I need to do is the following...

Server1 has an SQL db to which requests are submitted into a queue.

Server2 has the .exe's that are to be executed.

The client submits a request to server1 to have 1.exe and 2.exe run with some parameters.

I want server1 to launch 1.exe to run in server2's process space.  What is the proper and approved way to do this?  I know I could whip up a little service that would run on server2 and wait for requests to run .exe files, but that doesn't seem like a clean way to me.  What is the proper way to do this?  Effectively I don't want server1 to be running any of these .exe files.  (the .exe files are reports that are processor intensive and they fight with sqlservr for processor time).

Thanks.
0
Comment
Question by:timberbt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 6462028
Unless you want to build this capability from the ground up (and I doubt you want to do so as it's a lot of work to make it both right and secure) you have two basic options:

1) RPC
2) DCOM

Both are rather complex topics in light of a 50 pt question but both have many examples and sample applications in the Microsoft documentation and many other web sites.

If you app uses COM already, DCOM is a relatively easy extension.  Otherwise, RPC is more general in it's application but you don't have the COM subsystem to hide the complexity.
0
 
LVL 1

Author Comment

by:timberbt
ID: 6462053
Understood.... I wasn't looking for anything above and beyond the call of a 50pt question really.  Just what to look at was really all I needed...


Does everyone else concur that these would be the "proper" way of handling this sort of thing?  

Thanks Jhance.

0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article explores several main social media platforms.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question