Remoting error with DataGrid.DataBind() method

Discussion in 'ASP .Net' started by jason, Jun 1, 2005.

  1. jason

    jason Guest

    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
    jason, Jun 1, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UHVzaHBlbmRyYQ==?=

    Problems in accessing method from remoting service

    =?Utf-8?B?UHVzaHBlbmRyYQ==?=, Aug 11, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    383
    =?Utf-8?B?UHVzaHBlbmRyYQ==?=
    Aug 11, 2004
  2. ringo
    Replies:
    2
    Views:
    679
    ringo
    Aug 18, 2004
  3. Dee

    DataGrid's DataBind() error

    Dee, Apr 17, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    4,806
    Elton Wang
    Apr 17, 2005
  4. Michael
    Replies:
    0
    Views:
    210
    Michael
    Dec 29, 2003
  5. Grant Harmeyer

    Render a control to a DataGrid durng DataBind using custom method

    Grant Harmeyer, May 25, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    202
    Grant Harmeyer
    May 25, 2005
Loading...

Share This Page