February 2005 - Posts

Disappointed with Mozilla

I’m a little upset that FireFox is just not working for me.  Firstly, I can’t use CRM with it (you get a beautiful error message saying only to use IE) but all the features in my blog solution (.TEXT) are missing as well.

Currently I’m running both IE and FireFox, but it’s scary to think that I’m “missing out” from IE specific features when browsing.

Posted by mailowl | 1 comment(s)
Filed under:

More CRM examples

I’ve elaborated on Example 1 of my CRM FetchXML schema example here
Posted by mailowl | with no comments

CRM Webcasts

Just a quick post,  I stumbled upon some CRM Webcasts on the Microsoft website.  I'm busy listening to Extending and Integrating with MBS CRM by Jason Hunt and so far it's been quite good.

powered by IMHO 1.2

Posted by mailowl | with no comments

March SA Developer Wakeboarding - Johannesburg, South Africa

So the LAN party was a complete failure.  We just couldn’t connect to the guys inCape Town.  Ruari and I (before he joins the wilds of Johannesburg ) will be trying to connect again and figure out where we went wrong.

But on to our next social, Wakeboarding!

Date: 12th March 2005
Time: from 13:00 onwards
Location: Leisure Lakes (map below) http://www.leisurelakes.co.za
Contact: Andre 083 410 7702 or email andreo@gmail.com
Charges: R75.00 for the first hour and R25.00 for every hour after
Bring: Swimming costume and towels.  There is a kiosk with snacks, drinks and alcohol.

Life jackets are required and provided by Leisure Lakes when you start boarding.  There are also knee-boards and water-skis.

Just a quick note: No alcohol is allowed to be brought onto the premises, there is a bar though.  Soft Drinks and food are fine.

On a side note, in April we’ll be braaing again.  I would like to know from you want social events we can organise for the coming winter months.

Posted by mailowl | 12 comment(s)
Filed under:

Config Hell in CRM

So, after working with .NET for so long, it has finally caught me out and thrust me into “Config Hell”.

 

I’ve been having a problem of my dropdownlists not persisting data when I dynamically populate them at run-time.  I could populate and select an option, but when the page did a post-back, not only was there no selected value, but the dropdownlist was empty.

 

I couldn’t figure out what was wrong.  I knew it had to be the viewstate, but I couldn’t figure out where I had turned it off.  After 2 days of battling I gave up and went home to enjoy the weekend.

 

Sunday saw me sleeping in, and stressing about how to work around this problem.  Eventually I had an idea.  I remembered reading somewhere that the sessionstate of CRM was off by default (for security reasons); I wondered if it was possible that the viewstate was off by default too.  Excitedly, I hurried to the office and searched the CRM config files.

 

I quickly found what I was looking for.  In the web.config file in the root of the CRM website is a <pages> tag with the attribute enableViewState and it was set to false!  Suddenly, after changing it, my dropdownlists were persisting data.

 

So, you have been warned!

 

What stumped me earlier was that I was dynamically populating listboxes in dialog windows and they were working perfectly.  But, in truth, I was never doing a post-back; I was reading the selected value on the client-side.

 

There is one question for the CRM team though.  How is the CRM website affected by the <pages> tag?  I can’t believe that they’re not making use of sessionstates and viewstates.

powered by IMHO 1.2

Mbeki Promised, Mbeki Delivered

I was really interested in this article from page 10 of the Cape Argus, going over what Mbeki promised in his 2004 State of the Nation address and what has, so far, been delivered.

Personally I think Mbeki is doing an overall good job of balancing the expectations of the many bigoted groups in South Africa, using peaceful diplomacy with tyrannical and sanguineous African leaders and placating demanding European and American interests and still getting results that improve ordinary people's lives.

While I'm not a tie-dye t-shirt wearing, hippie activist, nor a political brown-noser, whimping out as an oppressed minority; I firmly believe in supporting those people with the power to make a positive difference in my country.

powered by IMHO 1.2

Posted by mailowl | 1 comment(s)
Filed under:

Remote Debugging & CRM

May the gods of CRM and Best Practices forgive me; for I am debugging in my live CRM environment. *begins to flagellate* (look up the meaning before you laugh)

 

