TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Olan Malone
NA
1
2k
Custom Object
Aug 17 2010 12:18 PM
Hi,
I have created a web sevice (c#) which return a custom object which has for properties (Dataset,Message,Status and a boolean OK).
I can reference the websevice and return the objects in both Windows Forms and SSIS but in SSIS I get a type cast failure when I try to cast the DTS Variable (object) as the Custom type.
I have created a new custom object and then try to set it equal to a cast of the dts.variable.
object obj = new object();
obj =
Dts.Variables[
"User::obj"
];
MyWebservice
.
Object
GS =
new
MyWebservice.
Object
();
GS = (MyWebservice
.
Object)obj; <<Type cast fails
Any pointers welcome.
O
Reply
Answers (
0
)
How to determine service startup type
passing data between 2 windows project in vb.net