Jump to content
Macro Express Forums

Run Macro from an ASP page? WShell, ASPExec, etc not working


igwanna

Recommended Posts

Okay, it's been exactly 3 years since I posted this, and this week I have a new client who needs exactly the same thing. When they submit an ASP form on our server, I need the server's MacroExpress to run a macro to look up the information on a remote site, massage the data, and email them a response.

EVERY part of my process works, except there's no way I can find to run MeProc.exe from the ASP page - not even running Perl to do a system call, Yes I have IIS5 and IUSR_Machinename in the security of every macro and file it touches, etc.

 

Hasn't anyone ever needed to do this yet? Can someone please figure it out?

I know I can watch a directory for a file to drop in, but I have to run the Macro constantly or every hour to watch it, and i've other macros running, so I would love to save my server the hassle and just run it on demand:

 

Hi all, i've scoured the topics and google for something like this.

 

My clients only have web cenncections to our server, they should not open a client of any kind to run macros. I need ME to run on the server, log in to a secure web site, lok up a value for them and stick it in a form - all of that part is done already.

 

What i cant do yet is fire the macro to run n the web server (yes its always logged in) unbeknownst to them. I've looked for ISAPI filters to put into our IIS to no avail, and i can only connect ISAPI (if i used the extension .mex or some such) to a DLL to run, not an exe like MeProc.exe.

 

In the past i got analog.exe (processing exYYMMDD.log files) to run from our ASP calling a perl script anlgform.pl that would run the analog, and i put MeProc into that same folder, and its still not initiating. It could just be that analog.exe works with perl's CGI library and MeProc doesn't, who knows?

 

So can anyone help me? run a macro up on a web server from an ASP page?

Ah, and he one solution watching a folder for someting to process won't work, i need this on demand click on a form turnaround time, to fill in that value.

 

Thanks all, this is an awesome forum!

Link to comment
Share on other sites

It sounds to me like you are probably the best person to resolve your issue. My only suggestion is to take a look at some of the advanced Activations that are available in MEPro and see if anything triggers an idea. If MEPro upgrade is not on the cards then don't bother. I attach a zip file with the four relevant Help pages FYI. They may have more info than you will find on ISS website.

 

(unzip with "use foldernames" checked)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...