===
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
A more OO approach to this would be to create an interface that your
entire object inherits from which are to be persisted to the database.
Public class author : IPersistable
{
}
This class should also know nothing about how the data is persisted just
that it contains what is requir
Bob,
thanks a lot, it works great now. You saved me from completly pulling out
all my hair.
JJ
===
This list is hosted by DevelopMentorĀ® http://www.develop.com
Some .NET courses you may be interested in:
NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http:/
I am trying to set the bits of an integer value. I am able to get the bit
set like this
if((someIntValue & 1) == 1)
{
return true;
}
so if the the first bit == 1 then I know that bit is set
if I want to set the bit to one I get and execption
trying this way I get "The left-hand side of an ass
I have run across and issue where I cannot remove an assembly from the
GAC.
I tried doing it from the Command Line but did not work. I also right
clicked on the file in the %System%\Assembly Folder and clcked delete. It
propted me with the are you sure message I clicked ok and it never deletes
the
I have never had to give the asp.net file permissions to the oracle
directory to get the oracle client to work. That just opens up one more
security hole.
-Original Message-
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of jeff hughes
Sent: Friday
What version of the oracle client are you using?
-Original Message-
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Stuart Hughes
Sent: Thursday, March 18, 2004 2:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] oracle db provider
This
has anyone worked with SRMP? it is used within MSMQ 3.0 but I am looking
for code examples in .NET and have yet to find any
definition from msdn.
SRMP
The SOAP Reliable Messaging Protocol, a published specification defining an
open general-purpose extension of WS-Routing that adds reliability to
I am able to serialize documents and images to and from sql server but what
I am unable to do it download the document or image to the clients machine.
here is the senerio:
a user uploads a word doc to the database via the web. another use should
be able to go in and request that document. I get
FYI
I use remoting for data transfers and I was able to transfer 22600 records
back as xml and it took 2.3 seconds. I used the executeReader and created
the xml by iterating though the reader on the server side and then stream
the xml back over TCP/Binary.
-Original Message-
From: Moderat
can someone expalin to me why I can have a working process of 2457600 bytes
and in the (task manager processes) it shows 16072k. Correct me if I am
wrong but are there not 1024 bytes in 1 kilobyte and the documentation from
microsoft tells me that the
properties value is
The total amount of physica
I have been trying to figure out how to transport binary data through Xml
to a web service that will upload this binary data to a sql server database.
I am able to do this if I connect directly to the database from my web app
and use executeNonQuery to send the binary data. What I am looking for i
I am about ready to through this computer off the roof.
Ok,
what I am tring to do here is do a simple query using the OracleProvider
for .NET
I built a web service that handles calls to sql server and Oracle.
Evertying seems to be working correctly, the building of parameters,
opening of the con
I got the output type issue resolved I had ParameterDirection.ReturnValue
for Output. Opps.
I have another issue now
see below stack trace for Oracle code
ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments
in call to 'GETMIDTIER' ORA-06550: line 1, column 7: PL/SQL: State
I got a managed Oracle class working but I am still unable to pull back a
ref cursor from oracle.
I have a test package built that resembles the code below
procedure GetMitTier(cur_getItems OUT cur_MidTier)
is
Begin
open cur_getTimes for select * from midTier
end
for the ParameterType I a
Exaclty. I am not using the Oledb provider for Oracle I am using the
managed Oracle Provider for .NET. for the Data Source I used the Global
name in the TnsNames.ora file and behold it worked.
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe t
How does the OracleConnetion connection string differentiate between two
separate database instances?
if the connection string for the Oracle driver has
string con = "Data Source=TestBox;User ID=userid;Password=password;";
if I have two different instances listed in the TnsNames.ora file
ex: test
I am trying to ensure my objects are destroyed after I am done using them.
I am using a remoted object. I host it in a Window Service. I call this
object through a Web Service. The problem that I am having is the
destructor is not called until I stop the window service hosting the
remoted object.
here's the deal I have an Interface based dll that has all of the function
stubs for my database function calls (mid tier). I have a Window service
that implements all of these interfaces. I want to just expose the
interfaces to the client and have the processes run on the server. I want
to use st
I am building a web service that will inneract with a middle tier data
class that will talk with databases from behind a firewall.
Question 1:
If I am farming the data tier do I need to set up the web service to use
remoting to talk with the data tier? I ask this question because I am
thoughly c
I am testing scenarios for remoting. If I hardcode the client by not using
a config file for remoting and try to run the client when the remoted
object is not currently hosted by any service I get a socket error. This is
good I am expecting this error. If I use a config file with the code listed
b
I have been trying to get a web service to talk to a remoted object. I have
been able to get some of the functionality to work. my issue is with an xml
document. I set up my web service to accept a Xml document that would be
used to access a remote object that will handle working with the database
I am having a problem remoting using window services. I am trying to remote
a c# assembly dll from a windows service. The problem I am having is it
will not read from the .config file. I am trying to load
this file is named HashDataConnections.dll.config
It is located in my
I am having problems wtting to a remote message queue.
here is a sample of my code in C#
We set up a server running Active Directory, and MSMQ on
2000 Advanced server.
A fellow employee is able to write to the queue in VB.NET
using the same flow as my code. His will write but mine gets the
error
to any com
or dll component the object MyService does not exist, thus will not
compile. I am NOT asking to be spoon fead here but I cannot figure out how
to make this work.
Thanks,
Jeff Hughes
TcpChannel chan = new TcpChannel();
ChannelServices.RegisterChannel(chan);
MyService obj =(MyService
Thanks All for your help.
I now have a remote object that runs under a window service that hashes
connection strings, stored procs and other misc items.
Thanks
Jeff Hughes,
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other
uses the code in the original message that will
allow me to access my hashed values. The problem is I cannot see the public
function I created in the service.
thanks,
Jeff Hughes
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other
service
return myHash["key"];
}
When I make a referance to my service I can see the Start(), Stop() and all
of the other functions of the service but I cannot see the function
GetConnection(string key)
any Clues?
Thank you,
Jeff Hughes
You can read messages from the Advanced DOTN
I am trying to create a .config file for a windows
test application.
I am using
System.Configuration namespace
trying to access northwind and pubs
I am trying to access them by this line of code
strConnection = ConfigurationSettings.AppSettings["northwind"]
how do I name the .config file so it
. Any clues?
Thanks,
Jeff Hughes
** tranaction log ***
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the c:\documents and
settings\jjwork\my documents\class object
development\dataconnectionservice\bin\release
xmlDataDoc = new XmlDataDocument(ds);
and then return the xmlDataDoc or perform some type of XML Transformation
and then return the document to the caller.
Since there is a large overhead associated with the dataset this would be a
faster method to serialize data.
Am I wrong or right?
Jeff Hughes
a generic XML Document. I am using C# any help would be great.
Thank you,
Jeff Hughes
[EMAIL PROTECTED]
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
32 matches
Mail list logo