Home     Products      Support      Corporate     Sign In 

Support Knowledge Base, Article 1260

Product
WordWriter
Version
3.8.1
Title
WordTemplate instantiation fails in classic ASP after installing Microsoft hotfix
Problem
After installing the following Microsoft update on Windows 2003:

KB937143 (security bulletin MS07-045)

The WordTemplate object fails to instantiate in classic ASP with the following error:

Server object error 'ASP 0177 : 8000ffff'

Server.CreateObject Failed

It appears that something in this Microsoft hotfix has affected the .NET/COM interoperability which is being used by our SAWW3CCW.dll which includes a COM Wrapper around the pure .NET WordTemplate object.

WordWriter ships with two dlls: the SAWW3NET.dll which is a pure managed assembly that includes the .NET WordApplication and the .NET WordTemplate objects, and the SAWW3CCW.dll which includes a COM Callable Wrapper around the .NET WordTemplate object. This wrapper allows using the .NET WordTemplate object from ASP/COM.

After installing the MS07-045 update, which is a security patch for Internet Explorer, the WordTemplate object begins failing to instantiate in classic ASP.

Note:This hotfix does not affect any .NET applications that use WordWriter. It has only affected the use of the WordTemplate object from classic ASP code via COM Interop.

Solution
One option to fix this problem is to remove the patch from the server. However uninstalling this patch is not recommended since it's a security update.

There is another workaround which doesn’t require removing this patch. It consists of making a permission change in the registry as follows:

  • Grant the IUSR account (or the specific account your application is running under) Read access to the “HKEY_USERS\S-1-5-20\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones” folder in the registry.

After making the permission change above, restart IIS (by typing "iisreset" at the command line).

Created : 12/28/2007 1:53:24 PM (last modified : 12/28/2007 1:53:24 PM)

Rate this article!

 
Comments



Copyright 2006 © SoftArtisans, Inc. All Rights Reserved.

Site Map     |     Privacy Policy     |     Contact Us