.NETGURU
ActivationOption.Server doesent work, but libary does
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.component_services.

Post a new message to this list...

Steve Drake
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

Reply to this message...
 
    
José Miguel Torres
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
"Steve Drake" <Click here to reveal e-mail address> escribió en el mensaje
news:#Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Steve Drake
Already done.

Cheers

Steve

"José Miguel Torres" <jtorres_diaz~~ARROBA~~terra.es> wrote in message
news:#$Click here to reveal e-mail address...
> make safe assembly name for your component using sn -k
nameassembly.snk....
[Original message clipped]

Reply to this message...
 
    
Ice
is it in the GAC?

pls don't crosspost.

ice
"Steve Drake" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Steve Drake
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

"Ice" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Ice
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
"Steve Drake" <Click here to reveal e-mail address> wrote in message
news:#Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Steve Drake
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

"Ice" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 
System.Runtime.Serialization.SerializationException




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification