Current location: Hot Scripts Forums » Programming Languages » ASP.NET » Permission denied when access excel obj


Permission denied when access excel obj

Reply
  #1 (permalink)  
Old 12-05-03, 02:18 AM
msrnivas msrnivas is offline
Newbie Coder
 
Join Date: Oct 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Permission denied when access excel obj

We're running a web application that's supposed to extract data from an
Excel sheet into a database. For this, we use an ASP pages. In the ASP page, we create a VB object. This is where the error occurs,
and it also happens if we use the Set obj = New Excel.Application
syntax.We installed the excel software in the server login as administrator.

In client machine if user(client) have the administrative previliges , when using IE asp page works fine .if user doesn’t have administrative previliges getting 'Permission denied' on the
creation of the Excel application object.

We've already tried to add the IUSR_-account to the Administrators group but still same problem.

In IIS under security tab if I change anon access user from IUSR to a domain account which is having administrative previliges its working fine. But I don’t want to do this.Instead of assigning administrative account is there any way to do or what previliges I need to run this excel object ?if I know this I can create one new account and I can assign this account in anonymous account.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script Conversion: Access Database/Now to SQL PaniXOH ASP 1 11-14-03 09:35 PM
not able to connect access databse via vb6.0 traceMe Visual Basic 2 10-31-03 11:37 PM
mysql to access aspuser25 Database 2 09-16-03 11:01 AM
importing data from MS Access to Excel using ASP craigger1 ASP 1 08-05-03 03:11 PM
Form to Excel markpilkinton Script Requests 1 07-11-03 04:17 PM


All times are GMT -5. The time now is 02:34 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.