In this HowTo I will explain what are the (easy, thanks IIS developers!) steps to run IIPImageServer on a Windows machine running IIS (at least, IIS 5.1)
This tutorial is intended for people with a minimum knowledge of how to manipulate a configuration file, a running Microsoft IIS server and who can not wait for an installer
1) If is not installed on your machine, install IIS. To do this follow one of the millions of howtos or the originals Microsoft instructions.
2) Test it, if everything is ok and you get your first page, it works ![]()
3) Download the latest version of FastCGI for IIS from IIS website (this step is only for IIS 5.1/6 as IIS 7 comes bundled with fastcgi) and install it.
4) Download IIPImageServer and unzip it in a folder (like C:\fcgi-bin for example) .
5) Open your Internet Information Service Manager and create a virtual directory (let me say fcgi-bin) that point to your fcgi repository and give the exec permission.
Screencast showing how to create a virtual directory
6) Also from the Internet Information Service Manager add the handler as described in the Microsoft pages.
7) Create an empty file called IIPImageServer.fcgi in your virtual directory and save it.
8 ) Using your preferred editor (vim) open the fcgiext.ini configuration file (must be in c:\WINDOWS\System32\inetsrv\fcgiext.ini) and substitute the content with:
[Types]
fcgi=c:\fcgi-bin\IIPImageServer.fcgi
[c:\fcgi-bin\IIPImageServer.fcgi]
ExePath=c:\fcgi-bin\IIPImageServer.fcgi
QueueLength=1000
MaxInstances=20
InstanceMaxRequests=100
IgnoreExistingFiles=1
EnvironmentVars=MAX_CVT:3000,LOGFILE:c:\tmp\iipimageserver.log,
VERBOSITY:5,JPEG_QUALITY:75,MAX_IMAGE_CACHE_SIZE:10
9) Here we are! Restart IIS from Internet Information Service Manager and open http://127.0.0.1/fcgi-bin/IIPImageServer.fcgi
10) Refer to the IIPImage website to configure the client and the image format!
Now everything should work unless I’ve forgotten something crucial! Send me your comments and I’ll correct the howto.
Stay tuned also for updates as I still need to fix the problems with the parameters to pass to IIPImageServer…
Enjoy IIPImage and don’t forget that you can contribute to the development with donations or with code!

10 users commented in " How-to run IIPImageServer with IIS (finally)! "
Follow-up comment rss or Leave a TrackbackWhere can I find the IIPImageServer.exe? It is impossible to be found in any of your binaries / install-zips….
next question: i think i need http://www.iis.net/default.aspx?tabid=1000052
fcgi is NOT installed by standard in windows vista, correcT?
next problem: you write:
8 ) Using your preferred editor (vim) open the fcgiext.ini configuration file (must be in c:\WINDOWS\System32\inetsrv\fcgiext.ini) and substitute the content with:
but there is NO fcgiext.ini on my whole system…
Here you can download the latest version of IIPImageServer.exe:
IIPImageServer-0.9.7.zip
And you MUST have fcgi for IIS already installed!!!
I installed server, but I cannot run client. it always has following error:
“load: class iipimage.jiipimage.JIIPView not found.
java.lang.ClassNotFoundException: iipimage.jiipimage.JIIPView”
I cannot find JIIPView.class in “iipmooviewer-1.0.tar.tar ” and “jiipview-2.05.tar.tar”
and I also try to run the source code for jiipview-2.05 in JAVA, but it always show the usage error page.
the argument I set in the run application dialog is
“http:///fcgi-bin/IIPImageServer.fcgi/c:\PalaisDuLouvre.tiff”
Hi,
you miss to upload the correct Zip file with the Exe instead the fcgi.
Hi Leonardo,
the file is ok, the description isn’t. I will correct it now. Thanks for the warning,
Denis
Step 6 points to an website that no longer exists
Hi Pifcnt,
I’ve corrected the problem, thank you
IIP server error:
Unsupported image type: tiff
Client configuration image address.
var images = ‘c:/Inetpub/wwwroot/images/PalaisDuLouvre.tiff’;
the PalaisDuLouvre.tiff downloaded from your site. Please help me!.
Leave A Reply