hmm..
I don't use the IIS but WAMP.
This is the \cgi-bin\dicom.ini I use:
# This file contains configuration information for the DICOM server
# Do not edit unless you know what you are doing
[sscscp]
MicroPACS = sscscp
# database layout (in your dicom server directory)
kFactorFile = D:\dicomserver1412c\dicom.sql
TruncateFieldNames = 10
# IP address and port of DICOM server
WebServerFor = 127.0.0.1
TCPPort = 4006
# further web server config (change ip address and optionally script path)
WebReadonly = 0
WebCodeBase = http://127.0.0.1/
WebScriptAddress = http://127.0.0.1/cgi-bin/dgate.exe
# this is an optional virtual directory used to http: all images from mag0
# this entry is experimental and unused except for manual calls to mode=seriesviewer2
WebMAG0Address = http://127.0.0.1/mag0
#excerpt from D:\wamp\Apache2\conf\httpd.conf required for WebMAG0Address (un-# there)
Alias /mag0/ "D:\dicomserver1412c\data\"
<Directory "D:\dicomserver1412c\data">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# these settings control size of slice and series viewers, max size of transmitted dicom images (0=original),
# compression for images sent to the activex (may be un,n1..4,j1,j2), and size of the icons in the image list
# note: all items require at least one space left and right of the '=' !
[webdefaults]
size = 560
dsize = 0
compress = un
iconsize = 48
This is in the directory where the activeX control and the newest dgate also live. So I have a dgate and a dicom.ini in the Apache2\cgi-bin directory with the activeX control and a printer.pl file. Then there is another dgate, dicom.ini and dicom.sql in the server directory which is called by the webserver.
I don't know enough (anything) about IIS Setup.. Maybe this can give you a point to compare, or someone else has IIS experience?
If you get black window with study text, simply adjust win/level.
If you get a white box with a red "X" in the top left hand corner, do this: (with thanks to Patje)
regsvr32 -u ActiveFormProj1.ocx (to remove)
regsvr32 [Path of component]\ActiveFormProj1.ocx (to register)
ie: [Path of Component}= drive:\wamp\cgi-bin\ActiveFormProj1.ocx