all groups > dotnet component services > december 2003
Connection to remote COM object works in Windows Forms application but not in ASP.NET application
Posted by José Ramón Rodríguez at 12/30/2003 2:59:33 PM
Hello there,
The following code causes "Specified cast is not valid" exception when line
3
executes inside an ASP.NET application. I have tried this with several
components. Exactly the same code works if
connecting locally (i.e with localhost) and it always works from a Windows
Forms applic... more >>
VB.NEt and FileSystemWatcher question ??
Posted by HANG LAM at 12/29/2003 9:21:29 PM
Hi,
I created a Windows Service using VB.NET under LocalSystem account.
In this service, I'm using the FileSystemWatcher component to keep track of
files in a mapped directory.
I'm mapping this directory from another computer (Server-A),
but I keep getting an error saying that the FileSystemWat... more >>
Connecting to remote COM+ object from .NET
Posted by José Ramón Rodríguez at 12/29/2003 4:59:19 PM
Hello everyone,
I am currently writing an ASP.NET application that uses unmanaged COM+
components that are supposed to be installed in a different server. I am
using the following code to connect via DCOM to these components and it does
not work, it raises "Specified cast is not valid" excepti... more >>
DTC Transactions: MSMQ.. marshal vs. automatic
Posted by Pete Forde at 12/28/2003 5:26:05 PM
I'm working with a proof on concept application where I am trying to implement a two-stage DTC transaction
My first approach was to
Dim iQReporter As Reporter.Reporter.IQReporte
iQReporter = CType(Marshal.BindToMoniker("queue:/new:Reporter.Reporter.ImplReporter"),Reporter.Reporter.... more >>
How to add a strongname key to a assembly created with ilasm.exe(Intermediate Language) or to an already made DLL?
Posted by port_branco NO[at]SPAM hotmail.com at 12/22/2003 10:47:00 PM
How can i accomplish this? I want to be able to put a DLL of mine in
the GAC(It must have a STRONG name) but the following command is not
working:
ilasm "my_il_file.il" /DLL
I already tried to:
ilasm "my_il_file.il" /DLL /KEY="key_file.txt"
but it still didn't work
Could anyone enlighten ... more >>
how to Deployment transactionoption by c# code but not by manual in MMC?
Posted by john smith9th at 12/19/2003 2:17:57 PM
i just want to configure an existing COM+ component(i have not source code)
from "required" level to "supported" level programmelly. c# code is the best
help. and any other help would be really appreciated.thanks.
... more >>
Remove Windows Services
Posted by Microsoft at 12/17/2003 3:59:31 PM
Hi,
I'm using Windows XP. I had installed Oracle server 9.0 on the system. But
something wrong, I removed Oracle but there are some Oracle's entry in
Service windows (Start/Program/Administrative Tools/Services)
How can I remove these entry?
Thanks
... more >>
Newbie question
Posted by Kenneth at 12/16/2003 6:33:07 PM
I'm developing a (C#) n-tier application and have looked a little at COM+,
thinking it might be a good Data Access Layer Component.
But whenever I try to call a method on my COM+ component I get this error:
"The partner transaction manager has disabled its support for remote/network
transactio... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
IIS6.0: Running ASP pages that use VB6 ActiveX dll
Posted by Moyed Haddadin at 12/16/2003 8:52:38 AM
Hi all
I have the following senario:
- Installing web application(ASP) on IIS6.0 (The application was running
on IIS5)
- ASP pages that use VB6 ActiveX dll
- Windows 2003 standard
I have a problem when I run the ASP pages that use the VB6 ActiveX dll. when
I call these pages the ... more >>
ASP.Net and COM Problem
Posted by xikotripa NO[at]SPAM bol.com.br at 12/14/2003 5:48:28 AM
I have a web site coded in C#. It needs to call a COM component
written in VB6. This COM conects with another computer. This second
machine conects to a mainframe - kind of a wrapper - and returns some
informations from mainframe to COM component on the first machine (the
web server)
In the d... more >>
Problems with setting up an n-tier architecture
Posted by Scott at 12/11/2003 3:15:21 PM
I thought I would stop hard-coding all my db commands and came up with (what
I thought is) an n-tier architecture to deal with data access. I have set
up a simple scenario to test:
I have an object named "SQLConnect.vb" which is supposed to be the generic
data layer and has a function in it c... more >>
COM Component Creation and Registration Script
Posted by svercuski NO[at]SPAM neo.rr.com at 12/11/2003 1:19:31 PM
Hello everyone,
I have a question regarding COM+ Component Services. I currently
have a machine that has a number of separate COM+ Packages with 1-2
components in each package. We're implementing a new backup strategy
and I would like to know if there is a way to script the
creation/regi... more >>
self install into COM+ fails
Posted by Matthew Phillips at 12/10/2003 12:32:14 PM
I have a .NET serviced component.
I can install it into a COM+ application using the regsvcs utlility fine :-)
However, I need to to use an installer class to do this to make it part of a
big install.
I've added an installer class, derived it appropriately, and implemented
overriden methods... more >>
COMException when registering a LCE transient subscription
Posted by SqlRanger at 12/9/2003 2:59:09 PM
I'm using this code to register a LCE transient subscription:
Public Function Add(ByVal Obj As Object) As String
Dim cat As Object =3D CreateObject("COMAdmin.COMAdminCatalog")
Dim Subscriptions As Object =3D =
cat.GetCollection("TransientSubscriptions")
Dim Subscription As Object ... more >>
ServicedComponent impersonation level is always Anonymous
Posted by erik.runeson NO[at]SPAM telia.com at 12/9/2003 6:45:51 AM
I have a serviced component, and I want it to be able to do some stuff
on behalf of the client using impersonation. However, no matter what I
do, the Impersonation level of the SecurityIdentity in the
SecurityCallContext is always "Anonymous".
I have set up the component with Server activation... more >>
Can't run queued components within 2 hosts
Posted by Eric at 12/9/2003 4:21:10 AM
Hi Fellows
I'm trying to run a queued component hosting the client in one machine (WinXP professional) and the real component in another one (Windows 2003 standanlone server). However I can't figure out the correct way to install the component to make it work. I already use a com+ proxy applicat... more >>
changing dll in com+ application
Posted by Pasha at 12/1/2003 6:21:12 PM
Hello
I've inherited an application written in c#. Everything works fine at the moment. However I need to make dome changes and here is where I meet my problem. The application is referencing a dll, which is a com+ application (a SLQ server proxy). If I build the solution as is, it fails as there a... more >>
Returning a value from a serviced component
Posted by Henke at 12/1/2003 4:57:26 PM
Hi,
I have .Net class that is registrered correctly with COM+.
I can get a valid object from the class and I can
call methods on the object.
But I want to return a value from the method,
for example:
public function GetValue(test as string) as boolean
if test = "hello" the... more >>
COM+ C# newbie....
Posted by at 12/1/2003 1:39:49 PM
I have a class that has the COM+ attributes to make it an object pool and
transactional, I have strong-named the DLL and all the DLL's that it uses.
I have used regsvcs.exe to register it in the COM+ catalog, I can see it in
the catalog but.....
When I use it from a web service I get the fol... more >>
Multiple COM+ applications pointing to one DLL
Posted by Alex at 12/1/2003 12:38:59 PM
Hi, I would like to create 2 COM+ applications using the same DLL. That
way i could enter a different Construction string for each application
(connection string to 2 differents databases). COM+ won't let me...
Any ideas ?
Thanx
*** Sent via Developersdex http://www.developersdex.com ***
... more >>
|