Exception from HRESULT: 0x800A0046
Exception from HRESULT: 0x800A0046
am 11.07.2006 09:16:02 von atuljoshi
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(O bject 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
Re: Exception from HRESULT: 0x800A0046
am 11.07.2006 09:38:58 von Ken Schaefer
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" 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(O bject 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
Re: Exception from HRESULT: 0x800A0046
am 11.07.2006 10:22:01 von atuljoshi
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" 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(O bject 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
>
>
>
Re: Exception from HRESULT: 0x800A0046
am 12.07.2006 06:27:02 von atuljoshi
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:
> 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" 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(O bject 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
> >
> >
> >