473,503 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Com+ Not working with ASP.Net

Here's my situation - I've reformatted and reinstalled everything from the
ground up - WinXP pro with all the latest SPs

ASP.Net will run just fine in my local web server (IIS, of course)

Com+ using VB6 will run fine on my computer

However, when I reference (in my code) a Com+ DLL like this:
Dim objWebMS as Webms.cWebms
objWebMS = Server.CreateObject("Webms.cWebms") <----- it breaks right here.

The error message says:
Could not create an object of type 'Webms.cWebms'.

I'm doing this in a text editor and creating my own Com+ interop assembly,
but it doesn't work when I do it in VS.Net 2003, either.

The weird thing is that it works fine on our Test server and our Production
Server.

any ideas?
Nov 19 '05 #1
3 1140
You don't want to tell us that this is your ASP.NET code don't you?
objWebMS = Server.CreateObject("Webms.cWebms")

--Daniel Fisher(lennybacon)
"Elmo Watson" <sp**********@No.Spam.Yahho.com> wrote in message
news:e5**************@TK2MSFTNGP09.phx.gbl... Here's my situation - I've reformatted and reinstalled everything from the
ground up - WinXP pro with all the latest SPs

ASP.Net will run just fine in my local web server (IIS, of course)

Com+ using VB6 will run fine on my computer

However, when I reference (in my code) a Com+ DLL like this:
Dim objWebMS as Webms.cWebms
objWebMS = Server.CreateObject("Webms.cWebms") <----- it breaks right
here.

The error message says:
Could not create an object of type 'Webms.cWebms'.

I'm doing this in a text editor and creating my own Com+ interop assembly,
but it doesn't work when I do it in VS.Net 2003, either.

The weird thing is that it works fine on our Test server and our
Production Server.

any ideas?

Nov 19 '05 #2
and how would you do it?
"Daniel Fisher(lennybacon)" <in**@removethis.lennybacon.com> wrote in
message news:%2****************@TK2MSFTNGP10.phx.gbl...
You don't want to tell us that this is your ASP.NET code don't you?
objWebMS = Server.CreateObject("Webms.cWebms")

--Daniel Fisher(lennybacon)
"Elmo Watson" <sp**********@No.Spam.Yahho.com> wrote in message
news:e5**************@TK2MSFTNGP09.phx.gbl...
Here's my situation - I've reformatted and reinstalled everything from
the ground up - WinXP pro with all the latest SPs

ASP.Net will run just fine in my local web server (IIS, of course)

Com+ using VB6 will run fine on my computer

However, when I reference (in my code) a Com+ DLL like this:
Dim objWebMS as Webms.cWebms
objWebMS = Server.CreateObject("Webms.cWebms") <----- it breaks right
here.

The error message says:
Could not create an object of type 'Webms.cWebms'.

I'm doing this in a text editor and creating my own Com+ interop
assembly, but it doesn't work when I do it in VS.Net 2003, either.

The weird thing is that it works fine on our Test server and our
Production Server.

any ideas?


Nov 19 '05 #3
This was and is working on most of our servers - - in the way I posted....
I did change it to:
objWebMS=New WebMS.cWebMS and it worked on this computer (where it wasn't
working)

BUT NOW - -
With the old coding way, it's been working for 2 years - -
I need to know why, all of a sudden, it's working on some and not my
computer, using the old way of coding it?

The reason I formatted my hd, was that, all of a sudden, this phenomenon
started happening on my computer and I couldn't fix it - - so I reformatted,
and reinstalled XP - now with all the latest SP/updates

I'd almost understand if something changed in the updates, except our
production server is Win2003 - -

any other ideas?

"Daniel Fisher(lennybacon)" <in**@removethis.lennybacon.com> wrote in
message news:%2****************@TK2MSFTNGP10.phx.gbl...
You don't want to tell us that this is your ASP.NET code don't you?
objWebMS = Server.CreateObject("Webms.cWebms")

--Daniel Fisher(lennybacon)
"Elmo Watson" <sp**********@No.Spam.Yahho.com> wrote in message
news:e5**************@TK2MSFTNGP09.phx.gbl...
Here's my situation - I've reformatted and reinstalled everything from
the ground up - WinXP pro with all the latest SPs

ASP.Net will run just fine in my local web server (IIS, of course)

Com+ using VB6 will run fine on my computer

However, when I reference (in my code) a Com+ DLL like this:
Dim objWebMS as Webms.cWebms
objWebMS = Server.CreateObject("Webms.cWebms") <----- it breaks right
here.

The error message says:
Could not create an object of type 'Webms.cWebms'.

I'm doing this in a text editor and creating my own Com+ interop
assembly, but it doesn't work when I do it in VS.Net 2003, either.

The weird thing is that it works fine on our Test server and our
Production Server.

any ideas?


Nov 19 '05 #4

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

Similar topics

15
9674
by: Mark Sisson | last post by:
Hey all. I've got a legacy COM dll that I'd like to use in my multithreaded C# app. Problem though is when I create several instances of the interop object and start them on their own threads...
1
1123
by: Calvin | last post by:
Hi all, I am working with a team of programmer each working on different modules for a ASP.NET web application. One programmer is working on a COM objects with its interfaces fixed. In order to...
5
2750
by: Duane Pressley | last post by:
I'm looking for someone to help me make sense of the results I'm observing when using the ThreadPool class in a COM-Interop scenario. Here's the set up: 1.. A classic ASP page instantiates and calls...
5
3042
by: tshad | last post by:
I have been working with setting my drop boxes to allow double clicking to select an item. It worked fine until I made some changes. I then stripped the page down to the bare essentials to find...
2
1384
by: danil.shopyrin | last post by:
Hello! We have some code that is written in COM. It was used in a "ISAPI-extension server " and everithing was fine. And it is fine at the moment. But now this code is used from the ASP.NET...
4
2853
by: bbembi_de | last post by:
Hello, I have a COM Object. In my COM object I have the start thread and a poll thread. I need to communicate with a COM server from both threads. But this isn't working. I read that in C++...
1
8157
by: Don Rixtown | last post by:
I ran into a very strange error tonight. I was working with web services and typed datasets. The web server I was using happens to be on the other end of a virtual network (Hamachi). Everything...
1
1810
by: murtyin | last post by:
Hi to All, I am creating COM Wrappers(CCW's) to the existing .Net Product, which is developed using C#. In this, am getting problem with setting "Item" propertty as the Default Property. My...
1
5206
by: Bhrionn | last post by:
Hello World, I am working on implementing a build for my companies application. The scenario implemeted is producing the error: ‘Class does not support automation or does not support expected...
0
7087
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7334
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6993
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
7462
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
5579
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
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1514
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
383
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.