473,788 Members | 2,848 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Excel Interop & IIS: Permissions Issue: PlugPlayManager Security Failure

Hi,

First of all I didn't design this website, but I have been asked to
fix it with the minimum fuss!

Website is using .NET on IIS6 with an Excel Interop to produce
reports. The website impersonates the user and anonymous access is
disabled. Once excel is loaded it stays loaded for the life of the web
application and is accessed through an application variable. As I say,
I didn't design this! Usage of website is very low - once a month for
management reports.

The main user is unable to access the site. He says it is an
intermittant problem but at the moment he's completely unable to
access this and gets a UnauthorisedAcc essException on
Interop.get_Wor kbooks(). Trouble is from his permissions he looks like
a local admin like me - I'm working on the assumption that he's
clearly not! He was unable to launch the excel application.

Having read a few posts, I have now given him all Access and Launch
permissions in DCOM for Excel. He no longer gets the above error and
is now able to launch Excel (it appears in Task Manager processes).
However, no excel workbook is created and the webpage hangs. There is
a failure in the Security Log:

Event Type: Failure Audit
Event Source: Security
Event Category: Object Access
Event ID: 560
Date: 08/10/2007
Time: 16:41:43
User: CORP\firstname. surname
Computer: M05010072
Description:
Object Open:
Object Server: PlugPlayManager
Object Type: Security
Object Name: PlugPlaySecurit yObject
Handle ID: -
Operation ID: {0,106320991}
Process ID: 416
Image File Name: C:\WINDOWS\syst em32\services.e xe
Primary User Name: S05010072$
Primary Domain: CORP
Primary Logon ID: (0x0,0x3E7)
Client User Name: firstname.surna me
Client Domain: CORP
Client Logon ID: (0x0,0x656452E)
Accesses: Unknown specific access (bit 0)

Privileges: -
Restricted Sid Count: 0
Access Mask: 0x1

What Plug and Play has to do with anything I really don't know but
it's a repeatable error.

Does anyone know what's going on? I've seen other posts with a similar
symptoms but they weren't answered.

Here's hoping! Many thanks in advance!

Cheers,

James

Oct 8 '07 #1
2 4447
"JimLad" <ja*********@ya hoo.co.ukwrote in message
news:11******** **************@ 22g2000hsm.goog legroups.com...
Actually, one more question. Could I just use OWC11 (Office Web
Components) instead?
Possibly, depending on your version of Excel:
http://blogs.msdn.com/excel/archive/...17/668544.aspx
I'm assuming that would sort of be a straight swap and not too difficult?
I'm afraid I don't know enough about the subject to answer your question -
you could try posting on one of the Excel newsgroups...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 8 '07 #2
On Oct 8, 11:37 pm, "Mark Rae [MVP]" <m...@markNOSPA Mrae.netwrote:
"JimLad" <jamesdbi...@ya hoo.co.ukwrote in message

news:11******** **************@ 22g2000hsm.goog legroups.com...
Actually, one more question. Could I just use OWC11 (Office Web
Components) instead?

Possibly, depending on your version of Excel:http://blogs.msdn.com/excel/archive/...17/668544.aspx
I'm assuming that would sort of be a straight swap and not too difficult?

I'm afraid I don't know enough about the subject to answer your question -
you could try posting on one of the Excel newsgroups...

--
Mark Rae
ASP.NET MVPhttp://www.markrae.net
Thanks very much for your help Mark.

James

Oct 9 '07 #3

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

Similar topics

36
16419
by: Thomas | last post by:
after spending countless hours trying, i give up and hope to get some help in here. on server1 i got the web myweb.com with my test.asp. in the test.asp, i'm trying to read a file from an UNC path with a FSO: Set myFile = Server.CreateObject("Scripting.FileSystemObject").GetFile("\\server2\myshare\myfile.txt") this fails with an Permission Denied. here's the deal:
1
1827
by: Razarr69 | last post by:
I have a ASP application that I am using for my company and it is currently running on a Windows 2000 server box with IIS 5. The code works perfectly there (except for handling large files - due to low amount of RAM, I hope anyway - thus the switch to the new server). Now I need to move the application to a better server. My hope was to just copy the folder to the new server and get running. This almost worked. :( The pages seem to...
2
6376
by: Alvin Bruney | last post by:
anybody know how to launch desktop excel from a webpage and feed it either a dataset or a file? i've got MS sample code but it aint compiling with the office 10 library. i wonder if they changed the libraries cuz i used object browser and the interface they are calling doesn't exist in the class. I'm not looking for an OWC solution either
9
4437
by: hari krishna | last post by:
hi, I want to send the data from dataset information to Excel through ASP.Net. there will be no XL installed on web server. web server is win 2000 server machine. I am using visual basic code in asp.net. The Xl sheet should not be opened in the browser. All the information from dataset(datatable,datarows) should be sent to XL and the file name should be given dynamically through program and the xl file should be saved dynamically through...
12
2434
by: D. Shane Fowlkes | last post by:
This most likely belongs in another forum but I thought I'd start here. I have a COM Object written in VB6. The DLL will access MS Excel and use it's Object Library to write a customized report and saves it to a folder. The DLL even writes to a log for each step it takes so we can troubleshoot the problems (if any). This works fine on one machine but not another. The folder the DLL is trying to write to has full permissions assigned...
5
1914
by: LGHummel | last post by:
I'm trying to host a remoting app in IIS and am getting the following error: Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. Error: 0x80070005 Access is denied. I tried adding ASPNET to the Administrators group with no success. The error is preceded by the following warning:
5
2780
by: RJN | last post by:
Hi I'm invoking the excel object from ASP.Net application. My development machine is Windows 2000 and MS Office is installed on my m/c. I have added reference to the Excel COM object, I have given Access and launch permissions to ASPNET user in DCOMCNFG and the identity set to launch user. But I get the following error, moment I try to create the Excel object: Dim oexcel As New Excel.Application "COM object with CLSID...
4
1800
by: rjn | last post by:
Hi I'm invoking the excel object from ASP.Net application. My development machine is Windows 2000 and MS Office is installed on my m/c. I have added reference to the Excel COM object, I have given Access and launch permissions to ASPNET user in DCOMCNFG and the identity set to launch user. But I get the following error, moment I try to create the Excel object: Dim oexcel As New Excel.Application "COM object with CLSID...
1
1507
by: Keith McDonald | last post by:
We have executable program that is used to create and send emails to users. Working on getting it able to be called from a web page we're having some problems. First of all if debugging the website from local it returns the common JIT debugger failure, access denied after the Process.Start() call. Access denied for machine\ASPNET. Haven't been able to correct even by adding the user to Administrators but can get around by changing...
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
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
10364
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
10172
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
10110
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
8993
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...
0
6750
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
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3670
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.