Or
C:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\14\WebServices\SecurityToken\web.config
<!-- Behavior List: -->
<behaviors>
<serviceBehaviors>
<behavior name="SecurityTokenServiceBehavior" >
<!-- The serviceMetadata behavior allows one to enable
metadata (endpoints, bindings, services) publishing.
This
configuration enables publishing of such data over HTTP GET.
This does not
include metadata about the STS itself such as Claim Types, Keys and other
elements to establish a trust.
-->
<serviceMetadata httpGetEnabled="true" />
<!-- Default WCF throttling limits are too low -->
<serviceThrottling maxConcurrentCalls="65536" maxConcurrentSessions="65536" maxConcurrentInstances="65536" />
<!—newly added tag to fix this error-->
<serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
I am using sharepoint 2010.I have An Excel Web Access Webpart.I want a custom error message to be displayed when invalid excel workbook is trying to be imported.
ReplyDeleteI want To Customize This Error Message.
Step By Step Explanation is
expected as I am new To sharepoint.
Default Message Shown is:
Unable to process the request.
Wait a few minutes and try performing this operation again.
PLease HElp!!
since it is a out of box web part we cannot have control on that error message. may be you can create a custom web part there you can handle try catch blocks for custom messages.
Deleteuse this class for
Instantiate and initialize the Excel Web Access Web Part, as follows:
using Microsoft.Office.Excel.WebUI;
ExcelWebRenderer ewaWebPart = new ExcelWebRenderer();
Ok ...Thanks a Lot..
DeleteThanks a lot.It's working for me..
ReplyDeleteThanks a lot. It's working for me.
ReplyDelete