----An error occured----
Cannot create instance of 'SeasonPlaner_H' defined in assembly 'PCM_SeasonPlaner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error in markup file 'Pages/SeasonPlaner_H.xaml' Line 1 Position 7.
----Inner error----
Exception has been thrown by the target of an invocation.
----Inner error----
Could not find file 'C:\Users\Owner\Desktop\dec\PCM_Planner\UCI_Buttons\Unknown_C.png'.
----Stacktrace----
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)
at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
at System.Windows.Media.Imaging.BitmapFrame.Create(Uri bitmapUri, RequestCachePolicy uriCachePolicy)
at System.Windows.Media.Imaging.BitmapFrame.Create(Uri bitmapUri)
at PCM_SeasonPlaner.Pages.SeasonPlaner_H..ctor()
This happens whenever I try to access the sesaon planner part..
There is only one way to solve it and I told you where you get the files. Now put the file into the correct folders and it will work. The images obviously belong to the folder UCI_Buttons, the season planner in the main folder. Do not forget to unzip them.
Lachi wrote:
There is only one way to solve it and I told you where you get the files. Now put the file into the correct folders and it will work. The images obviously belong to the folder UCI_Buttons, the season planner in the main folder. Do not forget to unzip them.
No,
That is not the solution. I was missing an UCI button for TopConti_1_3 which wasnt included in your images pack for the uci buttons...
Lachi wrote:
MacC is missing the image "Unknown_C.png". Why do you tell me that you have the SAME problem if you are missing an OTHER image?
How should I be able to help you if you don't tell me what your problem is? Upload your DB and I have a look.
Cause it first said that the unknown_C.png was missing. I downloaded the UCI_Buttons pack and a new error came up...
I was able to fix it by copying another image and rename it. (The missing file was TopConti_1_3.png) it works fine now but it would be nice if you could upload that image cause now i only have the unknown picture renamed...
Edited by miggi133 on 10-04-2011 12:34
You are playing with a DB which has a strange stage definition. I don't have such an image because I am not able to create pictures for unknown stages somebody might come up with.
If you would upload the DB or the save then I could have a look.
Lachi wrote:
You are playing with a DB which has a strange stage definition. I don't have such an image because I am not able to create pictures for unknown stages somebody might come up with.
If you would upload the DB or the save then I could have a look.
Well its the pcmdaily db V2 with 4 added teams other than that its the original db...
Look, the last digit in the picture name stands for the stage type, TopConti_1_1.png would mean flat stage, TopConti_1_2.png means hilly and TopConti_1_4.png is mountains. I have no clue what the 3 stand for.
Are you playing with variants and did you reach the next year in the career? If yes, then it is an error in the variants.
Anyway, I cannot create pictures for all errors other people make. Your fix is as good as any picture I would make.