Welcome to L-Space Design Forums Sign in | Join | Faq

Most Recent Posts


MSSQL COLUMNS_UPDATED() function does not work as specified

You've probably read a bunch of stuff about using COLUMNS_UPDATED, and if you've ended up here, it's not working for you properly. Here's a snippet from an APRESS book on using COLUMNS_UPDATED() SELECT ColumnName = [column_name] FROM INFORMATION_SCHEMA.COLUMNS...
November 26, 2008 by Roger Willcocks

Importing User Controls into WSS 3.0

This is insane. I have a user control test.ascx. It is a valid user control, containing nothing but a string of text to display. In an ASPX page derived from the Sharepoint base page type, it displays perfectly happily as a web part. I put a copy...
April 30, 2008 by Roger Willcocks

Fun with Access 2003 Runtime and Digital Signing

So, I have this customer upgrading from Access 97 runtime to Access 2003 runtime for an application I support. After a few days of dev and testing, we sign it with a self signed certificate, generate the MDE file, and get ready to put it on a production...
April 24, 2008 by Roger Willcocks

Fun with Exchange 2007 Push Notifications

Now, you would think this should be pretty straight forward by now. But it's not. Scenario: I am subscribed to a users calendar as follows: BaseFolderIdType[] folders = new BaseFolderIdType[1]; DistinguishedFolderIdType folderId = new DistinguishedFolderIdType();...
April 02, 2008 by Roger Willcocks

How to Make your CRM Service Appointments pretty colors

1.  Enable ISV.Config in your web.config file 2.  Modify _Resources/isv.config.xml 3.  Modify <Install path>\SM\Gantt\style\GanttControl.css to include your new styles 4.  Recycle the CRM AppPool For point 2. In isv.config.xml...
March 28, 2008 by Roger Willcocks

The ALL-NEW CRM SDK 4.0.3 What fun

Version 4.0.3 of the Microsoft Dynamics CRM 4.0 SDK is now available for download! This version contains lots of great new information, including the 1st phase of the Report Writers Guide and a vastly improved Plug-in registration tool. Also included...
March 19, 2008 by Roger Willcocks

CRM Certified Developer

Well, after a year of working with CRM 3.0, and some not too infrequent arguments with Microsoft about the vagaries of its internal workings, I finally decided to get my CRM Certification in the week or so before Christmas. I managed it, but it wasn't...
January 22, 2008 by Roger Willcocks

CRM4 - Am I missing something?

I've just started working with CRM4 plugins. And I've got a couple of questions. 1. SdkTypeProxy seems to support the "standard" entities and their standard properties. But is there a way to work with custom properties and entities without reverting...
January 21, 2008 by Roger Willcocks

Cannot convert local time to universal time

I have this game I play. It's called "Make blog posts for error messages no-one else has ever seen". This is the latest for MS CRM 3.0. There is an error in XML document (1, 1523). ---> Microsoft.Crm.CrmException: Cannot convert local time to universal...
November 05, 2007 by Roger Willcocks

Determining the PrivUserGroup CRM is using.

This was a fun little exercise. As it turns out, SELECT [OrganizationId] ,[UserGroupId] ,[PrivilegeUserGroupId] FROM [dbo].[OrganizationBase] Will get you the information you need. We needed to find this out due...
November 05, 2007 by Roger Willcocks

SPAM of the day.

I'm starting to wonder if I'm getting SPAM based on the content of my website. This one got me because I thought someone was asking me for help. ============================================= Subject: Public Readonly Property ParentBalance() As...
August 20, 2007 by Roger Willcocks

Wonders and Weirdness of Web Services

I just spent 3 hours trying to work out why one of two methods on a web service was failing with a NullReferenceException when both methods accepted the same first 3 parameters (one of which was apparently null) from the same 3 variables, and the other...
July 25, 2007 by Roger Willcocks

ASP.AJAX CollapsiblePanelExtender in IE 6

