SharePoint Auto Archive for List Data

Hi,
We have a requirement where we want the list items to be auto archived(copy to a separate list) after [n] years. The time duration is determined by one of the column of the list(created time/updated time).
Does MOSS-2007 supports any built-in feature to supports auto archival for list data? If not whats the best to implement this.
Thanks in advance,
San

Yes.  Using content types, you can set information management policy settings.  These settings allow you to expire documents based on content type.  What happens at expiration time can be configured.  A disposition workflow may be kicked off, or you could just delete the document.
To try this out, go to list settings -> advanced settings and check "Allow Management of content types".
Then click the document content type from the list setting page.  From the content type information page, click "Information managament policy settings".  Select "Define a policy..." and click OK.  from there you can configure expiration.
Note:  You will have to configure any workflows that should run at expiration time BEFORE configuring expiration itself.
EDIT: looking further, I see you want to archive, not just expire.  To do this, implement a workflow on the list that moves the file into an archive folder (or onto a filesystem or wherever) and configure that workflow to run on expiration.

Similar Messages

  • Mac mail how to turn off auto archive for iCloud account

    Yosemite and iOS 8
    Recently I have not been getting my emails in my inbox, they are all transferred into my archive mail box.
    I see the mail come in on my iPhone or iMac and then it disappears and I can find it in my archive folder.
    Can't delete the archive folder. Don't know why I have an archive folder as it's not gmail...
    Please advise.

    You can visit the link below for instructions on how to cancel your subscription;
    https://support.skype.com/en/faq/FA1881/how-do-i-cancel-my-subscription
    that action will indeed cancel reoccurring payment, but not your current subscription.  It will be active until the date it is set to expire.
    In in case you may need more specific instructions, encounter any problems, or for further assistance, you can also contact customer service;
    http://community.skype.com/t5/General-Discussion/How-to-Contact-Skype-Customer-Service/m-p/431911
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES

  • EJB-Archive for getting Data from the DB

    Hello,
    I want to get data from the Database. I created a EJB-Project with an Entity Bean and a Session Bean.
    The jar-Archive that I generated is corrupt. Is that normal?
    Can you provide me with information on database acces?
    In ABAP it would be a piece of cake: Select * from table into ...;-)
    Greetings, Frank

    Hi Frank,
    I see that you are interested in getting data from R/3, please correct me if I'm wrong.
    If that's so, you cannot do it by purely using EJBs, as an entity bean maps to a Table row in the database, which is not quite straight forward in terms of R/3.
    The only way to get data from R/3 is to use
    1)Java + SAP JCO
    2)or a Netweaver technology like Webdynpro + Adaptive RFC
    3)Portal Component + SAP JCO.
    Again, assuming you're dealing with a WebAS server, coming to EJBs, its no different to any other application server. So, you need an RDBMS to use Entity Beans.
    Please let me know if you've got more doubts.
    Regards,
    Rajit

  • Auto category for list

    Dear Support Community,
    Is there a way to use a lookup table to set the Category automatic if the Text in the content table contains the search text?
    Lookup Table
    Search for
    Category
    house
    HH
    mice
    M
    pizza
    P
    Content Table
    Category
    unimportant
    Text
    Price
    unimportant 4
    house of people i like lorem ipsum
    30 $
    mice of things lorem ipsum
    15 $
    pizza is great lorem ipsum
    1$
    mice of lorem ipsum
    I've been trying for hours to find the correct formula. =(
    Please help me.
    After it works it should look like this:
    Category
    unimportant
    Text
    Price
    unimportant 4
    HH
    house of people i like lorem ipsum
    M
    mice of things lorem ipsum
    P
    pizza is great lorem ipsum
    M
    mice of lorem ipsum
    It should identify the text even if the search text is only a part of the text in the cell.
    Thanks a lot =)

    But there is no way without a construction of c1 to cn Colums for the category counts?
    If you don't want to set up those columns, you could use a script.
    A simple one would be something like the following (with the document open, copy-paste into Script Editor and click the triangle to run).   Change the sheet, table names, columns, to fit your setup.
    tell application "Numbers"
      set tblLUT to document 1's sheet "Sheet 1"'s table "LUT"
      set tblTgt to document 1's sheet "Sheet 1"'s table "Table 2"
      set txtCol to 3 -- column "C" - change as needed
      set catCol to 1 --  column "A" - change as needed
      set lstLUL to tblLUT's rows's cells's value --make list of lists
      repeat with r from 2 to (count tblTgt's rows)
      set strMatch to ""
      repeat with i from 2 to lstLUL's (count items)
      if tblTgt's row r's cell txtCol's value contains (lstLUL's item i's item 1) then
      set strMatch to (lstLUL's item i's item 2)
      end if
      set tblTgt's row r's cell catCol's value to strMatch
      end repeat
      end repeat
    end tell
    This can be expanded to extract more than one category from the text if you need that, e.g. if you have both mice and pizza and want to show them both.
    SG

  • How do I pull SharePoint 2013 list data using a SQL Query

    I have been asked to write a sql query to pull data from a SharePoint 2013  List.it needs to return all the columns
    Basically a Select all from the specific SharePoint list Database
    I do have the  list GUID ID. But not sure  which  SQL Table or Database to look in for list data.. the site and the list is in our main SharePoint site collection.
    the query only needs to be saved in SQL server

    I know it isn't support but sometimes you have to share data with other programs....
     I'm stuck.. I was able to get this far...
    SELECT * FROM dbo.Lists
    where tp_Title ='List Name'
     how do I pull the columns of the list?
    I think I still need the specific list not just the master list dbo....
    those two links do not work for SQL server  and SharePoint 2013

  • AD: Auto Archive Outlook 2010 GPO

    Hello,
    I am currently testing Auto Archiving in Outlook 2010 via GPO but am having a little trouble with it. I copied the ADMX files to the DC and the workstation I am testing it from. I was able to get the policy applied and everything seems to be working. However,
    here is where I am confused. I have it set to auto archive anything older than a month (to test) and the only thing I see archived are Sent emails. Does anyone know why it did not archive the Inbox and anything that was older than  a month in it?
    On this test machine:
    Windows 7 64bit
    Office 2010
    Server:
    Exchange 2010
    AD 2008 R2

    Hi,
    Please use Group Policy Management Console to generate a Group Policy result to check policy apply status.
    After you applied Outlook 2010 Auto Archive policy, its data are stored at:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\office\14.0\outlook\preferences
    Check such registry hive in your client; make sure your user applied the policy successfully.
    > I have it set to auto archive anything older than a month (to test) and the only thing I see archived are
    > Sent emails.
    For such questions, we recommend you create a new thread and post it in Outlook forum, which is the best place for Outlook related issues:
    Outlook IT Pro Discussions
    http://social.technet.microsoft.com/Forums/en-US/outlook/threads
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with
    us. 
    Thank you for your understanding.
    For more information please refer to following MS articles:
    Bug: Auto-archive does not work in Outlook 2010
    http://social.technet.microsoft.com/Forums/en-US/outlook/thread/b7f9a086-582b-472d-980f-90e9176d1cd3
    Outlook 2010 AutoArchive not working
    http://social.technet.microsoft.com/Forums/en-US/outlook/thread/0120b14b-ee80-4ad4-a757-1ffd9b4422d9
    Lawrence
    TechNet Community Support

  • Auto Archiving outlook 2010 GPO request

    I'm wanting to setup a GPO to auto archive the user emails every 3 months.  I want it to archive to their machine, backup to their private network folder, and index the archive from the machine, not from the network folder.  this one is tricky.
     Can it be done?

    Hi,
    Please use Group Policy Management Console to generate a Group Policy result to check policy apply status.
    After you applied Outlook 2010 Auto Archive policy, its data are stored at:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\office\14.0\outlook\preferences
    Check such registry hive in your client; make sure your user applied the policy successfully.
    > I have it set to auto archive anything older than a month (to test) and the only thing I see archived are
    > Sent emails.
    For such questions, we recommend you create a new thread and post it in Outlook forum, which is the best place for Outlook related issues:
    Outlook IT Pro Discussions
    http://social.technet.microsoft.com/Forums/en-US/outlook/threads
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with
    us. 
    Thank you for your understanding.
    For more information please refer to following MS articles:
    Bug: Auto-archive does not work in Outlook 2010
    http://social.technet.microsoft.com/Forums/en-US/outlook/thread/b7f9a086-582b-472d-980f-90e9176d1cd3
    Outlook 2010 AutoArchive not working
    http://social.technet.microsoft.com/Forums/en-US/outlook/thread/0120b14b-ee80-4ad4-a757-1ffd9b4422d9
    Lawrence
    TechNet Community Support

  • Build XML for Custom Nested Accordian (like Tree View Structure) for SharePoint List Data

    Expected output in Xml:
    <?xml version="1.0" encoding="utf-8" ?>
    - <TopRoot>
    - <Root id="1" Name="Department">
    - <Type id="2" Name="IT">
    - <SubType id="3" Name="Technology">
      <SubSubType id="4" Name="Sharepoint" />
      <SubSubType id="5" Name="ASP.NET" />
      <SubSubType id="6" Name="HTML 5" />
      </SubType>
      </Type>
    </Root>
    </TopRoot>
    List Details:
    list details for storing category / sub category data and code to build tree structure for the same.
    1.Create Custom List named “CategoryDetails”:
    2.Create Column “Category Name” of type single line of text. Make it as required field and check Yes for Enforce Unique values.
    3.Create column “Parent Category” of type lookup. under Additional Column Settings.
    Get information dropdown, select “CategoryDetails”.
    4.Choice column ["SRTypeName"] 1.Root,2.SRTYPE,3.SubSRTYPE, 4.SUBSUBSRTYPE
    In this column dropdown, select “Category Name”:  
    Referance:
    http://www.codeproject.com/Tips/627580/Build-Tree-View-Structure-for-SharePoint-List-Data    -fine but don't want tree view just generate xml string
    i just follwed above link it work perferfectly fine for building tree view but i don't want server control.
    Expected Result:
    My ultimate goal is to generate xml string like above format without building tree view.
    I want to generate xml using web service and using xml i could convert into nested Tree View Accordian in html.
    I developed some code but its not working to generate xml /string.
    My modified Code:
    public const string DYNAMIC_CAML_QUERY =
            "<Where><IsNull><FieldRef Name='{0}' /></IsNull></Where>";
            public const string DYNAMIC_CAML_QUERY_GET_CHILD_NODE =
            "<Where><Eq><FieldRef Name='{0}' /><Value Type='LookupMulti'>{1}</Value></Eq></Where>";
            protected void Page_Load(object sender, EventArgs e)
                if (!Page.IsPostBack)
                 string TreeViewStr= BuildTree();
                 Literal1.Text = TreeViewStr;
            StringBuilder sbRoot= new StringBuilder();
            protected string BuildTree()
                SPList TasksList;
                SPQuery objSPQuery;
                StringBuilder Query = new StringBuilder();
                SPListItemCollection objItems;
                string DisplayColumn = string.Empty;
                string Title = string.Empty;
                string[] valueArray = null;
                try
                    using (SPSite site = new SPSite(SPContext.Current.Web.Url))
                        using (SPWeb web = site.OpenWeb())
                            TasksList = SPContext.Current.Web.Lists["Service"];
                            if (TasksList != null)
                                objSPQuery = new SPQuery();
                                Query.Append(String.Format(DYNAMIC_CAML_QUERY, "Parent_x0020_Service_x0020_Id"));
                                objSPQuery.Query = Query.ToString();
                                objItems = TasksList.GetItems(objSPQuery);
                                if (objItems != null && objItems.Count > 0)
                                    foreach (SPListItem objItem in objItems)
                                        DisplayColumn = Convert.ToString(objItem["Title"]);
                                        Title = Convert.ToString(objItem["Title"]);
                                        int rootId=objItem["ID"].ToString();
                                        sbRoot.Append("<Root id="+rootId+"
    Name="+Title+">");
                                        string SRAndSUBSRTpe = CreateTree(Title, valueArray,
    null, DisplayColumn, objItem["ID"].ToString());
                                        sbRoot.Append(SRAndSUBSRTpe);
                                        SRType.Clear();//make SRType Empty
                                        strhtml.Clear();
                                    SRType.Append("</Root>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
             StringBuilder strhtml = new StringBuilder();
            private string CreateTree(string RootNode, string[] valueArray,
          List<SPListItem> objNodeCollection, string DisplayValue, string KeyValue)
                try
                    strhtml.Appends(GetSRType(KeyValue, valueArray, objNodeCollection);
                catch (Exception ex)
                    throw ex;
                return strhtml;
            StringBuilder SRType = new StringBuilder();
            private string GetSRType(string RootNode,
            string[] valueArray, List<SPListItem> objListItemColn)
                SPQuery objSPQuery;
                SPListItemCollection objItems = null;
                List<SPListItem> objNodeListItems = new List<SPListItem>();
                objSPQuery = new SPQuery();
                string objNodeTitle = string.Empty;
                string objLookupColumn = string.Empty;
                StringBuilder Query = new StringBuilder();
                SPList objTaskList;
                SPField spField;
                string objKeyColumn;
                string SrTypeCategory;
                try
                    objTaskList = SPContext.Current.Web.Lists["Service"];
                    objLookupColumn = "Parent_x0020_Service_x0020_Id";//objTreeViewControlField.ParentLookup;
                    Query.Append(String.Format
                    (DYNAMIC_CAML_QUERY_GET_CHILD_NODE, objLookupColumn, RootNode));
                    objSPQuery.Query = Query.ToString();
                    objItems = objTaskList.GetItems(objSPQuery);
                    foreach (SPListItem objItem in objItems)
                        objNodeListItems.Add(objItem);
                    if (objNodeListItems != null && objNodeListItems.Count > 0)
                        foreach (SPListItem objItem in objNodeListItems)
                            RootNode = Convert.ToString(objItem["Title"]);
                            objKeyColumn = Convert.ToString(objItem["ID"]);
                            objNodeTitle = Convert.ToString(objItem["Title"]);
                            SrTypeCategory= Convert.ToString(objItem["SRTypeName"]);
                           if(SrTypeCategory =="SRtYpe")
                              SRType.Append("<Type  id="+objKeyColumn+" Name="+RootNode+ ">");
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SRSubTYpe")
                              SRType.Append("<SRSubType  id="+objKeyColumn+" Name="+RootNode+
    ">");  
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SubSubTYpe")
                              SRType.Append("<SubSubType  id="+objKeyColumn+" Name="+RootNode +"
    ></SubSubType");  
                        SRType.Append("</SubType>");
                        SRType.Append("</Type>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
                // Call method again (recursion) to get the child items

    Hi,
    According to your post, my understanding is that you want to custom action for context menu in "Site Content and Structure" in SharePoint 2010.
    In "SiteManager.aspx", SharePoint use MenuItemTemplate class which represent a control that creates an item in a drop-down menu.
    For example, to create or delete the ECB menu for a list item in
    "Site Content and Structure", we can follow the steps below:
    To add the “My Like” menu, we can add the code below:      
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemLike"
    runat="server"
    Text="My Like"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickNavigateUrl="https://www.google.com.hk/"
    />
    To remove the “Delete” menu, we can comment the code below:
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemDelete"
    runat="server"
    Text="<%$Resources:cms,SmtDelete%>"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickScript="%SmtObjectDeleteScript%"
    />            
    The result is as below:
    More information:
    MenuItemTemplate Class (Microsoft.SharePoint.WebControls)
    MenuItemTemplate.ClientOnClickScript property (Microsoft.SharePoint.WebControls)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I received an email stating that a subscription would auto renew on x date. When I click on the provided link to change the auto-renewal setting, no subscriptions appear on the list. ???!!! Thanks in advance for your help.

    I received an email stating that a subscription would auto-renew on x date. When I clicked on the provided link to modify the settings, no subscription appeared, my list is blank.??!!! How do I cancel the subscription?

    Hi there kChaz!
    I have an article for you here that can help you manage these subscriptions:
    iTunes Store: Purchasing and managing auto-renewing subscriptions
    http://support.apple.com/kb/ht4098
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • PowerPivot report data refresh error Data source as SharePoint list Data Feed

    Hi All,
    I am facing a problem on auto refresh, the report data source is SharePoint list Data Feed, I saved it my PC desktop when I set up auto fresh it fails then I moved the SharePoint list data feed "atomsvc" file to A SharePoint Data feed library then connected
    to report started a manual refresh it was success, after next schedules it failed.
    Error massage:
    Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: 
    The network path was not found. ;The network path was not found. The network path was not found. . 
    A connection could not be made to the data source with the DataSourceID of '82f49f39-45aa-4d61-a15c-90ebbc5656d', 
    Name of 'DataFeed testingreport'. An error occurred while processing the 'Testing Report' table. The operation has been cancelled.  
    Thank you very much !
    erkindunya

    If you are using Claims Auth then this is a known limitation.  Auto refresh only works under Classic Auth.
    I trust that answers your question...
    Thanks
    C
    http://www.cjvandyk.com/blog |
    LinkedIn | Facebook |
    Twitter | Quix Utilities for SharePoint |
    Codeplex

  • SSDT - Using a SharePoint list data feed as source - "column does not exist in the rowset" error

    Hey guys!
    So, I want to use a SharePoint list data to create a cube/tabular model, in order to make a complex analysis in PPS using MDX.
    To create the tabular model, I'm using the SS Data Tools, and importing a feed from the respective SharePoint list (using the _vti_bin/listdata.svcextension and then selecting the list(s) I wanna to import).
    Everything looks fine and smooth, I can select and preview the data in the table import wizard, but in the end, when importing, I always get this error IF the table has one or more row of data (if the table is empty, it's ok...) - the <...>
    column doesn't exist in the rowset.
    (Curiously, when I have the same procedure in PowerPivot for Excel, I have no problems, everything works fine. The problem is that then I get again errors if I try to create a tabular model on SSDT importing a PowerPivot file).
    Here's the error:
    Had you already tried this in SSDT? Are you experiencing the same trouble?
    Best regards, and thanks in advance!
    Jorge Mateus
    Jorge Mateus

    I noticed something else too.
    I can't process Tabular Models on both SSDT and SSMS (2012), but I can process Tabular Models created on PowerPivot.
    I tried to create a Data Feed connection on PowerPivot, and it was successfully created. However, if restoring the PowerPivot Tabular DB on my SSAS Tabular instance and processing (full) the model through SSMS, it won't work.
    Is there anything different on PowerPivot and SSDT related with Partitioning or connections to the data sources?
    Regards,
    Jorge
    Jorge Mateus
    Update:
    When trying to Restore a PowerPivot file on my SSAS Tabular Server and full process the model:
    The operation failed because the source does not contain the requested column. You can fix this problem by updating the column mappings.
    More Details:
    The 'X' column does not exist in the rowset.
    An error occurred while processing the partition 'X_81dabac5-c250-4a8c-8832-ad7fcedd35cb' in table 'X_81dabac5-c250-4a8c-8832-ad7fcedd35cb'.
    The current operation was cancelled because another operation in the transaction failed.
    X is the first column of the source table, no matter if I chose others on the PowerPivot table.
    When trying to import data from a data feed using SSDT:
    The 'X' column does not exist in the rowset.
    An error occurred while processing the partition 'X_ee6be81f-2235-4113-b404-cfcb20647a38' in table 'X_ee6be81f-2235-4113-b404-cfcb20647a38'.
    The current operation was cancelled because another operation in the transaction failed.
    X is the first chosen column to import.

  • Create search refiner for list name in sharepoint 2013

    Hi everybody!
    How could I create a search refiner for list name in SharePoint 2013?? I think I can create a search refiner for list ID but how could I show list name base on list id to users in refinement webpart??

    you can create your custom Manged property and use content enrichment to fill the managed property 
    http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2013/06/19/advanced-content-enrichment-in-sharepoint-2013-search.aspx
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • How to Archive a list in sharepoint 2010

    Hi
    I think large list is the inevitable trend and will be a very common issue faced by everyone. We are a medium business using sharepoint 2010.
    For past 3 years, one of our SharePoint lists is over 20000 items.
    From my end:
    1.     I have indexed some important columns and created filtered views but it does not help much.
    2. I have increased the list threshold value to 25000( Even though the best practice is 5000).
    3. Also,  I have set the list template size to 500MB 
    4.     When I try to save the list as a template,  SharePoint throws an exception error.  
    5.   I tried working on the code
    mentioned in the link
    below but it looks complicated for me.
    http://spboom.com/sharepoint-development/moving-sharepoint-list-items-to-archive-list/
    What I need:
    I need to archive old items in the list.  After archiving,  I might need to refer to the archived items from time to time.
    As I'm newbie to SharePoint, it would be great, if someone can elaborate in detail with what can be done.
    Again your help in this is much appreciated.
    Thanks & Regards,
    SweR

    What vesion of SharePoint are you using?  If you want to move items across from one list to another (as per your prefered option), something like: -
    Create a list template of you list with no content
    Recreate it on the same level as the main lis
    Create an SPD workflowthat'll copy an item to the new list and delete the original.  Make sure it doesn't have a triggering action
    Use an Expiration Information Rights Policy to triger the workflow. 
    Please note that this won't preserve the original author / create metadata as Alex has already said.
    Cheers,
    Steven Andrews
    SharePoint Business Analyst
    Blog:
    Steve's SharePoint Space  Twitter:
      LinkedIn:
      Facebook:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Store sharepoint 2010 list data in sql server

    Hi,
    I want to store sharepoint list data to sql server database.
    SO can anyone guide how can i attach my sharepoint 2010 with sql server 2008.
    Please help to solve the issue.
    Thanks in advance.
    Regards
    Rajni

    Hi,
    The screenshot indicates that SharePoint Designer is crashing when trying to add new External Content Type.
    Remove the SharePoint Designer and reinstall it to check the result.
    Microsoft Business Connectivity Services (BCS) enables users to read and write data from external systems—through Web services, databases, and Microsoft .NET Framework assemblies—from within Microsoft SharePoint 2010 and Microsoft Office
    2010 applications.
    There are lots of blog articles showing how to configure BCS in SharePoint 2010. You can start from:
    Understanding Business Connectivity Services
    http://blogs.msdn.com/b/sharepointdev/archive/2011/12/26/understanding-business-connectivity-services.aspx
    Using Business Connectivity Services in SharePoint 2010
    http://msdn.microsoft.com/en-us/magazine/ee819133.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Unexpected "Microsoft.SharePoint.SPListDataValidationException: List data validation failed."

    Steps to replicate (I suspect it can be replicated with any list, not just a survey):
    1. Create a survey
    2. Go to Survey Settings / Validation Settings, enter a formula and a user message.
    3. Respond to a survey. 
    3.1. If a formula validation succeeds, a new survey response is created.
    3.2. If a formula validation fails, I expect to see a user message created in step #2 above. Instead, I see an exception:
     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: Microsoft.SharePoint.SPListDataValidationException: List data validation failed.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [SPListDataValidationException: List data validation failed.]
    Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object& objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename) +25667234
    Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filename) +25664366
    Microsoft.SharePoint.WebControls.SaveButton.OnBubbleEvent(Object source, EventArgs e) +938
    System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +70
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
    Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927 
    Server Error in '/' Application.
    List data validation failed.

    Look for -- <xsl:template name="dvt_1"> in your edit/new form using designer.
    Place
    <sharepoint:itemvalidationfailedmessage
    id="checkform" ControlMode="New"
    runat="server">
    ..right underneath<Sharepoint:ItemHiddenVersion>
    ControlMode depends on what type of form you are working on. (New/Edit)
    GooLuck

Maybe you are looking for