Contribute publishing to Word on Server 2008

Publish

Platform_KC
On Premises

Description:

When publishing to Microsoft Word or PDF, an additional folder is required by Windows Server 2008 (32-bit), Server 2008 (64-bit), or Server 2008 R2 (64-bit). If this folder does not exist on the server the publishing job can fail with the following error shown in the publishing log.

'Document cannot be opened by word. Error: Object variable or With block variable not set.

Publishing finish (Finished 11:44:03 AM)

Publishing job failed.'

Author-it's recommended solution:

To enable publishing to complete successfully, create a "Desktop" folder in the location specified for your server operating system:

  • For Windows Server 2008 (32-bit):

    C:\Windows\System32\config\systemprofile

  • For Windows Server 2008 (64-bit) or Server 2008 R2 (64-bit) and Office 2010 (32-bit):

    C:\Windows\SysWOW64\config\systemprofile

  • For Windows Server 2008 (64-bit) or Server 2008 R2 (64-bit) and Office 2010 (64-bit):

    C:\Windows\System32\config\systemprofile