In IE 7, this control works beautifully. In IE 6, it animates the collapse of the panel, then reverts to the full size of the panel. As far as I can determine, the cause is these two functions in the BLOCKED SCRIPT get_TargetHeight : function()...
July 04, 2007 by Roger Willcocks

The type or namespace name 'ProfileCommon' could not be found

What the hell does that mean? That was my initial response. I uploaded a new version of my .NET 2.0 website.  In the process I had changed it from a File based web site, to an ASP.NET web application (same as for .NET 1.1) After uploading...
May 07, 2007 by Roger Willcocks

Terry Dean: Posting for Profit? Posting For Jay Abraham

Free Jay Abraham Mastermind Marketing Audio Series You may have heard of Terry Dean. If not, you can check out his post above. You might ask why I'm making this post. Because Terry asked, and it gives me the chance to win a Jay Abraham course I've...
April 01, 2007 by Roger Willcocks

When is a CRM tracing token not a tracking token?

Yet another fun instance of CRM doing strange things. Ok.  I need to create an email (no problem, done it in a workflow, and a scheduled task). Then I need to "Send" it (not really sent, just marked as sent, I'm actually using it to record an SMS) ...
January 16, 2007 by Roger Willcocks

Microsoft CRM: The parent object is invalid or missing

Welcome to one of the least mentioned errors you can get with CRM 3.0. "Unexpected error occurred" is worse, but at least it has web pages. When I wrote this post, the only references to this error were the two Microsoft pages that list the CRM...
December 14, 2006 by Roger Willcocks

Microsoft Certified and a half

I'm going to need a wall at this rate. I came home last night to find not 1, not 2, not 3, but SEVEN envelopes from Microsoft. Two contained certificates for completing MCPD and MCTS, and the other 5 have certificates for being a charter member (pre...
November 03, 2006 by Roger Willcocks

TypeInitializationException - What, Why, and How to fix

So what is a TypeInitializationException? "The exception that is thrown as a wrapper around the exception thrown by the class initializer" So what is a "class initializer"? A static constructor But I don't have a static constructor on my class. If...
October 27, 2006 by Roger Willcocks

A Gotcha with Thread Static variables

I normally use static variable declarations like so: private static ArrayList m_Cards = new ArrayList(); With some code I was working on I recently had to switch to using Thread Static variables [ThreadStatic()]private static ArrayList m_Cards = new...
October 15, 2006 by Roger Willcocks

Limitations of System.IO.StreamWriter in .NET 2.0

I was trying to deserialise a class from a string using the SoapFormatter today. As part of the process, you have to put it into a stream. So I used System.IO.MemoryStream and System.IO.StreamWriter to do so. StreamWriter sw = new StreamWriter(stream);...
October 11, 2006 by Roger Willcocks

Lovely COM InterOp Errors

The following error was encountered: One or more arguments are invalid.at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) at HelperClass.AgentContainerList(String...
August 25, 2006 by Roger Willcocks

Why does a Web Deployment project break the Profile Provider?

I thought the "Web Deployment" addin for VS 2005 was great.  Until I used it on a site using profiles. Now I get (in production only) the following exception:System.ArgumentNullExceptionMessage: Value cannot be null.Parameter name: type  ...
August 12, 2006 by Roger Willcocks

XP SP2 and ShellExecuteEx

I'm having the MOST fun ever with Win32 API calls in XP SP2 at the moment. I'm trying to launch documents when the responsible executable (eg Word) is not in a known location. This is the same as double clicking on a document. For this example, I am...
August 09, 2006 by Roger Willcocks

Failed 70-553 / 70-526 AGAIN. The 3rd time!

I really hate failing exams. BTW, 70-553 covers sections from 70-526, 70-528 and 70-536 More so when I think the examiner is wrong. Several of the questions seem incomplete to me. Worst (that I can remember) is this one though.  You can also...
July 28, 2006 by Roger Willcocks

Powered by Community Server, by Telligent Systems

ASP.NET data compression provided by L-Space Design