[FONT="]when I try to upload any file(In KB's most of the time) in my asp.Net form,from my hosting server it gives me this error : [/FONT] [FONT="]"Cannot find server or DNS Error [/FONT] [FONT="] Internet Explorer" [/FONT] [FONT="]and the uploading used to fail..but this is not the same case when we try to upload files from our local server. It works perfectly OK there.[/FONT] [FONT="]Can anyone help me for this ?? [/FONT] [FONT="]Please note that I have wrote,[/FONT] [FONT="]<httpRuntime maxRequestLength="102400" executionTimeout="3600"/>[/FONT] [FONT="]in my web.config file.[/FONT]
DNS errors is typically a network connectivity issue. Make sure your computer is able to get on the Internet. You may want to perform a ping test on your domain name. If you are getting time out errors then it shows network problems. May want to check your router.
FileUpload1.SaveAs(Server.MapPath(@"fileName")); works 4 me. Try your code with processing time less than 3600; To be sure there's nothing wrong with the DNS, check the settings on your server.