1
vote
2answers
486 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
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
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 ...
1
vote
1answer
387 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
1k 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 ...
2
votes
3answers
4k 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
535 views

What is neccesary to write to filesystem from a Web Part?

How can I allow a web part to create a file on a unc path? I have a location with ntfs permissions set to everyone\full control and am getting 'access denied' messages. The SP2010 app pool is running ...
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"), ...