Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Misc .Net Runtime   (RSS)
You may encounter the following error if you are trying to build a ASP.NET application or web service on a x64bit machine where Sharepoint is installed: Error 1 Could not load file or assembly 'Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, Read More...
So I was upgrading a project from VS.NET 2003 to VS.NET 2005 (v2.0 of the framework) and I kept hitting this assert: " _CrtIsValidHeapPointer(pUserData) . " There were several postings out and about but they were all for previous versions of the framework, Read More...
The VS.NET SDK (a.k.a. VSIP package) lacks the wide spread use and documentation that other SDKs enjoy. To make a change to that here's a little snippet that shows you how to open the VS.NET webbrowser and browse to a particular page: IVsWebBrowsingService Read More...
So, I upgraded an existing ASP.NET (1.1) application today to ASP.NET 2.0. The upgrade had some warnings which seemed unimportant but it didn't matter since I had elected that the upgrade wizard make a backup of my application. Alas when I try to run Read More...
Server activated objects (SAOs both singleton and singlecall) use threadpool magic to execute remoting calls on thread pool threads. See ThreadPool.QueueUserWorkItem in the docs. Also note that you can change the # of thread pool threads…the default is Read More...
Please note that the identities mentioned in this story have been changed to protect the innocent. Any names that coincide with real life people is purely coincidental. So there I was, calmly working away when I get the phone call that started it all. Read More...
We generally use "caspol.exe -s off" as a quick test to determine if .NET framework security plays a part in problems with managed components. It used to be that sometimes people would forget to run "caspol.exe -s on" to turn framework security on. Imagine Read More...
For Instance: ActiveX control containers that support .NET controls - http://support.microsoft.com/?id=311334 I've known of the existince of Q311334 long before it was published. But to this day, I can never seem to find it when I need it. I have had Read More...
Thanks to rick for the title! We are seeing more and more people encountering: Q322975 BUG: Passing large quantities of data in .NET Remoting calls causes an unexpected exception to occur - http://support.microsoft.com/?id=322975 . As you can tell from Read More...
I was helping someone out with an issue the other day. Basically we were attempting to create an instance of an object within an AppDomain and then use that object. Unfortunately when casting the object from the object returned from CreateInstance to Read More...
At some point, for some reason, maybe because of Episode III (or maybe not), you’re going to want to white list an application within the Windows XP SP2 Windows Firewall from managed code. You can do this easily enough from VBScript by using this handy Read More...
If for some reason you need to show the Internet Properties dialog from your managed app you have two choices: 1. Launch the CPL file using the file association. The only caveat of doing this is that the dialog is modeless and will stay up even after Read More...
I have had the great opportunity to help out a customer of ours named Mike. Mike was getting a “Class Not Registered” error when attempting to create an instance of a DCOM object using Type.GetTypeFromProgID() and Activator.CreateInstance(). Things worked Read More...
Maybe you didn’t know, but you can generate a WSDL document for your remote object fairly easily. You can generate the contract XML directly or you can use soapsuds.exe to generate a proxy dll that you can share with your consumers. All you have to do Read More...
C:\Temp \ClassLibrary1\ClassLibrary1\bin>regasm ClassLibrary1.dll Microsoft (R) .NET Framework Assembly Registration Utility 1.1.4322.573 Copyright (C) Microsoft Corporation 1998-2002. All rights reserved. . Types registered successfully . C:\Temp\ClassLibrary1\ClassLibrary1\bin>regasm Read More...
More Posts Next page »
 
Page view tracker