Questions tagged [asp.net]

ASP.NET is an application framework developed by Microsoft. It is built on top of the .NET Common Language Runtime (CLR). SharePoint is built from the ASP.NET framework.

Filter by
Sorted by
Tagged with
0
votes
1answer
56 views

How to upload files from C# in ASP.NET to SharePoint Online library

What's the best way to go about uploading files to SP Online from C# ASP.NET Solution Thanks
0
votes
0answers
49 views

Uploaded an aspx page, getting the “Sorry something went wrong. File Not Fount.” message

I copied and pasted an .aspx file to my siteassets folder. When trying to access, I receive the "Sorry something went wrong. File Not Found." message. Is an .aspx page not a simple upload and click ...
0
votes
0answers
15 views

Unable to get response from SharePoint using webhook

I am working on SharePoint notifications. To accomplish this, I am using Webhooks. I have used the steps of Get started with SharePoint webhooks. My procedure is as followed: Step 1: I Register an ...
1
vote
1answer
53 views

Microsoft.SharePoint.Client list item update (add) clears the Title value

I am working on a ASP.NET 4.5 C# MVC 5 project that integrates with a SharePoint site using Microsoft.Sharepoint.Client. One of the methods must add a SQL record, and thereafter use 2 of that record's ...
0
votes
1answer
33 views

How to add the aspx.cs code to get the selected value of radio button as per the aspx page as shown in the screenshot below?

This is the code for retrieving the Question and options dynamically from SharePoint list. How to get the value of selected radio buttons and store it to a variable using the C# or SP code. Can anyone ...
3
votes
1answer
60 views

SharePoint Online Webhook with ngrok “Access Denied”

I am trying to follow bellow documentation of Microsoft https://docs.microsoft.com/en-us/sharepoint/dev/apis/webhooks/get-started-webhooks I have given below permission azure app But when I send ...
0
votes
1answer
16 views

new project in pwa reurn “InvalidProjectName”

I am trying to create a new project in PWA but i am receiving this error: "ProjectNameInvalid". here is my code: projContext = new ProjectContext(pwaPath); projContext.Credentials = new System.Net....
0
votes
1answer
45 views

Single Sign On Asp.Net and SharePoint Online Site

I'm using a ASP.NET site with links to an SharePoint online site. When we starts ASP.NET application and click on the link to the SharePoint online site , without asking the login screen, we should be ...
0
votes
1answer
20 views

Single Sign On between an ASP.NET application and SharePoint Online Site

I'm using a ASP.NET site with links to an SharePoint online site. We are using AAD authentication (OAuth 2.0) for ASP.NET site and SharePoint online site (Not sure is it using OAuth2.0 or OAuth1.0). ...
1
vote
0answers
19 views

SharePoint 2013 User profile service doesn't return data for few users from asp.net code

I have a SharePoint 2013 deployed in one of the server. AD user can log in to it and view the data. I have created profile service in SharePoint to sync Active directory users in SharePoint and it ...
0
votes
1answer
889 views

