473,769 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"The operation has timed-out"

SC
I'm a newie in .net, and here is my problem.

I have a windows application that pass trough a proxy to access a
webservice. I use the following code to set the proxy:

GlobalProxySele ction.Select = new WebProxy(new Uri("http://ip:port/"),true);
GlobalProxySele ction.Select.Cr edentials = new NetworkCredenti al(usr, pass);

Well, the problem is that i get an "The operation has timed-out" error. I
try a lot of different ways to set the globalproxy but always throw the same
error.

What is wrong with that code?

Tks!
Nov 15 '05 #1
0 1578

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
7402
by: Michelle Kinsey-Clinton | last post by:
Hello, I am writing an ASP app which is giving me some very frustrating errors. They appear intermittently, no real pattern to them, and often go away if you reload, or back up a few pages and start over again. The first error is logged as a 400 error and says only, "The parameter is incorrect." It (mostly, but not always) happens upon submitting a form, and a reload is generally successful in bringing the page up just fine. I have...
14
2685
by: David B. Held | last post by:
I wanted to post this proposal on c.l.c++.m, but my news server apparently does not support that group any more. I propose a new class of exception safety known as the "smart guarantee". Essentially, the smart guarantee promises to clean up resources whose ownership is passed into the function, for whatever defintion of "clean up" is most appropriate for the resource passed. Note that this is different from both the basic and the...
0
1501
by: inikol12 | last post by:
Hi all, i have a problem with Microsoft Visual Studio .NET. I tried to create any new project and get the message "The operation could not be completed". I uninstalled the Microsoft Visual Studio .NET. and .NET framework but i got the same error message. Could anyone help me? I am total desperated Thanks in advanc ivica --- Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website:...
2
2062
by: Mark | last post by:
Hi, I'm running visual studio 2003, and am now receiving the error "The Operation Could Not Be Completed" when attempting to add a form / control or component class to a project. I can add any other type of item without a problem. This is the second time this has happened to my machine, last time I reinstalled VS and it fixed it. I havent installed anything since that time, so I guess it must be some sort of corruption in the system.
0
1820
by: RWC | last post by:
Hi, I'm running into a problem with Access XP (SP2) that's driving me up the wall. It's Error 2001 "You canceled the previous operation". There is no voodoo going on really when I get this message. The following Dlookup field is causing this message. All field data types are correct. DLookup("tDescription", "RelatedTable", "iIntegerField = " & (DLookup("iIntegerField", "TableOne")))
4
6506
by: MDW | last post by:
Hey all. I'm confused. I'm trying to add a single record into an Access 2000 database using ASP.Net. Here is the code: objConn = New OleDbConnection(strConnect) objConn.Open objCommand = New OleDbCommand("INSERT INTO LOGIN_MASTER (LOGIN_ID, PWD, F_NAME, L_NAME, TYPE_ID) VALUES ('" & strEmail & "','" & strPwd & "','" &
0
1124
by: Shamil Salakhetdinov | last post by:
Hi All, I'm getting a message box: <<< Microsoft Development Environment: ========================= The operation could not be completed >>>
2
2619
by: Fredrik G | last post by:
Whenever i hit F5, my project builds, but then i get an error "The operation could not be completed" Then i have to launch task manager, and end the "myproject.vshost.exe" process manually. Now, the next time i build it, it will start. But next time i start debugging, i have to do the same procedure again. It was working fine earlier, but suddenly this just started happening, and I don't understand why. It's very annoying to do this...
8
2058
by: gw7rib | last post by:
I've been bitten twice now by the same bug, and so I thought I would draw it to people's attention to try to save others the problems I've had. The bug arises when you copy code from a destructor to use elsewhere. For example, suppose you have a class Note. This class stores some text, as a linked list of lines of text. The destructor runs as follows: Note::~Note() {
1
3590
by: =?Utf-8?B?c3DDr3LDtg==?= | last post by:
I'm having a problem with MS outlook. Neither of my email accounts were working, so I reinstalled hoping that, that would fix the problem - unfortunatly it didn't. When I go to create a new hotmail account, I fill in all the details and when I click "more settings" or "next" I get a message: "The requested operation failed"
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10212
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10047
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9863
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3962
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.