Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WCF Error
Message
From
05/05/2008 23:25:44
 
 
To
05/05/2008 21:25:44
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
01315239
Message ID:
01315246
Views:
26
You may get some ideas from these posts:

http://blogs.msdn.com/pedram/archive/2008/01/25/wcf-error-handling-and-some-best-practices.aspx
http://blogs.msdn.com/pedram/archive/2008/04/21/how-to-consume-rest-services-with-wcf.aspx
http://blogs.msdn.com/jakuboleksy/archive/2006/09/27/Sample-Alert-and-State-Change-Insertion.aspx


>Hi there,
>
>The MMWCF works fine on my laptop, moved the service to a new webserver which is out my domain know getting the following message.
>
>
>
>The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
>
>
>
>
>StackTrace
>
>
>Server stack trace:
>   at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)
>   at System.ServiceModel.Channels.CommunicationObject.Close()
>   at System.ServiceModel.Channels.ServiceChannel.System.IDisposable.Dispose()
>
>Exception rethrown at [0]:
>   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
>   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
>   at System.IDisposable.Dispose()
>   at OakLeaf.MM.Main.mmWCFDataServiceHelper.FillDataSet(mmDataAccessBase dao, ImmWCFDataService proxy, String dataAccessClass, DataSet ds, IDbDataAdapter dbAdapter, String tableName, Boolean clearOnFill)
>   at OakLeaf.MM.Main.Data.mmDataAccessWCFSql.FillDataSet(DataSet ds, IDbDataAdapter dbAdapter, String tableName, Boolean clearOnFill)
>   at OakLeaf.MM.Main.Data.mmDataAccessSql.FillDataSet(DataSet ds, IDbCommand command, String tableName, Boolean clearOnFill)
>   at OakLeaf.MM.Main.Data.mmDataAccessSql.FillDataSet(DataSet ds, String command, String tableName, CommandType cmdType, IDbDataParameter[] dataParms, Boolean clearOnFill)
>   at OakLeaf.MM.Main.Business.mmBusinessObject.FillDataTable(DataSet ds, String command, String tableName, String databaseKey, CommandType cmdType, IDbDataParameter[] cmdParams)
>   at OakLeaf.MM.Main.Business.mmBusinessObject.FillDataSet(DataSet ds, String command, String tableName, String databaseKey, CommandType cmdType, IDbDataParameter[] cmdParams)
>   at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataSet(String command, String tableName, String databaseKey, CommandType cmdType, IDbDataParameter[] dataParams)
>   at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataSet(String command, String tableName, CommandType cmdType, IDbDataParameter[] dataParams)
>   at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataSet(String command, CommandType cmdType, IDbDataParameter[] dataParams)
>   at OakLeaf.MM.Main.Business.mmPickListBusinessObject.GetPickList(String command, CommandType cmdType, IDbDataParameter[] parameters)
>   at OakLeaf.MM.Main.Windows.Forms.mmPickListSearch.HookGetPickListData(mmPickListParameters pickListParams)
>   at OakLeaf.MM.Main.Windows.Forms.mmPickListSearch.GetPickListData(mmPickListParameters pickListParams)
>   at OakLeaf.MM.Main.Windows.Forms.mmPickListSearch.PerformSearch(mmPickListParameters pickListParams, mmPickerSearchResult& result)
>   at OakLeaf.MM.Main.Windows.Forms.mmPicker.PerformSearch()
>   at OakLeaf.MM.Main.Windows.Forms.mmPicker.btnPicker_Click(Object sender, EventArgs e)
>   at System.Windows.Forms.Control.OnClick(EventArgs e)
>   at System.Windows.Forms.Button.OnClick(EventArgs e)
>   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
>   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
>   at System.Windows.Forms.Control.WndProc(Message& m)
>   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
>   at System.Windows.Forms.Button.WndProc(Message& m)
>   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
>   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
>   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
>   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
>   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
>   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
>   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
>   at System.Windows.Forms.Application.Run(Form mainForm)
>   at Acelo.OSMS.Window.AppMainEntry.Main() in C:\OSMS\Acelo.OSMS.Window\Main.vb:line 85
>
>
>I am not sure what it is.
>
>Thanks
>Yassin
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform