I have a network resource, an XML file on which I have full access, in fact I open that file in Notepad I can change content as well.
But when I access the XML file through the XmlDocument.Load () statement, by running an XE under my default window credentials, this error fails below.
System.IO.IOException: Logon failure: unknown username or bad password System.IO .__ Error.WinIOError (Int32 errorCode, String maybeFullPath) on System.IO.FileStream.Init (string path, FileMode mode, using FileAccess, Int32 rights, Boolean useRights, fileshare share, Int32 BufferSize, FileOptions options, secAttrs SECURITY_ATTRIBUTES, string msgPath, Boolean bFromProxy, Boolean useLongPath) (string path System.IO.FileStream..ctor, use FileMode mode, FileAccess, fileshare stock, System.Xml.XmlDownloadManager.GetStream on Int32 BufferSize) (Uri uri, ICredentials System.Hreading.CompressedStack.RunTr credentials, System.Xml.XmlTextReaderImpl.OpenUrlDelegate IWebProxy Proxy on RequestCachePolicy Cache Policy System on System.Xml.XmlUrlResolver.GetEntity (URI absoluteUri, string role, type object object) on yCode (Object UserData) system. Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup (TryCode Code, CleanupCode backoutCode, UserData object) on System.Threading.CompressedStack.Run (CompressedS nail compressedStack, ContextCallback callback, object state) SystemkXmlkXmlTextReaderImplkOpenUrl (on System.Xml.XmlTextReaderImpl.Read system ()) on System.Xml.XmlLoader.Load (XmlDocument Dock, XmlReader Reader, Boolean preserveWhitespace). System.Xml.XmlDocument.Load (string filename) on Xml.XmlDocument.Load (XmlReader reader)
I do not know what could be wrong here all my same authorization people Exe can run fine.
No comments:
Post a Comment