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

Returning an NTSTATUS to an unmanaged caller from .NET

Hi,I'm currently trying to implement a Sub Authentication package for kerberos logons, and this requires getting Windows to call a DLL of mine (by entering the DLL name in a specific registry entry). I...

View Article


Why Garbage collector has only 3 generations adn how GC allocate memeory to...

Hello All,I have very basic question about GC, I am learning about GC and I know about its execution algorithm of generation 0 to generation 2.I have below two questions about GC .1. How GC decide the...

View Article


System.ArgumentNullException: Value cannot be null. Parameter name: connection

 I have migrated my web site files from Windows server 2003 to windows server 2008 r2.We are using database from azure and connect to it.when the user tries to login to the website with their usernames...

View Article

No matching constructor found on type 'Session.Resources.Strings'. You can...

I've got a strange problem with Visual Studio 2010 (4.0.30319 SP1 Rel) and not even sure where to start on it.I've got a fairly simple WPF solution, that doesn't do anything out of the ordinary (MVVM...

View Article

Generate Hexadecimal digest for an SHA512 hash.

Hello and thank you for having a look at my question. Today I have begun playing around with System::Security::Cryptography and have been trying to generate a hexadecimal digest for an SHA512 hash, but...

View Article


Is it possible my application is loading NativeImage and JIT versions of dll's?

When looking at my application startup with Fusion, I see the same dll seemingly loaded multiple times:From the 'default' pane of fusion logger:*** Assembly Binder Log Entry (06/05/2013 @ 6:56:56 PM)...

View Article

I am struggling to pass array of Struct from c # to Fortran. Please provide...

I have been struggling to pass struct array from C# to Fortran. Please can someone provide me sample code. 

View Article

Getting error CLR20r3 on previous working application

Hi, I have a VB application which will not run on a W2008R2 terminal server but works fine on other PCs. This application ran fine till recently. All PCs run the application from a common network...

View Article


System.ComponentModel.Win32Exception "Access Denied" retrieving process...

Hi everyone.I am encountering an issue when trying to get other processes informations from my app. This app is an "updater". When it starts, it checks if the process to update is running. And here is...

View Article


Custom role provider in a console application

Hello,I have written a role provider which assumes Windows authentication and so far works well with WCF services and ASP.NET. Is it possible to use it also with a console/WPF/WinForm applications? I...

View Article

Custom code access permission throws SecurityException with message “Failure...

Hello,We have a pretty elaborate authorization system which requires the use of a custom permission somewhat similar to PrincipalPermission. I followed all suggestions on MSDN and looked at the code of...

View Article

The exception 'System.OutOfMemoryException'

System Specification - Windows 7 [ 64 Bit ]"APPLICATION" - Its Running as a 32 Bit Application in Same EnvironmentBuild -  " APPLICATION " - Its Build on 32 bit machine with visual studio 2002 &...

View Article

.Net assemblies not properly signed by microsoft

I am trying to validate the signature of the calling assemblies in my application.One of the steps I am taking is verifying the calling assemblies are properly signed, using...

View Article


CLR

what's CLR 'S mechanism?

View Article

String Comparision

What is the fastest way to check the Equality of strings in .Net? As per msdn we need to Explicitly use stringcomparision.ordinal to have a increase speed, but it seems to be wrong in this case.Without...

View Article


Error in Windows Service - The process was terminated due to an internal...

Hi,We got this error on a preproduction environment, on a windows service that was previously running in a stable fashion.This crashed the service causing an outage.Found this...

View Article

Image may be NSFW.
Clik here to view.

Where does .NET store its data?

[Newbie alert]I am developing my 1st. .NET application, myApp.exe which was having an awful performance. After learning about .NET profilers, I narrowed down the problem to a long-running function,...

View Article


Bad Image format

Hi guyzWhen I compiled ILASM Code to exe file My code is.method static void main() {    .entrypoint    .maxstack 1    ldstr "Hello world!"    call void [mscorlib]System.Console::WriteLine(string)...

View Article

DynamicMethod disassembling

I'm currently evaluating the power of DynamicMethod to create an environment that based on user input can create more or less volatile methods.The user input finally forming these methods may be buggy...

View Article

Application Hang When Call System.Runtime.InteropServices.GCHandle.Free()

In Device.Service.exe__PID__324__Date__04_26_2013__Time_10_40_01AM__291__Manual Dump.dmp GC is running in this process.The Thread that triggered the GC is 108The following threads in...

View Article
Browsing all 1710 articles
Browse latest View live


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