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....

learn more… | top users | synonyms (1)

2
votes
1answer
50 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
1answer
2k views

How to verify that requiressl=“true” is functioning

My team is developing a component for SharePoint 2010, it has one Web Application scoped feature, all it does is add the following into web.config: <httpCookies requireSSL="true" /> And <...
1
vote
1answer
105 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 ...
1
vote
1answer
25 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
1answer
280 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
1answer
1k views

Access data from web.config in InfoPath 2013

I want to access the URL from web.config file in sharepoint 2013. I have written the following code : string siteUrl = System.Configuration.ConfigurationManager.AppSettings["strSharepointURL"] + "/...
0
votes
1answer
19 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
1answer
41 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
37 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
1answer
23 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
70 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
245 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
1answer
319 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 ...
2
votes
0answers
295 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
0answers
282 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, ...
1
vote
0answers
61 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
0answers
967 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
0answers
47 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
758 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
10 views

encrypting connection strings in a web.config

I am creating a web part which needs to access a stored procedure from the database.And i have given the connection string in the web.config of the sharepoint site. But my client also wants the ...
0
votes
0answers
13 views

Sharepoint 2010 Foundation - Disable cross-domain origin restriction

I am currently trialling an application designed to allow access to our SharePoint 2010 foundation instance, externally via a cloud based product. Testing for this has been going ok. Bar not being ...
0
votes
0answers
9 views

web.config allows www redirects but not myportal

I have shortcut/redirects in the web front-end that redirects properly but when I try to add a shortcut/redirect for the myportal site, the redirect does not work. They are both in the same domain ...
0
votes
0answers
40 views

SharePoint 2013 WCF giving error, “Server Error in '/' Application. Configuration Error”

I am creating sharepoint hosted WCF. And I have created is as mentioned in the following blog, http://social.technet.microsoft.com/wiki/contents/articles/24194.sharepoint-2013-create-a-custom-wcf-...
0
votes
0answers
82 views

System.Web.HttpValueCollection.ThrowIfMaxHttpCollectionKeysExceeded() in SharePoint 2010

I'm getting the exeption in the title on a page that has a long ListView. There are something like 400 rows and for each row there are somethig like 10 controls per row. I found in internet that I ...
0
votes
0answers
57 views

WebPartPageUserException when setting PageParserPath

I get the following error when setting a specific Page Layout as a PageParserPath (Page Layout allowing inline script): <PageParserPath VirtualPath="/_catalogs/masterpage/MyPageLayout.aspx" ...
0
votes
0answers
52 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
0answers
18 views

FBA web.config Modifications using SPWebConfigModification

General question: Will using SPWebConfigModification deploy the modifications for the membership roles and providers to all 3 web.config files for FBA? I am needing to apply these providers ...
0
votes
0answers
102 views

SharePoint 2013 SessionState - SQLServer Vs InProc

We have a legacy application runs off SharePoint 2013 farm which uses SessionState InProc. I know it's not supported in a sever farm enviroment. To make this work developers edited Web.config entries ...
0
votes
0answers
37 views

Added a connection string in web.config file, but still there is a problem in connecting to it

I have added the connection string in web.config file, still I can't see the data. i.e. there is no connection to DB, is there another web.config file overriding this?
0
votes
0answers
31 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
0answers
295 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
0answers
83 views

SharePoint extended web application's web.config

I had an SharePoint Web application at (http ://intranet) and extended it to (http ://internet). Technically it created a new IIS web site for me with a web.config file completely different from 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
272 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 ...