Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Browsing all 1710 articles
Browse latest View live

AccessViolationException with HandleProcessCorruptedStateExceptions not...

I am calling a third-party unmanaged DLL from vb.net (framework 4.5) and on rare occasions the third party DLL thows an AccessViolationExcpetion ("Attempted to read or write protected memory. This is...

View Article


PropertyChangedEventManager causes memory leak

I've an application where I'm not able to remove event handlers because I don't know when the last reference will be freed. My application contains a PropertyChanged event source that is put into a...

View Article


Windows 8 Bluetooth Low Energuy no API for BLE device to discovery and...

Above my titleThank you

View Article

CoCreateInstance error -2147221164 on Windows Server 2008

Greetings.We have some old code in our system and I'm trying to get it to work on a newer platform.  We have a C++ 6.0 dll that we call from an old MicroFocus COBOL application.  The C++ dll serves as...

View Article

Fully transparent custom CCW

I'm trying to attach a custom CCW to a managed object using Marshal.CreateAggregatedObject. This works fine. The problem is that I can't cast back to the managed object after a reference has been...

View Article


WeakEventManager and PropertyChangedEventManager causes memory leak

I've an application where I'm not able to remove event handlers because I don't know when the last reference will be freed. My application contains a PropertyChanged event source that is put into a...

View Article

Problem generating manifest. Insufficient memory to continue the execution of...

Hi,      I am using visual studio 2008 when i am start debugging some times it showing the errorProblem generating manifest. Insufficient memory to continue the execution of the program.for this again...

View Article

table doesn't have primary key (already tried other people's solutions, also...

Dim con As New OleDb.OleDbConnection    Dim da As New OleDb.OleDbDataAdapter    Dim ds As New DataSet    Dim sql As String    Dim pass As Integer    Dim cmd As New OleDb.OleDbCommand    Dim dr As...

View Article


Export managed function to unmanaged

Hi,I have a question about managed dll and i want to known if it is a good idea to modify the IL code in order to exports managed methods from dll.I have read the chapter 18 of the book "expert .net...

View Article


Clipboard.Clear() call causes explorer.exe to crash

We have an Excel VSTO AddIn which has a call to Clipboard.Clear().After the above call is executed once, explorer.exe keeps crashing randomly until the machine is restarted.This happens on Windows 7...

View Article

ServiceActivationException: Request cannot be dispatched because the virtual...

We are having a problem with our virtual application shutting down. Site is running ASP.NET 4.5, IIS 7.5Exception summary:System.InvalidOperationException: Request to the service at...

View Article

Windows service stable APPCRASH in clr.dll after 3.5 to 4.0 .NET platform change

I have windows service project created with .NET 3.5 some time ago. It uses managed class library with native code via PInvoke. Recently 4.0 .NET version of that class library was created. I had to...

View Article

AwareLock::Contention spin count

We're using Monitor.Enter to protect a shared data structure and we're seeing high CPU on a 24-core box. A profile shows that most threads are spinning waiting for a lock. No thread is doing extensive...

View Article


The error "configuration system failed to initialize" occurred

Hi When I converted and built the solution file that was developed by Visual Studio .net 2003 using Visual Studio 2005, the application program was abnormal-ended at the following step: m_TCPChannel =...

View Article

Perfview Exception Opening CPU Stack

When trying to open the CPU Stack for ETL data I've collected for my application (a Win32 application that has a mixture of managed and unmanaged code...if that matters), the following exception is...

View Article


code first approach

Hi,I am working on code first approach. I am having problem, How to convert the datatype of column using code first approach ? Please suggest me if anyone have idea.Thanks & RegardsRavideep Bansal

View Article

Assembly error for System.Management.Automation in .NET Framework 4.0, but...

I have a C# .NET Framework 2 application with the following configuration:<?xml version="1.0" encoding="utf-8" ?><configuration><startup><supportedRuntime...

View Article


VB.NET WebDAV standalone server implementation

Hello.    I'm currently developing a WebDAV server in VB.NET. The server I'm trying to build should be standalone, so no IIS, nor Apache,... I'm using the HttpListener class to wait for HTTP/WebDAV...

View Article

C++ project builds are failing with error MSB4014: The build stopped...

Recently our VS1010 solutions are failing with error MSB4014: The build stopped unexpectedly because of an internal failure.error MSB4014: The build stopped unexpectedly because of an internal failure....

View Article

What the returned ContextID from ICorProfilerInfo::GetThreadContext can be...

 I am coding a CLR profiler, want to get the TLS data, is there a way by profiler? Thanks.YongMing

View Article
Browsing all 1710 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>