G
Guest
I currently have a web-application which on last framework called a serviced
component with a dataset.
'ds.RemotingFormat = SerializationFormat.binary
‘ds.RemotingFormat = SerializationFormat.Xml
lOrder.SaveSwitch(ds, bt, st)
<Transaction(TransactionOption.Required)> _
Public Class COrder
Inherits ServicedComponent
Public sub SaveSwitch(ByRef ds As System.Data.DataSet, ByVal bt As Int16,
ByVal st As Int16)
‘Parse dataset and save to database
End sub
End class
I get the following errormessage:
Type is not resolved for member System.Data.SerializationFormat,
System.Data, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.
Technical info
Type is not resolved for member System.Data.SerializationFormat,
System.Data, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.
Technical detail
System.Runtime.Serialization.SerializationException: Type is not resolved
for member System.Data.SerializationFormat, System.Data, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089.
at
System.EnterpriseServices.IRemoteDispatch.RemoteDispatchNotAutoDone(String s)
at System.EnterpriseServices.RemoteServicedComponentProxy.Invoke(IMessage
reqMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at TRXOrders.COrder.SaveSwitch(Object& ds, Int16 bt, Int16 st)
at tradex.TRXctrl.Orders.OrderViewState.CtrlSave() in
C:\develop\NEW\Tradex\Tradex\application\orders\usercontrols\OrderViewState.ascx.vb:line 381
at tradex.TRXctrl.Orders.Order.DoSaveSwitch_Click(Object sender, EventArgs
e) in
C:\develop\NEW\Tradex\Tradex\application\orders\usercontrols\Order.ascx.vb:line 1719
component with a dataset.
'ds.RemotingFormat = SerializationFormat.binary
‘ds.RemotingFormat = SerializationFormat.Xml
lOrder.SaveSwitch(ds, bt, st)
<Transaction(TransactionOption.Required)> _
Public Class COrder
Inherits ServicedComponent
Public sub SaveSwitch(ByRef ds As System.Data.DataSet, ByVal bt As Int16,
ByVal st As Int16)
‘Parse dataset and save to database
End sub
End class
I get the following errormessage:
Type is not resolved for member System.Data.SerializationFormat,
System.Data, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.
Technical info
Type is not resolved for member System.Data.SerializationFormat,
System.Data, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.
Technical detail
System.Runtime.Serialization.SerializationException: Type is not resolved
for member System.Data.SerializationFormat, System.Data, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089.
at
System.EnterpriseServices.IRemoteDispatch.RemoteDispatchNotAutoDone(String s)
at System.EnterpriseServices.RemoteServicedComponentProxy.Invoke(IMessage
reqMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at TRXOrders.COrder.SaveSwitch(Object& ds, Int16 bt, Int16 st)
at tradex.TRXctrl.Orders.OrderViewState.CtrlSave() in
C:\develop\NEW\Tradex\Tradex\application\orders\usercontrols\OrderViewState.ascx.vb:line 381
at tradex.TRXctrl.Orders.Order.DoSaveSwitch_Click(Object sender, EventArgs
e) in
C:\develop\NEW\Tradex\Tradex\application\orders\usercontrols\Order.ascx.vb:line 1719