I use the AdMediation Control (v 2.0) from Microsoft for my Windows 8.1 Store Application. I added "Microsoft Advertising" via "Connected Service...".
I added the Id and the Name to the AdMediatorControl and configured the "Connected Service".
When I now start my application and the ad should load, I get this error, after I enabled native Debugging in the Project:
Exception thrown at 0x00007FFD4E38A1C8 in ClientWindowsUI.Windows.exe: Microsoft C++ exception: Platform::COMException ^ at memory location 0x000000FF7D4FF070. HRESULT:0x80070002 The System cannot find the mentioned file
WinRT information: The System cannot find the mentioned file
Stack trace:
[External Code]
UniversalXamlAdControl.Windows.dll!00007ffd0d292b96()
UniversalXamlAdControl.Windows.dll!00007ffd0d2d43d1()
[External Code]
If there is a handler for this exception, the program may be safely continued.
Remark to quote: I translated the German Message "Das System kann die angegebene Datei nicht finden" to "The System cannot find the mentioned file"
Has anybody an idea what can be the Problem?
Related
If I run the App on my pc from visual studio or from outside of VS, after compiling with the installer package and installing it, in my pc works ok but if I install it on other pc, then I get this error and don't start
"Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately
Could not load file or assembly "filename.dll" or one of its dependencies. The specified module could not be found."
Note: "filename.dll" is located in to the main folder with app.exe file after installation
Error From Windows Event Viewer
Application: myapp.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ComponentModel.Win32Exception at System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams) at System.Windows.Forms.Control.CreateHandle() at System.Windows.Forms.Form.CreateHandle() at System.Windows.Forms.Control.get_Handle() at myapp.Form1+KeyHandler..ctor(System.Windows.Forms.Keys, System.Windows.Forms.Form) at myapp.Form1..ctor() at myapp.Program.Main()
any ideas about that?
I found the solution, some dll files are missing that this one uses, I know which ones are used with the dumpbin /imports filename.dll command, so I downloaded all those and it worked
I have an UWP application which is working fine on various machines but on one particular machine, it is crashing silently.
When I debugged the installed app through visual studio I figured out that it is not getting the resources on the XAML file e.g
{ThemeResource ComboBoxDropdownContentMargin}
{Binding TemplateSettings.DropDownContentMinWidth, RelativeSource={RelativeSource Mode=TemplatedParent}}
The Output window is showing the following exception
Exception thrown at 0x751641E8 (KernelBase.dll) in
myapplicationnamechanged
.exe: 0x40080201: WinRT originate error
(parameters: 0x80004005, 0x00000046, 0x05CDC7A8). Exception thrown at
0x751641E8 (KernelBase.dll) in Infonet.CStoreCommander.UI.exe:
0x40080201: WinRT originate error (parameters: 0x802B000A, 0x0000005C,
0x05CDC73C).
120|2018-11-28T14:45:50.1043744+00:00|INFO|2|App|.UnhandledExceptionHandler
line:59 Unhandled Exception -->
Windows.UI.Xaml.Markup.XamlParseException: The text associated with
this error code could not be found.
Cannot find a Resource with the Name/Key ComboBoxDropdownContentMargin
[Line: 0 Position: 0] Unhandled exception at 0x0F7F2DEB
(Windows.UI.Xaml.dll) in Infonet.CStoreCommander.UI.exe: 0xC000027B:
An application-internal exception has occurred (parameters:
0x116F1BA8, 0x00000004).
As per this MSDN documentation ComboBoxDropdownContentMargin was made availalbe from Windows 10, Version 1511 (Windows SDK version 10.0.10586.0).
So if you are running your App which has Version lower than the supported version, in that case, it will throw an exception.
i am trying to launch narrator.exe from my c# code in visual studio but it continuously throws an exception . the code which i am using is
:: " Process NarratorProcess = process.Start(#"C:\Windows\System32\narrator.exe");"
but it continuously throws an exception saying ::
threw exception:
System.ComponentModel.Win32Exception: The system cannot find the file specified
however the file is present in the specified location . I googled and found it may be due to windows file system redirection as in this article System.ComponentModel.Win32Exception when starting process - file not found, but file exists and also followed the steps mentioned there but still it doesnot work. Can someone help me out .
i'm stuck.
I upload my umbraco 7.1 site which i develop on visual studio 2012 thorough FTP to my server.
I created an Application Pool which work with .net framework 4.0.30319.
I start the site in the IIS and try to check it in the browser and i got this error:
Could not load file or assembly 'UrlRewritingNet.UrlRewriter' or one
of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load
file or assembly 'UrlRewritingNet.UrlRewriter' or one of its
dependencies. The system cannot find the file specified.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to
determine why the assembly 'UrlRewritingNet.UrlRewriter' could not be
loaded.
WRN: Assembly binding logging is turned OFF. To enable assembly bind
failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There
is some performance penalty associated with assembly bind failure
logging. To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].
Please help me to understand what should i do.
thanks,
Ido.
Seems like your Visual studio has not uploaded all DLL's from the BIN directory.
I would try to check using a FTP client whether all DLL's (in the bin folder) are uploaded.
I submitted an update of my app to the windows store and it failed certification because of crash.
I received a triagedump.dmp file from them.
I opened the file with windbg and loaded sos and mscordacwks dll's and typed !analyze -v
I got
MANAGED_OBJECT_NAME: SYSTEM.NULLREFERENCEEXCEPTION
MANAGED_STACK_COMMAND: !pe 2931590
So i did !pe 2931590
Exception object: 02931590
Exception type: System.NullReferenceException
Message: <Invalid Object>
InnerException: <none>
StackTrace (generated):
SP IP Function
050CE81C 6E653202 YoutubeMP3Converter_ni!UNKNOWN+0x9a
050CF58C 6F1DE6FF mscorlib_ni!System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(System.Object)+0x33
050CF594 6CA313D4 System_Runtime_WindowsRuntime_ni!UNKNOWN+0x24
0A43F964 6F0E2607 mscorlib_ni!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()+0x17
0A43F96C 6CA5E728 System_Runtime_WindowsRuntime_ni!UNKNOWN+0x28
0A43F970 6E9ECB6A mscorlib_ni!System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)+0x3e
0A43F978 6EA02407 mscorlib_ni!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)+0xa7
0A43F9E4 6EA02346 mscorlib_ni!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)+0x16
0A43F9F8 6EA0DE60 mscorlib_ni!System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()+0x60
0A43FA0C 6EA0D609 mscorlib_ni!System.Threading.ThreadPoolWorkQueue.Dispatch()+0x149
0A43FA5C 6EA0D4A5 mscorlib_ni!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()+0x5
I don't know the UNKNOWN part of YoutubeMP3Converter_ni!UNKNOWN+0x9a
So i don't have the YoutubeMP3Converter.ni.exe file they used.
I also tried to use my YoutubeMP3Converter.exe but he said that there is a mismatch with the memory image header en the file image header.
So what are my options here?
- Can I create the .ni (native image) version of my exe.
- How can I get the correct YoutubeMP3Converter.exe? Do I have to take it out the appxupload package?
- Can I create my windows store app with options if it crashes that it creates a full dump instead of a triagedump (minidump) ?
I know what the exception is but I don't know where it happens as I don't have the full stacktrace :(.
UPDATE - found it
You can find the matching .exe to load as img in windbg in AppxUpload package which is send when you upload your app to the store. Then WinDbg has enough info to show the correct symbols which will lead you to what class/method the exception was thrown.