all groups > dotnet component services > july 2003
COM+ I/O and Networking
Posted by rob thomson at 7/31/2003 1:13:29 PM
Win2k/Com+/VB.NET/SQL Server 2k/XP
Can anyone advise me on the following
We have a 3 tier application
1. Client runs vb.net forms on XP
2. Server runs vb.net dlls in COM+ talking to a database on the same =
machine
3. Client Server connectivity is via DCOM, ie export client package from ... more >>
Error Retriving a DataReader in Enterprise Services
Posted by Scott Lane at 7/30/2003 8:08:37 AM
I have a question. I made a general purpose DAL Control that returns things
like SqlDataReaders, and DataSets. When I place this into Enterprise
Services, the call to get a dataset returns just fine. However, when I try
and return a SqlDataReader it returns me the following error when I access... more >>
Site becomes unavailable when Batch Process runs
Posted by KHemant NO[at]SPAM pun.cognizant.com at 7/28/2003 2:36:30 AM
Hi All,
We have a developed a site using Dotnet. We have asp.net pages
interacting with Vb.Net assemblies which are COM+ enabled. The whole
site works fine. We have several Nigthly batch processes which refer
the same assemblies. Even these batch process run perfectly fine. Now
the probl... more >>
COM interop and multithreading?
Posted by Ales Pour at 7/25/2003 10:41:28 AM
Hello,
I'm trying to use COM interop to work with Tibco (kind of message bus).
Everything seems to work fine when it all happens in one thread (tibco
open -> create transport -> create message -> send message). But when I
attempt eg. send a message from another thread, send operation blocks
f... more >>
Failed to access Queued Component remotelly
Posted by Valery Romanov at 7/24/2003 9:02:28 PM
Greetings!
I'm triying to access ServicedComponent via MSMQ:
IQComponent iQc =
(IQComponent)Marshal.BindToMoniker(@"queue:/new:MSMQTestServer.QComponent");
iQc.DisplayMessage (msg);
It works fine as long as the caller and the component are installed on the
same machine. When I specify an... more >>
Is there Sample Code for creating a Object for use with IIS and ASP (Not ASp.Net)?
Posted by Scott Townsend at 7/22/2003 2:22:12 PM
I'm trying to write a COM Object in VB .NET and not having the best of luck.
I'm not 100% sure that I have the Code writen properly to expose the methods
in my object or if I'm just not registering the dll properly on the Target
machine.
I've included the Code for the Object below. D... more >>
COM Object - Why Cant I get IIS to see the Methods? I can create the Object...
Posted by Scott Townsend at 7/21/2003 9:43:08 PM
I've written a COM Object that I cant call one of the methods from an ASP
Page.
I get the Following Error:
Microsoft VBScript runtime (0x800A01AE)
Class doesn't support Automation: 'objMyCoolObject.DoIt'
After I compile the Class I Copy the .DLL over to the Web Server and issue
the comman... more >>
Timer Component inside Windows Service Component. Does it work?
Posted by José Luis Álvarez at 7/21/2003 12:31:11 PM
Hi,
I have a component class which uses a timer component to implement its
functionality. It works when I use it from a windows application, but
doesn't when used from a windows service component. The component
initializes, but I get no Timer.Tick events.
Do anyone out there know the cause ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
C# sharp not pooling component, Please help.
Posted by m3convertible NO[at]SPAM hotmail.com at 7/19/2003 9:02:32 AM
I'm using windows2k and .Net framework 1.1
I created this test component with the following code:
using System;
using System.EnterpriseServices;
using System.Runtime.InteropServices;
namespace ASIC.IMS.Business.Library
{
/// <summary>
/// Summary description for Class1.
/// </summa... more >>
Object Methods does not appear in the Component Services snap-in !?
Posted by Claudiu Tomescu at 7/18/2003 11:47:15 AM
Hello everybody,
I have a problem with a serviced component developped in C# : I compile the
component, I use the GACUtil.exe tool to put it into the global assembly
cache (my application is configured as a server application), then I deploy
the application into the COM+ using regsvcs.exe tool... more >>
COM+ Object - Class doesn't support Automation for other user, just me?
Posted by Scott Townsend at 7/18/2003 7:19:14 AM
I've created a VS.Net COM+ Object in VB.Net and have been able to write a
test App on the PC that I created the COM+ object and it works great.
I then had one heck of a time getting the COM+ Object installed on our
Webserver (Win2003, IIS6 & .Net Framework) I'm still pretty sure I didn't
inst... more >>
The partner transaction manager has disabled its support for remote/network transactions.
Posted by Stefan Glock at 7/16/2003 1:20:59 PM
Hi,
i have a Remoting Server which uses ServicedComponents for Transactions. The
Remoting Server uses a SQL2k Database on another Windows 2003 Server. If i
call a function on that Remote Server which needs Transaction Support i get
the following error Message:
The partner transaction manag... more >>
interop problem in ASP.NET but not in .NET Windows App
Posted by Stefu at 7/15/2003 3:54:01 PM
Hi
The following problem puzzles me. I have a COM layer and corresponding
Interop assemblies. The goal is to use the COM objects for a ASP.NET
application. The interop dlls were generated by TlbImp.exe (Framework 1.1).
Importing the reference in VS.NET 2003 works fine, but if I make a method
... more >>
every day the same questions... let's make a wiki guys
Posted by Steffen Ramlow at 7/10/2003 9:50:52 PM
Hi to all you guys which answer the same questions again and again.
I suggest that we should make a FAQ in form of a wiki
(http://wiki.org/wiki.cgi?WhatIsWiki). The good thing is, that it is very
easy to add / change / delete items in that faq when it is produced in form
of a wiki. There are a... more >>
Enterprise Services component performance
Posted by Steve S at 7/9/2003 7:52:17 PM
We are experiencing some real time delays (several seconds) when information
is transfered from a ES component to a GUI on the same computer....
The data type being sent is a DataSet that is approx 500K in size....
The class defination file starts like this:
Imports System.EnterpriseServic... more >>
.NET: garbage collection for data type returrned from COM Interop
Posted by JC at 7/8/2003 4:11:06 PM
How does garbage collection work in C# and VB.NET for data returned from COM
object? For example, a COM object written in C++ returns a SAFEARRAY to C#
or VB.NET, will this SAFEARRAY (mapped to type[] in C# or VB.NET) be garbage
collected? Similarily, if C# or VB.NET pass SAFEARRAY to the COM o... more >>
pbl with pooling
Posted by fred at 7/7/2003 9:51:04 AM
I created a serviced component and added the attribute:
[ObjectPooling(true,2,4)]
I also override the CanBePooled tu return true.
But it's not working, the object is never pooled.
I have the same behaviour with th poolings settings in
the component service administration tool.
What ca... more >>
|