Remoting error with DataGrid.DataBind() method

J

jason

hello. i have a VB ASP.NET page that runs the following code in the
code-behind file:

Dim oMyObject = Server.CreateObject("MyLibrary.MyObject")
Dim oDT = New DataTable
oDT = oMyObject.MyDataTable
DataGrid1.DataSource = oDT
DataGrid1.DataBind()

MyLibrary is a C# class library wrapped from COM interop, and
registered under COM+ (and generally works just fine).

MyObject is a C# class with a public DataTable property called
MyDataTable

however, when i try to execute the DataBind method of the DataGrid, i
get the following error:

System.Runtime.Remoting.RemotingException: This remoting proxy has no
channel sink which means either the server has no registered server
channels that are listening, or this application has no suitable client
channel to talk to the server.

anyone know what is causing this, and how to resolve it?

thanks in advance,

jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top