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
Ajay Mavatkar
NA
68
12.5k
Add items to share point
Jun 29 2018 12:22 AM
Hi,
I need to insert items to sharepoint list from webform.
However I tried the following code .
ClientContext ctx = new ClientContext("https://hp.sharepoint.com/sites/test");
ctx.Credentials = new SharePointOnlineCredentials(username, securePassword);
ctx.RequestTimeout = 180000;
Microsoft.SharePoint.Client.List list = ctx.Web.Lists.GetByTitle("test-1");
Microsoft.SharePoint.Client.ListItem items = list.AddItem(new ListItemCreationInformation());
items["Title"] = "Feedback";
items.Update();
ctx.ExecuteQuery();
Am getting the following error.
'The request was aborted: Could not create SSL/TLS secure channel'
Please help me in resolving this issue
Reply
Answers (
3
)
Sending mail attachment with AT00001.bin file
MVC and Ajax datatable with JSON