Link

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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 thi
http://pacsdd/ibiweb.exe?IBIF_ex=MS...mp;&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.exe?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!!!
 
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!
***************************
 
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&&ENVIRON...

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.exe?IBIF_ex=MSSETUP&FOC_PG­M=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!!!

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.
 
Back
Top