How careless cud I bei did not notice File.Create returns a
Filestream and expected it to close it for me...
Thanks a lot
Regards,
Sarvajith
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Eduard Lascu
Sent: Tuesday
1) If you are using [image properties], you will get all entries that has the
word "image" or the word "properties". What you need is ["image properties"]
(including the quotes) in your search.
2) It sounds like you did not do a complete install, so you do not have the
main library files on yo
I'm envisioning a nice little skit that a Don Box or someone like that could
pull off on stage. Don't worry there are no bath-tubs or naked presenters
involved. It is along the lines of the typical malevolent computer/robot on
StarTrek that is defeated by a paradoxical question. In this case,
Set the credentials after you make setup the Remote
Object and after you
register the channel.
This is the code I use for credentials. See if you
could use the same:
//start of code
IDictionary channelProperties =
ChannelServices.GetChannelSinkProperties(objQPackages);
Ne
Thank you - will try it!
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Potter, Mark S.
Sent: Tuesday, July 05, 2005 12:28 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Calling a Web Service over the
/* Create a new instance of the proxy class to an XML Web service
method. */
MyMath.Math math = new MyMath.Math();
/* Create a new instance of CredentialCache. */
CredentialCache credentialCache = new CredentialCache();
/* Create a new instance of NetworkCredential using the client
credentials.
Hello everybody,
I have a Web Service that's hosted on one machine. There is a difference
between calling it from the same machine or from a different machine in the
network: in the second case I am prompted to enter my credentials (user
name, password and domain). Is there a way to prevent this?
On Mon, 4 Jul 2005 23:15:35 -0400, J. Merrill <[EMAIL PROTECTED]> wrote:
>This sounds like an "MSDN install" issue for which you can get free phone
support. Try 888 362 2782 and be ready to provide your MSDN subscriber
ID. (If you're not an MSDN subscriber, but just have the MSDN library, try
ca
Redesign is not really an option for this. They'd through out a redesign
and either keep the old app or look at using one of 5 or so 3rd party
solutions. Even it it only took three years, it's still not a valid option
to rewrite due to the risks, cost, etc. If I cannot figure a way to work
this
If you truly believe that it will take you 10 years to rewrite, then you are
probably at the stage where you need a new architecture to begin with. If you
have a system that cannot be rewritten completely within three years, then you
need to redesign the application in the first place.
Additio
Can you skip the loop and let the browser reload with the appropriate
query/form values?
1. server renders default
2. client browser reissue the page getting or posting the wanted status
3. server renders page according to posted value
4. repeat 2 & 3 until client stops posting...
it becomes more
>> It's possible, but painful.
More painful than about 10 years of manual rewrites? I just want to get
everything working in .Net while I go back through and fix things. If I can
write something to handle the UI, then I can move everything over and start
working on reworking the most important s
it must be a typo...
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Alex Smotritsky
Sent: Tuesday, July 05, 2005 8:54 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] System.IO.IOException was unhandled
You are creating and deleting a file called test.test, and the error message
says test.test1? are you sure that's correct? I would expect it to be
test.test
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Chakravarty,
Sarvajit
Check the example in MSDN -
FileStream fs = File.Create(@"C:\test.test");
// you need to close the file stream before you delete the file
fs.Close();
// it is safe to delete the file now
File.Delete(@"C:\test.test");
HTH,
Eddie
-Original Message-
From: Unmoderated discussion of advanced
On 2005-07-05 14:34, Chakravarty, Sarvajith wrote:
I am facing a strange problem.
I have just 2 lines of code -
File.Create (@"C:\test.test");
File.Delete (@"C:\test.test");
The File.Create returns a FileStream, unles you dispose it the file will
be blocked.
Regards,
Bogdan
===
I am facing a strange problem.
I have just 2 lines of code -
File.Create (@"C:\test.test");
File.Delete (@"C:\test.test");
(I am using File in System.IO namespace)
When I execute I get the following error and am not able to tackle this
problem.
Any help will be appreciated-
System.IO.IOExce
I'm clearing the state using CallContext.FreeNamedDataSlot.
But I think this shouldn't be the real problem I'm experiencing.
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan Heath
Sent: Tuesday, July 05, 2005 4:10 AM
To:
> 1) I'm using and HTTPModule to hook to the BeginRequest and EndRequest
> and setting up things there
are you "clearing" the state in the EndRequest? If not , that could be
a diff with HttpContext.
HTH
// Ryan
===
This list is hosted by DevelopMentorĀ® http
19 matches
Mail list logo