Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [web-config]

Web.config is the main settings and configuration file for an ASP.NET web application (which SharePoint is dependent on). The file is an XML document that defines configuration information regarding the web application.This file stores the information about how the web application will act. The web.config file contains information that controls module loading, security configuration, session state configuration.

33 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
93 views

Can SharePoint 2010 support validateRequest=“true”?

By default, web application web.configs have validateRequest="false". Changing it to true breaks SharePoint significantly, based on my own trials. People Pickers don't work, half the form pages don't ...
2
votes
0answers
651 views

Cannot open office files on SP 2013 using IE 11

I have a working Web App with FBA and a site containing a document library with office files. When using IE11, whenever I click on any of the files, I am prompted to login. After entering credentials, ...
2
votes
1answer
237 views

Applying Web.config Modifications Without STSAdm

I have a solution where I am including a webconfig.Name.xml modification file in the CONFIG mapped folder. The problem is, it is only applied if I add a post-build step of: stsadm -o ...
2
votes
0answers
923 views

WCF endpoints in SharePoint web.config

I have a SharePoint site that makes calls to a public web API (Melissa Data) using a WCF client. I have the endpoints configured in the web.config like so: <system.serviceModel> <...
1
vote
4answers
3k views

How to Increase Session Time out in Sharepoint?

I have one site collection where I need a data from Session Storage. So I enable my Session from web.config. I know it is not recommended Session in Sharepoint, but my client needs it. So Basically ...
1
vote
0answers
36 views

A Web Part on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe

A slight variation on an old chestnut of a problem. I have a SP2007 farm which we are upgrading to SP2010. We are carrying out UAT on our dev platform before conducting the full live environment ...
1
vote
0answers
272 views

Sharepoint 2010 : not able to deploy new sharepoint solution

I was working on Sharepoint visual solution, all my webparts works fine, I don't know what happened but when I create new visual webpart (with label in it)I was not able to deploy error message : ...
1
vote
1answer
334 views

Check if App.config is well configured

I want to connect to sql DB, and I have in my Sharepoint project an App.config (with properties : Build "None", Copy to Output directory"Copy always"), I added a reference to System.Configuration.dll (...
1
vote
0answers
45 views

App Config not working

I have a sharepoint code, where I use connection to sql database, when I use a string to connect it works, string connstr = "Data Source=CH-SQLD;Initial Catalog=LOGS;User ID=***;Password=***"; ...
1
vote
1answer
685 views

SharePoint 2013 “Runtime Error”

I'm receiving this error when trying to check-in a document in a document library (it's only occurring on this document library). Server Error in '/' Application. You must fill out all required ...
1
vote
0answers
74 views

Programmatically created SPWebApplication's WebParts not registered as safe

I am having a frustrating issue with a programmatically created web application in which a programmatically deployed solution's web parts are not registered as safe when adding to a programmatically ...
1
vote
1answer
233 views

enabling viewstate in webparts

I am using viewstate in my webparts ViewState["CurrentPageNo"] = 22; But this is not working on my production environment as enableview state is false in web.config. How can we enable it on ...
1
vote
0answers
2k views

Syntax for including maxJsonLength in a standalone web.config for a Sharepoint Farm solution?

We encountered the following error in Javascript in a Sharepoint project: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the ...
1
vote
1answer
515 views

Problem to modify web.config in runtime

I'm trying to modify the web.config file when the feature is activated with the code below: public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPWebApplication webApp ...
1
vote
0answers
48 views

SharePoint 2013 autohosted app: Access/Edit the webconfig after deployment

I would like to know if there is the possibility to access the web-config of my autohosted app after it has been deployed. I want to do this for changing some key values e.g. Logging = "False". Is ...
1
vote
0answers
889 views

MS11-100, MaxHttpCollectionKeys not working

Our application is giving the following error in a large form: System.InvalidOperationException: Operation is not valid due to the current state of the object. at System.Web....
0
votes
0answers
19 views

404 error while accessing SP Server Site 2013

