473,398 Members | 2,212 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

ActivationOption.Server doesent work, but libary does

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.SerializationExceptio n: 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
Nov 18 '05 #1
2 1316
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" <Steve@_NOSPAM_.Drakey.co.uk> escribió en el mensaje
news:#q**************@TK2MSFTNGP12.phx.gbl...
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.SerializationExceptio n: 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

Nov 18 '05 #2
Already done.

Cheers

Steve
"José Miguel Torres" <jtorres_diaz~~ARROBA~~terra.es> wrote in message
news:#$**************@TK2MSFTNGP09.phx.gbl...
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" <Steve@_NOSPAM_.Drakey.co.uk> escribió en el mensaje
news:#q**************@TK2MSFTNGP12.phx.gbl...
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.SerializationExceptio n: 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


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: cylin | last post by:
Dear all, I try to use rand() to generate some integers; but these integers are never larger than 40000. I use Borland C++ Builder to test, the result is also same. But I use g++ in CYGWIN,...
11
by: Bore Biko | last post by:
Dear, I have function that transform time from secconds to string formated as dd:hh:mm:ss (days:hours:minutes:seconds), but it doesent work correctly... Here s code compiled with gcc it goes...
1
by: Tom Edelbrok | last post by:
I am creating a class libary of VB.Net utilities that will be built into a DLL. This DLL can be used by our development VB.NET programs when they want to call standard in-house utilities. I...
36
by: Cap'n Ahab | last post by:
I have used VB3 - VB6, so learning all this OO stuff is reasonably new to me (although I looked at Java a few years ago). Anyway, I thought I would write a small class to begin with, with a...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
0
by: palvin | last post by:
Any sample or any open source SSL libary to use to support client server connection on SSL.
2
by: Just Me | last post by:
OK, I have SQL2005/vs2005 and on my local machine I have SQL Express, so my local connection string is like this. When i publish to the server, it of course cannot find the instance for the server...
3
by: Jacob | last post by:
Hi! Where do i find .NET class libary in Visual studio? I mean if you would like to browse through the classes and members. Or if you want to search fr specific classes or members. Thanks in...
4
by: vedrandekovic | last post by:
Hello, Does anybody have any idea how can I embed my modules to libary.zip and use it from my application.For example if user write this code in my TextEntry ( or something like that, textentry...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.