Tagged Questions
5
votes
0answers
132 views
.net c# exception handling fails in 64 bit mode
I am facing a problem in my c# webservice application. Exceptions are not handled at a certain point anymore. The application simply stops without any further messages/faults exceptions. This is what ...
3
votes
0answers
100 views
WaitForDebugEvent() API on .NET application
I have a launcher application that creates a process and monitors it with the WaitForDebugEvent/ContinueDebugEvent API functions. That application is written i C++ and it works fine for the unmanaged ...
2
votes
0answers
162 views
Wcf streaming deserialization exception
I have a very strange problem when using streaming mode in wcf. Here are my server and client configurations.
Server config:
<system.serviceModel>
<services>
<service ...
2
votes
0answers
107 views
Cryptographic Exception when PKI SmartCard is removed in .NET
I am using X509 certificates for authentication. When the SmartCard is removed we sometimes encounter the following Exception (unfortunately I have to exception text only in german...)
"Ungültige ...
2
votes
0answers
129 views
ThreadAbortException in ASP.Net 4 leaking file handle?
Ocassionally if our file server is slow and the page doesn't finish by its timeout ASP.Net will hit it with a ThreadAbortException. If that happens inside the Win32Native.CreateFile it's leaving the ...
1
vote
0answers
81 views
Application Pool Error and ASP.NET error
Whenever we get the below error in the IIS7.5 which is running on windows 2008 R2 64bit OS
A process serving application pool 'app poolname' suffered a fatal communication error with the Windows ...
1
vote
0answers
92 views
CreateFile Fails for SymLink to File in Parent Folder
In reference to this question:
File.Copy() and Symbolic Links
I find that the line
SafeFileHandle fileHandle =
CreateFile(symlink.FullName, 0, 2,
IntPtr.Zero,
...
1
vote
0answers
131 views
COMException not triggering AppDomain.UnhandledException event
I have a console application with the code shown below (simplified):
public static void Main(string[] args)
{
AppDomain.CurrentDomain.UnhandledException += UnhandledExceptionTrapper;
...
1
vote
0answers
465 views
'ipAddr.ScopeId' threw an exception of type 'System.Net.Sockets.SocketException'
string ipAddress = "a.b.c.d";
IPAddress ipAddr = IPAddress.Parse(ipAddress);
IPEndPoint endPoint = new IPEndPoint(ipAddr, port);
EndPoint remote = (EndPoint)endPoint;
socket.ReceiveFrom(data, ref ...
1
vote
0answers
322 views
.NET assembly consumed by classic ASP works once then throws ObjectRefNotSetException
I have created a .NET assembly in VS2010 for a Vendor web app in Classic ASP to consume.
The assembly is compiled for .NET 3.5 (which is on the DEV computer)
I have a Local IIS Dev pc running ...
1
vote
0answers
51 views
Exception handling with messaging
I have a system that receives MSMQ messages and performs (close to) real-time analysis using NEsper. It is possible that some messages come late and perhaps in different order. This situation shall ...
1
vote
0answers
179 views
Can I hide http endpoints or https endpoints from the client depending on which protocol they want to use
I've followed various instructions from here to configure my WCF service to support both http and https. Basically, they've all pretty much pointed out that I need to duplicate my endpoints for each ...
1
vote
0answers
323 views
An error occur while loading from c:\temp.rdp
I am trying to open RDP from ASP.NET application.
i created a method to create .rdp file with connection parameters but when tried to run this method i got the following error :
An error occur ...
1
vote
0answers
72 views
Updates versus compile time debugging. How to stop the oddities?
Are we reduced to ClickOnce to manage our application state for our users?
We use our own installer and Visual Patch currently.
When our users update using our Visual Patch download (we can ...
1
vote
0answers
309 views
Enterprise library handlingInstanceId
can i get handlingInstanceId without using custom handlers (i'm using standard handlers).