Sharepoint error when adding Web Part

Hi,
i'm getting a very basic error but i can't figure out what's going on. I'm the administrator of a Sharepoint site. When i try to modify the Shared page, (dragging and dropping a web part, for example), an error page displays. The page is a generic error page, with no information on what the error is.

Can anyone help me?

Thanks!
Francesc

[373 byte] By [capitapicard] at [2008-2-25]
# 1
Did you check the Event Log and SharePoint logs on the server to see if they have more information in them?
GaryA.Bushey at 2007-9-5 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Design and Customization...
# 2

Edit "Inetpub/wwwroot/wss/VirtualDirectories/YourPortal/web.config" file.

set callstack="true"

set customErrors="Off"

You'll see a descriptive error..

Abdulkadir at 2007-9-5 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Design and Customization...
# 3

Hi,
I see this error message after making the suggested changes:

Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

Comments?

Thanks!
Francesc

capitapicard at 2007-9-5 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Design and Customization...

SharePoint Products and Technologies

Site Classified