Fault message when sending msg to calc in walkthrough

Topics: Technical Questions
Nov 1, 2007 at 6:03 PM

I’ve been trying to get through the walkthrough on the managed services engine but have been defeated by a number of problems

1 – Fault Message

If I go through the steps of the walkthrough I get an error when I submit the request I get – this seems to be coming from the MSE Runtime server - if I kill the server and submit the request I get a dialog box saying the endpoint can’t be found – if I kill the calculator service I get exactly the same error as I do if its running – See Appendix 1 for the response message

I have changed the configuration to do logging, however this doesn’t really get me more information – I get TransportReceive on the message, then ServiceLevelReceiveRequest, then TransportSend with the error response – see Appendix 2

So I decided to download and build the code to see what was going on

2 Subversion Problems

Error: URL 'http://localhost:8081/servicesengine' doesn't exist whenever I try and use my subversion client to get the project - I checked it against some other projects, it seems to work fine - also, it does seem to do a bunch of data transfers before announcing that it doesn’t know what the project is

Also, the code for the following projects is missing
A) MSE Runtime
B) Tester Application
C) Calculator demos (I’m sure they are simple, but it would still be nice to see them)

3 Build Problems

Tried building what I could but there was a problem – the sqlclr stuff won’t build, due to missing definitions of DBEvents and DBEventNotification - the catalog server builds and runs OK, but doesn’t help with debugging the issue, as it isn’t involved at that point

3.1 MSE6DB

DBEvents and DBEventNotification undefined
C:\Program Files\Microsoft Managed Services Engine\mse\MSE6DB\CLRTriggers.cs(19,27): error CS0246: The type or namespace name 'DBEvents' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Microsoft Managed Services Engine\mse\MSE6DB\CLRTriggers.cs(25,34): error CS0246: The type or namespace name 'DBEvents' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Microsoft Managed Services Engine\mse\MSE6DB\CLRTriggers.cs(123,42): error CS0246: The type or namespace name 'DBEvents' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Microsoft Managed Services Engine\mse\MSE6DB\CLRTriggers.cs(231,16): error CS0246: The type or namespace name 'DBEvents' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Microsoft Managed Services Engine\mse\MSE6DB\CLRTriggers.cs(237,31): error CS0246: The type or namespace name 'DBEvents' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Microsoft Managed Services Engine\mse\MSE6DB\CLRTriggers.cs(253,17): error CS0246: The type or namespace name 'DBEventNotification' could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Microsoft Managed Services Engine\mse\MSE6DB\CLRTriggers.cs(256,16): error CS0246: The type or namespace name 'DBEventNotification' could not be found (are you missing a using directive or an assembly reference?)

Appendix 1

<?xml version="1.0" encoding="utf-16"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
<s:Body>
<s:Fault xmlns:s="http://www.w3.org/2003/05/soap-envelope">
<s:Code>
<s:Value>s:Receiver</s:Value>
<s:Subcode>
<s:Value xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</s:Value>
</s:Subcode>
</s:Code>
<s:Reason>
<s:Text xml:lang="en-US">The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.</s:Text>
</s:Reason>
</s:Fault>
</s:Body>
</s:Envelope>


Appendix 2

<?xml version="1.0"?>
<msgs>
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
<System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
<EventID>0</EventID>
<Type>3</Type>
<SubType Name="Information">0</SubType>
<Level>8</Level>
<TimeCreated SystemTime="2007-11-01T16:32:58.4281728Z"/>
<Source Name="System.ServiceModel.MessageLogging"/>
<Correlation ActivityID="{00000000-0000-0000-0000-000000000000}"/>
<Execution ProcessName="Microsoft.MSE.Runtime" ProcessID="1420" ThreadID="6"/>
<Channel/>
<Computer>AIR210</Computer>
</System>
<ApplicationData>
<TraceData>
<DataItem>
<MessageLogTraceRecord Time="2007-11-01T12:32:58.4281728-04:00" Source="TransportReceive" Type="System.ServiceModel.Channels.BufferedMessage" xmlns="http://schemas.microsoft.com/2004/06/ServiceModel/Management/MessageTrace">
<HttpRequest>
<Method>POST</Method>
<QueryString></QueryString>
<WebHeaders>
<Content-Length>403</Content-Length>
<Content-Type>application/soap+xml; charset=utf-8; action="AddDoubles"</Content-Type>
<Expect>100-continue</Expect>
<Host>air210:8090</Host>
</WebHeaders>
</HttpRequest>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
<s:Header>
<ActivityId CorrelationId="9f8c0a32-87b4-43b8-87c2-22b904f6ada9" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnos
Coordinator
Nov 1, 2007 at 10:09 PM
Edited Nov 1, 2007 at 10:10 PM
What OS are you running on? Let me know if you see performance counters installed for the MSE Runtime.

The source code for the Service Repository has been updated - a few files were removed in the clean up and we thought we added them previously. Sorry for the inconvenience.

I'm not sure what the problem is related to subversion. We use VSTS to work with the source code in CodePlex. We chose to try this route on this release instead of zipping up the code, so let us know if you would prefer that route.

The Service Repository is the only source code we are making available for this release, essentially for reference. We are still working through the process of determining the release schedule for additional code. The sample services are due next... likely in the next week or so.
Coordinator
Nov 2, 2007 at 12:01 AM
The fault you are getting is more than likely due to the installer/perf counter issue that we just logged. Please try the workaround and let us know if that addresses the problem.
Nov 2, 2007 at 1:10 PM
Yup - performance counters are missing - I will try this afternoon (WPF treeviews occupy attention at the moment :-)

I'd love it if subversion worked, don't know what the issue is - its perfectly happy other projects - but none of the other projects are bridged to the same server, fwiw

I can certainly understand you're probably going from 0 to lightspeed given the oslo announcements - would it be possible to post some kind of schedule about what will be released, and when - I understand this schedule will come with caveats

The idea seems to have much merit, and what I have worked through so far is quite intriguing - you should all be quite proud of this!