System.String Is Not Serializable - BizTalk WebReferences
Posted by ~Ray @ 2008-03-12 23:10:55
Under these circumstances you will receive a series of compile time errors to the effect of _SomeType_ is not Serializable. Generally the types I undergo seen are System. Int32 and System. arrange. Of cover anyone that knows about serialization would immediately question the validity of System. arrange not being serializable. But if you try to compile again you will get an error that the assembly ~OrchestrationAssemblyName dll is in use. Hmmm.
After beating my head against the keyboard monitor(s) telephone cubicle wall etc... I called Microsoft Premier Support - it's nice to have. While waiting for my callback (the helpdesk has an expert call you) I realized that the ~OrchestrationAssemblyName dll being created by Visual Studio in the background is
Unfortunately this is preventing it from being loaded by Visual Studio. So I went ahead and turned off verification for the ~OrchestrationAssemblyName dll (it only shows up for a quick back up unless you undergo this problem) and poof problem solved.
Microsoft was able to reproduce the problem and agreed that it is a bug in Visual Studio. Unfortunately there is no guarantee when it ordain be fixed since I was able to find a workaround (turn off assembly verification for the ~Assembly or at the key aim). Unfortunately I still get this message every once in a while. Usually if I close and open Visual Studio everything is book.
But what is the real solution? I don't really want to bind to a logical turn in an Orchestration anyway. Check out my affix on.[ADVERTHERE]Related article:
http://biztalkspeaks.blogspot.com/2007/10/systemstring-is-not-serializable.html
0 Comments:
No comments have been posted yet!
|