|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Exception from HRESULT: 0x800A0046I 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 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 Show quoteHide quote "atuljoshi" <atuljo***@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 HI Ken,
Thanks for reply, Yes its based on NTFS system. -- Show quoteHide quoteAtul "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" <atuljo***@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 > > > 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 -- Show quoteHide quoteAtul "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" <atuljo***@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 > > > > > >
AD & ADAM together in harmony
IIS passing server credentials rather than user credentials Security templates and IUSR account log on locally IE does not offer to open item downloaded via https Can i make personal ssl cert from verisign's one? Basic Authentication for only one special user Credentials not passed on when using ASP.NET SelfSSL and multiple sites in IIS6? how can I stop attempted logons by hackers through IIS? Deleted certificate request |
|||||||||||||||||||||||