WS Development Kit (Technology Preview) Problem

From: Dejan Petrovic (dejan.petrovic@roymorgan.com)
Date: 11/15/02


From: dejan.petrovic@roymorgan.com (Dejan Petrovic)
Date: 14 Nov 2002 19:13:53 -0800


I am trying to test UsernameToken authorization and whatever I do, I
end up with the following message:
-------------
        Message "ReferralCache
(c:/inetpub/wwwroot/WebFormsWalkTrough/WSDKTestHost/referralCache.config)
load error: System.UnauthorizedAccessException: Access to the path
"c:\inetpub\wwwroot\WebFormsWalkTrough\WSDKTestHost\referralCache.config"
is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.FileStream..ctor(String path, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean
useAsync, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode,
FileAccess access, FileShare share)
   at Microsoft.WSDK.Referral.ReferralCache.Initialize(). Please make
sure the referral file name is correct, the file is not read-only, and
the user account of the service has read/write permission." string
----------------
According to the documentation this refferal cache is some kind of
intermediate file - obviously I am missing something in config files,
but what?
Regards,

Dejan Petrovic



Relevant Pages

  • The info you requested
    ... System.IO.__Error.WinIOError(Int32 errorCode, String str) at ... FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean ... bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, ... FileAccess access, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: UnauthorizedAccessException: Cant write to file, but I can read i
    ... > FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean ... > bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, ... > FileAccess access, FileShare share) at System.Xml.XmlDocument.Save(String ...
    (microsoft.public.dotnet.framework.aspnet)
  • Error accessing Documents and Settingsdefault.vol file ?
    ... at System.IO.__Error.WinIOError(Int32 errorCode, String str) at ... System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, ... FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath) at ...
    (microsoft.public.dotnet.framework.compactframework)
  • Unknown error in XmlSerializer
    ... String ... at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) ...
    (microsoft.public.dotnet.xml)
  • Re: File IO Error!!!
    ... > at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess ... > access, FileShare share, Int32 bufferSize, Boolean useAsync, String ...
    (microsoft.public.dotnet.languages.csharp)