By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,594 Members | 3,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,594 IT Pros & Developers. It's quick & easy.

CreateObject("Word.Application") Problems

P: n/a
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.Application 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.Application object being created on my server and not the clients?

Does anybody have any suggestions on this?

Thanks a ton (in advanced),
Greg Andora
Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"Greg Andora" <an*******@discussions.microsoft.com> wrote in message
news:8B**********************************@microsof t.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.Application 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.Application 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_machinename 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
Jul 19 '05 #2

P: n/a
John Blessing wrote:
"Greg Andora" <an*******@discussions.microsoft.com> wrote in message
news:8B**********************************@microsof t.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.Application 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.Application 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_machinename 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"
Jul 19 '05 #3

P: n/a
John Blessing wrote:
"Greg Andora" <an*******@discussions.microsoft.com> wrote in message
news:8B**********************************@microsof t.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.Application 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.Application 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_machinename 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"
Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.