The remote server returned an error: (401) Unauthorized (SharePoint Online & C# Application)

I am trying to insert items in SharePoint online list from c# console application using CSOM method, but every time it gives me only one error: "The remote server returned an error: (401) ...
0
votes
0answers
22 views

Working with https in sharepoint

I have an asp.net MVC web application which is calling my Sharepoint Web application to fetch data from lists and libraries. Basically my MVC application is a web site for which data is being ...
0
votes
1answer
127 views

Read Swagger (JSON) from Sharepoint

appreciate if anyone can help on my below queries. SharePoint list have swagger(json) files. How to read swagger form SharePoint list through problematically. Is it possible? If possible what are the ...
0
votes
1answer
25 views

External Application accessing a Sharepoint Server

I have a specific scenario, wherein I have an application built ASP.net MVC accessing a SharePoint server. Now my SharePoint server has a configuration where there are 2 Web Front End servers and 2 ...
0
votes
1answer
14 views

Conditions for the programmatically created Dropdown list do not work

The conditions for the programmatically created DropdownList do not work. When I click on CopyData, condition does not work and the DropdownList is reset to the beginning. <asp:DropDownList ID="...
0
votes
0answers
10 views

Setting list item permission using WCF services and Consuming it

I have been using SharePoint Workflows to automate approval processes. Occasionally, we get some of workflows failed for no obvious reason. After re-starting them, it works fine. To avoid these type ...
0
votes
0answers
13 views

How to show pdf documents inside the email body using C#

I have a requirement to send an email programmatically with hmtl body content. Inside the Email body content, I have to show the pdf documents. like below. ABCText PDFDOC1 PDFDOC2 when a ...
0
votes
1answer
94 views

I am writing a web api code to upload documents in specific folder using csom code using savebinarydirect method, which is failing

I can upload the documents using a console app, but when using the same code in. Net Web API, I am getting an error saying, "Microsoft.Sharepoint.Client.File" doesn't contain a method "...
0
votes
1answer
73 views

Null Reference Exception in Global asax sharepoint

I am overriding our global asax page where i want our users who are in a particular sharepoint list/ sharepoint group be redirected to the 2fa page (third party provided) every time the access ...
0
votes
1answer
26 views

Column data securely open for users

We had one secured list on SharePoint 2013. Under list different column exist. Particular one column(column name as "Internal data\link") we had more secured data (or) links exist. Our requirement is ...
1
vote
1answer
32 views

Modernizing pages: webpartmapping.xml not found

I want to modernize site pages by following the .NET version of this Microsoft Blog: Modernize your SharePoint Pages I added the nugget package, I use a SharePoint Online Url. When I get to the code ...
1
vote
0answers
19 views

How make publish by date MVC , sharepiont

I am working in site that publish the content by date so, every Thursday I will compare the date that the content approved to this Thursday date if its the same date (dependent on admin diction to ...
1
vote
0answers
31 views

Sharepoint Web Part Error CS1061

My web parts deployed yesterday morning very well. Cant recive code in my ascx. now getting error like this : Error CS1061 'announcementdescription_announcementdescription_ascx' does not contain a ...
1
vote
0answers
19 views

Can I use libman with my SharePoint Add-In project?

I've noticed that libman is only available in Visual Studio 2017 asp.net projects. However, SharePoint Online Add-In projects are also web projects and use lots of javascript libraries. Is there any ...
0
votes
1answer
22 views

Missing dll for workflow

When attempting to access http://[domain]/sites/Home/_layouts/wrkmng.aspx I receive an error about a dll missing from the asp.net framework folder. I navigate to the folder and the dll is in fact NOT ...
4
votes
0answers
379 views

Distributed Cache error in uls logs Unexpected error in Decrypt - Exception 'System.Security.Cryptography.CryptographicException

Hi In WFE servers of SharePoint 2016 in uls logs there are many DCache errors like below and server performance is high w3wp.exe (0x0918) 0x2C48 SharePoint Foundation DistributedCache aa6e5 ...
3
votes
0answers
43 views

Add search on refinement webpart

I have a webpart code in Sharepoint Online that shows me a refinement. My problem is that i want to add a search bar in the refiner, like the photo below. My code is: <webParts> <webPart ...
1
vote
1answer
342 views

Scaling up limits of a single IIS worker process

How many cores can a single worker process typically handle before performance becomes impacted? In performance testing we are currently running into capacity limits on the WFE servers generating a ...
0
votes
3answers
188 views

query via caml in sharepoint list

hello I'm doing a query caml in asp.net c # to search by user of my column "users" that I have but only works with a single user, and when I change user and enter another brings me all the users I ...
1
vote
0answers
24 views

Call VBA of Word template from .NET at server side using Sharepoint Server?

Can i call a VBA macro of a Word document, using .NET and Sharepoint Server? I mean, in a .NET client environment i can do this: oW = CreateObject("Word.Application") oW.Documents.Add("template.dotm")...
0
votes
1answer
54 views

Unterminated string constant

I have an edit linkbutton where I click and it brings a pop up dialog with the text to edit. When I edit the text and submit it works fine. but if I include an "Enter/Return" space in editing then I ...
0
votes
2answers
328 views

Show sharepoint list in a datagridview using c #

I would like to know how to show a list of sharepoint in a page of asp.net c # by means of a datagridview and be able to modify it by adding a record to the list by means of a button. Beforehand ...
1
vote
0answers
100 views

How to embed Document Library in .NET Application same like embedding in Microsoft teams?

In Microsoft Teams, when we add a document library into the tab, it embed only Document Library, no Other portion like Header or side bar of SharePoint is visible. I want to embed the same like in my ...
0
votes
1answer
288 views

401 Unauthorised access from asp.net Application WebResponse

When I am trying to access(view) a sharepoint image from asp.net application I am getting 401 Unauthorised error. I am using following code: Dim webReq As WebRequest Dim webRes As ...
0
votes
2answers
835 views

Problem on accessing Allitems.aspx, “Sorry something went wrong”

When I try to access a link from our portal company website (SharePoint), for example AttendancePlaces/AllItems.aspx, it asks for admin credentials as normal but after that I get an error "Sorry ...
0
votes
1answer
526 views

Connecting on-promise database to SharePoint online

We have some SQL view on-promise server, we would like to display this data on the SharePoint online. Normally once we need to connect to this database from different network, VPN connection is ...
0
votes
1answer
96 views

How to pull information from Sharepoint and display on a seperate website built with ASP.net and HTML

I have been tasked on creating an intranet website for my company. Currently we are using Office 365 SharePoint but my manager wants me to create a custom website which would be built on top of ...
0
votes
1answer
229 views

MAKING A BOOTSTRAP 4 CAROUSEL SLIDER [closed]

I tried to MANIPULATE an example BOOTSTRAP 4 CAROUSEL SLIDER but I find a problem when running my application in my site sharepoint 2013 here is my code ...
0
votes
1answer
487 views

Sharepoint online list in an MVC application

I'm trying to build an MVC ASP.NET appthat read in my sharepoint online a list I included in MVC the Azure Active directory login, but I don't understand how to pass the credential to sharepoint site. ...
0
votes
1answer
518 views

How to properly use GridView to create items on SharePoint Lists?

I'm trying to transfer values from a GridView web-control I'm using in a webpart into a SharePoint list, but whenever I click "save" the data isn't being kicked into the list. All that happens is a ...
1
vote
0answers
84 views

OnClick Submit Button and Populate 2 Lists

I'm new to C#, ASP.Net I am trying to populate 2 SharePoint Lists off 1 submit button. C# code: public partial class Default : System.Web.UI.Page { static Uri _site = new Uri("https:...
0
votes
1answer
20 views

Content Search Webpart is not displaying after adding ddl.ClearSelection()

I'm having issue on asp:dropdownlist and search result display. One of the issues is "Cannot have multiple values on DropDownList", so, I looked it up and most of the suggestion were the use of ...
1
vote
1answer
510 views

How to dynamically display most visited links in a SharePoint Site to site visitors?

I'm trying to display most visited links in an internet-facing SharePoint site to site visitors in a dynamic way. For example: The most visited links will be colored based on the clicks on those ...
0
votes
3answers
952 views

asp:TextBox is not working inside asp:Placeholder C# sharepoint 2013

I am trying to add some TextBoxes controls dynamically based on items in my database. This is my asp:PlaceHolder in .aspx page <asp:PlaceHolder ID="PlaceHolderHTML" runat="server"></asp:...
0
votes
1answer
370 views

asp:Repeater control is not working properly SharePoint 2013

I have created a custom list form and inside of it I am using a Repeater Control. But If inside of Repeater I create a <SharePoint:FormField runat="server" ControlMode="New" FieldName="Title" /> ...
0
votes
1answer
156 views

Error thrown in IE when OnKeyPress event is triggered on a button control of custom edit form

Error: Accessing the 'caller' property of a function or arguments object is not allowed in strict mode On the click of the same button action, I am starting some workflows and at the end, I am ...
0
votes
1answer
46 views

Adding item to SharePoint list programatically not triggering workflow or populating people control correctly

I am adding an item to a sharepoint list in an ASP.Net MVC app using Microsoft.SharePoint.Client. One of the columns is a people picker. The people picker is used to send and email via a SP 2013 ...
3
votes
1answer
654 views

sharepoint server 2013 error Session state disabled for asp.net

I am getting error on my sharepoint server 2013 "Session state has been disabled for ASP.NET. The Report Viewer control requires that session state be enabled in local mode." For that error i have ...
1
vote
1answer
47 views

Access sharepoint from asp.net site

This is my senario, I have Sharepoint 2010/2016 environment and asp.net site. Everything is on windows authentication. I would like to access sharepoint 2010/2016 from my asp.net site. Here are few ...
1
vote
0answers
29 views

Opening a page from Email link does not populate the form with data, in that page

On performing some action(approve/reject a request) an email is generated with a link in it. On clicking the link, a SharePoint QA page opens that contains a form. All that works well! My issue is, ...

1
2 3 4 5
10