473,395 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

PowerPoint permissions issue

To provide a small team assistance in a rather massive data conversion effort, I've built an ASP script that scans/scrapes a pile of PowerPoint presentations that are in an agreed-upon format and pulls in textual data from these files to be uploaded into a database

Believe it or not, the thing is (a) working, and (b) not too strange

However, it only works for me (a member of the web server's administrators group). When one of the "normal" users tries to hit the page, they receive the following error

"The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

This occurs on the CreateObject call for the PowerPoint.Application object. Obviously it's a permissions problem, but I'm struggling to figure out what I need to change/add to fix it.

To make the PowerPoint app available to the web server, I installed it using a normal Office (2000) install process for PowerPoint and the Office Web Components only. (I was logged in as myself, meaning an administrator was the installer.

I assume there's a DLL out there that needs the proper security settings (read+execute, I presume) set for it, but I'm stumped as to which one and where. So far, I've tried granting authenticated users (the page and entire site are set to use NTLM/Windows Integrated Authentication) read/execute privileges on both the Office directory and the Common Files directory under Program Files, but no luck. I've also registered the msowc.dll explicitly (although I think that occurs with the install anyway), but again, no change. I've tried using Filemon to figure out which file is doing the denying, but it's not reporting a permission denied anywhere

Any/all tips or answers highly welcome

At the moment, I'm tagging the various shapes I want to extract (all text boxes, all in bulleted list format) by setting the alternative text of the shape to a specific value. That way, I know text box A goes here, text box B goes there, etc

This is fine, but involves someone going through and tagging the existing presentations (we can set the tags up on the template for the future, but there's still a pile to deal with now)

Is there another property that I might be able to exploit that does NOT require additional handiwork? For example, all of the fields I want are in specific locations on the slide, and they're not so close together such that I'd need a real tight range. I was thinking that I could pick up the text box with upper left hand corner in the general area of x=10, y=40 or some such and know that it was field A, etc., but I can't see any such property

The fields I want are all text boxes, but there are many other text boxes, so that's out. The data is all bulleted, but I need to know which one is which, so using that alone won't work
Jul 19 '05 #1
1 2223
"Bret" <an*******@discussions.microsoft.com> wrote in message
news:7A**********************************@microsof t.com...
To provide a small team assistance in a rather massive data conversion effort, I've built an ASP script that scans/scrapes a pile of PowerPoint
presentations that are in an agreed-upon format and pulls in textual data
from these files to be uploaded into a database.
Believe it or not, the thing is (a) working, and (b) not too strange.

However, it only works for me (a member of the web server's administrators group). When one of the "normal" users tries to hit the page, they receive
the following error:
"The call to Server.CreateObject failed while checking permissions. Access is denied to this object."
This occurs on the CreateObject call for the PowerPoint.Application object. Obviously it's a permissions problem, but I'm struggling to figure
out what I need to change/add to fix it.
To make the PowerPoint app available to the web server, I installed it using a normal Office (2000) install process for PowerPoint and the Office
Web Components only. (I was logged in as myself, meaning an administrator
was the installer.)
I assume there's a DLL out there that needs the proper security settings (read+execute, I presume) set for it, but I'm stumped as to which one and
where. So far, I've tried granting authenticated users (the page and entire
site are set to use NTLM/Windows Integrated Authentication) read/execute
privileges on both the Office directory and the Common Files directory under
Program Files, but no luck. I've also registered the msowc.dll explicitly
(although I think that occurs with the install anyway), but again, no
change. I've tried using Filemon to figure out which file is doing the
denying, but it's not reporting a permission denied anywhere.
Any/all tips or answers highly welcome.


http://support.microsoft.com/?kbid=257757

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: C Williams | last post by:
Hi, I am writing some VB.NET code that compiles to a dll. There is some code within it that manipulates Powerpoint 2003. The dll I am writing is for smart tags, and I am having trouble...
2
by: Jonathan Trevor | last post by:
Hi, For the last couple of releases of a product we're developing we've been running to very wierd behavior from IE and our ASP.NET web application which serves up various types of files and I'm...
8
by: Rut | last post by:
Does anyone know how to start powerpoint from vb.net without the ppt screen appearing. I want to keep it hidden? Using this code: Try pp = New PowerPoint.Application pp.Visible =...
0
by: ProfessorKaos | last post by:
I'm trying to open a slide show from an application but I am receiving an error when tring to reference the PowerPoint.Presentation object. I'm not sure if it a framework, registry, or version...
2
by: Ben Dewey | last post by:
everyone, I have a ASP.NET 2.0 application that is creating powerpoint documents on the fly using powerpoint com objects that are installed on the server. I am having some issues with security...
0
by: psuaudi | last post by:
i have a powerpoint presentation that uses links to other files and are put on the slide using OLE. The problem is that I have different users updating the information on the slides, which is not...
0
by: Rob | last post by:
Hey folks, my mind is turning into mush... I created a report tracking program in access that works beyond my greatest expectations. So of course, I am constantly adding features to make life...
4
by: HibernatingBear | last post by:
Hello, I've been driving myself nuts trying to find a solution to this. I'm still a relative newbie to C#, and would be grateful for any helpful suggestions. I'm trying to find a way to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
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,...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.