6 system assemblies still load slow after ngen update
I'm building a VS 2012 WPF app targeting .NET 4.5 Any CPU on Win7. I notice in the debug output window that the 6 system assemblies beloweach take ~3-4 seconds to load. This delay occurseach time I run...
View Articleuser account context
We have follwoing queries regarding "user Account Context"1) What is the meaning of "user account context"?2) What is the meaning of "the application runs under a user account context"?3) What is the...
View ArticleManaged C++ Unmanaged C++ Events Delegates and Function Pointers
I'm having difficulty subscribing to events from an unmanaged C++ class in a managed C++ class. I'm a C# developer wrestling with Interop and C++ is an alien environment so I'm possibly missing...
View Article.NET Runtime 2.0 Error, faulting module mscorwks.dll
i received a ".NET Runtime 2.0 Error" with an Event ID of 1000 that i don't understand and have been unable to reproduce. here is the error message:Faulting application serializer.exe, version...
View ArticleUnhandled Exception: System.Security.SecurityException:
I made a console application in Visual Studio that reads a flat file from our customer and updates the oracle database depending on the received data.I use streamreader / writer to read and write some...
View ArticleAbility to change reference without types check via DynamicMethod
Why using DynamicMethod allow to change reference without any types check? Is this known and explainable thing?using System; using System.Reflection; using System.Reflection.Emit; namespace Dynamics {...
View ArticleError System.Security.SecurityException: Request for the permission of type...
Hi Anyone has any idea on how to solve this problem Error System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib,...
View ArticlePortable Libraries and CLR fragmentation becoming more and more of an issue.
Hello,It seems the in ability to load of Portable Libraries as well as Silverlight libraries becoming more problematic everyday.I am one of the contributors of language called Nemerle....
View ArticleSystem.InvalidOperationException was unhandled
System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Retrieving the COM class factory for component...
View ArticleDefining required access rights for a service with ServiceController
Hello, I'm pretty sure this is straight forward I just can't seem to get it working. I have a service called serviceX and I want to control it from another application. The "control" is simply...
View ArticleVS2005 vb.net multi threaded application with MS SQL 2008 R2 as a database...
Dear All,We are working VS2005 vb.net multi threaded application with MS SQL 2008 R2 as a database. The application we are testing on Windows 7 (32 Bit) machine. Currently Following frameworks are...
View ArticleTypeInitializationException in a 64 bit Managed VC++ exe (for 4.5 Framwork)...
We have a Managed VC++ .exe (for 4.5 Framwork) file that was built using ILMerge. The exe is working perfectly fine when compiled with 32 bit platform configuration. However, we are getting the...
View ArticleHow to trace a specific request
Hi there,My scenario is: there is a asp.net application. a few end-users get very slow response. I need to know the time period of every steps/stack: how much time the IIS dispatch the request, how...
View ArticleWhat is 'clr!CLRSemaphore::Wait' ?
Hello,I have several production dumps where client is reported to just hang. Based on 'some' analysis, There are several threads (almost 3 to 4) whose top of the stack is clr!CLRSemaphore::Wait?Can...
View ArticleUsing WinRT's Photocapturedevice APIs into a Service
Is there a problem to call WRL/ WinRT APIs from a DLL? If yes, what, why? Is there a workaround? Why does my code work sometimes but crash sometimes? Call stack is as displayed below:0: kd> kb ***...
View ArticleIntegrate or convert C++ project to C#
I have a C++ visual studio project that generates an .exe that performs particular tasks .I want to integrate it and use it's methods in my C# application .Witch is the easiest way to accomplish this ?...
View ArticleList Of DateFormat supported by each locale
Hi Question about formatting the datetime string by passing dateformat and locale ID using ToString() function, 1. How many .net supported date formats available?2. Where do I get the list of...
View ArticleVS2010 vb.net multi threaded application with MS SQL 2008 R2 Database,...
We are working VS2010 vb.net multi threaded application with MS SQL 2008 R2 as a database. The application we are testing on Windows 7 (32 Bit) machine which has Framework 4.0 installed.While testing...
View ArticleHow to marshal safearray arguments when calling managed C# method from...
I'm trying to utilize an old application framework from managed C# code but I don't understand how to marshal the safearray argument which is forwarded to the managed code. Here is a code snipped...
View Articlew3w worker processes crashes
We have an old .net 2.0 web application. We need to make some code changes to it so I installed Visual Studio 2005 on my Windows 7 computer and configured everything I think needed to be configured....
View Article