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 / Component Services / June 2004

Tip: Looking for answers? Try searching our database.

ActivationOption.Server doesent work, but libary does

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Drake - 16 Jun 2004 11:36 GMT
All,

I have a servicedcomponet that works fine if its activated as library app,
but doesn't work if its activated as a server component.

I get the following error :

System.Runtime.Serialization.SerializationException: Cannot find the
assembly Project.Common, Version=6.0.1628.18135, Culture=neutral,
PublicKeyToken=0b8a1eb77127c657.

I have lets .NET register the componet and I have also tried :

regsvcs <DLL> /appdir:<PATH>

The DLL mentioned is in the correct folder.

Cheers

Steve
Jos? Miguel Torres - 16 Jun 2004 11:53 GMT
make safe assembly name for your component using sn -k nameassembly.snk....

regards

--
Jos? Miguel Torres
jtorres_diaz~~ARROBA~~terra.es
http://jmtorres.blogspot.com
> All,
>
[quoted text clipped - 16 lines]
>
> Steve
Steve Drake - 16 Jun 2004 13:49 GMT
Already done.

Cheers

Steve

> make safe assembly name for your component using sn -k nameassembly.snk....
>
[quoted text clipped - 24 lines]
> >
> > Steve
Ice - 16 Jun 2004 17:13 GMT
is it in the GAC?

pls don't crosspost.

ice
> Already done.
>
[quoted text clipped - 32 lines]
> > >
> > > Steve
Steve Drake - 16 Jun 2004 17:36 GMT
I've tried it in the GAC still doesn't work (I would prefer not to have it
in the GAC),

I X posted to ASP.NET as I am running the component from ASP.NET and I know
from experience that this throws over COM+ issues into the MIX, but... I
forget to mention that in my original post.

Steve

> is it in the GAC?
>
[quoted text clipped - 37 lines]
> > > >
> > > > Steve
Ice - 16 Jun 2004 19:49 GMT
COM+ server applications must have the constituent assemblies in the GAC.
Any assemblies referenced by your SC must also be in the GAC. How are you
working around this?

uce
> I've tried it in the GAC still doesn't work (I would prefer not to have it
> in the GAC),
[quoted text clipped - 47 lines]
> > > > >
> > > > > Steve
Steve Drake - 17 Jun 2004 09:35 GMT
I've double checked, I was missing one file that just been added to the
project, thanks for the help.

I do have a .NET server application that does not belong to the GAC, this is
not invoke from ASP.NET or any .NET application it is the end point of a
message queue, this is why I though that it dident matter.

Cheers

Steve

> COM+ server applications must have the constituent assemblies in the GAC.
> Any assemblies referenced by your SC must also be in the GAC. How are you
[quoted text clipped - 54 lines]
> > > > > >
> > > > > > Steve

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.