Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aspexec can not find exe file

Status
Not open for further replies.

janpetrucci

Programmer
Oct 8, 2001
31
US
Hello,

I am new to Aspexec.

I am trying to run a DOS exe which is on a Novell Server with the Aspexec on an NT4 Server.

Aspexec works fine when I tested it with notepad.

The NT server is mapped to the Novell server. The Novell server is called Fts3 and the folder it is in is called Vol1.

I can run the exe directly from the NT4 server.

However when I put the path into the Asp code I get the following message:

ASPExec ExecuteWinApp Test
Attempting to execute Fts3\Vol1\Aud\exe\aud100.exe
The result of this call was: File not found

and the program will not run.

Any help would be greatly appreciated.

Thanks
 
Hi Janpetrucci,

I had this same problem when I tried to map network drives on a Novell Network through my NT server.. Works fine when I use the server as Admin but not when I go through the webserver.

Novell has created a server side component that will authenticate a user on the Novell Network through ASP or VB.. Just call the routines to authenticate with a user that has the correct permissions to access the drive or folder.

Try something like this:

Set NWDirAuth1= Server.CreateObject("NWDirAuthLib.NWDirAuth.1")

myFullName = "NDS://ndstree/username"
myBool = NWDirAuth1.Login(myFullName, "password")

This now authenticates this session as the person you specify in this code. This session has all the permissions of this person on the Novell Network.

Hope this helps,

G.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top