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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem in using DLL in ASP

Status
Not open for further replies.

madhav4u

Programmer
Aug 17, 2003
3
IN
Hi Friends,

I have created one DLL to execute a batch file (through ShellExecute) and It is working fine, if you I run this DLL through VB, But If I execute same DLL in ASP it is returning "5" as Output and Not executing that Batch file

Same DLL is executed successfully in 2 servers. Am getting this problem while moving same application to other server.

I am not able to trace the reason for this problem. Please Help me if any bady knows the reason

Thanks & Regards,
Madhav.
 
You need to look the error number up but it sound like the "File not found" error number to me. This probably means that the ASP code that generates the Path/Filename for the ActiveX control is broken (wrong).

-pete
 
Thanks for responding, but It is not giving any error, It is just returning "5". And same Dll With same perameter is executing through VB.

Once again I am telling that same DLL is executed successfully in 2 of our Servers, it is only giving problem in moving same application to some other server
 
>> it is returning "5" as Output

Yeah, i guessed that it was returning a DOS error number. If that's not what the return value is, what is it? Without knowing how can you solve the problem?

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top