IIS / CGI or ISAPI / AV
I have a cgi script that creates reports and runs fine on all but one
server. For some reason, I always get AVs when the script that contains the
report is called. I created a test app that contains a TppReport with with
no data, labels, etc, and the script runs fine. When I add anything to the
report, such as a label, I get an AV. There are no dataset components. No
data on the data tab. I was able to look at the map file and determine that
the AV is caused during the creation of the report component (TppLabel,
TppDBLabel, etc.).
I have tried setting the DeviceType to HTML. No luck. I have tried setting
all the properties that show dialogs (ShowAutoSearch, etc.) to False. No
luck. I have "allow service to interact with desktop" checked for the IIS
Admin Service.
The OS is Win2K SP4. I'm using RB 5.52.
The fact that this cgi runs on over a dozen servers using NT, Win2K, and
WinXP means that this is a local configuration issue on this one machine,
but I can't seem to figure out what it is.
Any ideas or suggestions would be greatly appreciated.
Thanks,
Paul
server. For some reason, I always get AVs when the script that contains the
report is called. I created a test app that contains a TppReport with with
no data, labels, etc, and the script runs fine. When I add anything to the
report, such as a label, I get an AV. There are no dataset components. No
data on the data tab. I was able to look at the map file and determine that
the AV is caused during the creation of the report component (TppLabel,
TppDBLabel, etc.).
I have tried setting the DeviceType to HTML. No luck. I have tried setting
all the properties that show dialogs (ShowAutoSearch, etc.) to False. No
luck. I have "allow service to interact with desktop" checked for the IIS
Admin Service.
The OS is Win2K SP4. I'm using RB 5.52.
The fact that this cgi runs on over a dozen servers using NT, Win2K, and
WinXP means that this is a local configuration issue on this one machine,
but I can't seem to figure out what it is.
Any ideas or suggestions would be greatly appreciated.
Thanks,
Paul
This discussion has been closed.
Comments
You are using a very old version of RB. Based upon your description, I am
guessing that for the user account under which the app is executing, there
are either no printer drivers installed or the app does not have full
security access rights to the printer.
Starting with RB 7, the report engine is thread-safe and can work without
having a printer driver installed. Thus, it can be used to build
multi-threaded servers and ISAPI web applications. ReportBuilder Server
Edition does both.
Live Web Demo...
www.digital-metaphors.com/RBServerLive
Features...
www.digital-metaphors.com/Subpages/Products/Server/Features.html
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
That did the trick. Discovered that the user login for anonymous access to
IIS didn't have a printer installed.
As for the versions, we have 50+ reports with lots of RAP pass-through
functions and source. Tried to upgrade to v6 at one point, but had major
issues and lots of rewrites were going to be necessary, so we decided to
stay with v5.52. Once the .net version of RB is available, we'll be
upgrading to become fully .net compatible/compliant.
Thanks,
Paul