SciLor's Open Source Forums
http://forum.scilor.com/

FileFormatException
http://forum.scilor.com/viewtopic.php?f=54&t=470
Page 1 of 1

Author:  captainblye [ Fri Dec 17, 2010 7:51 am ]
Post subject:  FileFormatException

I upgraded to v 4.3 after getting the cowbell error, and now upon start up the application is throwing a system.io.fileformatexception

EventType: cl20r3 P1: scilors groovedownloader.exe p2:1.0.0.0 P3: 4D092589 P4 presentationcore p5 : 4.0.0.0 Pg 4ba1f865 P7: 44dd p*: 47 P9 : system.io.fileformatexception


I went back to 3.6, and it loaded fine...but got the cowbell error...so I copied all of the 4.6 DLLs over the 3.6 ones, and everything seems to be working just fine.

Author:  SciLor [ Fri Dec 17, 2010 6:13 pm ]
Post subject:  Re: FileFormatException

You will need the .net framework 4.0 to use the newest GUI!

Author:  captainblye [ Sat Jan 15, 2011 7:46 am ]
Post subject:  Re: FileFormatException

I have installed and reinstalled the .net framework 4.0, and I still get this error message.

Author:  SciLor [ Sat Jan 15, 2011 9:45 am ]
Post subject:  Re: FileFormatException

Please try to do a clean install of my app (unzip it into a new directory)

Author:  captainblye [ Mon Jan 17, 2011 4:23 pm ]
Post subject:  Re: FileFormatException

Unzipped to a new folder, same issue.
I found these two threads on MSDN:
http://social.msdn.microsoft.com/Forums ... 6074311c8/
http://social.msdn.microsoft.com/forums ... edcf7385b/

Which seem to indicate that WPF has an issue with using compressed images on XP.

Author:  SciLor [ Mon Jan 17, 2011 6:22 pm ]
Post subject:  Re: FileFormatException

It has problems with Icons, including an 256x256 compressed.
But I am not using such an image, it works fine on my clean install WinXP VM with .net 4.0 installed.
There must be a problem with your .net installation or you may have a corrupted install zip.

Author:  captainblye [ Tue Jan 18, 2011 6:23 am ]
Post subject:  Re: FileFormatException

Recompiled the source in visual studio express and I get:
System.IO.FileFormatException was unhandled
Message=The image format is unrecognized.
Source=PresentationCore
StackTrace:
at System.Windows.Media.Imaging.BitmapFrameDecode.EnsureThumbnail()
at System.Windows.Media.Imaging.BitmapFrameDecode.get_Thumbnail()
at MS.Internal.AppModel.IconHelper.GetBestMatch(ReadOnlyCollection`1 frames, Size size)
at MS.Internal.AppModel.IconHelper.CreateIconHandleFromImageSource(ImageSource image, Size size)
at MS.Internal.AppModel.IconHelper.GetIconHandlesFromImageSource(ImageSource image, IconHandle& largeIconHandle, IconHandle& smallIconHandle)
at System.Windows.Window.UpdateIcon()
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
at System.Windows.Window.CreateSourceWindowDuringShow()
at System.Windows.Window.SafeCreateWindowDuringShow()
at System.Windows.Window.ShowHelper(Object booleanBox)
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)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
at SciLors_GrooveDownloader.Application.Main() in C:\Documents and Settings\ShiverMeTimbers\Desktop\SciLorsGrooveshark.comDownloaderV0.4.8b.src\obj\x86\Debug\Application.g.vb:line 64
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.Runtime.InteropServices.COMException
Message=Exception from HRESULT: 0x88982F07
ErrorCode=-2003292409
InnerException:
i suppose I can try to uninstall .net & reinstall again.

Author:  captainblye [ Tue Jan 18, 2011 8:09 am ]
Post subject:  Re: FileFormatException

I downloaded the compact.dll, and rebuilt the solution, and everything seems to be working just fine.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/