473,770 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.CreateOb ject failed while checking permissions. Access is denied to this object.

This occurs on the CreateObject call for the PowerPoint.Appl ication 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 2240
"Bret" <an*******@disc ussions.microso ft.com> wrote in message
news:7A******** *************** ***********@mic rosoft.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.CreateOb ject failed while checking permissions. Access is denied to this object."
This occurs on the CreateObject call for the PowerPoint.Appl ication 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
3410
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 because sometimes Powerpoint is remaining running (powerpnt.exe in Task Manager). One action of my smart tags calls InsertChart (code below). The designated line causes powerpoint to remain running even after the user has manually closed the...
2
3197
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 getting very frustrated in trying to solve it! We content we are serving up is potentially sensitive and therefore we DO NOT want it cached on the remote client (IE) beyond the lifetime of the application rendering it (IE, Powerpoint, Word...
8
7077
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 = Office.MsoTriState.msoTrue pp.WindowState = PowerPoint.PpWindowState.ppWindowMinimized Application.DoEvents()
0
4216
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 issue. Or I could be off on all my guesses. I think if I can get this error fixed the code "should" work. Error: COM object with CLSID {91493444-5A91-11CF-8700-00AA0060263B} is either not valid or not registered. Line Throwing Error:
2
1817
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 It is currently working, but the website is running as administrator and I would like to tighten up those permissions.
0
1089
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 being reflected on the main slide. At any rate, I'd like to write an external VB app that can be scheduled to run, update the links within the program, resave the powerpoint pres, and then reopen it on the computer. I'm a little fuzzy on the...
0
4058
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 easier for my users (and harder for myself). Every week my secretary exports different sets of data into Excel (via cmd buttons on form) then copies and pastes the data into powerpoint slides for our weekly staff meeting. I want to simplify this...
4
3266
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 create a gridview from a Web application to an automated powerpoint slide. If that is not possible, then reading the gridview items to a table created in powerpoint, all in C#. Have searched Google many times, results ranged from "can't be
0
9454
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,...
0
10259
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, 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...
0
10101
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 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...
1
10038
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8933
agi2029
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...
1
7456
isladogs
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...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
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...
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.