Arogl Darthu's Blog

Entries from September 2006

  • Homepage

Sep 28: BizTalk 2004 Specified Cast Is Not Valid

Just spend way too much time figuring out what was wrong with a BizTalk Server 2004 installation on Windows XP Professional SP1 (Dutch). Trying to add receive/send ports resulted in "Specified cast is not valid" error messages. The solution was to install Q828758 (Dutch version)... See BizTalk Server 2004 Requirements.
Posted by Twan Jacobs in BizTalk Comments: (0) Trackbacks: (0)

Sep 21: Remoting Configuration Loaded Too Little Too Late

How strange... The program works perfectly in debug mode, but in release mode I get a TypeInitializationException. Why?

The exception originates at the construction of an object (BatchRunner) that tries to instantiate a remotable object. This remotable object is declared as a private static variable:

#region Private Static Fields
private static RemotingWrapper Wrapper = CreateRemotingWrapper();
#endregion
 

And herein lies the problem. The call to CreateRemotingWrapper() fires when the implicit static constuctor is called. In release mode the compiler makes certain optimizations that it does not make in debug mode. Apparently causing implicit static constructors to execute very, very early. Read More
Posted by Twan Jacobs in WTF Comments: (0) Trackbacks: (0)
« previous page   (Page 1 of 1, totaling 2 entries)   next page »

Calendar

September '06 Forward
Mo Tu We Th Fr Sa Su
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  

Archives

  • February 2012
  • January 2012
  • December 2011
  • Recent...
  • Older...

Categories

  • XML BizTalk
  • XML Daily Didst
  • XML Infra
  • XML SQL
  • XML WCF
  • XML WTF


All categories

Syndicate This Blog

  • XML RSS 2.0 feed
  • XML RSS 2.0 Comments

Blog Administration

Open login screen

Powered by

Serendipity PHP Weblog
 

Layout by Andreas Viklund | Serendipity template by Carl