[ADVANCED-DOTNET] UNSUBSCRIBE

2005-10-20 Thread Jeff Hughes
=== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] ASP.NET 2.0 ObjectDataSource poor design?

2005-07-07 Thread jeff hughes
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

Re: [ADVANCED-DOTNET] bits of an integer

2004-06-28 Thread jeff Hughes
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:/

[ADVANCED-DOTNET] bits of an integer

2004-06-28 Thread jeff Hughes
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

[ADVANCED-DOTNET] GAC

2004-05-19 Thread jeff Hughes
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

Re: [ADVANCED-DOTNET] oracle db provider

2004-03-20 Thread jeff hughes
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

Re: [ADVANCED-DOTNET] oracle db provider

2004-03-20 Thread jeff hughes
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

[ADVANCED-DOTNET] SRMP protocol

2003-12-17 Thread jeff Hughes
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

[ADVANCED-DOTNET] get word docs from sql server

2003-12-16 Thread jeff Hughes
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

Re: [ADVANCED-DOTNET] Transfering large data via remoting

2003-12-04 Thread Jeff Hughes
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

[ADVANCED-DOTNET] Process.WorkingSet

2003-04-05 Thread jeff Hughes
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

[ADVANCED-DOTNET] Base64 Encoding for Xml Documents

2003-04-02 Thread jeff Hughes
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

[ADVANCED-DOTNET] ORA-01458: invalid length inside variable character

2002-12-31 Thread jeff Hughes
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

Re: [ADVANCED-DOTNET] Oracle Rer Cursors for Orcale Provider .NET

2002-11-04 Thread jeff Hughes
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

[ADVANCED-DOTNET] Oracle Rer Cursors for Orcale Provider .NET

2002-11-04 Thread jeff Hughes
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

Re: [ADVANCED-DOTNET] Oracle Connections

2002-11-04 Thread jeff Hughes
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

[ADVANCED-DOTNET] Oracle Connections

2002-10-30 Thread jeff Hughes
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

[ADVANCED-DOTNET] Destroy object before GC

2002-10-02 Thread Jeff Hughes
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.

[ADVANCED-DOTNET] Ceate TCP proxy

2002-09-24 Thread Jeff Hughes
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

[ADVANCED-DOTNET] Do I need to remote or not?

2002-09-19 Thread Jeff Hughes
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

[ADVANCED-DOTNET] hard coded Remoting verse Config files

2002-09-19 Thread Jeff Hughes
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

[ADVANCED-DOTNET] serialization for remoting

2002-09-18 Thread Jeff Hughes
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

[ADVANCED-DOTNET] Remoting Window Services

2002-08-12 Thread Jeff Hughes
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

[ADVANCED-DOTNET] MessageQueue

2002-07-31 Thread Jeff Hughes
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

Re: [ADVANCED-DOTNET] Adding functions to Windows service

2002-07-23 Thread Jeff Hughes
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

Re: [ADVANCED-DOTNET] Adding functions to Windows service

2002-07-22 Thread Jeff Hughes
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

Re: [ADVANCED-DOTNET] Adding functions to Windows service

2002-07-17 Thread Jeff Hughes
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

[ADVANCED-DOTNET] Adding functions to Windows service

2002-07-17 Thread Jeff Hughes
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

[ADVANCED-DOTNET] app.exe.config

2002-07-15 Thread Jeff Hughes
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

[ADVANCED-DOTNET] window Services C#

2002-07-15 Thread Jeff Hughes
. 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

[ADVANCED-DOTNET] DataSet vs XMLReader

2002-06-15 Thread Jeff Hughes
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

[ADVANCED-DOTNET] SqlDataReader

2002-06-14 Thread 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.