HighTechTalks DotNet Forums  

Re: Return Argument has an Invalid Type

Dotnet Framework (Component Services) microsoft.public.dotnet.framework.component_services


Discuss Re: Return Argument has an Invalid Type in the Dotnet Framework (Component Services) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
R-D-C
 
Posts: n/a

Default Re: Return Argument has an Invalid Type - 07-04-2003 , 04:26 PM






Tried that, no joy whatsoever


"Ice" <ice (AT) nospam (DOT) com> wrote

Quote:
the dataset in 1.1 is different from the one in 1.0..need to recompile
source with 1.1

ice
"R-D-C" <nospam (AT) please (DOT) uk> wrote in message
news:eHoG$TYMDHA.2432 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
This is seriously annoying.

When we revert to VS2002 and framework 1.0 the system works fine. With
VS2003 / FW1.1 errors galore!

Come on Microsoft! What ever happened to backwards compatibility?


"R-D-C" <nospam (AT) please (DOT) uk> wrote in message
news:uh9PdjMMDHA.704 (AT) tk2msftngp13 (DOT) phx.gbl...
Hi,

We have a problem with a component that returns datasets from the
facade
layer. Works fine as a standalone component but when registered in
COM+,
we
get an error when trying to retrieve datasets.

Error is: "Return Argument has an Invalid Type"

Has anybody got a solution for this problem?









Reply With Quote
  #2  
Old   
Rodrigo Batres
 
Posts: n/a

Default Re: Return Argument has an Invalid Type - 07-30-2003 , 08:16 PM






Had the same problem. If u have dllhost running w/ the 1.1 runtime and a
client app (be it yours or aspnet or whatever) running with the 1.0 runtime
loaded, youŽll have trouble with DataTables and DataSets. You have to make
sure the client app loads up the 1.1 runtime. You can do this by
configuration (myapp.exe.config or machine.config).

You can check what runtimes your processes are loading by attaching the
debuguer to them and checking out the versions on the "modules" pane.

"R-D-C" <nopam (AT) thankyouverymuch (DOT) co.uk> wrote

Quote:
Tried that, no joy whatsoever


"Ice" <ice (AT) nospam (DOT) com> wrote in message
news:uctbf2bMDHA.3144 (AT) tk2msftngp13 (DOT) phx.gbl...
the dataset in 1.1 is different from the one in 1.0..need to recompile
source with 1.1

ice
"R-D-C" <nospam (AT) please (DOT) uk> wrote in message
news:eHoG$TYMDHA.2432 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
This is seriously annoying.

When we revert to VS2002 and framework 1.0 the system works fine.
With
VS2003 / FW1.1 errors galore!

Come on Microsoft! What ever happened to backwards compatibility?


"R-D-C" <nospam (AT) please (DOT) uk> wrote in message
news:uh9PdjMMDHA.704 (AT) tk2msftngp13 (DOT) phx.gbl...
Hi,

We have a problem with a component that returns datasets from the
facade
layer. Works fine as a standalone component but when registered in
COM+,
we
get an error when trying to retrieve datasets.

Error is: "Return Argument has an Invalid Type"

Has anybody got a solution for this problem?











Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.