all groups > dotnet component services > november 2003
Filter by week: 1 2 3 4 5
Updater Application Block
Posted by Precious at 11/28/2003 5:14:40 PM
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 Appl... more >>
COM+ removes spaces
Posted by Jeppe A at 11/28/2003 2:15:50 AM
Hi, I have been trying to get a solution to this problem in quite a few
forums now and have failed.
My problem is that if I have a DataSet with one DataTable with one
DataRow and set a character field's value to a single space " " and then
send the DataSet to a serviced component that space is... more >>
Invoke ServicedComponent
Posted by VanQuy at 11/25/2003 11:58:17 AM
Please help me.
object[] Param =3D new object[1];
Param[0] =3D "Hello everybody!";
System.Type BankType =3D =
System.Type.GetTypeFromProgID("BankComponent.Account","SERV1");
object Bank =3D System.Activator.CreateInstance(BankType);
MethodInfo MI =3D obj.GetType().GetMethod("Hello");
Messag... more >>
access is denied
Posted by Max at 11/25/2003 10:14:39 AM
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
... more >>
Advantages of .NET DLL over VB6 DLL
Posted by Precious at 11/24/2003 5:24:26 PM
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
... more >>
EnterpriseServices On Remoting Client?
Posted by stevec NO[at]SPAM atomic9.net at 11/24/2003 2:02:36 PM
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)->ServicedCom... more >>
I need some help with this code....
Posted by EMW at 11/23/2003 5:49:20 PM
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 =... more >>
How to secure asp.net code?
Posted by Isabella at 11/23/2003 12:20:43 AM
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!
Isa... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Is the current environment ASP.NET?
Posted by Harjit S. Batra at 11/21/2003 9:49:05 AM
How can a function tell if it has been called from a ASPX page or ASMX web
service versus being called from a console or windows app? I need to extend
the EventLog class to write events and need to know the name of the app or
the name of the page or the name of the service calling the WriteEvent
... more >>
.NET DLL and asp
Posted by Mike at 11/21/2003 6:46:07 AM
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... more >>
COM+ vs .NET
Posted by l-touched at 11/20/2003 10:41:14 AM
I have developed my first .NET component using System.EnterpriseServices, System.Reflection, ServicedComponent ... etc (you know), this is working very good. When I add a reference to this assembly (.DLL) since my ASP.NET I don't have any problem.
For publishing in COM+, I have used sn.xe, gacut... more >>
Problem with Queued Component
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 11/16/2003 5:41:30 PM
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 2... more >>
COM+ hosted objects
Posted by <-> at 11/14/2003 8:34:45 PM
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 eve... more >>
Can not write to the Registry key!
Posted by Hadeel at 11/12/2003 10:54:54 AM
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
... more >>
ServicedComponent and Role based security
Posted by erik.runeson NO[at]SPAM telia.com at 11/11/2003 8:22:06 AM
I'm trying to get role based security to work with a
ServicedComponent, but I've been frustrated for days and I am totally
stuck. Any help would be appreciated.
What I'm trying to do is simply have a ServicedComponent written in
C#, running in Server mode. I want to access this from a simple
... more >>
Transaction support for own classes
Posted by Lasse Vågsæther Karlsen at 11/8/2003 3:58:26 PM
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,... more >>
Launching an app from a service
Posted by Mike Hillmann at 11/7/2003 11:18:49 PM
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 re... more >>
Start / Stop Service from WEB Page
Posted by Laurent Lequenne at 11/4/2003 11:24:00 AM
Hello there,
I'm trying to use the ServiceController object to Start / Stop a service
from a web page. I have a Access denied message error. This seems to be
normal :-) But now I try to get the rid of it, and I have no Idea how I can
do it.
Here is the piece of code doing that stuff
Sys... more >>
Manual transactions -vs- Automatic transactions
Posted by Jamey McElveen at 11/4/2003 8:48:43 AM
I am calling two INSERT stored procedure. I am using COM+ 1.5 and automatic
transactions (ServicedComponent) with connection pooling. I created an
example that calls the same stored procedure using maunal transactions
transactions (tran = sqlConnection.BeginTransaction();). In a test aspx
pag... more >>
Launch windows app with no GUI ?
Posted by Paul at 11/3/2003 5:30:34 PM
Hi.
I need to launch a windows application and then send keyboard event to this
process to run certain commands. I've created a COM+ appplication to spawn
and talk to the application which works well however the launched
application always shows the UI where-as I need this to be hidden, even
... more >>
MS DTC requires that the systems be cloned using supported cloning tools such as SYSPREP
Posted by mtruong NO[at]SPAM sbiandcompany.com at 11/2/2003 1:21:01 PM
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 M... more >>
|