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

learn more… | top users | synonyms (1)

0
votes
1answer
52 views

SharePoint 2013 product configuration wizard , Could not find file 'C:\inetpub\wwwroot\wss\VirtualDirectories\…local80\web.config'

I have SharePoint 2013 installed on windows server 2008 R2. My current build version is :- Major Minor Build Revision ----- ----- ----- -------- 15 0 4481 1005 And to upgrade my ...
1
vote
1answer
22 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 ...
0
votes
1answer
34 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
59 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
83 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 ...
2
votes
1answer
89 views

SPWebConfigModification adding child nodes in undesired order

I have some code that uses SPWebConfigModification to add a couple of nodes to the system.webServer/modules section. What I want to do is add a <remove name="MyModule" /> and then an <add ...
1
vote
4answers
188 views

Register user controls (ascx) in web.config?

Since ASP.NET 2.0 I usually register reusable user controls in web.config, rather then register it in every page with <%@ Register %> directives. UPDATED See ScottGu's blog for what I mean. Is ...
1
vote
2answers
65 views

Automated deployment and environment-specific configuration

We are using TeamCity and Octopus Deploy to perform CI/CD with the custom WSP's that we use for SharePoint, and I'm currently trying to solve the problem of how to handle environment-specific ...
1
vote
1answer
315 views

The DataSourceID of 'V4QuickLaunchMenu' must be the ID of a control of type IHierarchicalDataSource

I am trying to make a left navigation bar to SharePoint 2010 with this teckniq=http://www.helpmeonsharepoint.com/2012/03/custom-sharepoint-top-menu-and.html I Have got this Error massage: The ...
0
votes
0answers
32 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 ...
0
votes
0answers
15 views

Setting request length in custom sharepoint service

I have a custom webservice that works with sharepoint. I created mapped catalog named ISAPI and put my Service.svc with .cs in subcatalog according to this blog. Service is working fine, but I don't ...
0
votes
0answers
69 views

Error when creating Claims Based SharePoint application (web.config maybe?)

I get this after I create the application. I haven't modified anything outside of the central admin UI. Anybody have an idea? EDIT: I am also able to access by typing in the regular URL generated by ...
0
votes
1answer
806 views

Sharepoint Web.Config file

I have a 'Custom Connector' sits in GAC, that calls a WCF. I have External Content Type (BDC Model) uses this custom connector. I'm getting an error: Could not find default endpoint element that ...
2
votes
1answer
74 views

Deleted Feature Receiver is Still Running

Here is a complicated one I have been banging my head against for months. I have a SharePoint 2010 site feature with a custom navigation provider. I have created a feature receiver that will add the ...
2
votes
3answers
183 views

Disable users from entering to default page

How to redirect users to http://serverName/Page/default.aspx When they enter http://serverName/default.aspx The first url opens root site, which shows all the contents in SharePoint Site. But I ...
0
votes
2answers
203 views

Error while deleting keys from SPWebConfigModification

I got following error when I tried to remove item from the WebConfigModification. Exception calling "Remove" with "1" argument(s): "Object reference not set to a n instance of an object." I ...
0
votes
1answer
229 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
2answers
62 views

Restrict access to a hive page

The purpose is to block the Incoming e-mail settings internal page (/_layouts/EmailSettings.aspx) to non-admin users or, simply, to all with an exception account. Via authorization element in web ...
1
vote
1answer
330 views

Workflow consumes WCF Service: Exception is invalid or unrecognized

I have got issue. It's an update from a question that I have asked a week ago: I have a State Machine Workflow that is deployed in my local SP machine. It is attached to a list, and will consume a ...
0
votes
1answer
57 views

Web.config was wiped out by Visual Studio

Upon trying to edit our web.config file on our SharePoint 2010 Enterprise server via "wss\VirtualDirectories\80", Visual Studio started up to load the file for editing and then threw an error, ...
0
votes
0answers
54 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 ...
1
vote
3answers
11k views

Server Error in '/' Application. Runtime Error

I am new to SharePoint. I am developing a web part. I that I have created the .aspx page. When I am going to access that page by the URL it throws an error like. Runtime Error Description: An ...
1
vote
1answer
172 views

Add an <assembly> to web.config with SPWebConfigModification

I am trying to add an assembly to configuration/system.web/compilation/assemblies - but with the following code it I get Expression must evaluate to a node-set. private SPWebConfigModification ...
3
votes
1answer
421 views

web.config Entries not Being Removed During Feature Deactivation

I'm writing a web application scoped feature receiver to make changes to web.config using SPWebConfigModification. Adding entries is working well. My problem is removing the entries. When stepping ...
1
vote
3answers
449 views

applicationSettings ignored in web.config

I've written a feature assembly that includes an SPFeatureReceiver. I can successfully deploy the feature's WSP, the assembly goes to the GAC, and the feature (mostly) does what it's supposed to. ...
0
votes
1answer
155 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 ...
1
vote
2answers
487 views

Web service endpoint error for a web part

