Click here to Skip to main content
15,920,383 members
Home / Discussions / C#
   

C#

 
GeneralUsing an image as a cursor Pin
Begoña14-Mar-05 5:11
Begoña14-Mar-05 5:11 
GeneralRe: Using an image as a cursor Pin
MoustafaS15-Mar-05 9:45
MoustafaS15-Mar-05 9:45 
Generalgraduation project !!!! Pin
Sakkijha14-Mar-05 4:23
Sakkijha14-Mar-05 4:23 
GeneralRe: graduation project !!!! Pin
Esmo200014-Mar-05 5:15
Esmo200014-Mar-05 5:15 
GeneralRe: graduation project !!!! Pin
Bahadir Cambel14-Mar-05 7:48
Bahadir Cambel14-Mar-05 7:48 
GeneralRe: graduation project !!!! Pin
Sakkijha16-Mar-05 3:59
Sakkijha16-Mar-05 3:59 
GeneralRe: graduation project !!!! Pin
Esmo200016-Mar-05 4:17
Esmo200016-Mar-05 4:17 
GeneralHttpWebRequest fails where WinINet functions succeed Pin
cheesepirate14-Mar-05 4:20
cheesepirate14-Mar-05 4:20 
I have an app which communicates with a SharePoint server, and one of the things it does is uploads files to the SharePoint server using a HttpWebRequest.

However I have found that this doesn't work when the file being uploaded is bigger than about 2mb and either of the following conditions apply
- The user is at home and is using VPN to connect to the newtwork
- The server is hosted on an ordinary broadband connection
The request throws an exception saying 401, unauthorized.

Using Fiddler to examine the http request going back and forth, I found that the exception is somewhat incorrect, and is actually referring to the first request of a pair (the first doesn't supply username/password, server asks for authorization, the second supplies the username/password). What has actually happened is that the server has just closed the connection and no reason is supplied as far as I can tell. It *might* even be a gateway timeout, but I very rarely even get a reply from the server under these conditions

Using a Win32 app I have for testing things like this, I found that WinINet has no problems putting the file onto the server.

I'm a little baffled as to what is happening here. Has anyone else had something like this or have any solutions?

Dave
GeneralTabindex Pin
Niklas Ringdahl14-Mar-05 0:58
Niklas Ringdahl14-Mar-05 0:58 
QuestionHow to build VS .Net deployment project in command prompt Pin
rajasekar_2914-Mar-05 0:38
rajasekar_2914-Mar-05 0:38 
GeneralRich Text Box Pin
rmedo14-Mar-05 0:33
rmedo14-Mar-05 0:33 
GeneralRe: Rich Text Box Pin
mav.northwind14-Mar-05 0:56
mav.northwind14-Mar-05 0:56 
GeneralRe: Rich Text Box Pin
rmedo14-Mar-05 2:21
rmedo14-Mar-05 2:21 
GeneralRe: Rich Text Box Pin
Sebastian Schneider14-Mar-05 2:48
Sebastian Schneider14-Mar-05 2:48 
GeneralRe: Rich Text Box Pin
rmedo15-Mar-05 1:00
rmedo15-Mar-05 1:00 
Generalrestricting entry in a text box Pin
ameto13-Mar-05 23:31
ameto13-Mar-05 23:31 
GeneralRe: restricting entry in a text box Pin
V.14-Mar-05 0:16
professionalV.14-Mar-05 0:16 
GeneralRe: restricting entry in a text box Pin
the last free name14-Mar-05 2:14
the last free name14-Mar-05 2:14 
GeneralRe: restricting entry in a text box Pin
S. Senthil Kumar14-Mar-05 16:39
S. Senthil Kumar14-Mar-05 16:39 
GeneralCHECKSUM VERIFYING FUNCTION Pin
maheshfour13-Mar-05 23:30
maheshfour13-Mar-05 23:30 
GeneralStartup Object C# Pin
Anonymous13-Mar-05 23:16
Anonymous13-Mar-05 23:16 
GeneralRe: Startup Object C# Pin
Colin Angus Mackay14-Mar-05 0:47
Colin Angus Mackay14-Mar-05 0:47 
GeneralPacking and deploying C# .Net application Pin
rajasekar_2913-Mar-05 22:28
rajasekar_2913-Mar-05 22:28 
GeneralRe: Packing and deploying C# .Net application Pin
Christian Wikander13-Mar-05 22:50
Christian Wikander13-Mar-05 22:50 
GeneralRe: Packing and deploying C# .Net application Pin
rajasekar_2913-Mar-05 23:03
rajasekar_2913-Mar-05 23:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.