![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I get a InvalidCastException: - ex {"Unable to cast object of type 'SecSoaService.NFFIServiceParameters' to type 'SecSoaService.NFFIServiceParameters'."} System.Exception {System.InvalidCastException} |
#3
| |||
| |||
|
|
Lars <lars (AT) nospam (DOT) com> wrote: I get a InvalidCastException: - ex {"Unable to cast object of type 'SecSoaService.NFFIServiceParameters' to type 'SecSoaService.NFFIServiceParameters'."} System.Exception {System.InvalidCastException} Does that type exist in multiple assemblies? If so, that's probably the issue. -- Jon Skeet - <skeet (AT) pobox (DOT) com http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet If replying to the group, please do not mail me too |
#4
| |||
| |||
|
|
No, the type is not defined in another assembly, nor is there any other cached assemblies lying around. |
#5
| |||
| |||
|
|
Lars <lars (AT) nospam (DOT) com> wrote: No, the type is not defined in another assembly, nor is there any other cached assemblies lying around. It looks like they're loaded into different Assembly instances though, given the fully qualified name differences. (Even if everything was the same, being in different Assembly instances would be a problem.) Are either of these assemblies loaded explicitly using Assembly.Load? -- Jon Skeet - <skeet (AT) pobox (DOT) com http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet If replying to the group, please do not mail me too |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |