all groups > dotnet component services > october 2003
Filter by week: 1 2 3 4 5
The transaction has already been implicitly or explicitly committed or aborted
Posted by mtruong NO[at]SPAM sbiandcompany.com at 10/31/2003 11:59:25 PM
I am using Enterprise Services Serviced Components to handle database
transactions on a SQL Server 2000 database running on a Windows 2003
Server operating system. My web application which is calling my
serviced component is on a different server than my database. I am
using Required transacti... more >>
Creating Windows Service using JScript.NET
Posted by Harjit S. Batra at 10/31/2003 10:36:36 AM
I am trying to create a windows service in JScript and am confused. I have
two files, SimpleService.JS and SimpleServiceInstaller.JS as follows:
SimpleService.JS
/------------------------------------------------------------------------
import System;
import System.ServiceProcess;
import Syst... more >>
If I am not using any distributed transactions is there any other good reasons to use COM+
Posted by Jamey McElveen at 10/30/2003 10:13:06 AM
I am currently using COM+ serviced components to handle my transactions. If
I use manual transactions my database calls are at least 4x faster (even
with object pooling enabled on the COM+ objects). Are there any good
reasons now or coming in the future other than distributed transactions to
us... more >>
Accessing a Com+ Server's instance from various clients ?
Posted by odin at 10/28/2003 7:51:10 AM
I want only one instance of a Com+ Server Object running and various clients accessing concurrently the same instance.
How can i create this in .Net ?
How can i control the access to tha object's data ?... more >>
COULD INVOKE A COM+ (CCW - .NET) FROM A CLIENT WITHOUT FRAMEWORK .NET INSTALLET
Posted by scollpov scollpov at 10/27/2003 3:58:39 AM
This is my COM+'s code:
using System;
using System.Text;
using System.IO;
using System.Reflection;
using System.EnterpriseServices;
using System.Runtime.InteropServices;
namespace Sgm.Interface
{
public interface ISampleSgm2
{
string Sistema {set;}
void Write();
}
[ProgId... more >>
ServicedComponent not released in COM+
Posted by David Lau at 10/26/2003 10:58:27 PM
We have implemented a ServicedComponent which is accessed by other COM+
components written in VB6. It's OK for for us to register the
ServicedComponent and we successfully put it into the same COM+ Application
(activated as Server instead of Library) with its client components.
Everything goe... more >>
COM+ Interop, activated object reference not decrementing
Posted by Paul R. Morin at 10/24/2003 5:47:06 PM
I have a VB6 dll that calls a VB.NET COM+ dll. The function call requires
passing another VB6 object ByRef. Everything works as expected in the
function, but when the original VB6 dll finishes and sets the ByRef object
to nothing, there are still activated instances of the ByRef object (and any... more >>
Strange behavior with Custom Exception and ServicedComponent
Posted by John Leyva at 10/24/2003 3:16:04 PM
This is the enviroment
A WinForm application call a ServicedComponent, it is activated in Server Mode.
This ServicedComponent, throw a CustomException that is catched by de WinForm Application.
When the ServicedCompoent does not implement another Interface, the exception catched by
the applicatio... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
COM+ error
Posted by Jurica Cavlek at 10/24/2003 9:43:05 AM
Hi!
When creating data access components that run as serviced COM+
components i ran into a strange problem.
What happens? I can call methods of my serviced components without any
problems and code executes normally. But for some reason i get following
report in NT event log:
The run-t... more >>
Restart of VS.NET demands re-registration of components?
Posted by Jonas at 10/22/2003 8:50:10 AM
Hi!
I'm developing an ASP.NET application using EnterpriseServices for business
and data layer components. Each time I restart VS.NET, I have to delete all
components from my COM+ application and reregister them, otherwise I get the
following message when I try to start a new debug session fro... more >>
Remoting and COM+
Posted by mcpollo NO[at]SPAM terra.es at 10/22/2003 5:15:31 AM
Hello,
Sorry for this post in this group, but maybe somebody has had the same
problem.
I have a simple VB6 dll registered in COM+, with a hello world public
funtion.
It is a server application, and the class has the no transactions
property set.
When I instanciate this class from asp ... more >>
Problem with transactions from Win2k app server to Win2k3 SQL Server
Posted by paul crowder at 10/21/2003 10:39:01 AM
Here's my set-up:
- Windows 2000 application server with serviced components registered in
Component Services
- Windows 2003 Server Standard running SQL Server 2000
Here's my problem:
I'm trying to create a transaction in my Windows 2000 .Net application which
executes a SQL statement ... more >>
Large object pool causes activation failure
Posted by michaelozer NO[at]SPAM hotmail.com at 10/21/2003 8:03:46 AM
Hi,
here is an interesting thing I would like to share. We are using
Framework 1.1. I have about 20 serviced components objects in my COM+
server application, none of them doing heavy stuff on Activate()
stage.
When I set the min pool size for all objects to 150, the following
happens:
(a) ... more >>
COM+ User must be an Administrator??
Posted by DJ Miller at 10/20/2003 11:58:28 AM
I tried moving my web application from the development to production server.
Development is running Windows 2000 Advanced Server, production is running
Windows Server 2003. This is what I did to install it (on both Dev and
Prod; the steps were identical):
Moved COM objects to server
Ad... more >>
Serviced Component In a Multi-User Environment.
Posted by Vikram at 10/19/2003 1:20:46 AM
Hi,
I have a few Serviced Components with a Business Object - Business Entity
relationship.
The Business Object initiates the transaction and is marked as
TransactionOption Required and the
business entity is marked as TransactionOption Supported.
Now this transaction works perfectly fine ... more >>
Invalid Cast during CreateObject
Posted by Steve S at 10/15/2003 6:10:53 PM
We have begun to migrate our applications over to XP....
our components run just fine under 2000... but when we
put the code on a XP based machine... and request it
talks to a 2000AS based server for it's objects.... we
get an INVALID CAST error....
When we pull the 2000AS server out of... more >>
remote component deployment : strange behaviour
Posted by enrico sabbadin at 10/14/2003 1:12:34 PM
Hi,
Suppose that a client calls a CAO remote component named C1which in turns
calls into another component C2
the method signature is just a simple one such as
string GetProcessID()
a consle application host the remote component ..
both the client and the server configure remoting using co... more >>
Client Side, User Control "Object Doesn't support this property or method"
Posted by tbrown_01923 NO[at]SPAM hotmail.com at 10/14/2003 11:59:09 AM
Hi all. I inherited this code from a contractor. It is a .NET user
control that runs on the client side (ie) on machines with the
framework installed. I have been mucking around to get it work for a
couple of days now, and am growign really frustrated. I need to
expose an Import method on th... more >>
How to Reboot ?
Posted by Joe Longo at 10/14/2003 10:22:26 AM
I have a service in written in vb dotnet. During execution of this service,
I want it to Reboot the system it runs on. How can I do this with or without
the framework.
... more >>
regsvcs: Access to registry key is denied
Posted by Rob Reesor at 10/13/2003 4:11:49 PM
I have written a simple COM+ server application in VB.NET, following all the
guidelines in "Writing Serviced Components" in MSDN.
I only access this COM+ application from another .NET application so I did
not include extra stuff for COM Interop, etc.
When registering the component using "reg... more >>
Failed Transactional Aborts using Message Queue and SQL Server
Posted by Julian Baden at 10/13/2003 3:43:47 AM
This is my first post and apologies for the long message.
I'm having a nightmare trying to get a ServicedComponent
to rollback a transaction that covers the sending of
a message to a Message Queue (local or remote) AND the
deletion of a row from a table in SQL Server 2000.
Both operations... more >>
Watch that important package from Microsoft
Posted by Ing. Ludmila Kastlová at 10/13/2003 12:05:56 AM
Microsoft Client
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to maintain the security of your computer
from these ... more >>
Best Practice to spawn an Application from a Web Service ?
Posted by Paul at 10/12/2003 12:00:16 PM
Hi all.
Can someone provide some help on the following as there seems to be many
different methods of acheiving the same outcome.
Basically I am trying to develop a web service which will spawn an exe file
to run an import and then return a result back to the web service, this
would also ne... more >>
.NET Serviced Component and Application Directory
Posted by Joerg Fischer at 10/9/2003 10:31:50 PM
Hi,
Given the following szenario: I have realized a COM+ component which is
itself uses 3rd party assemblies. These assemblies are strong-named. So far,
so good.
The problem is that these beforementioned assemblies have configuration
files. These files are stored in the directory of the cal... more >>
COM+ Proxy UnauthorizedAccessException
Posted by John Bishop at 10/9/2003 3:05:10 PM
Hello,
I have written a ServicedComponent in VB.NET that will be used from both
classic ASP and ASP.NET. It works fine on my development box, and when I run
it in COM+ on the same server as IIS. When I tried moving the component to a
different server and exported a proxy to use on the web serv... more >>
Tlb Register Failure
Posted by Alan Kosmonov at 10/8/2003 2:16:43 PM
Hello,
I have developed a dll application using VB .Net and i can register my
tlb file on my machine without any trouble. Bu i cannot register it on
another machine.
I get the error message;
"The component DLL's self-registration routine failed. The DllRegisterServer
function failed or... more >>
can't pass object as parameter to queued component
Posted by Laura Bagnall at 10/7/2003 11:42:38 PM
I'm trying to pass an object as a parameter to a queued component. I know
that the class needs to implement the IPersistStream interface, but I'm
still having problems. First, I'm defining the IPersistStream interface in
my code as follows:
//Definition for interface IPersistStream.
[ComImp... more >>
.NET Remoting Newbie question
Posted by Franz at 10/2/2003 11:41:23 PM
I would like to ask why do the server side and the client side both keep a
copy of the object dll?
Actually, I am requesting an object on the server side, so what kind of work
of the dll of the client side does?
... more >>
Does a remote ServicedComponent require IIS?
Posted by Jim Hammond at 10/2/2003 4:27:13 PM
Hello,
Does a remote ServicedComponent require IIS on the server?
Thanks,
Jim
... more >>
Can I keep serviced components and regular .NET classes in the same assembly?
Posted by Stan at 10/2/2003 2:58:59 PM
I have an assembly with serviced component which runs as a server
application under COM+.
I also would like to add another regular class to the same assembly.
1) What ramifications can it have?
2) Is it better to keep regular classes and serviced components in separated
assemblies/dlls?
... more >>
COM+ dispose from remoting
Posted by cllor at 10/1/2003 1:45:51 PM
Hi,
I had a UI layer that will call the App layer through remoting. The
components at App layer are COM+ components.
But I failed to dispose the com+ component and I had tried to find
information from internet and it seem like no solution for this.
Can anyone help?
... more >>
COM+ .setAbort() + .dispose()
Posted by VR at 10/1/2003 1:22:09 PM
Hi, I developed as series of com+ components and everything was going well
until I made the classic method call that does another method call and the
second one calls .setAbort(), when I return to the first component and try
to execute .dispose() on the one that called .setAbort() I receive the
... more >>
Web Services participating in COM+ transactions
Posted by alien2_51 at 10/1/2003 10:37:38 AM
I have a collection of related data access members that provide data
manipulation capabilities to a business object. Each business object has its
own web service that exposes methods for finding, loading and saving data
back to the datasource. Inside the save method I use an ADO.NET connection
a... more >>
|