468,140 Members | 1,635 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,140 developers. It's quick & easy.

Error remoting with "no-touch deployment" window form.

Hi,

I am having a strange problem right now and I don't even
know how to go about it. Someone please help me! Any
inputs will be highly appreciated.

We have an application that has a VB.Net windows form
front-end and a middle tier that's also in VB.Net. The two
talk to each other via .Net Remoting. If we just run the
windows form exe directly, then the application works just
fine. The front-end and middle tier communiting through
Remoting smoothly and we don't have a problem.

But if we applied the "no-touch deployment" to our widnows
form front-end, which means the windows form exe code will
be pulled down from deployment web server, then the
problem comes. A Remoting call from a windows form now
returns an error that says "Returned argument has an
invalid type". To track this down, I was able to debug on
both sides. What's surplises me is that, from the point
the call leaves the front-end goes to the middle tier, to
the point where the middle tier returns a reference (to a
MarshalByRefObject) back to the front-end, there are no
errors got thrown. But as soon as the returned call leaves
the middle tier, I see the error message right away. It
looks to me like something with the call goes wrong on its
way back to fron-end! How can that be possible?

Besides, if I just run the front-end code using "no-touch
deployment" without making Remoting calls, I can do
whatever I want and never have a problem. So it looks like
the problem is related to the combination of the "no-touch
deployment" and Remoting.

I am totally lost now and need help from somebody.

Thanks a million!!!

Nov 21 '05 #1
0 1367

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by edgarjang | last post: by
2 posts views Thread by Chris | last post: by
5 posts views Thread by balakrishnan.dinesh | last post: by
27 posts views Thread by didacticone | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.