Groups | Blog | Home
all groups > iis security > july 2006 >

iis security : Exception from HRESULT: 0x800A0046



Ken Schaefer
7/11/2006 12:00:00 AM
Does the user account you are running the website as (typically Network
Service) have NTFS write permissions to the location on the C: drive where
you are trying to write the XML file to.

Cheers
Ken

[quoted text, click to view]

atuljoshi
7/11/2006 12:16:02 AM
Hi,
I was using windows 2000 server before with IIS-5. Now i am just sifted to
windows 2003 with IIS-6, In this i am facing problem with the ecurity
settings when i am trying to run a web site which is working fine on the
other 2000 server it gives me an error which is as follows :



System.Security.SecurityException: Exception from HRESULT: 0x800A0046
(CTL_E_PERMISSIONDENIED).

at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o,
Type objType, String name, Object[] args, String[] paramnames, Boolean[]
CopyBack)

at hotel.Service1.HC(String CityCode, String CityName, String dtt, String
dtt1, Int16 fhsng, Int16 fhdoub, Int16 fhtwin, Int16 fhtpl) in
C:\Inetpub\wwwroot\hotel\Service1.asmx.vb:line 211

at hotel.Service1.HC(String tCityCode, String tCityName, String tdtt,
String tdtt1, Int16 tfhsng, Int16 tfhdoub, Int16 tfhtwin, Int16 tfhtpl,
String tSearchValue, Double tComm) in
C:\Inetpub\wwwroot\hotel\Service1.asmx.vb:line 164


this error comes when i am tryng to create a new xml file on the c- drive of
my server.

please help me to solve this problem.
--
atuljoshi
7/11/2006 1:22:01 AM
HI Ken,
Thanks for reply,
Yes its based on NTFS system.
--
Atul


[quoted text, click to view]
atuljoshi
7/11/2006 9:27:02 PM
HI Ken,
My problem is solved i just gave the permissions to the administrator to
write any thing on the c drive of my machine
--
Atul


[quoted text, click to view]
AddThis Social Bookmark Button