edohernandez / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

qz-print 1.7.0 or higher won't load in IIS #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
IIS by default does not support the mime type .jnlp. Below is an example of 
what needs to be added the  web.config to fix it:

  <system.webServer>
    <staticContent>
      <mimeMap fileExtension=".jnlp" mimeType="application/x-java-jnlp-file" />
    </staticContent>
  </system.webServer>

Alternately, older IIS installs may have better luck with the GUI:
  1. IIS Settings
  2. Right click the machine, mime-types, new
  3. Extension  .jnlp
  4. MIME Type: application/x-java-jnlp-file

(adapted from bocaj.bowman's post, Issue 155)

Original issue reported on code.google.com by tres.fin...@gmail.com on 30 Oct 2013 at 9:02

GoogleCodeExporter commented 9 years ago
Leaving open for documentation task.

Original comment by tres.fin...@gmail.com on 30 Oct 2013 at 9:03

GoogleCodeExporter commented 9 years ago
Added to readme.txt.

Original comment by tres.fin...@gmail.com on 8 Nov 2013 at 6:23

GoogleCodeExporter commented 9 years ago
thanks a lot for the above solution I was struggling for this. but I believe 
this must be included in the developer document.

Original comment by subu020...@gmail.com on 27 Aug 2014 at 3:29

GoogleCodeExporter commented 9 years ago
It is in README.TXT :)

https://github.com/qzindustries/qz-print/blob/1.8.0/README.txt#L20

Original comment by tres.fin...@gmail.com on 27 Aug 2014 at 3:31