Sharepoint error when adding Web Part
-
Mittwoch, 7. Februar 2007 23:37
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
Alle Antworten
-
Donnerstag, 8. Februar 2007 12:29Did you check the Event Log and SharePoint logs on the server to see if they have more information in them?
-
Donnerstag, 8. Februar 2007 14:29
Edit "Inetpub/wwwroot/wss/VirtualDirectories/YourPortal/web.config" file.
set callstack="true"
set customErrors="Off"
You'll see a descriptive error..
-
Donnerstag, 8. Februar 2007 19:23
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

