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)

3
votes
1answer
845 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
682 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
266 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
749 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
170 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
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
1answer
107 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: ...
1
vote
2answers
580 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
3k 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
203 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
612 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
650 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
2answers
2k 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
746 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
259 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
5k 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
71 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
406 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
199 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
298 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
667 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
610 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 ...
3
votes
1answer
1k 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
184 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
3k 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 ...
0
votes
1answer
310 views

Getting “Expression must evaluate to a node-set” exception while adding HttpHandler entries to web.config programmatically?

I'm trying to update web.config in SharePoint when the feature is activated to register an HttpHandler. The code inside receiver is var configModifications = new SPWebConfigModification { Owner ...
0
votes
2answers
1k views

Get web config setting value in javascript

Best way to get from a custom action js command an webconfig appsetting key value, or another similar approach. ideas? thanks. Reference a .js file on a custom action elements.xml on my ...
1
vote
2answers
1k views

Accessing page from LAYOUTS, how to turn off custom errors

I have a custom page that I access through myspaddress/_layouts/folder/default.aspx. Great. Awesome. However, lately it's showing a runtime error. All I can get though is the standard "Server Error ...
0
votes
1answer
2k views

WebConfigModifications Remove functionality is not working in SharePoint 2010

I am using the following code to remove a web.config modification which added to web.config via one feature Collection<SPWebConfigModification> applicationModifications = ...
0
votes
3answers
2k views

Code blocks on aspx page

I couldn't use javascript on my page, have "Code blocks are not allowed in this file". I added <PageParserPaths> <PageParserPath VirtualPath="/*" CompilationMode="Always" ...
2
votes
3answers
2k views

Accessing connection string in custom job

I have configured connection string in my IIS since I'm reusing it through my sharepoint solutions and custom services running next to sharepoint sites. I'm using following snippet throughout my ...
1
vote
1answer
554 views

web.confg httpRuntime changes - wss vs. wse

I'm trying to allow large file uploads from inside a web part, and I'm having some timeout issues. I'm attempting to increase the executionTimeout to deal with this, but I've seen different ...
1
vote
2answers
258 views

What are the typical reasons for modifying SharePoint web.config

In code utilizing SPWebConfigModification what would the typical reasons be for wanting to modify Two examples I know of are: Adding a Safe control to the config, and making general changes to the ...
1
vote
2answers
174 views

Web.Config Entry

HI I am trying to deploy a web site from my friend in SharePoint 2010. How ever I am not sure under which node / child in web . config file I have to insert the below code? Could any one please help ...
1
vote
1answer
352 views

Custom settings file

Is is possible to use a custom settings file in SharePoint? Where do I place the .config file, containing the settings - I can only get it to read the default values defined in .settings file. ...
1
vote
2answers
2k views

Table of contents web part remove max 50 limit - without editing the web.config file

I know that to remove the max 50 limit on a TOC web part you can edit the web.config file by adding DynamicChildLimit="0", but I unfortunately do not have access to the server itself to be able to do ...
1
vote
3answers
2k views

HttpModule does not register

I recently need to register a custom HttpModule to intercept the mobile redirection feature. I followed this tutorial. At one point, I need to register my HttpModule in the web.config and put my DLL ...
2
votes
3answers
5k views

How do you create webpart-specific config files?

How do you create application specific config files for a GAC-deployed webpart in SharePoint 2010? Which one or more of app.config/web.config/supplemental config are appropriate to use for webparts? ...
2
votes
1answer
925 views

Problem with PageParserPaths when web.config on different port

I have ported a SP site from a dev server to a live server, as may be seen in other questions, and have another problem. I have 1 page which uses some server side code to run. On dev it works, on ...
6
votes
3answers
725 views

Use a supplemental .config file just for a web application

I'm trying to add a section into the web.config of a SharePoint 2010 application and I created a webconfig.myname.xml in the \14\CONFIG folder. I then ran the following command to apply the changes: ...
2
votes
2answers
304 views

Setting customErrors attribute

When activating a feature on a site I am getting a Runtime Error page that indicates to set customError mode attribute to Off in order to see the error. I have changed the web.config in my IIS folder ...
1
vote
1answer
1k views

The HTTP request was forbidden with client authentication scheme 'Anonymous'

I am receiving the following error from my SharePoint 2010 service application: The HTTP request was forbidden with client authentication scheme 'Anonymous' This code is being thrown from the my ...
0
votes
1answer
811 views

SharePoint 2010 Service Application fault exeption

I am receiving an error from my SP 2010 Service Application when I try to execute the code from my proxy. An unsecured or incorrectly secured fault was received from the other party. See the inner ...
0
votes
2answers
870 views

Supplemental .config File example for adding a custom provider in siteMap

Microsoft provides the following example for creating some actions in a web.config. <actions> <add path="configuration/SharePoint/SafeControls"> <SafeControl ...
2
votes
1answer
487 views

Supplemental .config File

I wish to make a change to the web.config file. I know you can do this by using a supplemental config file. I know that the file needs to be coppied to %ProgramFiles%\Common Files\Microsoft Shared\web ...
2
votes
2answers
233 views

SharePoint - 14/Layouts web config changes programatically

I want to add web config changes to my 14/LAYOUTS/web.config file. How can i achieve this.
0
votes
1answer
664 views

Get connection string inside TimerJob

Is it possible to get connection string from web.config inside TimerJob?
2
votes
2answers
3k views

SharePoint 2010 - Custom Error Pages 404

I want to configure a custom 404 page for my SharePoint 2010 environment. My first task was to create a custom 404 page (htm). and save it under c:\inetpub\custerr\en-US\404Custom.htm After this I ...