N
Nilay Shah
Hi,
I am trying to connect to web page using following code:
client = new WebClient();
strURL = ConfigurationSettings.AppSettings
["strWebURL"].ToString();
client.DownloadFile
(strURL,ConfigurationSettings.AppSettings
["strSQLFileName"].ToString());
this part of code works on some machine and on some of the
maching I am receiving following error:
" The remote server returned an error: (403) Forbidden"
I am not able to understand why it works on some PC and
not on some. If you could help me solve the error then it
would be highly appreciated.
regards,
Nilay.
I am trying to connect to web page using following code:
client = new WebClient();
strURL = ConfigurationSettings.AppSettings
["strWebURL"].ToString();
client.DownloadFile
(strURL,ConfigurationSettings.AppSettings
["strSQLFileName"].ToString());
this part of code works on some machine and on some of the
maching I am receiving following error:
" The remote server returned an error: (403) Forbidden"
I am not able to understand why it works on some PC and
not on some. If you could help me solve the error then it
would be highly appreciated.
regards,
Nilay.