Click here to Skip to main content
14,297,561 members
   

C#

 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
Dave Kreskowiak5-Aug-19 13:38
mveDave Kreskowiak5-Aug-19 13:38 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
Dave Kreskowiak5-Aug-19 13:31
mveDave Kreskowiak5-Aug-19 13:31 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
_Q12_5-Aug-19 14:21
member_Q12_5-Aug-19 14:21 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
Dave Kreskowiak5-Aug-19 15:30
mveDave Kreskowiak5-Aug-19 15:30 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
_Q12_5-Aug-19 14:40
member_Q12_5-Aug-19 14:40 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
Dave Kreskowiak5-Aug-19 15:29
mveDave Kreskowiak5-Aug-19 15:29 
AnswerRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
Luc Pattyn5-Aug-19 13:16
professionalLuc Pattyn5-Aug-19 13:16 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
_Q12_5-Aug-19 13:56
member_Q12_5-Aug-19 13:56 
hi Luc, yes you are right. For awhile, some time ago, this little workaround that you are saying here worked fine. But after some 'internet' updates, like the [https] thing and more others that were very in shadow for me, but my code could sense them and i had to came back and guess, figure out, what he wants, until it worked again. And this thing you are specifying here was one of the problems i had to find and resolve. But it worked a limited time. It still works i suppose, but the cause of my recent error it seems to be other than this resolve here.

I have windows7

This is what i have too, like you mentioned :

//initialize WEBPAGE
//Special wepage Reading  [using System.Net;]
ServicePointManager.Expect100Continue = true;
ServicePointManager.DefaultConnectionLimit = 9999;
//in .NET 4.0, TLS 1.2 is not supported, but if you have .NET 4.5 (or above) installed on the system
//then you still can opt in for TLS 1.2 even if your application framework doesn’t support it.
//The only problem is that SecurityProtocolType in .NET 4.0 doesn’t have an entry for TLS1.2,
//so we’d have to use a numerical representation of this enum value:
ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
//instead of: ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls;

GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
Luc Pattyn5-Aug-19 14:02
professionalLuc Pattyn5-Aug-19 14:02 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
_Q12_5-Aug-19 14:05
member_Q12_5-Aug-19 14:05 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
Dave Kreskowiak5-Aug-19 15:32
mveDave Kreskowiak5-Aug-19 15:32 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
_Q12_5-Aug-19 16:29
member_Q12_5-Aug-19 16:29 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
Dave Kreskowiak5-Aug-19 16:59
mveDave Kreskowiak5-Aug-19 16:59 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
_Q12_5-Aug-19 18:22
member_Q12_5-Aug-19 18:22 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
_Q12_5-Aug-19 19:17
member_Q12_5-Aug-19 19:17 
GeneralRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
Dave Kreskowiak6-Aug-19 3:05
mveDave Kreskowiak6-Aug-19 3:05 
AnswerRe: request.GetResponse() - The remote server returned an error: (403) Forbidden Pin
Gerry Schmitz6-Aug-19 4:44
mveGerry Schmitz6-Aug-19 4:44 
QuestionSlight problem with my array program Pin
Member 129742354-Aug-19 12:51
memberMember 129742354-Aug-19 12:51 
AnswerRe: Slight problem with my array program Pin
Richard Andrew x644-Aug-19 13:06
professionalRichard Andrew x644-Aug-19 13:06 
AnswerRe: Slight problem with my array program Pin
OriginalGriff4-Aug-19 19:24
protectorOriginalGriff4-Aug-19 19:24 
QuestionGenerics overload Pin
Bernhard Hiller2-Aug-19 0:13
memberBernhard Hiller2-Aug-19 0:13 
AnswerRe: Generics overload Pin
Richard Deeming2-Aug-19 1:56
mveRichard Deeming2-Aug-19 1:56 
GeneralRe: Generics overload Pin
Bernhard Hiller2-Aug-19 3:17
memberBernhard Hiller2-Aug-19 3:17 
GeneralRe: Generics overload Pin
Richard Deeming2-Aug-19 3:38
mveRichard Deeming2-Aug-19 3:38 
GeneralRe: Generics overload Pin
Bernhard Hiller4-Aug-19 21:50
memberBernhard Hiller4-Aug-19 21:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.