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
1k views

Sharepoint 2013 - Create custom page with code behind

I have many event receivers and, on error, I want to redirect to a custom page that will manage those errors. I know that I can create a custom page per Event Receiver with the creation of Mapped ...
0
votes
1answer
17 views

Publish a dynamic form on sharepoint

I have to create a form (a request for adding a new user to our active directory) and publish it on the share point. At first I tought, that I could do this using Microsoft Forms, but it is not ...
0
votes
2answers
939 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
2answers
654 views

Alternatives for SharePoint:InputFormTextBox in Google Chrome and Firefox

We use SharePoint:InputFormTextBox in our SP 2010 application. Now the requirement is to make it work in Google Chrome and Firefox also. But from what I read the SharePoint:InputFormTextBox control is ...
1
vote
2answers
4k views

Working with args option of SP.UI.ModalDialog.commonModalDialog

I have the following situation: In my Sharepoint 2010 ASP.Net Application page app I want to allow my users to select a Supervisor for an employee who's information they (the user) is modifying. For ...
8
votes
2answers
2k views

SharePoint 2013 and WebApi

I would like to use ASP.NET WebApi inside a SharePoint 2013 farm solution. I know it is not supported out-of-the-box, but I found SignalR can be run by means of a simple HttpModule, so I was ...
15
votes
5answers
21k views

SharePoint designer is showing “Server error: this file may not be moved, deleted, renamed or otherwise edited”

I want to edit the seatle.master master page for my enterprise wiki site collection. So I did the following:- I copy the seatle.html inside the SP designer. Paste it. It automatically creates two new ...
1
vote
1answer
665 views

Implement multi select lookup using listbox control in aspx page

How can I implement the multi look up select list items functionality in SharePoint using asp.net C#? Please help me with some code, I am using two list boxes and have added a add remove button on ...
0
votes
1answer
826 views

Display/hide control in Webpart based on edit/browse mode

I have a Visual Studio project in which I have created a Visual Webpart. In the user control I have a panel which I want to display in edit mode and hide in browse mode. ASP.NET code snippet: <...
2
votes
1answer
655 views

Creating Workflow from asp.net form

I have deployed an asp.net web form in an application page in SharePoint 2013. The form was developed in Visual Studio 2013 with asp.net being used to build the form and vb.net for the code behind. I ...
1
vote
1answer
1k views

Moving a sharepoint folder from one site to another site using C#

I am new to SharePoint. I have given the flow below. • I have a button in visual web part called Archive. • On Click of the button I like to move the folder inside the site(A) to another site(...
5
votes
1answer
752 views

Uploading '.xlsx' or '.docx' to SharePoint 2007 from ASP.NET app causing file 'corruption'

I have an ASP.NET application wrapped in SharePoint 2007 website. Within this application I allow users to create requests and they can also upload supporting files for the request. When a user ...
0
votes
1answer
101 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
1answer
800 views

Ad-rotator Asp.Net Control on my 2010 master page does not work on child pages

I have a SharePoint 2010 site I'm setting up where I want to have an AdRotator on every page, so I added the control to my master page in SharePoint Designer. However when I look at my site, all the ...
0
votes
0answers
78 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
20 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 ...
0
votes
1answer
17 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....
1
vote
1answer
55 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
47 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
21 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). ...
0
votes
1answer
42 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 ...
1
vote
1answer
612 views

Listbox in webpart has no selection

I'm having a problem that's really blowing my mind right now, because it seems like some basic .net functionality isn't working properly. No doubt I'm missing something really obvious. I could really ...
3
votes
1answer
74 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
3answers
4k 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 '/' ...
1
vote
0answers
20 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
1k 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
2answers
4k views

Deploy ASP.NET website to SharePoint 2013

I have an ASP.NET 4.5 website and I want to deploy it to SharePoint 2013 using Visual Studio 2012. How to do this? Can someone please explain this process in detail if possible.
0
votes
0answers
23 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
4k views

SCRIPT1004: Expected ';' error in the browser

I am using this script to hide 'Edit' button from SharePoint ribbon on my custom webpart's ascx page and calling it in the page load: function hideEdit() { var edit = document.getElementById("...
0
votes
1answer
160 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 ...
4
votes
0answers
439 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 ...
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="...
1
vote
1answer
1k views

Refused to execute script Reserved.ReportViewerControl.axd in SharePoint 2013

We are migrating our ASP.NET WebForms and MVC 3.5 Application to our new SharePoint 2013. Lots of our applications use Reporting Services which use ReportViewer Control 9.0 but when we deployed the ...
0
votes
1answer
103 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
76 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 ...
1
vote
1answer
37 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 ...
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 ...
0
votes
2answers
1k views

The URL <filename> is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web

I am using Microsoft.SharePoint.Client to work with SharePoint 2013 files in asp.net MVC project. I am able to load file then execute the query but after loading, i have to checkout file. on checkout ...
0
votes
0answers
200 views

Using Sharepoint LoginName as parameter in datasource

This question was on StackOverflow, but I thought this would be a better place for it. I am using asp:SqlDataSource to pull data and display this in a repeater control. What I would like to do is ...
2
votes
5answers
2k views

Best PDF converter for general formats

In our SharePoint project we are looking for a third party .dll which is able to convert different file formats into PDF as follows. .doc,.docx to PDF .xls,.xlsx to PDF .ppt,.pptx to PDF HTML to PDF ...
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
33 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 ...
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 ...
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 ...
3
votes
0answers
44 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 ...
0
votes
3answers
1k 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";
1
vote
0answers
105 views

is it normal to create helpdesk webpart system using asp.net in sharepoint portal?

I need to create Help-desk System in SharePoint Portal. I can create it in asp.net, and then convert it to webpart. But this way restricts using of such things as workflow and other sharepoint tools. ...
1
vote
1answer
362 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
231 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
2 3 4 5
10