TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Arul Selvan
NA
26
52.1k
System.Net.WebException Timed Out
Feb 18 2011 6:04 AM
How to solve this problem
system.Net.WebException: The operation has timed out
Source Error:
Line 219:
wcMicrosoft
=
new
System.Net.WebClient();
Line 220:
objUTF8Encoding
=
new
UTF8Encoding();
Line 221:
srchFile.Contents
=
objUTF8Encoding
.GetString(wcMicrosoft.DownloadData(string.Format("{0}/{1}", Mongoose.Site.ApplicationPath, srchFile.Path)));
Line 222:
Line 223:
Source File:
c:\Documents and Settings\ARUL\Desktop\wctech\projects\For Students\unisys center\Mangoose\coding\App_Code\UserSearch.cs
Line:
221
Stack Trace:
[WebException: The operation has timed out] System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +338 System.Net.WebClient.DownloadData(Uri address) +181 System.Net.WebClient.DownloadData(String address) +26 Mongoose.UserSearch.GetDynamicFileContent(Page srchFile) in c:\Documents and Settings\ARUL\Desktop\wctech\projects\For Students\unisys center\Mangoose\coding\App_Code\UserSearch.cs:221 Mongoose.UserSearch.GetFileInfo(String FPath, Page srchFile) in c:\Documents and Settings\ARUL\Desktop\wctech\projects\For Students\unisys center\Mangoose\coding\App_Code\UserSearch.cs:176 Mongoose.UserSearch.GetInfo(String FPath) in c:\Documents and Settings\ARUL\Desktop\wctech\projects\For Students\unisys center\Mangoose\coding\App_Code\UserSearch.cs:140 Mongoose.UserSearch.ProcessFile(String Fpath) in c:\Documents and Settings\ARUL\Desktop\wctech\projects\For Students\unisys center\Mangoose\coding\App_Code\UserSearch.cs:108 Mongoose.UserSearch.ProcessDirectory(String targetDirectory) in c:\Documents and Settings\ARUL\Desktop\wctech\projects\For Students\unisys center\Mangoose\coding\App_Code\UserSearch.cs:93 Mongoose.UserSearch.Search(String targetDirectory) in c:\Documents and Settings\ARUL\Desktop\wctech\projects\For Students\unisys center\Mangoose\coding\App_Code\UserSearch.cs:80 Mongoose.Default2.SearchSite(String strSearch) +172 Mongoose.Default2.Page_Load(Object sender, EventArgs e) +198 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
Version Information:
Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Reply
Answers (
2
)
AUTOMATIC MAIL SENDING
Array vs Params