Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Setting up a new project in C# 2010.
I am using Visual C# Express Edition and downloaded the ERP .NET Example code. I like the code but now I am trying to start a fresh project. I have added the web reference successfully. For some reason my call to:
// In order to enable SOAPscope to work through SSL. Refer to FAQ for more details ServicePointManager.ServerCertificateValidationCallback += delegate(object sender, System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Security.Cryptography.X509Certificates.X509Chain chain, System.Net.Security.SslPolicyErrors sslPolicyErrors) { return true; }; Keeps throwing an exception. I tried right clicking in the toolbar to Add Reference to System. but it was still throwing the exception. I'm not sure what to do. I suppose I could use the project I downloaded but I was really hoping to set up a new one.
0