Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

DataFormWebPartException with insert command difficulty after applying SP2 on MSF 2010

$
0
0

Hello all, and thank you for reviewing ...

I recently updated our MSF2010 server to SP2 (14.0.6123.5000) and our organization started to receive an error on a particular sub site.  I'll try to explain this to the best of my ability, my English is good my SharePoint understanding is terrible. :)

I'll start off with the error that is displayed to the end user when they interact with a specific page where they attempt to schedule an appointment from a calendar:

That error is "Server Error in '/' Application.  'DataFormWebPartExecption:The data source control failed to execute the insert command.  c9e4139f-dd50-46b8-8090-d353c2b40c9b"   There is more on the page (Version information: .NET framework version 2.0.50722.5474), but I suspect I just gave you the most helpful part.

There is a similar error in the application event log on the server (truncated);

  1. Source:        ASP.NET 2.0.50727.0
  2. Event ID:      1309
  3. Task Category: Web Event
  4. Event code: 3005
  5. Process information:
  6.     Process ID: 1680
  7.     Process name: w3wp.exe
  8.     Account name: CONTOSO\applicationpool
  9. Exception information:
  10.     Exception type: DataFormWebPartException
  11.     Exception message: The data source control failed to execute the insert command. c9e4139f-dd50-46b8-8090-d353c2b40c9b
  12. Request information:
  13.     Request URL: http://insideCONTOSO/DO/instruction/pd/registration/Lists/Registrations/Register.aspx?CourseID=841&CourseTitle=Expression+Web9/17/2013 9:36:04 AMa+Create+a+website+from+the+CONTOSO+template&CourseStartTime=2014-01-22T14:00:00Z&CourseEndTime=2014-01-22T20:00:00Z&IsAvailableSeating=true&Source=http9/17/2013 9:36:04 AMAAn unhandled exception has occurred.FAn unhandled exception has occurred.FinsideCONTOSOAn unhandled exception has occurred.FDOAn unhandled exception has occurred.FinstructionAn unhandled exception has occurred.FpdAn unhandled exception has occurred.FregistrationAn unhandled exception has occurred.FListsAn unhandled exception has occurred.FCoursesAn unhandled exception has occurred.FDispFormAn unhandled exception has occurred.Easpx9/17/2013 9:36:04 AMFID9/17/2013 9:36:04 AMD841CONTOSO\applicationpoolSource9/17/2013 9:36:04 AMDhttp%253A%252F%252FinsideCONTOSO%252FDO%252Finstruction%252Fpd%252Fregistration%252Fdefault%252Easpx%26IsDlg%3D1
  14.     Request path: /DO/instruction/pd/registration/Lists/Registrations/Register.aspx
  15.     User host address: 10.250.5.2
  16.     User: CONTOSO\DoeJohn
  17.     Is authenticated: True
  18.     Authentication Type: NTLM
  19.     Thread account name: CONTOSO\applicationpool
  20. Thread information:
  21.     Thread ID: 6
  22.     Thread account name: CONTOSO\applicationpool
  23.     Is impersonating: False
  24.     Stack trace:    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex)
  25.    at System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback)
  26.    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit()
  27.    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e)
  28.    at Microsoft.SharePoint.WebControls.SaveButton.OnBubbleEvent(Object source, EventArgs e)
  29.    at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
  30.    at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
  31.    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint

Now, I suspect the problem may be in the register.aspx referenced in line 14 above as the header of that page references SharePoint Version 12.0.0.0:

<%@ Page language="C#" MasterPageFile="~masterurl/default.master"    Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

Any insight would be appreciated by this youngling (some hand-holding may be necessary)

Thank You.


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>