Re: [DOTNET] Need a good real-world C# Exceptions Resource orStategy for Library

2002-05-29 Thread Jim Graf
Richter's book has an excellent section on exceptions and exception strategy. Jim >>> [EMAIL PROTECTED] 05/28/02 04:37PM >>> It's the same thing, whether your creating the UI or somebody else is. libraries don't log and don't handle exceptions, except ones that are part of your process, such

Re: [DOTNET] StringBuilder Overhead

2002-05-10 Thread Jim Graf
ial-cased. It sets the StringBuilder's internal string's length to zero (via a sneaky assembly-protected method on String), but a new character buffer is not created. I haven't tested it against Remove(), but I suspect it might be quicker. Jim > -----Original Message-

Re: [DOTNET] Active Directory Problem

2002-04-22 Thread Jim Graf
Hi thanks for the response. We are currently running as a system account with impersonation = true Thanks Jim You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] Active Directory Problem

2002-04-22 Thread Jim Graf
Hi, Playing around with active directory trying to get Windows group based on userid. When run locally the code that follows works and prints out the information. DirectoryEntry root = new DirectoryEntry("LDAP://somerootl";); // Create Directory Searcher DirectorySearcher searcher=new Dir

Re: [DOTNET] Fileio Access to path denied

2002-04-19 Thread Jim Graf
Thanks Shawn, That was the problem. Jim You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] Fileio Access to path denied

2002-04-17 Thread Jim Graf
Hi, We are trying to write a file to a folder on the server from a Web Service and are getting access to path denied. Can anyone help? TIA Jim You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.c

[DOTNET] Impersonation

2002-04-12 Thread Jim Graf
Hi all, Quick question. Why when ASP.Net is running with impersonation true, does the user have to have write/modify authority on the web application folder? TIA Jim You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http