by community-syndication | Mar 11, 2010 | BizTalk Community Blogs via Syndication
I've structured my visual studio solution so that the WCF RIA domain services live in a separate project (assembly) from the actual web project. Today I was greeted with the following exception (via Fiddler) when trying to access an operation in the domain service.
System.ServiceModel.CommunicationException: Unrecognized message version.
at System.ServiceModel.Channels.ReceivedMessage.ReadStartEnvelope(XmlDictionaryReader reader)
at System.ServiceModel.Channels.BufferedMessage..ctor(IBufferedMessageData messageData, RecycledMessageState recycledMessageState, Boolean[] understoodHeaders)
at System.ServiceModel.Channels.BinaryMessageEncoderFactory.BinaryMessageEncoder.ReadMessage(ArraySegment 1 buffer, BufferManager bufferManager, String contentType)
at System.ServiceModel.Channels.MessageEncoder.ReadMessage(ArraySegment`1 buffer, BufferManager bufferManager)
at BinaryMessageFiddlerExtension.BinaryInspector.GetWcfBinaryMessageAsText(Byte[] encodedMessage)
at BinaryMessageFiddlerExtension.BinaryInspector.UpdateView(Byte[] bytes)
I couldn't find any resources explaining the solution to this issue, but looks like few people encountered it. In my scenario, the error was caused because the client could not reach the service, and it was returning 404 (thanks to Fiddler), but the exception details on the client side were completely misleading.
The solution to my issue is just to add a project reference to my external assembly which contains all of my WCF RIA services.
Nandri!
Saravana
by community-syndication | Mar 11, 2010 | BizTalk Community Blogs via Syndication
Have you heard about this tool?
This is a capture tool that records your actions as you perform them on your workstation, remote desktop, etc. It’s made by the same company that makes SnagIt, etc.
http://www.techsmith.com/camtasia.asp
I have used this at several customers to record our install and configurations of BizTalk and more- this can come in very handy to help reduce differences in environments (because you can go back and reviewexactly what you did in the previous environment)as well as to supplement your installation docs. The product also includes an editing studio and various media types for export.
I haven’t been paid to write this – I just think the tool is very nice.
by community-syndication | Mar 11, 2010 | BizTalk Community Blogs via Syndication
Earlier this week I had an ESB endpoint (Off-Ramp in ESB parlance) that I was sending to over http using WCF-BasicHttp. I needed to switch the protocol to https: which I did by changing my UDDI Binding over to https: No problem from a management perspective; however, when I tried to run the process I saw this exception:
Event Type: Error
Event Source: BizTalk Server 2009
Event Category: BizTalk Server 2009
Event ID: 5754
Date: 3/10/2010
Time: 2:58:23 PM
User: N/A
Computer: XXXXXXXXX
Description:
A message sent to adapter “WCF-BasicHttp” on send port “SPDynamic.XXX.SR” with URI “https://XXXXXXXXX.com/XXXXXXX/whatever.asmx” is suspended.
Error details: System.ArgumentException: The provided URI scheme ‘https’ is invalid; expected ‘http’.
Parameter name: via
at System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
at System.ServiceModel.Channels.HttpChannelFactory.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
at System.ServiceModel.Channels.HttpChannelFactory.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
at System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
at System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
at System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
at System.ServiceModel.ChannelFactory`1.CreateChannel()
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.GetChannel[TChannel](IBaseMessage bizTalkMessage, ChannelFactory`1& cachedFactory)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendMessage(IBaseMessage bizTalkMessage)
MessageId: {1170F4ED-550F-4F7E-B0E0-1EE92A25AB10}
InstanceID: {1640C6C6-CA9C-4746-AEB0-584FDF7BB61E}
I knew from a previous experience that I likely needed to set the SecurityMode setting for my Send Port. But how do you do this for a Dynamic port (which I was using since this is an ESB solution)?
Within the UDDI portal you have to add an additional Instance Info to your Binding named:
EndPointConfig
Then you have to set its value to:
SecurityMode=Transport
Like this:
The EndPointConfig is how the ESB Toolkit 2.0 provides extensibility for the various transports. To see what the key-value pair options are for a given transport, open up an itinerary and change one of your resolvers to a “static” resolver by setting the “Resolver Implementation” to Static. Then select a “Transport Name” ”, for instance to WCF-BasicHttp. At this point you can then click on the “EndPoint Configuration” property for to see an adapter/ramp specific properties dialog (key-value pairs.)
Here’s the dialog that popped up for WCF-BasicHttp:
I simply set the SecurityMode to Transport. Please note that you will get different properties within the window depending on the Transport Name you select for the resolver.
When you are done with your settings, export the itinerary to disk and find that xml; then find thatresolver’s xml within that file. It will look like endpointConfig=SecurityMode=Transport in this case. Note that if you set additional properties you will have additional key-value pairs after endpointConfig=
Copy that string and paste it into the UDDI portal for you Binding’s EndPointConfig Instance Info value.
by community-syndication | Mar 10, 2010 | BizTalk Community Blogs via Syndication
I have come across this ’INFORMATIONAL’ event log message a few times and after much banging of heads (mine in particular), Microsoft has a hot fix for the following message:
Event Type: Information
Event Source: BizTalk Accelerator for HL7
Event Category: None
Event ID: 4119
Date: 3/10/2010
Time: 2:35:25 PM
User: N/A
Computer:
Description:
An empty batch was received with fragmentation turned on. The 1st 1kb of the message is
MSH|^~\&|
Username:
Time: 3/10/2010 2:35:24 PM
However, when searching for this, I was not apparent that it is referring to the following KB 973910 article
by community-syndication | Mar 10, 2010 | BizTalk Community Blogs via Syndication
We are happy to share that starting April 9, 2010, Windows Azure platform AppFabric will be commercially available on a paid and fully SLA-supported basis.
In order to help you get familiarized with AppFabric billing, we released the AppFabric Billing Preview yesterday March 9. With this billing preview, you will be able to download a usage summary from the AppFabric Developer Portal, with information similar to that of the “daily usage summary” currently available to you for Windows Azure and SQL Azure.
If you are already using AppFabric, we will begin charging as of April 9, 2010 at 12:00 AM GMT. You can find our pricing for AppFabric here. You can also go to the pricing section of our FAQs for additional information as well as our pricing blog post. If you do not desire to be charged for AppFabric, please remove any applications that are currently utilizing these services prior to this date.
Thank you for your continued interest and business.
The Windows Azure platform AppFabric Team
by community-syndication | Mar 10, 2010 | BizTalk Community Blogs via Syndication
I experienced the following problem the other day when trying to configure a WCF-Oracle send portafter installing SP1 for BizTalk 2006 R2. I believe the problem would show itself when using BizTalk Adapter Pack 1.0 as well, but I didn’t verify this.
Here’s a text version of the error:
—————————
WCF-Oracle Transport Properties
—————————
Error loading properties.
(System.MissingMethodException) Method not found: […]
by community-syndication | Mar 10, 2010 | BizTalk Community Blogs via Syndication
If you are in are in Minneapolis on Thursday March 11th please join us for the Twin Cities Connected Systems User Group Meeting.
The meeting takes place at 6:00 p.m. at the Microsoft offices at 8300 Norman Center Drive, Bloomington, MN 55437.
I will be speaking on How to Create Windows Server AppFabric Applications
Here is a write-up of what will be covered:
You have heard about Dublin, now called Windows Server AppFabric, but do you know what it is and what it includes?
Do you know how to create WCF and WF applications/services that work better with AppFabric?
Come to the user group meeting and see how to write these applications and take advantage of AppFabric. We will show you how to use Visual Studio 2010 to create WCF and WF services and how to deploy, monitor, and control them with Windows Server AppFabric. In addition, we will also talk about what you need to know to start using AppFabric and what you need to do to optimize your existing applications and services to begin using AppFabric.
by community-syndication | Mar 10, 2010 | BizTalk Community Blogs via Syndication
We have had BizTalk 2006 R2, and now we will soon have BizTalk 2009 R2, so don’t get confused and BizTalk is far from being replaced it only gets better.
I’ve been looking at 2009 R2 recently, and I can tell you a few things about what’s coming, within reason, as most of this is still under wraps I can’t spill all of the beans.
by community-syndication | Mar 10, 2010 | BizTalk Community Blogs via Syndication
IntelliSense for jQuery in web forms
To enable IntelliSense for jQuey in a web form all you need to do is to reference the jQuery and Visual Studio will automatically enable IntelliSense for you. As…
Daniel Berg’s blog about ASP.NET, EPiServer, SharePoint, BizTalk
by community-syndication | Mar 9, 2010 | BizTalk Community Blogs via Syndication
A few months back I was screwing around with the WCF Routing Service and trying something besides the “Hello World” demos that always used self-hosted versions of this new .NET 4.0 WCF capability. In my earlier post, I showed how to get the Routing Service hosted in IIS. However, I did it in a round-about […]