By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,296 Members | 1,564 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,296 IT Pros & Developers. It's quick & easy.

Link

P: n/a
This is not really an ASP.Net Question, but still I hope that it can be
answered here...

I have a link which when clicked invokes a program which invokes a program
which generates a PDF file and show it in the web page.

The link looks something like this
http://pacsdd/ibiweb.exe?IBIF_ex=MSSETUP&FOC_PGM=RPTSAMPL&amp&EN VIRON=P&&ECHO=OFF&CLICKED_ON=''&RPT_NBR=RF 0002

The DNS name of PACS will no longer point me to this EXE. I have changed it
to something which looks like this...

\\kcpaxx01\APPS\ibi\client45\conf\web\cgi\ibiweb.e xe?IBIF_ex=MSSETUP&FOC_PGM=RPTSAMPL&amp&ENVIRON=P& amp;&ECHO=OFF&CLICKED_ON=''&RPT_NBR=RF0002

Now when I click on the link, it attempts to download the file rather then
invoking the program.

What can I do to change this behavior?

Thanks in advance for your assistance!!!

Mar 15 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In order to invoke the exe as CGI, you have to use an URL rather than a UNC
path. With the UNC path, the EXE is seen as an unknown MIME type rather than
CGI. It might be possible to make EXE a MIME type on your server and tweak
the server to use it the way you previously were, but that would open all
sorts of potential for mayhem.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
"JimHeavey" wrote:
This is not really an ASP.Net Question, but still I hope that it can be
answered here...

I have a link which when clicked invokes a program which invokes a program
which generates a PDF file and show it in the web page.

The link looks something like this
http://pacsdd/ibiweb.exe?IBIF_ex=MSSETUP&FOC_PGM=RPTSAMPL&amp&EN VIRON=P&&ECHO=OFF&CLICKED_ON=''&RPT_NBR=RF0002

The DNS name of PACS will no longer point me to this EXE. I have changed it
to something which looks like this...

\\kcpaxx01\APPS\ibi\client45\conf\web\cgi\ibiweb.e xe?IBIF_ex=MSSETUP&FOC_PGM=RPTSAMPL&amp&ENVIRON=P& &ECHO=OFF&CLICKED_ON=''&RPT_NBR=RF0002

Now when I click on the link, it attempts to download the file rather then
invoking the program.

What can I do to change this behavior?

Thanks in advance for your assistance!!!
Mar 15 '07 #2

P: n/a
On Mar 15, 4:57 pm, JimHeavey <JimHea...@discussions.microsoft.com>
wrote:
This is not really an ASP.Net Question, but still I hope that it can be
answered here...

I have a link which when clicked invokes a program which invokes a program
which generates a PDF file and show it in the web page.

The link looks something like thishttp://pacsdd/ibiweb.exe?IBIF_ex=MSSETUP&FOC_PGM=RPTSAMPL&&ENVIR ON...

The DNS name of PACS will no longer point me to this EXE. I have changedit
to something which looks like this...

\\kcpaxx01\APPS\ibi\client45\conf\web\cgi\ibiweb.e xe?IBIF_ex=MSSETUP&FOC_PG*M=RPTSAMPL&amp&ENVIRON=P &amp;&ECHO=OFF&amp;CLICKED_ON=''&RPT_NBR=RF0002

Now when I click on the link, it attempts to download the file rather then
invoking the program.

What can I do to change this behavior?

Thanks in advance for your assistance!!!
I think you can't call it in this way (\\share\ibiweb.exe?
querystring), because it's a CGI application and has to be served by a
web server.

Mar 15 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.