Where are settings saved for WCF Service Applications?
Default Settings for a WCF Service Application are stored in the web.config file and are Read Only because only Application settings are allowed i.e. you cannot change the Scope from "Application" to...
View Article.net 4.5.2 crashes only in 64 bit mode
When AppPool is set to disallow 32 bit applications it crashes rapidly.Once every minute or so.I did collect a minidump, do i just attach it here or i need to submit a special ticket with Microsoft.All...
View ArticleLoading dll of same assembly name
In my application, I have two assemblies(third party) of different versions , publickeytoken but same assembly name in different app paths. For some of my projects the lower version of that dll is...
View ArticleVery URGENT in my PROJECT: Calling .NET assembly in Vb 6.0
Hi, I tried to call the .NET component from VB 6.0 application but the error from is Types registered successfullyRegAsm : error RA0000 : An error occurred while saving the exported type...
View ArticleVB.NET application memory useage
Hope for help.On two computers I have exactly the same application running.Computer 1 is a Win8 version and 2 is a Win7 prof.In terms of memory usage as seen in Taskmanager the same application behaves...
View ArticleMicrosoft Cryptography Next Generation CNG
Hi Guys, I developed a sample encryption application using Microsoft Cryptography Next Generation (CNG) in C++ using bcrypt.h header file. I tried using AES 128bit CFB mode. The cipher text generated...
View ArticleHow Can i use the key file Generated by RSACryptoServiceProvider to encrypt...
I need to be able to encrypt data in PHP using a public key generate by .NET(RSACryptoServiceProvider). I will then decrypt the data later in C# using the private key. Code...
View ArticleException Code:c0000409 Exception Data:0000000a
Hi,We have an application built on top of MMC. After installing the Windows update KB3000850(November 2014 Rollup update) in Windows 2012 R2,whenever we open the appliaction we are getting an error...
View ArticleImporting pfx into sn.exe and retrieving public key
Hi For delay signing, I am trying to use Certificate (pfx format) provided by Certificate authority.When I import the certificate in sn.exe usingsn.exe -i <pfx file name> <container...
View ArticleVirtual file transfer
Hi all, in my application i try to realise transfering virtual files to windows explorer, for these needs i use i have to implement IStream interface. Here is it's implementation on C#:public Class...
View ArticleExcel Automation in C# - Excel process won´t quit
Hi there,I´m using Excel automation with C#. When closing Excel, the Excel.exe process still remains in the Task Manager. I´ve tried all the topics that can be found, but Excel won´t quit. When I make...
View ArticleObject does not match target type when raising an event from c# to VB6
I have a c# .net DLL that I use from a VB6 app. It exposes an event,and the VB6 app is sinking it.The VB6 app is receiving the event, as long as it is raised from themain thread of the .net DLL.I have...
View Article.Net 4.6 RC x64 is twice as slow as x86 (release version)!
.Net 4.6 RC x64 is twice as slow as x86 (release version):Consider this piece of code:class SpectralNorm { public static void Main(String[] args) { int n = 5500; if (args.Length > 0) n =...
View ArticleWhy is the “Process ID” performance counter under “.NET CLR Memory” zero?
Under the ".NET CLR Memory" performance counter category, in Windows, there is a counter named "Process ID". Any given instance of this counter is supposed to return the Process Id of the Windows...
View ArticleHow to get the coreclr solution file?
I download the coreclr source code with zip format from the following url ,however I cannot find the coreclr solution file,I even run the build.cmd, however I still cannot find it...
View ArticleAwareLock::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 ArticleFailed to build C# project if it Strong Sign is enabled and it has Language...
Failed to build C# Windows Application if Strong name signing is enabled and this project has Language specific string resources embedded. Error: AL1044. In the AssemblyInfo.cs, I've assigned SN Key...
View ArticleHow do I assign an invoked method to a field in CodeDOM?
I have the following desired output: public partial class HomeClass { private UILabelDriver errorLabel; private UITextFieldDriver passwordText; private UIButtonDriver loginButton; private...
View Article.NET Runtime error in event log on running a a win32 process that uses a...
Description: Here is the exact error in eventlog:".NET Runtime version 4.0.30319.18033 - There was a failure initializing profiling API attach infrastructure. This process will not allow a profiler to...
View ArticleImpersonation throws unauthorized access exception
On my development machine when Impersonate a super user successfully impersonate as Kerberos type and File.Move successfully moves the file. Try exactly the same with a test user. same path and...
View Article