|
Home > Archive > IIS Server Security > July 2006 > Exception from HRESULT: 0x800A0046
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Exception from HRESULT: 0x800A0046
|
|
| atuljoshi 2006-07-11, 1:32 pm |
| 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.
--
Atul
| |
| Ken Schaefer 2006-07-11, 1:32 pm |
| 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
"atuljoshi" <atuljoshi@discussions.microsoft.com> wrote in message
news:40B3B756-66C1-49A0-B7A5-BE0DEA3DDDF8@microsoft.com...
> 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.
> --
> Atul
| |
| atuljoshi 2006-07-11, 1:32 pm |
| HI Ken,
Thanks for reply,
Yes its based on NTFS system.
--
Atul
"Ken Schaefer" wrote:
> 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
>
> "atuljoshi" <atuljoshi@discussions.microsoft.com> wrote in message
> news:40B3B756-66C1-49A0-B7A5-BE0DEA3DDDF8@microsoft.com...
>
>
>
| |
| atuljoshi 2006-07-12, 1:26 am |
| 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
"atuljoshi" wrote:
[vbcol=seagreen]
> HI Ken,
> Thanks for reply,
> Yes its based on NTFS system.
> --
> Atul
>
>
> "Ken Schaefer" wrote:
>
|
|
|
|
|