reach4thelasers
unread,Sep 13, 2011, 11:07:47 PM9/13/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NoRM mongodb
Why might this happen when updating a MongoDB object from a Thread?
I've seen it a couple of times now.....
--------
Unable to write data to the transport connection: An existing
connection was forcibly closed by the remote host.
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32
offset, Int32 size)
at Norm.Connection.Write(Byte[] bytes, Int32 start, Int32 size) in
D:\Corellia\Source\trunk\utilities\NoRM\Connections\Connection.cs:line
193
at Norm.Protocol.Messages.UpdateMessage`2.Execute() in D:\Corellia
\Source\trunk\utilities\NoRM\Protocol\Messages\UpdateMessage.cs:line
56
at Norm.Collections.MongoCollection`1.Update[X,U](X matchDocument,
U valueDocument, Boolean updateMultiple, Boolean upsert) in D:\Corellia
\Source\trunk\utilities\NoRM\Collections
\MongoCollectionGeneric.cs:line 161
at Norm.Collections.MongoCollection`1.Save(T entity) in D:\Corellia
\Source\trunk\utilities\NoRM\Collections
\MongoCollectionGeneric.cs:line 119
at Corellia.Data.Repositories.MongoRepository`1.Save(TEntity
instance) in D:\Corellia\Source\trunk\app\Corellia.Data\Repositories
\MongoRepository.cs:line 112
at
Corellia.Managers.LoginLoginRegistrationManager.GrabAndUploadFacebookImage()
in D:\Corellia\Source\trunk\app\Corellia.Managers\Corellia.Managers
\LoginLoginRegistrationManager.cs:line 79
at System.Threading.ExecutionContext.runTryCode(Object userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode
code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()