Word CreateObject Error
Word CreateObject Error
Word CreateObject Error
Word CreateObject Error
Word CreateObject Error
Word CreateObject Error Word CreateObject Error Word CreateObject Error Word CreateObject Error Word CreateObject Error Word CreateObject Error Word CreateObject Error Word CreateObject Error
Word CreateObject Error Word CreateObject Error
Word CreateObject Error
Go Back  Xtreme Visual Basic Talk > > > Word CreateObject Error


Reply
 
Thread Tools Display Modes
  #1  
Old 06-30-2008, 03:13 AM
Cyber_Zeus's Avatar
Cyber_Zeus Cyber_Zeus is offline
Junior Contributor
 
Join Date: Feb 2003
Location: Milan, Italy
Posts: 297
Default Word CreateObject Error


Hi!
I have a problem using Word Core from ASP.NET 2 application.
I create a Word document from a BLOB column located in an Oracle Database.
I write the Word file to a directory on the server, then I need to write new word field value (like 'Author', 'Title', you can see these values opening a DOC with Word and selecting File --> Properties).
I have a complete code to do so, very simple.
The only issue is that when I try to CreateObject, the ASP.NET application goes to exception: "Rejected Safe Mode action : Microsoft Office Word."
Does anyone know what to do?

Thanks
Cyber_Zeus
Reply With Quote
  #2  
Old 06-30-2008, 09:44 AM
Cyber_Zeus's Avatar
Cyber_Zeus Cyber_Zeus is offline
Junior Contributor
 
Join Date: Feb 2003
Location: Milan, Italy
Posts: 297
Default

It was a permission issue.
I modified machine.config to run ASP.NET application as a different user, now it works perfectly.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Word CreateObject Error
Word CreateObject Error
Word CreateObject Error Word CreateObject Error
Word CreateObject Error
Word CreateObject Error
Word CreateObject Error Word CreateObject Error Word CreateObject Error Word CreateObject Error Word CreateObject Error Word CreateObject Error Word CreateObject Error
Word CreateObject Error
Word CreateObject Error
 
Word CreateObject Error
Word CreateObject Error
 
-->