Re: Exception from HRESULT: 0x800A0046



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@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:40B3B756-66C1-49A0-B7A5-BE0DEA3DDDF8@xxxxxxxxxxxxxxxx
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


.



Relevant Pages

  • Re: SBS 2003 R2 Update Errors
    ... title Windows Small Business Server Setup ... Installing Windows Small Business Server 2003 ... string was not in a correct format. ...
    (microsoft.public.windows.server.sbs)
  • SQL Connection Problem
    ... An error has occurred while establishing a connection to the server. ... database location within the applications App_Data directory. ... Boolean& failoverDemandDone, String host, String failoverPartner, String ... user, String password, Boolean trusted, String connectionString) +68 ...
    (microsoft.public.dotnet.framework.aspnet)
  • server-side JavaScript: Prototypes of built-in classes, objects and functins
    ... Session object (disk-based session variables for data persistence ... File class (manipulation of files on server, ie. open, close, read, ... //Methods Cgi.queryCgi.postCgi.anyby default return an empty string if requested var not found ...
    (comp.lang.javascript)
  • Re: App_data - ASPNETDB.MDF
    ... is only because I want my site work, without exception. ... Server Error in '/' Application. ... serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SSP backup
    ... 2)MOSS_SETUP_FARM is a dbo on the config database. ... Application Server Administration job failed for service instance ... name, ApplicationPoolIdentityType identityType, String userName, SecureString ... password, TimeSpan idleTimeout, TimeSpan periodicRestartTime) at ...
    (microsoft.public.sharepoint.windowsservices)