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" <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
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. --
HI Ken, Thanks for reply, Yes its based on NTFS system. -- Atul [quoted text, click to view] "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... > > 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 -- Atul [quoted text, click to view] "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" <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 > > > >
Don't see what you're looking for? Try a search.
|