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
Bharathi Raja
NA
1.1k
54.1k
500 internal server error at GetResponse()
Jan 6 2018 2:28 AM
this line to error
try
{
file = @
""
+ drives[drive_i] +
"fsmanager_good_"
+ fileto +
".csv"
;
string
json_off =
new
WebClient().DownloadString(file);
byte
[] bytes = Encoding.Default.GetBytes(json_off);
json_off = Encoding.UTF8.GetString(bytes);
//json_off = Uri.EscapeDataString(json_off);
json_off = json_off.Replace(
"Cash & Card"
,
"CashandCard"
);
//MessageBox.Show(upurl + "fileupload.php?ontbl=" + Uri.EscapeUriString(json_off));
string
json_on =
new
WebClient().DownloadString(upurl +
"fileupload.php?ontbl="
+ Uri.EscapeUriString(json_off));
if
(File.Exists(file))
{
File.Delete(file);
}
err = 1;
}
catch
{
// MessageBox.Show("Please connect internet.", "Online Alert", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
Reply
Answers (
7
)
How to Crystal Report In Wamp Sever
Kill Explorer through programming