Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / January 2006

Tip: Looking for answers? Try searching our database.

Excel - Access Denied

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim Heavey - 16 Jan 2006 18:21 GMT
Hello, I am using a generic AD Domain Account to create an excel spreadsheet,
but I am getting an "Access Denied" error when I attempt to instatiate the
excel object.  The generic account does  is set up in such a way that I can
not log on to the server with the account but it is a valid account as I have
used it in other applications.  The code works perfectly fine when I use my
own account ID and password.  So there is something about this account in
relationship to excel which is not set up correctly.  I seem to remember that
I got an error on my own account on the server if I had never started excel
under my own account, but I do not recall what the error was.  Since I can
not log on with this generic account, what would I need to do to prep the
account for the generic account (assuming that this is what the error is)?

Thanks in advance for your assistance
Kurt Farrar - 16 Jan 2006 23:02 GMT
When Excel is run for the first time it installs some settings for you. I
assume this would be stored in the Application Data folder of the user
profile on the server...

C:\Documents & Settings\user\Application Data

But there may be some registry settings that get written for the CurrentUser
as well.

A start if you don't want to log on with the user may be to copy the
contents of the Application Data folder for a user that has logged on in the
past across to the new user that can't log on.

Hope that this helps to point you in the right direction, let me know how
you get on.

Signature

Kurt Farrar
.NET Developer & Computer Enthusiast

> Hello, I am using a generic AD Domain Account to create an excel spreadsheet,
> but I am getting an "Access Denied" error when I attempt to instatiate the
[quoted text clipped - 9 lines]
>
> Thanks in advance for your assistance

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.