|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
GetRequestStream Strange BehaviourHi all,
I have two applications on the same machine with exactly the same code. One is a Console application that is used for testing and the other runs in a sharepoint web part. The Console application works fine, but calling this: using (Stream requestStream = request.GetRequestStream()) { requestStream.Write(bytes, 0, bytes.Length); requestStream.Close(); } on the web part always results n a timeout exception. Any help appreciated. Thanks, Ammar Hello, ash***@gmail.com!
Can you give more details about requests your application is making? Are they HTTP requests? Do you use HttpWebRequest? -- With best regards, Vadym Stetsiak. Blog: http://vadmyst.blogspot.com You wrote on Thu, 01 Nov 2007 02:12:23 -0700: a> Hi all, a> I have two applications on the same machine with exactly the same a> code. One is a Console application that is used for testing and the a> other runs in a sharepoint web part. The Console application works a> fine, but calling this: a> using (Stream requestStream = request.GetRequestStream()) a> { a> requestStream.Write(bytes, 0, bytes.Length); a> requestStream.Close(); a> } a> on the web part always results n a timeout exception. a> Any help appreciated. a> Thanks, a> Ammar Hi,
> Can you give more details about requests your application is making? Are yes I am using a HttpWebRequest object and have set all the neccessary> they HTTP requests? > Do you use HttpWebRequest? propoerties: Timeout,credentials and the like. The request is targeted towards our exchange server and I have noticed that ssl is playing a role. Sharepoint is probably changing substituting https with http. Console application also fails if I use http. |
|||||||||||||||||||||||