Hello,
I've had an ASP page that worked for at the minimum for a year and now it is acting very odd and I need some help to fix it. What my page does/did is creates a Word.Applicatio n object and a new document from a template. It then proceeds to fill in a bunch of the information on the word document using bookmarks and data from a database. Then it saves the document to a directory and sends the user off to go get the new document.
What is extremely odd about this is that on my two machines it is working fine, but on my firm's managed desktops, they get a error when word tries to create the application object. I don't quite understand how permissions in IE would come into play here since ASP code is run on the server right? Isn't the Word.Applicatio n object being created on my server and not the clients?
Does anybody have any suggestions on this?
Thanks a ton (in advanced),
Greg Andora 3 5336
"Greg Andora" <an*******@disc ussions.microso ft.com> wrote in message
news:8B******** *************** ***********@mic rosoft.com... Hello,
I've had an ASP page that worked for at the minimum for a year and now it
is acting very odd and I need some help to fix it. What my page does/did is
creates a Word.Applicatio n object and a new document from a template. It
then proceeds to fill in a bunch of the information on the word document
using bookmarks and data from a database. Then it saves the document to a
directory and sends the user off to go get the new document. What is extremely odd about this is that on my two machines it is working
fine, but on my firm's managed desktops, they get a error when word tries to
create the application object. I don't quite understand how permissions in
IE would come into play here since ASP code is run on the server right?
Isn't the Word.Applicatio n object being created on my server and not the
clients? Does anybody have any suggestions on this?
Thanks a ton (in advanced), Greg Andora
Yes, it is being created on the server, but, (assuming you are using
anonymous authentication) , it is being created by the IUSR_machinenam e user,
who will need execute privileges on MSWord and write privileges in the
folder you create the document.
--
John Blessing http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses http://www.free-helpdesk.com - Completely free help desk software ! http://www.lbetoolbox.com - Remove Duplicates from MS Outlook
John Blessing wrote: "Greg Andora" <an*******@disc ussions.microso ft.com> wrote in message news:8B******** *************** ***********@mic rosoft.com... Hello,
I've had an ASP page that worked for at the minimum for a year and now it is acting very odd and I need some help to fix it. What my page does/did is creates a Word.Applicatio n object and a new document from a template. It then proceeds to fill in a bunch of the information on the word document using bookmarks and data from a database. Then it saves the document to a directory and sends the user off to go get the new document. What is extremely odd about this is that on my two machines it is working
fine, but on my firm's managed desktops, they get a error when word tries to create the application object. I don't quite understand how permissions in IE would come into play here since ASP code is run on the server right? Isn't the Word.Applicatio n object being created on my server and not the clients? Does anybody have any suggestions on this?
Thanks a ton (in advanced), Greg Andora
Yes, it is being created on the server, but, (assuming you are using anonymous authentication) , it is being created by the IUSR_machinenam e user, who will need execute privileges on MSWord and write privileges in the folder you create the document.
More information can be found here: http://support.microsoft.com/default...b;en-us;257757
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
John Blessing wrote: "Greg Andora" <an*******@disc ussions.microso ft.com> wrote in message news:8B******** *************** ***********@mic rosoft.com... Hello,
I've had an ASP page that worked for at the minimum for a year and now it is acting very odd and I need some help to fix it. What my page does/did is creates a Word.Applicatio n object and a new document from a template. It then proceeds to fill in a bunch of the information on the word document using bookmarks and data from a database. Then it saves the document to a directory and sends the user off to go get the new document. What is extremely odd about this is that on my two machines it is working
fine, but on my firm's managed desktops, they get a error when word tries to create the application object. I don't quite understand how permissions in IE would come into play here since ASP code is run on the server right? Isn't the Word.Applicatio n object being created on my server and not the clients? Does anybody have any suggestions on this?
Thanks a ton (in advanced), Greg Andora
Yes, it is being created on the server, but, (assuming you are using anonymous authentication) , it is being created by the IUSR_machinenam e user, who will need execute privileges on MSWord and write privileges in the folder you create the document.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM" This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: The Roys |
last post by:
Hi
Im doing something wrong in quitting the Word.Application in my VB program.
I have
General Declarations
Dim AppWord As Word.Application
Form_Load()
Set AppWord = CreateObject("Word.Application")
|
by: Microsoft |
last post by:
I'm trying to display a word document inside a web page, but everytime I do
I get this error:
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
Does anybody know the correct way to do this? I don't want to link to a
document, but rather display a word file inside the asp page.
|
by: MaxiWheat |
last post by:
Hi,
I am using a software that uses MS Word to create PDF files. When I try
to run the sample code (ASP 3.0), I get an error on this statement :
Set oWord = Server.CreateObject("Word.Application")
That error says :
The call to Server.CreateObject failed while checking permissions.
Access is denied to this object.
|
by: POLILOP |
last post by:
When i try to do this
Dim ExcelFace
Set ExcelFace = CreateObject("Excel.Sheet")
.........
the browser says this
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
|
by: Svet |
last post by:
CreateObject("Excel.Application") on NT 4.0 hangs and I have to kill
the Access 97 app that it is running on.
The same code works fine as a stand alone code. This occurs on users'
machines thatt have weird builds and I was wondering if anyone has
seen this and can shed some light what I can look into. Thanks.
| |
by: Darryl Kerkeslager |
last post by:
Below is a section of the code I use to open Word with late binding, insert
text at the selected bookmarks, and make Word visible. Everything works
fine. However, I also have some Word check boxes, that I cannot figure out
how to make 'checked'. I am not allowed to alter the layout of the form; it
must be a check box. Up until now, I have simply required users to check
the box themselves, but now I'm opening up four Word forms that all...
|
by: KC |
last post by:
Hi,
I have code similar to this..
Dim xlApp As Object
xlApp = CreateObject("Excel.Application", "\\MyServer")
The call is from a asp.net (Intranet) application. \\Myserver is a network
computer in the same domain as web server. The only way I can get this call
worked is when I add the user who logs on to the web site as Administrators.
I need to get this working without having to make the user administrator.
Any suggestion?
|
by: Raúl Martín |
last post by:
I´ve a function in asp that run correctly but If I tried to change it
forasp.net
in asp:
xmlHTTP = CreateObject("Microsoft.XMLHTTP")
And I thought to use this sentence for asp.net but the server don´t
response right.
xmlHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
|
by: David Di Donato |
last post by:
hi
i have a big problem. i have an asp file with the following source code....
******
Set r_ = Server.CreateObject ("Access.Application.10")
s1 = "DoAnything()"
with r_
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |