Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
25 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
19 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
18 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
19 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
16 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
18 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 ...
2
votes
0answers
127 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
34 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
103 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
54 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
20 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
29 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
109 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
57 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
203 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
0answers
30 views

SPSecurity.RunWithElevatedPrivileges fails after migrating app to Azure AD

I have an ASP.Net Web Forms application that has some code that gets values from a SharePoint site. It was working fine until we migrated the app to use Azure AD authentication. I'm guessing it's due ...
0
votes
1answer
293 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 ...
-1
votes
0answers
37 views

Web API security with Active directory

We are building "ASP.net Web API" to communicate between external database on-promise and SharePoint-online. We have already got Active Directory, which would be the security base of this API. I have ...
0
votes
1answer
281 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
38 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
180 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
264 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
377 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
69 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 ...
0
votes
1answer
322 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
566 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
260 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
125 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
39 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
421 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
40 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, ...
0
votes
3answers
611 views

How to get the SharePoint URL in C# with “https”?

How to get the SharePoint site secured URL(https) ,present I am using this : SPWeb web= web app.Sites[0].RootWeb; string example = web.URl+"/sites/pages/...../....aspx";
0
votes
2answers
30 views

Insert Items in Sharepoint List one by one separated by comma

In the above image there is a asp page for UserPicker control and DropDown for Permission Level , While adding Add User Button it is added in the Employee List as shown in red boundary : dashboard. ...
1
vote
0answers
144 views

SharePoint 2016 & Razor Pages

Can anyone think of any applications of Razor pages within sharepoint 2016? I've been asked to find any possible applications of razor pages within SP 2016 as we're updating to 2016 but future ...
1
vote
1answer
106 views

How to perform search on SharePoint list bound to a gridview

I have a SharePoint list which is bound to an asp.net gridview, I further want to search every column. Is there a way to perform such a search wherein there is no database, but search should be ...
1
vote
0answers
52 views

Server error “/” in the application SharePoint 2010 when filter option is clicked in list

Have an error with a user on SharePoint, when user clicks on the filter options on SharePoint 2010 list the error below appears, it is not consistent but does happen regularly. Any ideas? Thank you ...
3
votes
1answer
125 views

DateTimeControl in MMMM/YYYY format

How to make a SharePoint:DateTimeControl use a MMMM/YYYY format so it let the user choose only month and year ?
1
vote
0answers
55 views

Custom list view based on current URL

I would like to create a list view in a template site si that when a subsite is created by using that template takes the subsite url, extracts the name (e.g. in https://...sharepoint.com/sites/...
1
vote
1answer
255 views

Update panel issue on chrome and Firefox Sharepoint Webpart Page Will Get Full Post back on Dropdown change

I am using ASP.NET update panel in SharePoint WebParts and I am Having the DropDown With AutoPostBack true firing the Event OnSelectedIndexChanged Page will get Fully refresh on DropDown Change. ...
1
vote
0answers
41 views

What is the best way to open a SharePoint document on a web site that must use CSOM?

I have a website that is NOT a SharePoint server. I need to display on my website a document that IS stored in SharePoint. So I will have to access the document via CSOM, but what is the best ...
2
votes
0answers
108 views

Requested site does not appear to have claims enabled or the Login Url has not been set

i am currently getting information from my company's sharepoint page and display it on my asp.net project. I am using ClaimClientContext for authentication, and of course in my local host it is ...
1
vote
4answers
570 views

PeoplePicker not loading in a ASP.net page - SharePoint

I am able to load the peoplepicker control in a page created within SharePoint using the code below but the same when i try to load in a .net application, integrated in SharePoint then i am unable to ...
0
votes
2answers
3k views

Error “Attempted to use an object that has ceased to exist” while trying to access sharepoint landing page

I could access sharepoint central admin, but not sharepoint sites or pages. Is it something related to connection time outs or content database timer locks? How to fix this? Server Error in '/' ...
0
votes
1answer
136 views

SP Provider Hosted Add-in: HTTP Request is unauthorized while calling ItemAdded RER

I am working on SharePoint Provider hosted app for SharePoint Online. The remote web application is deployed on Azure Web App service(azurewebsites.net) and configured authentication/authorization ...
0
votes
1answer
31 views

Get list from Sharepoint Online

I am developing a Visual Basic web application, and i have managed to successfully get the authentication part done. The code i have as of now: <STAThread()> Public Sub getAuthentication() ...
0
votes
1answer
37 views

How can I get data from a sharepoint 2010 server from a separate asp.net web application?

We have a SharePoint 2010 server with data in lists. We also built an asp.net application which sits on a separate non-sharepoint server. Is there a way I could get the data from the sharepoint web ...
1
vote
2answers
45 views

SharePoint Website Dev

I have been commissioned for a project to build a website using SharePoint. I am a Front-end, WP developer and designer by trade, have access to companies Office365 SharePoint online, but have little ...