What is the original source project properties -> Application Framework setting?
jo H
Posts
-
Framework Version - using 2.0 instead of 3.5 -
Framework Version - using 2.0 instead of 3.5Are you using any features that are only available in 3.5? LINQ for instance
-
Framework Version - using 2.0 instead of 3.5Check your project properties. What does the Application ->Target Framework say? If that still says .NET Framework 3.5, then you know why its not using 2.0
-
ServicePointManager.ServerCertificateValidationCallbackIf you are happy to disable the checking of the certificate (not recommended) then use something like
ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(
delegate
{
return true;
});If you are using a WebClient for instance, it should go just before you do the call that will connect (i.e. client.UploadFile(), client.UploadValues(), etc)
-
WebClient.UploadFile won't upload the file.Your problem is with your PHP code which is looking at the wrong variables. The upload method places the info into $_FILES['file'], not $_FILES['userfile']. Better late than never I suppose.
-
how do you keep user info in program?Have you looked at the Settings of the Project Properties? This is usually where you would store user configuration settings.
-
WebBrowser.ScriptErrorsSuppressed = true and self signed certifcatesWith ScriptErrorsSuppressed set to true the display of javascript error dialogs is eliminated. However, this setting results in the blocking of access to all sites that have any kind of certificate issues. With the setting true, the control displays a warning instead of the requested page and it is not possible to move away from it, even though there is supposedly a link to do so. At least, this is what happens for me. With ScriptErrorsSuppressed set to false, a warning dialog appears, and then the site is accessible. However, any javascript errors will generate the error dialogs. Seems to me these are two different issues being covered with a single setting. Any ideas on how one can access these sites with "certificate issues", ideally without the warning dialog, while keeping the ScriptErrorSuppressed set to true with the WebBrowser control? thanks