Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / January 2005

Tip: Looking for answers? Try searching our database.

Strong Name Microsoft.ApplicationBlocks.Data.dll

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Aberon - 25 Jan 2005 03:05 GMT
Can anyone give me specific instructions on how to assign a strong name to
microsoft.applicationblocks.data.dll.

I keep getting errors when I try
Patrick Steele [MVP] - 25 Jan 2005 03:44 GMT
> Can anyone give me specific instructions on how to assign a strong name to
> microsoft.applicationblocks.data.dll.
>
> I keep getting errors when I try

What errors?

Signature

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

Aberon - 25 Jan 2005 12:35 GMT
I am at a client site, and can not test this this morning.....I am hoping
that someone can just step out the instructions to how to do it...and when I
get back later this morning, I will run it then.  This is a pretty hot
project for my company, and I am stuck.

> > Can anyone give me specific instructions on how to assign a strong name to
> > microsoft.applicationblocks.data.dll.
> >
> > I keep getting errors when I try
>
> What errors?
Aberon - 25 Jan 2005 12:39 GMT
The error message is that Microsoft.ApplicationBlocks.Data.dll is not a valid
type library

> > Can anyone give me specific instructions on how to assign a strong name to
> > microsoft.applicationblocks.data.dll.
> >
> > I keep getting errors when I try
>
> What errors?
Patrick Steele [MVP] - 26 Jan 2005 01:57 GMT
> 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?

Signature

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

Aberon - 26 Jan 2005 03:31 GMT
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


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.