another crash at startup

Jun 5, 2013 at 9:09 PM
Edited Jun 5, 2013 at 9:09 PM
Hello,
I am trying to get this running, downloaded the executable bundle and dlls, extracted both to one folder and installed .NET v4. Except for that it is practically new install of windows XP (SP3 and some development stuff)...
here's log:
------------------------------------
6/5/2013 11:00:24 PM
Assemblies:
Windawesome, Version=1.4.2.0, Culture=neutral, PublicKeyToken=null
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Microsoft.Scripting, Version=1.1.0.20, Culture=neutral, PublicKeyToken=7f709c5b713576e1
IronPython, Version=2.7.0.40, Culture=neutral, PublicKeyToken=7f709c5b713576e1
IronRuby, Version=1.1.3.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1
Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

OS: Microsoft Windows NT 5.1.2600 Service Pack 3
CLR: 4.0.30319
64-bit OS: False
64-bit process: False
Elevated: False
System.IO.FileLoadException: Could not load file or assembly 'file:///E:\BorlandXE\wm\windawesome\Layouts\TileLayout.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
File name: 'file:///E:\BorlandXE\wm\windawesome\Layouts\TileLayout.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at Windawesome.Config.PluginLoader.GetEngineForFile(FileSystemInfo file)
   at Windawesome.Config.PluginLoader.LoadAll(Windawesome windawesome, Config config, IEnumerable`1 files)
   at Windawesome.Config.LoadConfiguration(Windawesome windawesome)
   at Windawesome.Windawesome..ctor()
   at Windawesome.Program.Main()


Inner Exception:
System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
Coordinator
Jun 6, 2013 at 7:32 AM
Well, I have no idea what's going on. :) The log says "An attempt was made to load an assembly from a network location" - is this true? If so, you could try loading it NOT from a network location? Otherwise there's another link at the bottom you could try reading. I have no more ideas, sorry, I haven't seen this one.
Jun 6, 2013 at 11:08 AM
Edited Jun 6, 2013 at 11:19 AM
Eh, actually I see I made an error here (read as 'I am idiot').
_
Just to explain (not really important) I do have 2 drives - a local C and locally shared E. As you can see from the log first time I tried running from E:, but after seeing the log I tried to copy to the C an run from there. I am not sure why (probably because I am used to text editor automatically refresh edited files, and notepad did not do that), but I have not spotted the log from C disk and instead saw the old from E and thus assumed both crashes to be similar and posted the log I had in notepad at the time (the last I saw)._

Here's the correct log of the second crash. But it's duplicate with https://windawesome.codeplex.com/discussions/347967 and your proposed solution did work. Thanks!
------------------------------------
6/6/2013 12:26:13 PM
Assemblies:
Windawesome, Version=1.4.2.0, Culture=neutral, PublicKeyToken=null
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Microsoft.Scripting, Version=1.1.0.20, Culture=neutral, PublicKeyToken=7f709c5b713576e1
IronPython, Version=2.7.0.40, Culture=neutral, PublicKeyToken=7f709c5b713576e1
IronRuby, Version=1.1.3.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1
Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

OS: Microsoft Windows NT 5.1.2600 Service Pack 3
CLR: 4.0.30319
64-bit OS: False
64-bit process: False
Elevated: False
System.DllNotFoundException: Unable to load DLL 'SystemTrayHook32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at Windawesome.NativeMethods.RegisterSystemTrayHook32(IntPtr hwnd)
   at Windawesome.SystemTrayWidget.Windawesome.IWidget.StaticInitializeWidget(Windawesome windawesome)
   at Windawesome.Bar.<>c__DisplayClassc.<Windawesome.IBar.InitializeBar>b__1(IWidget w)
   at Windawesome.NativeMethods.ForEach[T](IEnumerable`1 items, Action`1 action)
   at Windawesome.Bar.Windawesome.IBar.InitializeBar(Windawesome windawesome)
   at Windawesome.Windawesome.<.ctor>b__8(IBar b)
   at Windawesome.NativeMethods.ForEach[T](IEnumerable`1 items, Action`1 action)
   at Windawesome.Windawesome..ctor()
   at Windawesome.Program.Main()
Inner Exception:
none
/Edit just one thing I would like to recommend you is to include somwhere visibly a brief list of default key bindings (with the important ones visibly marked as important)... reading them in source code is probably comfortable, but definitely not easily rememberable, nor easily findable.
Coordinator
Jun 6, 2013 at 11:31 AM
I'm glad you got it working! :)

Perhaps you are right about the key bindings, I just have no time... :) Thanks for the tip though!
Apr 24, 2016 at 4:04 PM
I think I have the same issue, except it's not helped by running off the C: drive.
------------------------------------
2016-04-24 18:02:15
Assemblies:
Windawesome, Version=1.4.2.0, Culture=neutral, PublicKeyToken=null
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Microsoft.Scripting, Version=1.1.0.20, Culture=neutral, PublicKeyToken=7f709c5b713576e1
IronPython, Version=2.7.0.40, Culture=neutral, PublicKeyToken=7f709c5b713576e1
IronRuby, Version=1.1.3.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1
Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

OS: Microsoft Windows NT 6.2.9200.0
CLR: 4.0.30319
64-bit OS: True
64-bit process: True
Elevated: False
System.IO.FileLoadException: Det går inte att läsa in filen eller sammansättningen file:///C:\Windawesome\Layouts\TileLayout.dll eller ett av dess beroenden. Åtgärden stöds inte. (Undantag från HRESULT: 0x80131515)
Filnamn: file:///C:\Windawesome\Layouts\TileLayout.dll ---> System.NotSupportedException: Ett försök gjordes att läsa in en sammansättning från en nätverksplats som skulle ha försatt sammansättningen i begränsat läge i tidigare versioner av .NET Framework. I den här versionen av .NET Framework är CAS-principen inte aktiverad som standard, så den här inläsningen kan vara farlig. Om den här inläsningen inte är avsedd att försätta sammansättningen i begränsat läge aktiverar du växeln loadFromRemoteSources. Mer information finns på http://go.microsoft.com/fwlink/?LinkId=155569.
   vid System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   vid System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   vid System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
   vid System.Reflection.Assembly.LoadFrom(String assemblyFile)
   vid Windawesome.Config.PluginLoader.GetEngineForFile(FileSystemInfo file)
   vid Windawesome.Config.PluginLoader.LoadAll(Windawesome windawesome, Config config, IEnumerable`1 files)
   vid Windawesome.Windawesome..ctor()
   vid Windawesome.Program.Main()


Inner Exception:
System.NotSupportedException: Ett försök gjordes att läsa in en sammansättning från en nätverksplats som skulle ha försatt sammansättningen i begränsat läge i tidigare versioner av .NET Framework. I den här versionen av .NET Framework är CAS-principen inte aktiverad som standard, så den här inläsningen kan vara farlig. Om den här inläsningen inte är avsedd att försätta sammansättningen i begränsat läge aktiverar du växeln loadFromRemoteSources. Mer information finns på http://go.microsoft.com/fwlink/?LinkId=155569.