473,324 Members | 2,179 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,324 software developers and data experts.

easy com+ problem

Hello

can someone tell me why i get "One or more files do not contain components
or type libraries.
These files cannot be installed" when i try to register it in Components
Services?
using System;

using System.EnterpriseServices;

namespace COMTest

{

public class Class1 : ServicedComponent

{

public Class1() {}

public string WriteShit()

{

return "shite";

}

}

}

Nov 15 '05 #1
4 1095
Where do you see the error message? From COM+ explorer or another
tool? Does the assembly the class is in have a strong name?

--
Scott
http://www.OdeToCode.com

On Tue, 3 Feb 2004 15:56:08 +0100, "Lasse Edsvik" <la***@nospam.com>
wrote:
Hello

can someone tell me why i get "One or more files do not contain components
or type libraries.
These files cannot be installed" when i try to register it in Components
Services?
using System;

using System.EnterpriseServices;

namespace COMTest

{

public class Class1 : ServicedComponent

{

public Class1() {}

public string WriteShit()

{

return "shite";

}

}

}


Nov 15 '05 #2
I already answered this in the thread you already had for this. Please don't
use multiple topics for the same question.

--
Sam Gentile [C#/.NET MVP]
..NET Blog http://samgentile.com/blog/
MSDN Column:
http://msdn.microsoft.com/library/de...tml/bridge.asp
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Lasse Edsvik" <la***@nospam.com> wrote in message
news:uF**************@TK2MSFTNGP11.phx.gbl...
Hello

can someone tell me why i get "One or more files do not contain components or type libraries.
These files cannot be installed" when i try to register it in Components
Services?
using System;

using System.EnterpriseServices;

namespace COMTest

{

public class Class1 : ServicedComponent

{

public Class1() {}

public string WriteShit()

{

return "shite";

}

}

}

Nov 15 '05 #3
Scott,

in component services, computers/my computer/COM+
Applications/COMTest/Componets + New Component, and there in the wizard I
get that error.

nopes, havent touched the assembly, what's needed in that one?

/Lasse
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:kh********************************@4ax.com...
Where do you see the error message? From COM+ explorer or another
tool? Does the assembly the class is in have a strong name?

--
Scott
http://www.OdeToCode.com

On Tue, 3 Feb 2004 15:56:08 +0100, "Lasse Edsvik" <la***@nospam.com>
wrote:
Hello

can someone tell me why i get "One or more files do not contain componentsor type libraries.
These files cannot be installed" when i try to register it in Components
Services?
using System;

using System.EnterpriseServices;

namespace COMTest

{

public class Class1 : ServicedComponent

{

public Class1() {}

public string WriteShit()

{

return "shite";

}

}

}

Nov 15 '05 #4
You're using RegSvcs.exe, right? You can't load a .NET assembly into COM+
the same way you'd do with a DLL written in VB or VC++.

Open the VS.NET command prompt and type in "regsvcs /h". MSDN also contains
full documentation on the tool.

--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

"Lasse Edsvik" <la***@nospam.com> wrote in message
news:et**************@TK2MSFTNGP09.phx.gbl...
Scott,

in component services, computers/my computer/COM+
Applications/COMTest/Componets + New Component, and there in the wizard I
get that error.

nopes, havent touched the assembly, what's needed in that one?

/Lasse
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:kh********************************@4ax.com...
Where do you see the error message? From COM+ explorer or another
tool? Does the assembly the class is in have a strong name?

--
Scott
http://www.OdeToCode.com

On Tue, 3 Feb 2004 15:56:08 +0100, "Lasse Edsvik" <la***@nospam.com>
wrote:
Hello

can someone tell me why i get "One or more files do not contain componentsor type libraries.
These files cannot be installed" when i try to register it in ComponentsServices?
using System;

using System.EnterpriseServices;

namespace COMTest

{

public class Class1 : ServicedComponent

{

public Class1() {}

public string WriteShit()

{

return "shite";

}

}

}


Nov 15 '05 #5

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

Similar topics

2
by: Michael Jordan | last post by:
I'm hoping that someone here can give me some insight into a problem I'm running into with Python, pywin32 and Excel. All-in-all using Python and pywin32 is great but I've run into a strange...
1
by: Cristian Hasbun from Chile | last post by:
I need a win32com guru please... i'm not python expert, but i understand mi trouble... Requirements: Hook EyesWeb 3.2.0 (http://www.eyesweb.org) COM Module with Python 2.0.1 i used win32com...
5
by: r2_r2 | last post by:
I am very much a beginner to python. I have been working on writing a very simple program and cannot get it and was hoping someone could help me out. Basically i need to write a code to print a...
2
by: tomc112 | last post by:
Access 97 Change_Control_Number Issuance_Date CC040594 CC040594 11/10/04 CC040594 11/15/04 Not Complete Change_Control_Number Issuance_Date CC040594 11/09/04
4
by: Luis Esteban Valencia | last post by:
Hi Everyone, How do you get two or more listitems to have the same value? I am trying to do this: <asp:dropdownlist id="one" runat="server"> <asp:listitem text="hello" value="hi" />
4
by: google | last post by:
Hi Guys, I'm having a bizarre problem here with mutexes. If I have the following code in a page (note that it never releases the mutex!), then load the page twice, in 2 seperate browsers, I do...
3
by: akhila.deshpande | last post by:
Hi, I am not able to open any asp.net project. In browser If i type "http://localhost/petshop" Nothing happens. I am not able to load any aspx page in browser also I get error "The XML page...
9
by: .Net Sports | last post by:
I get an incorrect syntax error pointing to the semicolon when I run this sql statement with a dynamic querystring (geid is primary key integer datatype): sql="SELECT firstname,lastname from...
9
by: thetechturf.com | last post by:
I have got a small problem getting my dropdown menu to work. I want to change the style with javascript. Here is the code in my HTML: <div id="navigation"> <ul> <li id="lnot"><a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.