
Signature
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Patrick:
I ended up opening the Code that comes with the application, and created a
strong named dll from there...and I have that part working.
But I am really struggling with a problem now that I think you might be able
to help with....as I have seen your name around many COM+ articles....
I am trying to create a COM+ component that can be called in VB.NET Windows,
Web and VB6 applications.
I created the component, and it returns a string no problem.....in the
windows form it will return a dataset, but it will not return a Dataset for
the Web form. Can I email you code, and have you take a look to see what I
am doing wrong?
> > The error message is that Microsoft.ApplicationBlocks.Data.dll is not a valid
> > type library
>
> How are you trying to strong name it? Have you generated a strong name
> key pair with the "sn.exe" utility? And then used the AssemblyKeyFile
> attribute in your AssemblyInfo to point to that key pair?
Patrick Steele [MVP] - 28 Jan 2005 20:39 GMT
> I created the component, and it returns a string no problem.....in the
> windows form it will return a dataset, but it will not return a Dataset for
> the Web form. Can I email you code, and have you take a look to see what I
> am doing wrong?
When you say "it will not return a Dataset", do you mean you're getting
errors? Are you saying the same method works in a winforms app but
doesn't work in a web app?

Signature
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Aberon - 28 Jan 2005 21:31 GMT
I am saying the exact same code in a windows app (calling a class) will not
work in the Web Form (calling the same code in a class).
> > I created the component, and it returns a string no problem.....in the
> > windows form it will return a dataset, but it will not return a Dataset for
[quoted text clipped - 4 lines]
> errors? Are you saying the same method works in a winforms app but
> doesn't work in a web app?
Patrick Steele [MVP] - 29 Jan 2005 19:01 GMT
> I am saying the exact same code in a windows app (calling a class) will not
> work in the Web Form (calling the same code in a class).
No errors? What happens when you cal the method in the web form?

Signature
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele