How to deploy .NET 4.5 Web Application on IBM i5 operating server ?
Hello Everyone,I have a requirement of deploying my .net 4.5 web application on my clients IBM I5 operating system.I would like to know that is it possible in first case to deploy a .net application on...
View ArticleHow does the whole .NET CLR fit together?
Hi,I'm looking for a good map of how the .NET CLR is made up and how this all maps to the sourcecode available. More indepth then this one: https://i-msdn.sec.s-msft.com/dynimg/IC112166.gif Here some...
View ArticleGot "System.Data.SqlClient.SqlCommand:ExecuteReader" twice in...
I am seeing something weird my .Net Web application. The below is my code SqlConnection myConn = new SqlConnection(@"Server=192.168.2.2;Initial Catalog=sss;User ID=dsd;Password=sdd"); SqlCommand...
View ArticleWhy are the .NET compilers not as smart of the C++ one?
Last weekend, I enjoyed a (very) heated Java vs C# argument between some of my friends. C++ folks also pitched in for good measure and I had over an hour of good entertainment. The C++ folks had...
View ArticleYellow exclamation mark in references: What does it mean
In my c# project, i have references to c++/cli and native c++ projects under "references". (i need to have them there, in order to be able to use msbuild on my solution from the command line.). all of...
View ArticleStrange issue with LayoutKind.Explicit
Hello,I created an explicit structure as below:Code Snippet: Version A[StructLayout(LayoutKind.Explicit)]public struct ExplicitStruct{ [FieldOffset(0)] public short mShort; [FieldOffset(2)]...
View Articlelanguage problem
I recently downloaded visual studio 2013, I created a program with a dialog box containing a combo box. I uploaded data to the combo box. If I sent 1 character everything was displayed ok, if I sent...
View ArticleHow to proper handling exceptions within a class library?
I read the article Vexing exception about exception handling and I understand the guidelines to determine which exceptions you need to catch and handle, but I would like to better understand how to...
View Articlec# TheadPool and HttpListener issue
our application is currently running a little https service. Sometimes the application is unexpectedly crashing. The problem occurs in the loop method and it seems, that the exception cannot be caught....
View ArticleFunctions to know it is begin and end of a .Net web request
Hi,I am injecting my helper function calls to the web application requests to calculate the request time and to profile slow calls. Can i know what are the correct functions to choose for the beginning...
View ArticleGrant FullTrust to network share and the assemblies in the subdirectories
Hello dear community, we developed a Windows-Forms application (lets call it "winClient") in .net 3.5.The application and configuration The winClient.exe-file is located in a network share...
View ArticleInjecting assembly attributes into assemblies created from .NET modules using...
The assembly linker (al) has various options for injecting specific assembly attributes into its output assembly (e.g. /company etc.). However I cannot find a way of injecting other arbitrary assembly...
View ArticleHow to force an application crash when AccessViolationException is detected
(As posted here: http://stackoverflow.com/questions/28607015/how-to-force-an-application-crash-when-accessviolationexception-is-detected)We use an automated crash reporting tool (namely...
View ArticleCLR exception - code e0434352
w3wp.exe process has been crashing with the same stack trace almost every day.I tried to analyze the dump file but I could not find the root cause of the problem.Can someone help me in this problem...
View ArticleCOM Type Library imported to .NET not fully functional
HelloThis is my first MSDN question ever :-)I have an old COM type library file (.tlb) containing various structs, interfaces and also method declarations for calling methods in ole32.dll, oleaut32.dll...
View ArticleClass objects storage.
Hi,In which part of memory are class objects (objects that represent a Class, not the objects of the class) stored? stack or heap?If stored in heap, how does CLR keep track of the reachability of those...
View ArticleMonitor .NET Windows Application CPU(Core) Usage
Hello,Is there any way to monitor and store number cores used by particular Windows based application developed using .NET Framework 4.5?I remember using Performance Monitor, its possible to record...
View ArticleUn-installing VS2008 after upgrading all Apps to VS2013
I have upgraded all my applications from VS2008 Std to VS2013 Pro, except for one. It is a VS2008 ClickOnce app that I need to use until I've worked out the bugs with the VS2013 converter app. it has...
View Article.Net profiler - Incorrect entry calls logs during profiling MVC .NET web app.
Hi,I am profiling .NET web applications by injecting my helper functions calls only to public methods and classes.I am getting a reasonable log for .Net applications without MVC as below...
View ArticleReport Viewer
Well this is odd...I have a Microsoft Report in my application which usually works... however on the odd occasion (when we need it most!) it throws the rather spurious error 'The source of the report...
View Article