Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isolated storage issues #227

Closed
davidgladstone opened this issue Feb 3, 2014 · 7 comments
Closed

Isolated storage issues #227

davidgladstone opened this issue Feb 3, 2014 · 7 comments
Assignees
Labels

Comments

@davidgladstone
Copy link

I'm using ServiceInsight 1.0.0-beta5 and when I try to connect to a service control instance I receive the error message below. A similar message occurs when I try to set preferences.

Uninstalling and reinstalling does not fix the issue. Neither does running as administrator.

[General Info]
--------------------------
Application: 
Version:     1.0.0-beta5 Branch:'release-1.0.0' Sha:'cd08364c1fa2254cdf663feb7dd7d43cef5bd1d3'
Region:      English (New Zealand)
Machine:     D31603X5
User:        user.name
Date: 4/02/2014
Time: 12:17 p.m.

[Technical Details]
--------------------------
Top-level Exception
Type:        System.IO.IsolatedStorage.IsolatedStorageException
Message:     Initialization failed.
Source:      mscorlib
Stack Trace: at System.IO.IsolatedStorage.IsolatedStorageFile.Init(IsolatedStorageScope scope)
   at System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType)
   at NServiceBus.Profiler.Desktop.Core.Settings.IsolatedStorageSettingsStore.WriteTextFile(String filename, String fileContents) in y:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\Core\Settings\IsolatedStorageSettingsStore.cs:line 15
   at NServiceBus.Profiler.Desktop.Core.Settings.JsonSettingsStoreBase.Save[T](String key, T settings) in y:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\Core\Settings\JsonSettingsStoreBase.cs:line 13
   at NServiceBus.Profiler.Desktop.Core.Settings.SettingsProvider.SaveSettings[T](T settings) in y:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\Core\Settings\SettingsProvider.cs:line 77
   at NServiceBus.Profiler.Desktop.Shell.ServiceControlConnectionViewModel.StoreConnectionAddress() in y:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\Shell\ServiceControlConnectionViewModel.cs:line 105
   at NServiceBus.Profiler.Desktop.Shell.ServiceControlConnectionViewModel.<Accept>d__0.MoveNext() in y:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\Shell\ServiceControlConnectionViewModel.cs:line 73
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)


[Assemblies]
--------------------------
Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Autofac, Version=3.0.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da
Caliburn.Core, Version=2.0.0.61292, Culture=neutral, PublicKeyToken=8e5891231f2ed21f
Caliburn.PresentationFramework, Version=2.0.0.61292, Culture=neutral, PublicKeyToken=8e5891231f2ed21f
Castle.Core, Version=3.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc
DevExpress.Data.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.Xpf.Core.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.Xpf.Docking.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.Xpf.Grid.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.Xpf.Grid.v13.1.Core, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.Xpf.Layout.v13.1.Core, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.Xpf.LayoutControl.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.Xpf.Mvvm.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.Xpf.PropertyGrid.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.Xpf.Themes.Office2013.v13.1, Version=13.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DynamicProxyGenAssembly2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=a621a9e7e5c32e69
DynamicProxyGenAssembly2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
ExceptionHandler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
ExceptionHandler.Wpf, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a
Mindscape.WpfDiagramming.FlowDiagrams, Version=3.0.1315.22118, Culture=neutral, PublicKeyToken=c2e9c4ef235fd77f
Mindscape.WpfDiagramming.Foundation, Version=3.0.1315.22118, Culture=neutral, PublicKeyToken=c2e9c4ef235fd77f
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
Particular.ServiceInsight, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
PresentationFramework.Aero, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
PresentationFramework-SystemData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
RestSharp, Version=104.2.0.0, Culture=neutral, PublicKeyToken=null
Rhino.Licensing, Version=1.3.0.0, Culture=neutral, PublicKeyToken=0b3305902db7183f
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Messaging, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35


[System]
--------------------------
Operating System
  Microsoft Windows 7 Enterprise
     CodeSet = 1252
     CSDVersion = Service Pack 1
     CurrentTimeZone = 780
     FreePhysicalMemory = 12855668
     OSArchitecture = 64-bit
     OSLanguage = 1033
     ServicePackMajorVersion = 1
     ServicePackMinorVersion = 0
     Version = 6.1.7601

Machine
  D31603X5
     Manufacturer = Hewlett-Packard
     Model = HP Compaq Elite 8300 CMT
     TotalPhysicalMemory = 17120047104
     UserName = MYDOM\user.name


[Contact]
--------------------------
Email:  
Web:    http://www.particular.net
@dannycohen dannycohen added the bug label Feb 4, 2014
@dannycohen
Copy link

Hi @davidgladstone

Please try resetting the settings (See ServiceInsight Release Notes Troubleshooting section titled "ServiceInsight UI display is not responding").

Please let us know if this resolves the issue or not.

// CC @HEskandari , @joaquinjares

@davidgladstone
Copy link
Author

@dannycohen

The isolated storage directory referenced does not exist; creating it did not resolve the issue either. For some background I had a previous version installed under a different user account and the machine name on the domain was also different at the time. It's sounding like this is a framework related issue rather than ServiceInsight per se.

Any other ideas?

Regards,
David.

@davidgladstone
Copy link
Author

I've been searching around and it looks like this might be related: Code52/DownmarkerWPF#60 (see the related link at end of page as well) wherein the issue is related to roaming profiles (which my new user account uses).

I can see the IsolatedStorage directory on my roaming profile network share being created at app startup (having now deleted it in desperation) but there are no sub-folders created.

Is there a chance that Service Insight could be made to allow the option of using local appdata rather than forcing use of roaming?

@joj
Copy link
Contributor

joj commented Feb 4, 2014

@dannycohen, @HEskandari can we do "always local"? Or are we planning to support roaming users? IMHO, always local should be ok. Most of those settings have to do with layout, and that will change with different screen configurations anyway.

@HEskandari
Copy link
Contributor

@joaquinjares @dannycohen I have a recollection of this happening before. It is definitely related to how UNC paths work in IsolatedStorage. Although not all of the settings are related to screen/layout, but since it won't even work if the user is on roaming profile, I don't think using local profile is such a bad idea.

@dannycohen
Copy link

@HEskandari - thanks!

@davidgladstone - We'll do some tests, and send you the build so you can try it out. Let us know either way.

@dannycohen
Copy link

@davidgladstone - Apologies for the delay. We are working on some build server issues and will send a fix shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants