Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Silverlight not updating
Message
From
09/09/2011 13:21:50
Bill Oeftering
Mainstreet Computers, Inc.
Belleville, Michigan, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Silverlight not updating
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01523097
Message ID:
01523097
Views:
105
I can't get my Siverlight app to update the source. RIA services never get called. I suspect Silverlight is failing a validation but I don't see what that would be. The problem is that no errors display. In debug the code below is called.

op.HasError=True but submitOp.EntitiesInError.Count=0 so no messages ever are displayed.
op has many properies that should tell me what went wrong but I can't one with any clue as to why an error occured.
The Entity has my changed values and looks correct. I don't know how to troubleshoot this since I can't step any further into code. As most problems go, I have spent days on this.
Thanks
mmBusinessConrollerProxy.cs:
		public virtual void HandleOperationError(OperationBase op)
		{
			if (op.HasError)
			{
				this.ErrorMessage = "";

				op.MarkErrorAsHandled();

				SubmitOperation submitOp = op as SubmitOperation;

				if (submitOp != null)
				{
					foreach (Entity entity in submitOp.EntitiesInError)
					{
						foreach (ValidationResult error in entity.ValidationErrors)
						{
							this.ErrorMessage += error.ErrorMessage + "\r\n";
						}





Stack:
>	OakLeaf.MM2010.Silverlight!OakLeaf.MM.Main.Silverlight.mmBusinessControllerProxy<Mainstreet.GlasAve.WebQuote.BusinessEF.StoreEntity>.HandleOperationError(System.ServiceModel.DomainServices.Client.OperationBase op) Line 578	C#
 	OakLeaf.MM2010.Silverlight!OakLeaf.MM.Main.Silverlight.mmBusinessControllerProxy<Mainstreet.GlasAve.WebQuote.BusinessEF.StoreEntity>.OnSaveEntityCompleted(System.ServiceModel.DomainServices.Client.SubmitOperation submitOp) Line 461 + 0x11 bytes	C#
 	System.ServiceModel.DomainServices.Client!System.ServiceModel.DomainServices.Client.SubmitOperation.InvokeCompleteAction() + 0x33 bytes	
 	System.ServiceModel.DomainServices.Client!System.ServiceModel.DomainServices.Client.OperationBase.Complete(System.Exception error) + 0x9a bytes	
 	System.ServiceModel.DomainServices.Client!System.ServiceModel.DomainServices.Client.SubmitOperation.Complete(System.ServiceModel.DomainServices.Client.OperationErrorStatus errorStatus) + 0xa1 bytes	
 	System.ServiceModel.DomainServices.Client!System.ServiceModel.DomainServices.Client.DomainContext.SubmitChanges.AnonymousMethod__3() + 0x6c bytes	
 	[Native to Managed Transition]	
 	[Managed to Native Transition]	
 	mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) + 0x76 bytes	
 	mscorlib.dll!System.Delegate.DynamicInvoke(object[] args) + 0xb bytes	
 	System.Windows.dll!System.Windows.Threading.DispatcherOperation.Invoke() + 0x2b bytes	
 	System.Windows.dll!System.Windows.Threading.Dispatcher.Dispatch(System.Windows.Threading.DispatcherPriority priority) + 0xcc bytes	
 	System.Windows.dll!System.Windows.Threading.Dispatcher.OnInvoke(object context) + 0xa bytes	
 	System.Windows.dll!System.Windows.Hosting.CallbackCookie.Invoke(object[] args) + 0x16 bytes	
 	System.Windows.Browser.dll!System.Windows.Hosting.ScriptingInterface.InvokeDelegate(System.Windows.Hosting.DelegateWrapper delegateWrapper, System.Windows.Hosting.NativeMethods.ScriptParam[] pParams, ref System.Windows.Hosting.NativeMethods.ScriptParam pResult) + 0x28 bytes	
 	System.Windows.Browser.dll!System.Windows.Hosting.ManagedHost.InvokeDelegate(System.IntPtr pHandle, int nParamCount, System.Windows.Hosting.NativeMethods.ScriptParam[] pParams, ref System.Windows.Hosting.NativeMethods.ScriptParam pResult) + 0xe3 bytes	
 	[Appdomain Transition]	
Next
Reply
Map
View

Click here to load this message in the networking platform