Skip to content

Instantly share code, notes, and snippets.

System.ServiceModel.EndpointNotFoundException was unhandled
Message=The service '~/xxx_commands' does not exist.
Source=System.ServiceModel.Activation
StackTrace:
at System.ServiceModel.ServiceHostingEnvironment.NormalizeVirtualPath(String virtualPath)
at System.ServiceModel.Channels.MsmqHostedTransportManager.HostedBindingFilter.MatchFound(String host, String name, Boolean isPrivate)
at System.ServiceModel.Channels.MsmqBindingMonitor.MatchQueue(MatchState state)
at System.ServiceModel.Channels.MsmqBindingMonitor.ProcessFoundQueues(MessageQueue[] queues, Dictionary`2 knownQueues, Boolean isPrivate)
at System.ServiceModel.Channels.MsmqBindingMonitor.OnTimer(Object state)
at System.Runtime.IOThreadScheduler.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
@larsw
larsw / gist:1226356
Created September 19, 2011 11:51
Typical exception message when NetMsmqActivator can't dispatch message to a site.
System.ServiceModel.EndpointNotFoundException was unhandled
Message=The service '~/xxx_commands' does not exist.
Source=System.ServiceModel.Activation
StackTrace:
at System.ServiceModel.ServiceHostingEnvironment.NormalizeVirtualPath(String virtualPath)
at System.ServiceModel.Channels.MsmqHostedTransportManager.HostedBindingFilter.MatchFound(String host, String name, Boolean isPrivate)
at System.ServiceModel.Channels.MsmqBindingMonitor.MatchQueue(MatchState state)
at System.ServiceModel.Channels.MsmqBindingMonitor.ProcessFoundQueues(MessageQueue[] queues, Dictionary`2 knownQueues, Boolean isPrivate)
at System.ServiceModel.Channels.MsmqBindingMonitor.OnTimer(Object state)
at System.Runtime.IOThreadScheduler.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="Scripts/jquery-1.7.1.js" type="text/javascript"></script>
<script src="Scripts/jquery-ui-1.8.18.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$('#clicker').click(function () {
$.ajax({
Time Elapsed 00:00:01.02
rake aborted!
#<REXML::ParseException: #<Encoding::CompatibilityError: incompatible encoding regexp match (UTF-8 regexp with IBM437 string)>
C:/Ruby192/lib/ruby/1.9.1/rexml/source.rb:212:in `match'
C:/Ruby192/lib/ruby/1.9.1/rexml/source.rb:212:in `match'
C:/Ruby192/lib/ruby/1.9.1/rexml/parsers/baseparser.rb:425:in `pull'
C:/Ruby192/lib/ruby/1.9.1/rexml/parsers/treeparser.rb:22:in `parse'
C:/Ruby192/lib/ruby/1.9.1/rexml/document.rb:230:in `build'
C:/Ruby192/lib/ruby/1.9.1/rexml/document.rb:43:in `initialize'
C:/github/NancyFx/Nancy.Bootstrappers.Ninject/rakefile.rb:128:in `new'
@larsw
larsw / gist:3538223
Created August 30, 2012 19:17
uh oh.
Build FAILED.
Errors:
/Users/larsw/code/OpenIDE/OpenIDE.CodeEngine.sln (rebuild) ->
(Rebuild target) ->
/Users/larsw/code/OpenIDE/OpenIDE.CodeEngine.Core/OpenIDE.CodeEngine.Core.csproj (Rebuild) ->
/usr/local/Cellar/mono/2.10.8/lib/mono/4.0/Microsoft.Common.targets (GenerateResources target) ->
/usr/local/Cellar/mono/2.10.8/lib/mono/4.0/Microsoft.Common.targets: error : Tool exited with code: 1. Output: Error: Invalid ResX input.
Position: Line 210, Column 5.
namespace Foo
{
public class Bar {}
}
at System.Data.Objects.DataClasses.EntityReference`1.AddToLocalCache(IEntityWrapper wrappedEntity, Boolean applyConstraints)
at System.Data.Objects.EntityEntry.TakeSnapshotOfSingleRelationship(RelatedEnd relatedEnd, NavigationProperty n, Object o)
at System.Data.Objects.EntityEntry.TakeSnapshotOfRelationships()
at System.Data.Objects.Internal.EntityWrapperWithoutRelationships`1.TakeSnapshotOfRelationships(EntityEntry entry)
at System.Data.Objects.ObjectContext.AddSingleObject(EntitySet entitySet, IEntityWrapper wrappedEntity, String argumentName)
at System.Data.Objects.ObjectContext.AddObject(String entitySetName, Object entity)
at System.Data.Entity.Internal.Linq.InternalSet`1.<>c__DisplayClass5.<Add>b__4()
at System.Data.Entity.Internal.Linq.InternalSet`1.ActOnSet(Action action, EntityState newState, Object entity, String methodName)
at System.Data.Entity.Internal.Linq.InternalSet`1.Add(Object entity)
at System.Data.Entity.DbSet`1.Add(TEntity entity)
@larsw
larsw / gist:4663237
Created January 29, 2013 10:15
Mono.Simd.SimdRuntime.IsMethodAccelerated problems
// re. http://docs.go-mono.com/?link=T%3aMono.Simd.SimdRuntime ...
// tried :
static bool MinimalSimdSupport()
{
return SimdRuntime.IsMethodAccelerated (typeof (Vector4f), "op_Addition") &&
SimdRuntime.IsMethodAccelerated (typeof (Vector4f), "op_Multiply") &&
SimdRuntime.IsMethodAccelerated (typeof (VectorOperations), "Shuffle", typeof (Vector4f), typeof (ShuffleSel));
}
using System;
using System.Diagnostics;
using Mono.Simd;
using System.Runtime.CompilerServices;
namespace VectorizedQueryTest
{
class Program
{
static bool MinimalSimdSupport()
@larsw
larsw / gist:4663774
Created January 29, 2013 12:06
awk arit. sum vs. string concat wtf?
for i in `seq 1 10`; do mono vectorizedquerytest.exe ; done | awk 'BEGIN { FS="."; OFMT="%d"; sum = 0; sumsq = 0; } ; {print $2;sum = sum + $2; sumsq = sumsq + $2*$2; } END { print "average:"; print sum / NR; print "std dev:"; print sqrt(sumsq/NR - (sum/NR)**2); }'
# the average/std dev output are fucked up in 19/20 times; it seems like awk sometimes does string concat, other times sum.