| Multiple COM+ applications pointing to one DLL (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| 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 *** Don't just participate in USENET...get rewarded for it! |
|
| Launching an app from a service (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hello, I have a app that uses remoting to share an object that is an interface to another DCOM application. Anyway, I would like to convert this app into a Windows Service but I think am running into a security issue. When the service tries to launch the other application (OnStart) so the remoting object can talk to it, I get a ("Access denied attempting to launch a DCOM Server using DefaultLaunch... |
|
| IIS6.0: Running ASP pages that use VB6 ActiveX dll (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| 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 system do nothing it just hang up. * I successfuly registered th DLL using regsvr32 |
|
| How to secure asp.net code? (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I am writing a web site for my client using asp.net. But I don't want him to able to read the code and reuse it in future. How can I protect the code and still give him a copy? Any idea? just wild guess like compiling the project into .exe, component or dll. I have no idea. Please advise! Isabella |
|
| Problem with Queued Component (3 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| My program is to send sms(short message) to a group of mobile receivers. I devide the business into two parts: asp.net and queued component. Asp.net accept the txt file of receivers' phone numbers and group the numbers to packages which include 200 number each. Queued component will loop 200 times and record it into database in each loop. I use queued component of COM to facilitate the async call,... |
|
| How to add a strongname key to a assembly created with ilasm.exe(Intermediate Language) or to an already made DLL? (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| 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 me please? There should be still another way, for already made DLL's/EXE's to turn them as strong assemblies I ... |
|
| I need some help with this code.... (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| Hi, Can someone please look at this code and tell me why I get an exception error on the last line: For aa 0 To ds.Tables(0).Columns.Count 1 dbColumn New SQLDMO.Column dbColumn.Name "'" & ds.Tables(0).Columns(aa).Caption & "'" 'ds is the dataset dbColumn.Datatype "VARCHAR(1000)" dbColumn.AllowNulls False dbTable.Columns.Add(dbColumn) pgBar.Value 1 'progressbar Next sqlServer.Databases.Item("siteli... |
|
| MS DTC requires that the systems be cloned using supported cloning tools such as SYSPREP (3 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| My application is running on one virtual server while the sql server database is running on another virtual server. When i try to run my application making a transactional call using Serviced Components, I get the following error in the application log. The local MS DTC detected that the MS DTC on CCLTSTECOSQLVM1 has the same unique identity as the local MS DTC. This means that the two MS DTC will... |
|
| Can't run queued components within 2 hosts (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| 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 application, install the component dll in both hosts, tryied all sort of "queue moniker" to instantiate the comp... |
|
| ServicedComponent impersonation level is always Anonymous (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| 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, and access control for both application and components. The ImpersonationLevelOption is set to Delegate.... |
|
| EnterpriseServices On Remoting Client? (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| Tell me I'm missing something here. I have an HTTP Remoting client and server. The server is made up of a Win32 Service, an actual port listener server object, a worker object (Remoted), and a ServicedComponent. The call chain is Client WorkerObject(proxy) WorkerObject(actual) ServicedComponent. In Visual Studio .NET 2003, my Remoting server projects each have a project reference to the installed/... |
|
| changing dll in com+ application (4 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| 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 are calls from the main project to the proxy which are no longer there. I have found the dll (but alas... |
|
| self install into COM+ fails (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| 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. But I'm really not sure that I've done the necessary steps. But using installutil does not install it into t... |
|
| Can not write to the Registry key! (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I developed a component in Vb.Net to modify a registry key on a Server has Windows Server 2003 ,Im using the command .SetValue, but it keeps giving me the error " Can not write to the Registry Key" . Do you have any idea how to solve this? Thank you Hadeel |
|
| .NET DLL and asp (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I am sure it is possible, but am unable to get it to work...I need to compile a VB.NET Class Library into a .dll and then beable to communicate to it with asp..... Thanks, Mike |
|
| Updater Application Block (4 replies) |
| microsoft.public.dotnet.framework.component_services |
| We are planning to migrate our vb6 components (published in com ) to vb.net dll. Front end (vb6) will remain the same. The main reason for migrating only com components (published in com ) is this..., Whenever there is some changes in our com server application, we have to the reinstall Application Proxies at all client machines. We don't want to use any "System Management" software to "push" the ... |
|
| COM Component Creation and Registration Script (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| 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/registration of packages and components in the event that I have to rebuild the server. For instance, under COM I have... |
|
| Remove Windows Services (2 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| 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 |
|
| how to Deployment transactionoption by c# code but not by manual in MMC? (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| 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. |
|
| Problems with setting up an n-tier architecture (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| 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 called "RunSQLWithDataSet" and takes a SQL string and a connection string. The idea is that a business objec... |
|
| Returning a value from a serviced component (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| 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" then return true else return false end if end function I call it: dim i as new testcom.class1 dim y as boolean i.GetValue("hello") t... |
|
| Advantages of .NET DLL over VB6 DLL (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, We are planning to migrate our vb6 components (published in com ) to vb.net dll. Front end (vb6) will remain the same. What are the advantages and disadvantages, do's and don'ts, best pratices to follow? Thanks and regards J Justin |
|
| COM+ hosted objects (6 replies, VIP) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I use VB.Net and was wondering what the bare minimum code would be to host a component under COM ...? In VB6 you just create a class module and the IDE does most of the work but under .Net isn't there more that needs to be implemented...? More than just defining methods, properties and events...? Maybe I am wrong... Anyone able to provide a sample (hellow world type) component that has all COM... |
|
| access is denied (2 replies) |
| microsoft.public.dotnet.framework.component_services |
| I receive the error "Access is denied" calling a Com component (managed code) from an aspx page. I've tried changing roles for Asp.net user, user in machine config, dcom permission, package launching user and so on ... Have you a solution? Thank you Max |
|
| Transaction support for own classes (3 replies) |
| microsoft.public.dotnet.framework.component_services |
| I would like to be able to create classes that has transactional support. For instance, let's say I want to create a BankAccount class, that does not involve a database. Is there a way I can use component services to write this class ? Specifically, if I create two instances of such a class, and do a withdraw on one of them, and a deposit on the other, and I abort/rollback the transaction, how wou... |
|