At least now I can remotely debug, putting my custom CRM development in the CRM’s application pool and giving me access to the user identity and other session variables.  It’s taken me roughly 3 days so in total my project is 9 days behind!

 

So with my sins forgiven and my anguish dulled, here’s how you setup remote debugging.  My client machine (the machine I’m developing on) is running Windows XP with Service Pack 2 and the server is running Windows 2003.  Lastly, I’m developing using Visual Studios 2003.

 

Setting up Remote Debugging on the server

 

Insert the Visual Studio .NET 2003 Disc 1

  1. Don’t bother with clicking on Remote Components Setup; the links are a bit buggy.
  2. Instead explore the CD and find RemoteComponents.htm
  3. You need to install Visual Studio Analyser Server and Full Remote Debugging.  Search the html document and you’ll find the paths to run.  They look something like this:
    1. msiexec /qb+ /i d:\vs_setup.msi NOVSUI=1 TRANSFORMS="d:\Setup\Rmt9x.mst" SERVER_SETUP=1 ADDLOCAL=Visual_Studio_Analyzer_Server11
    2. msiexec /qb+ /i d:\vs_setup.msi NOVSUI=1 TRANSFORMS="d:\Setup\Rmt9x.mst" SERVER_SETUP=1 ADDLOCAL=Full_Remote_Debugging
    3. On the Start menu, choose Run. Type the first path in and run it.  Then run the second.
    4.  

      Congratulations you’ve setup Remote Debugging on the server.  Now we move on to the more important task of setting up the client machine.

       

      Setting up Access for Remote Debugging on the client

       

      1. Download debuggerfirewallconfiguration.exe from Microsoft and run it.  This sets up the Windows XP firewall to allow the remote debugging protocols through.
      2. On the Start menu, choose Run.  Type DCOMCNFG
      3. Expand Component Services.  Expand Computes.  Right-click on My Computer, choose Properties.
      4. Click on the COM Security Tab.  Click on Edit Limits in the Access Permissions frame.  Select ANONYMOUS LOGON and tick Allow for Remote Access.
      5. Restart the machine.  You have to do this, I’m sure you could restart a service, but I’m not sure which one.
      6.  

        Again Congratulations, you are now ready to begin remote debugging.  Open Visual Studio and create a new ASP.NET Web Application.  In the location make sure to change the hostname to the server name. For example

         

        http://crm/WebApplication1

        Side Note: I couldn’t figure out how to provide a username and password when setting up the website, I’m assuming that it uses the user that you are logged in with on the client machine.  Combine this with CRM using Windows Integration security and your client machine HAS to be on the same domain as the server.  So my attempt to setup a stand-alone test server and have my client still on the network falls flat on its face.

         

        Happy debugging!

Posted by mailowl | with no comments

March SA Developer Wakeboarding - Johannesburg, South Africa

One of the main reasons for my sudden increase in blogging is that I’m suffering from lack of test server to work on.  So while it installs itself, let me post the next SA Developer social.

For March we’re going Wakeboarding at Leisure Lakes in Midrand on the 12th March 2005.  We’ll be braaing too and boarding is fun and safe so bring the whole family.

I’m going to blackmail Kevin Trethewey’s into helping me with this social (Kevin originally introduced me to the place and is a mean surfer).

Watch this space as well as SA Developer for all the latest details including times, maps and what to bring, etc.

Posted by mailowl | 4 comment(s)
Filed under:

CRM Look and Feel

While waiting for Microsoft Exchange to install on my CRM Test Server (I managed to find an unused P3 laptop) I started searching for CRM blogs and came across Aaron Elders blog!  Aaron was lead of the Microsoft Application Team.  His articles on the CRM User Interface are particularly helpful (especially Part 3 of 4).

On a side note, I now realise how powerful Small Business Server is for easy setup and deployment.  For my last CRM installation, I had to setup and install SBS before I could install CRM, it was easy and basically a process of Next, Next, Next.  For my own little server, I just installed Windows 2003 Standard and now I’m installing Exchange.  What a mission! Running Diagnostics and Prep tools, making sure all the tools and service packs are available, etc.  I highly recommend using SBS for your test server if you have to do the work yourself.

P.S.  The style of my site is not in accordance with Aaron’s, I changed mine yesterday before I had even found his blog.  The reason for the similarity must be because we both appreciate the crisp clean feel of Microsoft CRM.