Formatting Hyperlink to UNC path (Printer)

G

Guest

Hi!
I'm making a webpage where it will list all the printers in their area, with
the UNC path to the printer. It would be like:
\\someserver\aprinter

The only problem is, if I type that path into IE, it works, but when my
application provides a hyperlink to it, I get a "Page cannot be displayed"
Is there any reason you can think of why this is happening?

I'm populating the printers from a dataset into a DataList control.
I'm binding the hyperlink item of the template to one of the fields.
 
G

Guest

The only way I figured out how to make a hyperlink to a printer is to create
a shortcut, and then link to that shortcut. That worked out okay.
 
G

Guest

Also, I discovered, that when you deploy an application that opens/links to a
printer shortcut on the web, IIS won't serve it. Unless, you add the MIME
type:
application/octet-stream
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top