I'm getting an error from a web part that calls a web service. I think I just need to add the endpoint XML to the web.config. Is there a better way to do this? Can I add the endpoint from Central ...
0
votes
1answer
137 views

web.config entries not deleted when deactivating farm feature

I have application that adds a Farm feature so Sharepoint 2010. When you configure it, some entries are added to the web.config file located in "C:\Program Files\Common Files\Microsoft Shared\Web ...
0
votes
0answers
74 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
1answer
85 views

How to set and read value from SC web.config file

I'd like to set a value into the sharePoint web config. I build a http module and I Need to read a value from the config file. I registered the module into the config file here: ...
0
votes
2answers
424 views

“YSOD” Stack Trace Shown in Synchronous Event Receivers, instead of SharePoint Custom Error Page

Original Title: <nativehr>0x81020089</nativehr> in ItemUpdating (i.e. Synchronous) Event Receiver Edited Question: In the past when you created an item-based, synchronous event ...
0
votes
3answers
2k views

NTLM Authenticated Application, FBA, and the People Picker

On the Windows Authenticated side of an extended web application with FBA, the people picker is only working when I also enable FBA through Central Administration for the Windows Authenticated web ...
0
votes
1answer
188 views

Telerik SpellChecker crashed Site.Help! [closed]

I am using Telerik Rad Editor for spellcheck for my wss 3.0 site. Site has been working all fine, but it suddenly just crashed without any action from my side. I got following error" Web Part Error: ...
2
votes
2answers
432 views

Should I increase MaxControls in the SafeMode section of my web.config?

In my SharePoint web.config, the SafeMode section has a MaxControls attribute that's set to 200 by default. I would like to increase this number but am concerned about possible Production performance ...
2
votes
1answer
516 views

Locate Web.config for Host-named site collection in SharePoint 2010

How can I locate the web.config for a host-named site collection ? or Which web.config can I use for making web.config related changes for a host-named site collection ?
2
votes
1answer
1k views

SPSecurityTokenService.Issue() failed: System.ArgumentException: Cannot get Membership Provider with name xxxxx

Really need help with this issue. I've been struggling for about 4 hours today with this issue and no luck.. Tried everything and every article out there but obviously missed something. Here's the ...
4
votes
2answers
1k views

Add custom error handler at beginning of modules section in web.config (not manually)

Is there a way to put an error handler HTTPModule at the beginning of the modules section in web.config without doing this manually? I've tried the supplemental web.config approach like this: ...
0
votes
1answer
613 views

Verify whether some node exists in SP web.config

Is any way how to find you whether some node exists in web config? SPWebConfigModification? or some other class? I belive there must be way how to find it out. Thanks.
0
votes
0answers
222 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 ...
0
votes
3answers
3k views

[UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported

When the upgrade of 2007 to 2010 took place i started to get errors for my webparts on my website as mentioned below: Error[1] Web Part Error: A Web Part or Web Form Control on this Page cannot be ...
1
vote
3answers
1k views

Sharepoint web.config deployment

I have SharePoint app which we are deploying to another SharePoint server and I need to update target server web.config with changes made on source server web.config. Can somebody advise me how to ...
3
votes
1answer
66 views

Sharepoint web.config deployment

I have sharepoint project which has own customized web.config file. In package I have customized config, but I need to apply those changes to second sharepoint server where are sources deployed. Have ...
0
votes
1answer
377 views

Custom MembershipProvider: applicationName

I'm creating a custom MembershipProvider for FBA authentification. When I access the root url of the web app http://sp:6336/, my provider is initialized. Value of "applicationName" in web.config is ...
0
votes
1answer
166 views

different Virtual directories for same Web application

When I go to IIS and check SharePoint web applications. another virutal directory has been created for the Web application. for example if the web application is mydomain1 80 there is two virtual ...
0
votes
1answer
250 views

Registering of controls in web.config

Is it possible to register controls, aside from: <%@ Register Tagprefix="CustomSearch" Namespace="SomeAssembly.WebControls" Assembly="SomeAssembly.WebControls, Version=11.0.0.0, ...
1
vote
0answers
522 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 ...
0
votes
1answer
482 views

Problem with Ajax Control Toolscript

Yesterday I tried to add the Ajax Control Toolkit to my solution, i first had some problems because I used the version for .NET 4.0, so i replace it and used the version made for .NET 3.5. I only ...
2
votes
1answer
836 views

How to register an ashx handler through sharepoint 2010 farm solution

I have a 3rd party control that i want to add to the web part. That 3rd party control uses a generic ASHX handler. I can always add the registration to the actual WFE web.config but it's a bit ...
1
vote
2answers
159 views

Setting individual WFE config setting

As per my understanding SPWebConfigModification class modifies the web.config across the farm, including all WFE. Are there any workaround to set some WFE specific web.config setting, like licence key ...
6
votes
2answers
2k views

modify web.config programatically to add a workflow authorized type

I need to add a line in the web.config under authorizedtypes, I want to do it with a wsp solution so that sharepoint takes care of syncrhonizing it with other front end servers. I just want to put ...