Tagged Questions
3
votes
0answers
372 views
WebClient.DownloadString gives first chance exception
A call to WebClient.DownloadString gives a first chance exception:
IOException: The specified registry key does not exist.
For some time now I'm recieving first chance exceptions running our ...
2
votes
0answers
86 views
System.Runtime.InteropServices.COMException caused while terminating the app
I have an app with 2 pages calendar.xaml(start page) and historystatistics.xaml. Error is thrown when I navigate to historystatistics and back to calendar and then try to terminate the app by the ...
2
votes
0answers
53 views
C# exceptions global handler under interop scenario
First of all I am going to explain the scenario. We have a Visual C++ application with some C# projects and with some wrapper projects (managed C++) to get interoperability.
We need to be informed in ...
2
votes
0answers
103 views
WPF unhandled exception handler and preserve call stack
I have a WPF application and I need to write a mini dump file whenever my application encounters an unhandled exception for help with debugging. However, every time the exception handler is called, ...
2
votes
0answers
95 views
ExecutionEngineException in Windows Phone device during navigate to a page
I have a error of class ExecutionEngineException. When I navigate to page:
private void FriendsMainTxt_Tap(object sender, System.Windows.Input.GestureEventArgs e)
{
...
2
votes
0answers
119 views
Can't catch ActivationException with Prism NavigationAsyncExtensions 'RequestNavigate'
I am using Prism's NavigationAsyncExtensions method RequestNavigate on an IRegion:
// Attempt to navigate to the given view
try
{
_mainRegion.RequestNavigate(viewName);
}
catch
{
throw new ...
2
votes
0answers
238 views
Magento API throws an exception on successful login
In C# when connecting to the Magento API, it is throwing an excepion on successful login:
// connect to the first store
_magentoService = new MagentoService {Url = ...
2
votes
0answers
214 views
NLog Refuse to Throw Exception
Hello dear developers,
I encountered a weird problem with NLog,
I had a crash, but couldn't find a trace for the user activity in the logs.
i assume, Logging is not working...
tried searching for ...
2
votes
0answers
179 views
Invalid Path in Cookie constructor C#
When adding new aquired cookies from RestResponse I have strange problem with cookies from wiedzmin.wikia.com .
The Exception Message is
" The 'Path'='/wiki/Specjalna:Nowe_pliki' part of the cookie ...
2
votes
0answers
183 views
.net 4.0 threadpool exception
the below code throw below exception when compiled with .net 4.0 ,while complied with .net 2.0, it's ok, any guy encounter with me?, please kindly help(I didn't use DateTime in the callback function)。
...
2
votes
0answers
293 views
ReleaseHandleFailed on CustomLineCap.Dispose()
With MDA enabled in Visual Studio 2010, assistant constintenlty activates ReleaseHandleFailed on every CustomLineCap dispose, e.g.:
GraphicsPath gp = new GraphicsPath();
CustomLineCap clp = ...
2
votes
0answers
184 views
ReflectionTypeLoadException with null LoaderExceptions and null InnerException
What is the likely cause of a ReflectionTypeLoadException that has both a null LoaderExceptions property and a null InnerException property?
The MSDN documentation reads as if LoaderExceptions will ...
2
votes
0answers
330 views
Multiple-step OLE DB operation generated errors
I have a problem when openning an Access 2003 .mdb file using OleDbConnection.
The customer computer is running windows xp sp3(Just upgraded from windows xp sp2).
I checked this ...
2
votes
0answers
129 views
Unhandled Exception in C# , dnAnalytics class
What is the problem in the following code? I get an Unhandled Exception error, and I dont see "NOT A SQUARE MATRIX" output.
Unhandled Exception:
...
2
votes
0answers
247 views
MissingMethodException when applied generic type parameters to method that returns generic parameter
I have a method called DynamicInvoke that is as follows:
public static object InvokeDynamic(Delegate d, object[] args)
{
Type[] tparams = d.Method.DeclaringType.GetGenericArguments()
...