aspnet_regiis error when encrypting connectionStrings
I have a website whose domain is www.myWebsite.com and on my server it is located in a directory on my c: drive at the following physical path: c:\dirVirtual\myWebsiteI have a connection string...
View ArticleWhen dll loaded as a resource a cast in the dll code throws an...
I have an application that references about 12 dlls that are not part of the .net framework. I would llike to include one or more of these dlls in the exe. So, I am following Jeff's advice.I added a...
View ArticleCOM Interop, .NET inheritance and object instantiation
I'm seeing a very wierd problem on a client machine.We have an old legacy app and have to move to .NET to support new machines in our program.As always it works on the developers machines, but not on...
View ArticleNGen Questions #1install assembly while it is running - #2 recognize invalid...
Hi, I would like to use NGen to pre-compile my application (during the installation process). I already read a lot about that. But there are some questions left. After I have installed the native image...
View ArticleHow to convert WinEventProc's dwmsEventTime parameter to DateTime?
MSDN says it's the event time in milliseconds but I'm unable to convert it to .NET datetime format. Anyone knows how to do...
View Articleclr internal architeture detail
i want to know the depth internal work process flow an d architecture , means how its work and how its work when we declare a method and define the method and how return and alll this so help ...
View ArticleBC30456: 'InitializeCulture' is not a member of FIXES
Windows 2003 Server SP1, ASP.Net 2.0BC30456: 'InitializeCulture' is not a member ofHave a bug in your code but throws this error instead of the actual error? Or getting this error randomly? Or a...
View ArticleGC still pauses whole app under SustainedLowLatency LatencyMode despite it...
We are developing an application that needs to meet strict SLA for response times (order of milliseconds). Our app is well within those limits despite when GC pauses the app.We changed the app config...
View Articleadd column at the end of datagridview
I have datatable, 15 columns and bind datagridview to it in form load.DT.Columns.Add(New DataColumn("NUM", GetType(Integer))) DT.Columns.Add(New DataColumn("Name", GetType(String))) DT.Columns.Add(New...
View Articledifference between the mutex and semaphore
What is difference between the mutex and semaphore
View Articlecryptographic exception caught when using CngKey.Import(byteServerPubKey,...
i am trying to have client server communication for performing key exchange mechanism using ECDH. in my client program after receiving server public key it has to use its own public as well as server...
View ArticleStopped working CLR20r3
I'm running into the problem "A.exe" each time I start the program "A"Here is the details of the program. Description: Stopped workingProblem signature: Problem Event Name: CLR20r3 Problem...
View ArticleNET Framework 4.5:policy to allow full trust for all Intranet assemblies
Hello dear,Using new 4.5 Framework .NET I don't be able to se my user control hosting in a web page (client and server side both).In the past I fixed this problem following the instruction that I found...
View Articleusing sn.exe (strong naming tool) in a Windows CMD script and supplying the...
Hi,I need to call sn.exe (twice) as shown below:"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\sn.exe" -R MyInterop.dll My.pfx"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0...
View ArticleGetRawInputDeviceList (pinvoked from User32.dll) does not work if called in...
I'm working on an C# application that uses a 3DConnexion Joystick to control some external hardware that is attached to the computer. I decieded to use the Raw Input functions that may be found in...
View ArticleAssign strong name to third part DLL
Hi, I am using third party dll like companentart.web.ui.dll which is not assigned as strong name. I can't have any code for modification so how can assign strong name to third party dll. So please...
View ArticleInterfaces in c sharp
HI all,In c sharp, is it need to override all the abstract methods of an interface? Or can we override only required abstract methods?
View Articleclr exception 0xc0000409
My app crashed with an exception 0xc0000409. I use procdump.exe to generate a crash dump file. and found the faulting thread has the following stack trace:ChildEBP RetAddr 072cf04c 71d1df7c...
View ArticleStrong name validation failed in Win 7 (64)
Hi Guys,I am using two dlls one is signed and other one is not signed. These dlls are referenced and they work perfectly on win xp.But when I upgraded my System to win 7 they stopped working and I...
View ArticleHow to Most Effectively use C#.NET to communicate with COM Objects?
I've been given a task to write a series of C#.NET apps to communicate with a software product's COM objects. I've never done something like this before so naturally searched the Internet for tips...
View Article