0
votes
1answer
16 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 ...
2
votes
1answer
62 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 ...
0
votes
2answers
55 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 ...
0
votes
1answer
139 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
348 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 ...
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
365 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 ...
2
votes
1answer
727 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
142 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 ...
0
votes
1answer
247 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
1answer
1k 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 = ...
1
vote
2answers
162 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
293 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
3answers
1k 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 ...
0
votes
2answers
735 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
421 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 ...
1
vote
2answers
1k views

How to create a “select” custom property?

In a Webpart I want to set some customs properties. I have this code [Personalizable(PersonalizationScope.Shared), WebBrowsable(true), WebDisplayName("myName"), WebDescription("myDescription"), ...
1
vote
1answer
300 views

Upload can't complete on medium and large files

I have a problem related to the file upload into SharePoint. When a user tries to upload that is ~ 5MB, everything is OK, the file is getting uploaded and the user can use the file. In the case of ...