Solved

interegating Excel - permissions problem

Posted on 2004-03-22
4
285 Views
Last Modified: 2008-02-01
Hi there,


Using ASP.NET and C#.
I'm having problems running the following line of code on my local machine

Excel app = new Excel.Application();

It's returning the following error:

The server process could not be started because the configured identity is incorrect. Check the username and password.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The server process could not be started because the configured identity is incorrect. Check the username and password

I presume it's using the ASPNET account ?   I've tried to give it permissions to the com object but still no joy.

Any ideas?
0
Comment
Question by:xloop
  • 2
  • 2
4 Comments
 
LVL 6

Expert Comment

by:DaniPro
ID: 10647934
For default the ASP.NET user hasn't the right for execute application (it's managed from Framework .NET).
You can see this link for more details of the .NET security
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/thcmch06.asp
0
 
LVL 1

Author Comment

by:xloop
ID: 10647995
Excuse my ignorance but how do i give execute permission????

I've read the link above but it still doesn't give much away.
0
 
LVL 6

Accepted Solution

by:
DaniPro earned 500 total points
ID: 10648048
0
 
LVL 1

Author Comment

by:xloop
ID: 10648092
Right..............still not exactly sure how to do it...........

????
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question