404 error while accessing SP Server Site 2013. This is an intermittent issue. We recently had a crypto attack on all servers hence everything was turned off. When everything was settled, we started ...
0
votes
1answer
218 views

SharePoint - 80 : Error: The web.config is invalid on this IIS Web Site:

I tried to deploy a .wsp solution to my SP farm. But I met the following error: Last Operation Result: Some of the files failed to copy during deployment of the solution. Last Operation ...
0
votes
0answers
28 views

SharePoint Web Part error After Reinstalling IIS Features

Recently there was a IIS features reinstallation done on my server to resolve FBA login issues. The login is fixed now, but I am facing web part errors. Error: Web Part Error: A Web Part or Web Form ...
0
votes
1answer
46 views

Application Initialization on HTTPS

I am looking for some guidance on how to warm up my web application after app pool recycle. So far I used standard Powershell warm-up scripts, but due to company policy we might need to find another ...
0
votes
0answers
249 views

Workflow “Failed on start” whenever call by PowerShell

We are using SP2010. I have prepared a PowerShell script to trigger particular workflow on particular object. Here is the script: $web = Get-SPWeb "http://url/"; $list = $web.Lists["My list"]; $...
0
votes
1answer
27 views

SharePoint 2010 WFEs (2) in same farm require different compatability modes

I have a SP 2010 Farm with 2 WFEs. The WFEs are load balanced and users, when they get switched (round robin, usage based polling on load balancer) they have to go in and deselect the compatibility ...
0
votes
0answers
174 views

What configuration files change when installing SharePoint 2013?

SharePoint is installed on the root Folder of IIS, sub-sites are in a folder under the root, and it's running on a Server 2008 R2 machine. To start, i'm asking this question because after installing ...
0
votes
1answer
66 views

After retracting a solution the Sharepoint 2010 farm displays error

"The DataSourceID of 'TopNavigationMenuV4' must be the ID of a control of type IHierarchicalDataSource. A control with ID 'topSiteMap' could not be found."
0
votes
1answer
74 views

Problem in loading assemblies files for a third party tool when accessing the central administration site

I have installed a clipboard manager third party tool named "KWizCom". then i removed the web application which have this tool. but now the Central administration site become inaccessible. so to know ...
0
votes
0answers
35 views

Webconfig entries are added on each deployment

I have an issue, basically everytime I deploy a solution it adds 3 entries of safecontrols which basically do not exist in my project anymore. Before they were there, but not anymore. Each time after ...
0
votes
1answer
30 views

Entries in the web config are constantly added

I have an issues with the web config entries for safe controls, for some controls i have added a safe control to the file. I've done this in visual studio 'Safe control entries'. But any time i deploy ...
0
votes
1answer
103 views

SharePoint and WebService integration after migration

My scenario is: A 2010 environment that function as it should, with custom webparts. A 2013 environment where I did the migration from 2010. I extracted the farm-solutons from the 2010 environment ...
0
votes
1answer
380 views

SharePoint Application Page Cannot Find web.config

I am developing a custom SharePoint Application page. This page has a button which calls a web service. I managed to get it to run just fine, and was also able to deploy it successfully. However, in ...
0
votes
0answers
504 views

NuGet package for Sharepoint 2013 app

I work on an app for SharePoint 2013 Foundation. I created it via New Project > Templates > Visual C# > Office/SharePoint > Apps menu. Template is called App for SharePoint. Now I want to connect to ...
0
votes
1answer
350 views

Register dotless css Sharepoint 2010

I am trying to get http://www.dotlesscss.org/ installed on sharepoint 2010 server for use for the whole site instead of just an application. I have installed the dll into the GAC and the bin of the ...
0
votes
0answers
77 views

How can Solve problems while debugging sharepoint web application?

Everytime I try to run my sharepoint application in debug mode, I get the error bellow:
0
votes
0answers
304 views

Manage Content and Structure Custom Errors After Upgrade

I upgraded to SharePoint 2010 and now I can not get access to the content and structure section located under "Site Actions". The runtime error appears telling me that an Application error occurred on ...