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

Run time error in upgrading application from .NET 2.0 to 4.5.1

Hi! I'm trying to convert my application from .NET 2.0 to 4.5.1 but I got the with the run time version of my application.Could not load file or assembly '...dll' or one of its dependencies.This...

View Article


.Net Core execution flow - ProcessRequestNotification & FinishPipelineRequest...

Hi , This topic is in depth regarding architectural functionality of ASP.NET .  I am having a small ASP.NET web application that displays a chart when it is loaded. I do helper function call injection...

View Article


.Net Profiler - Choosing Entry Function and Exit function of a Request

Hi, I need to choose the entry point function and exit function point of a .Net web application . What is the correct entry point of the function which should be common to both Classic and Integrated...

View Article

.Net Profiler - Passing the reference to Helper function as argument

Hi,I am injecting my helper function into void FinishRequestNotification(IIS7WorkerRequest wr, HttpContext context, ref RequestNotificationStatus status)Here I am need the 3rd argument to be passed as...

View Article

Digital signature seems to remove Strong Name signature

I've an assembly in C++/CLI. This assembly is strong named, using Linker options, with a SN.exe generated Key.However, the same strongly named assembly, if it is digitally signed, using signtool.exe,...

View Article


CLR and RSA

Hi!I have a problem: Trere is WinForm. This WinForm decrypts and encrypts text. I have made CLR with code from my WinForm (It's scalar function. It forms text and calls CLR for encrypt/decrypt text)....

View Article

Convert a .PFX file to .SNK file

Hi all,Is it possible to convert an existing .pfx file to a .snk file with a public/private key in it ? SN.EXE seems only be able to generate a new key pair .snk file.

View Article

Get web response from System.Exception (Status Code)

I have a method that fetches data from a web service and does some other functions offline . I have put this code within try/ catch statements . Following is an example of what I'm trying to do . Is...

View Article


# of current logical Threads are increasing constantly

My colleague is working on a client/server project. The server software is listening on a particular port by using TcpListener class. At first, I finds the server software has performance problem which...

View Article


which net framework version application is using

Hi...If I have frmw 4.0 client profile....and my app is targeting that. If I install frmw 4.5 my app will be still using 4.0 from client profile  or 4.0 from 4.5 installation?

View Article

Garbage collector causes Excel to crash

Hi,I have an application designed to target .NET 4.0. The application registers some classes to COM.I use these classes from Excel VBA.When I throw a COMException from the application, Excel crashes,...

View Article

How do I verify that an assembly has an Enhanced Strong Name?

"sn -v myAssembly.dll" tells me if it has a strong name, but I don't know how to find out if it has an Enhanced Strong Name. A command-line solution is very much preferred, since that's easier to...

View Article

Enhanced strong naming from the command line

I found the information about how to do Enhanced Strong Naming from the command line at:https://msdn.microsoft.com/en-us/library/hh415055(v=vs.110).aspxThat looks like just what I need. I want to sign...

View Article


Profiling each and every methods in .Net web applications Cause overhead

I am doing .Net profiler by injecting helper function calls which will again call native function to log it. So each and every instrumented function will have the following as method body,FunctionA() {...

View Article

Trying to understand solutions with multiple projects that target different...

I have a solution with 3 projects.  Two of the projects target .NET framework 4.0 and the other one targets .NET framework 3.5. The two that target .NET 4.0 have reports that get generated and exported...

View Article


Image may be NSFW.
Clik here to view.

How to remove properties and personal information from a file (programmatically)

Hi everyone. When you click with right button in some file, and choose "properties", you can see the personal information of the creator in details tabs, like the screen below:All kind of files has...

View Article

RSACryptoServiceProvider error(s)

From a Windows From desktop application, Visual Studio 2008, framework 3.5I get errors trying to decrypt a message. I tried it different ways based on articles I found on the net, but I still have the...

View Article


Service Fails to start whenever I have code inside it to access app.config...

Hello,I have coded a windows service. It runs, starts, stops or works fine. But I am using hard coded configurable values in the code, which is not a good practice. I would rather use the App.config...

View Article

"The application failed to initialize properly (0xc0000022)." getting this...

I am runnning silktest application but sometimes while invoking the runtime.exe getting error "The application failed to initialize properly (0xc0000022)." How to debug why this error is coming...

View Article

Injecting the Helper function call with a Condition ?

Hi,I have a severe problem now. I need to handle the case where in a web request, few functions are being called more than a million times added together. SomeDotNetFunction() { //HelperFunc Enter Call...

View Article
Browsing all 1710 articles
Browse latest View live