473,387 Members | 1,510 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,387 software developers and data experts.

Access to the path "D:\Kevin's Web Apps\InternalSPHIR\Config\Resource.Config" is denied.

KQ
Hi,

I am getting the above error messsage and I can't work out why this is
happening.

I've checked what account the application is running on (using
System.Security.Principal.WindowsIdentity.GetCurre nt().Name) and it is
the ASPNET account.

I've given ASPNET account full permissions on the directories and
file, but I still get the error.

I'm running IIS 5 on a Windows XP Professional SP2 using ASP.NET
Version 1.1

If I give the Everyone group write permissions to the file then it
works okay but this is obviously is no good.

Any help on this issue would be gratefully appreciated.

Thanks,
Kevin.
Nov 18 '05 #1
1 1344
KQ
I have now solved this.

The problem was that there was an ASPNET account present in the
security listing of the file called domainname\ASPNET. I was assigning
the rights to this account when I should have been assigning the
rights to the machinename\ASPNET account.

I don't know if this is normal to have a domainname\ASPNET account,
maybe someone could shed some light on this?

Thanks,
Kevin.

ke***********@scieh.csa.scot.nhs.uk (KQ) wrote in message news:<e6**************************@posting.google. com>...
Hi,

I am getting the above error messsage and I can't work out why this is
happening.

I've checked what account the application is running on (using
System.Security.Principal.WindowsIdentity.GetCurre nt().Name) and it is
the ASPNET account.

I've given ASPNET account full permissions on the directories and
file, but I still get the error.

I'm running IIS 5 on a Windows XP Professional SP2 using ASP.NET
Version 1.1

If I give the Everyone group write permissions to the file then it
works okay but this is obviously is no good.

Any help on this issue would be gratefully appreciated.

Thanks,
Kevin.

Nov 18 '05 #2

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

Similar topics

0
by: xxx | last post by:
Hello, I get an error message: Global symbol "%Config" requires explicit package name at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/Errno.pm line 11. What does this mean?
3
by: Marek | last post by:
Hi there, my WinForm application has to be installed in "no-touch-deployment" mode, so users can run it from the web. I need to read application's .config file but it does not work in ...
1
by: Diffident | last post by:
Hello All, I have created my own custom configuration file. I would like to know about API available to read that config file. Since config file is nothing but an XML file, I could definitetly...
5
by: wolfgang wagner | last post by:
hi all! i'm trying to define a custom config section like described in the online help of VS2005: <configuration> <configSections> <section name="sampleSection"...
2
by: job | last post by:
In a sharepoint setup using smartpart to load our user controls using enterprise blocks (data) we are getting some strange errors (logged to the event log). We dont get the error all the time. When...
1
by: Morten71 | last post by:
in web.config in my dot net 1.1 web projects I have my connection strings in the appSettings section. I usually overruled values by referencing an external config file holding my devsettings like...
2
by: Morgan Cheng | last post by:
Without IIS configuration, is it possible to set "default page" in web.config? I am curious about that because I am developing in VS2005 with ASP.NET Development Server. I want to config it with...
8
by: ajos | last post by:
hi frnds, im trying to convert my servlets database configuration from ms access to mysql database.however im getting some error like no driver found exception. to verify this error ive...
3
by: zeenets | last post by:
Dear All, I make setup and deployment project in windows application. and use project primary output in setup. after installing on client machine my app.config file is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.