473,398 Members | 2,113 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,398 software developers and data experts.

Using Excel in ASP.NET - Permissions. Windows 2003

We've been using Excel for our web apps for quite some time.

We're putting the apps on 2003 boxes now and have run unto an error with
Excel.

It just won't work <darn excel>.

It gives us the error "Access is Denied", which is the usual error that
is given when .NET doesn't have access to it.

***note I will never use <identity impersonate="true"/> **
So I load up DCOMCNFG as start the regular processes of giving users and
groups full access of Microsoft Excel Applicaion in the DCOM section.

I did the exact same process I did for the server 2000 machine... yet I
still get "Access is denied"

Here's what I did:
Select Microsoft Access Application -> Security Tab

Launch Permisions : Customize
Access Permissions : Customize
Configueration Permisions :Customize

Under all of them I give: ISAM, IWAM, ASP.NET, CurrentUser, and the
Adminuser account that logs into the system FULL control.
I go back to my website and refresh it... still access is denied.
This works on all OS's except 2003. Can anyone shed some light?

/RT
Nov 19 '05 #1
2 1403
The NETWORK SERVICE account is what your ASP.NET
requests run under by default as I recall.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.masterado.net

Earn $$$ money answering .NET Framework
messageboard posts at EggHeadCafe.com.
http://www.eggheadcafe.com/forums/merit.asp

"Ryan Ternier" <rt******@icompasstech.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
We've been using Excel for our web apps for quite some time.

We're putting the apps on 2003 boxes now and have run unto an error with
Excel.

It just won't work <darn excel>.

It gives us the error "Access is Denied", which is the usual error that is
given when .NET doesn't have access to it.

***note I will never use <identity impersonate="true"/> **
So I load up DCOMCNFG as start the regular processes of giving users and
groups full access of Microsoft Excel Applicaion in the DCOM section.

I did the exact same process I did for the server 2000 machine... yet I
still get "Access is denied"

Here's what I did:
Select Microsoft Access Application -> Security Tab

Launch Permisions : Customize
Access Permissions : Customize
Configueration Permisions :Customize

Under all of them I give: ISAM, IWAM, ASP.NET, CurrentUser, and the
Adminuser account that logs into the system FULL control.
I go back to my website and refresh it... still access is denied.
This works on all OS's except 2003. Can anyone shed some light?

/RT

Nov 19 '05 #2
Give it "NETWORK SERVICE acct as Robbe adviced"
And ur error would dissapear.
Patrick

"Ryan Ternier" <rt******@icompasstech.com> wrote in message
news:#L**************@tk2msftngp13.phx.gbl...
We've been using Excel for our web apps for quite some time.

We're putting the apps on 2003 boxes now and have run unto an error with
Excel.

It just won't work <darn excel>.

It gives us the error "Access is Denied", which is the usual error that
is given when .NET doesn't have access to it.

***note I will never use <identity impersonate="true"/> **
So I load up DCOMCNFG as start the regular processes of giving users and
groups full access of Microsoft Excel Applicaion in the DCOM section.

I did the exact same process I did for the server 2000 machine... yet I
still get "Access is denied"

Here's what I did:
Select Microsoft Access Application -> Security Tab

Launch Permisions : Customize
Access Permissions : Customize
Configueration Permisions :Customize

Under all of them I give: ISAM, IWAM, ASP.NET, CurrentUser, and the
Adminuser account that logs into the system FULL control.
I go back to my website and refresh it... still access is denied.
This works on all OS's except 2003. Can anyone shed some light?

/RT

Nov 19 '05 #3

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

Similar topics

0
by: Max Mayer | last post by:
Hello everybody, I have implemented a windows form in C# .NET to export data from a listbox to Excel. I work on a Windows XP machine with Office 97 and .NET framework 1.1 SDK installed. I use...
0
by: Max Mayer | last post by:
Hello everybody, I have implemented a windows form in C# .NET to export data from a listbox to Excel. I work on a Windows XP machine with Office 97 and .NET framework 1.1 SDK installed. I use...
7
by: JerryW | last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I first did a complete uninstall of .NET 2003, .NET Framework 1.1, and IIS. I also completely deleted...
5
by: Mike in Santa Rosa | last post by:
I'm trying to get a simple c# app built that can launch/manipulate an excel workbook, sheet. I've chased down several examples and can't any of them to work. So I must be doing somethnig obviouslt...
1
by: Screenbert | last post by:
After finding nothing anywhere in google I am posting this so everyone can benefit by it. The formating is not pretty since I copied it from my word document, but you should benefit by it. ...
0
by: screenbert | last post by:
Managing DHCP Servers using C# They said it was impossible. It couldn't be done. But you can in fact manage DHCP servers using C#. This includes creating and deleting Scopes, SuperScopes,...
1
by: anon1m0us | last post by:
Hi; I am waaayyy new at ASP so I am hopping someone can help me. I wrote an ASP that accepts input from a user. I need the input saved in different cells in an excel sheet. Everytime someone hits...
9
by: wendell_lucas | last post by:
Hi, I have an ASP.NET application that creates reports in Excel. It works fine in development but not on our production Windows 2003 server running IIS 6.0 Excel does not show up. I had a DCOM...
2
by: Gilbert Tordeur | last post by:
Hello, My Web application in VB2008 with IIS calls Excel (2003) to create an Excel file xls. I use therefore Microsoft.Office.Interop.Excel, version 11. This application does not use anonymous...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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...
0
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...

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.