PC Review


Reply
Thread Tools Rate Thread

CreateProcess with RSM and NTBackup (?)

 
 
Edmunde Lee
Guest
Posts: n/a
 
      5th Nov 2003
Hey guys,

This is driving me batty.

To reduce the amount of code here, I'm going to forgo spelling out my
CreateProcess structs, and definitions, but I know for a fact that
they are working. THe problem I am having is ....

I can successfully launch NTBackup using CreateProcess, but only if
I'm creating a "file" backup, as opposed to actually using a proper
tape device.

To expand this problem... I get similar difficulties when trying to
control RSM.exe using CreateProcess.

To be precise:
I can open rsm.exe using CreateProcess, and get back RSM.exe help
(because the command is incomplete)
I can open "rsm.exe view" and get back the help for it...

But as soon as I try to actually use it properly it fails.
eg:
CreateProcess(vbNullString, "c:\winnt\system32\rsm.exe view /tLibrary)
The results I get back are "unable to open session with the RSM
server"

I use the same command from the command prompt and it works.. so the
RSM server is fine. I have a feeling that somewhere, perhaps in the
secAtt struct, Im doing something wrong?

As for NTBackup, I'm using the /p "mediaPoolName" /um combination..
NTbackup lauches, and then quits with a logged error "No media was
specified" as if the /p /um name is being discarded. Or, this
Ntbackup problem is related to the RSM problem.


Arrrgg,,

Sorry for the long one, but this is making me nuts.

Any help would be appreciated.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CreateProcess Harry Simpson Microsoft Dot NET Compact Framework 4 23rd Jul 2008 04:40 PM
Createprocess in VB.NET =?Utf-8?B?SmFp?= Microsoft VC .NET 1 4th Jul 2006 05:00 PM
CreateProcess =?Utf-8?B?WXVudXMgQXRtYWNh?= Microsoft Dot NET Compact Framework 1 16th Mar 2005 03:31 PM
ntbackup lock a file and do not terminate / ntbackup hang up the server Carrie Microsoft Windows 2000 Applications 0 20th Aug 2004 09:11 AM
CreateProcess Stefano Camaiani Microsoft VB .NET 5 12th Oct 2003 02:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:45 AM.