Bug 562163

Summary: Tip of the Day fails
Product: [Mono] MonoDevelop Reporter: Marc Gravell <marc.gravell>
Component: generalAssignee: MD Bugs <monodevelop-bugs>
Status: RESOLVED DUPLICATE QA Contact: MD Bugs <monodevelop-bugs>
Severity: Minor    
Priority: P5 - None    
Version: 2.2 Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Windows 7   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: No
Marketing QA Status: --- IT Deployment: ---

Description Marc Gravell 2009-12-10 14:08:39 UTC
Click: Help -> Tip of the Day

It shows error dialog along with tip window; subequently, "Close" (on the tip window) doesn't work (but [x] does). Error details:

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\MonoDevelop\data\options\TipsOfTheDay.xml'.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)

   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)

   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)

   at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)

   at System.Threading.CompressedStack.runTryCode(Object userData)

   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)

   at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)

   at System.Xml.XmlTextReaderImpl.OpenUrl()

   at System.Xml.XmlTextReaderImpl.Read()

   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)

   at System.Xml.XmlDocument.Load(XmlReader reader)

   at System.Xml.XmlDocument.Load(String filename)

   at MonoDevelop.Ide.Gui.Dialogs.TipOfTheDayWindow..ctor()

   at MonoDevelop.Ide.Commands.TipOfTheDayHandler.Run()

   at MonoDevelop.Components.Commands.CommandHandler.Run(Object dataItem)

   at MonoDevelop.Components.Commands.ActionCommand.DispatchCommand(Object dataItem)

   at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(Object commandId, Object dataItem, Object initialTarget)
Comment 1 Lluis Sanchez 2009-12-10 18:25:45 UTC
Dup.

*** This bug has been marked as a duplicate of bug 550547 ***