Handling ItemAdding Event in event receiver in sharepoint 2010.

public override void ItemAdding(SPItemEventProperties properties)
base.ItemAdding(properties);
SPItem itemBeingAdded = properties.ListItem;
var startTime = itemBeingAdded["Start Time"]; // does not give any value
// Some code goes here.
I am firing this event while adding an item in a calender list. It is getting fired. No problem. But I am not getting any value from properties.
In the above code startTime gives
me nothing. Actually, I want to access the column field of the item (properties in
my case) is being added.
 Problem is in the ItemAdding method.
ItemUpdating is working fine.
public override void ItemUpdating(SPItemEventProperties properties)
base.ItemUpdating(properties);
SPItem itemBeingAdded = properties.ListItem;
var startTime = itemBeingAdded["Start Time"]; //always gives me value
How can I do it in ItemAdding method. 

Use AfterProperties instead.
http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spitemeventproperties.afterproperties(v=office.15).aspx
http://srisharepointdevelopment.blogspot.com/2013/06/beforeproperties-and-afterproperties-in.html
This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

Similar Messages

  • Getting Error In Item Added Event In Event Receiver in SharePoint 2010

    Hi Guys,
    I have written Event Receiver in SharePoint 2010 On ItemAdded event of Document Library. Wants to increment a col value by reading maximum value first. I wrote below code but sometime it works correctly but some time I got below error: Document Set
    enabled on this document library and weh we added any document in any document set then this event occurred. I mentioned Code block and Error description both.
    Please see and suggest right solution.
    Code:
    public override void ItemAdded(SPItemEventProperties properties)
                    base.ItemAdded(properties);
                    SPListItem _currentItem = properties.ListItem;
                    string _QUERY = @"<Where><Eq><FieldRef Name='DocumentId'/><Value Type='Text'>21</Value></Eq></Where><OrderBy><FieldRef
    Name='RevisionReference' Ascending='False' /></OrderBy><ViewFields><FieldRef Name='RevisionReference' /></ViewFields><QueryOptions><Folder>DocumentLIBB/</Folder></QueryOptions>";
                    int maxID = 0;
                    string revisionreferencee = string.Empty;
                    using (SPWeb web = properties.OpenWeb())
                        SPList list = web.Lists["DocumentLIBB"];
                        SPQuery query = new SPQuery();
                        query.ViewAttributes = "Scope=\"Recursive\"";
                        query.Query = (_QUERY);
                        SPListItemCollection results = list.GetItems(query);
                     if (results.Count > 0)
                            SPListItem item = results[0];
                            revisionreferencee = item["RevisionReference"].ToString();
                            bool result = Int32.TryParse(revisionreferencee, out maxID);
                            _currentItem["RevisionReference"] = maxID + 1;
                            _currentItem["DocumentId"] = item["DocumentId"].ToString();
                    properties.ListItem.File.Update();
                    _currentItem.Update();
    Error Desc:
    <nativehr>0x81020015</nativehr><nativestack></nativestack>The file EKENg LIBB/QA_DOC_044/05-22 Emirates Engineering Occurrence_Error Investigation - MEDA Process - 27 AUG 2009-921.doc has been modified by SHAREPOINT\system
    on 27 Aug 2012 12:10:13 +0400.
    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.Runtime.InteropServices.COMException: <nativehr>0x81020015</nativehr><nativestack></nativestack>The file EKENg LIBB/QA_DOC_044/05-22 Emirates Engineering Occurrence_Error Investigation - MEDA
    Process - 27 AUG 2009-921.doc has been modified by SHAREPOINT\system on 27 Aug 2012 12:10:13 +0400.
    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. 

    Making the event synchronous (rather than the default) eliminates this error. If such a change suits your requirements you should consider it. You just have to tweak the elements.xml in your feature receiver project;
    http://blogs.msdn.com/b/unsharepoint/archive/2010/11/10/sharepoint-event-receivers-making-asynchronous-event-synchronous-to-avoid-save-conflict-error.aspx
    w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | c: http://www.b-i.com

  • Conflict between Client object model and Item Updated Event Receiver in sharepoint 2010

    Hello All,
    As per my requirement I have a two custom list.
    Agent Details
    Port Name
    Agent Details contains Agent code, Port Name,  email, address and phone of Agent. Its possible that one Agent Code is connected with multiple Port Name.
    Basically what I am doing is I am getting port name connected with Agent code, using jquery and bind those values with check box(using javascript created dynamically) and bind all with Div tag.
    Now when my custom edit form of Agent list open up it shows me different port name binding with checkbox group.
    when user select the check box and click confirm button my clicent object model script will run and add this selected value into Port Name list. 
    After confirm one more button named Save will enable asking user to edit the email, phone or address value and when I click on save my Item updated event fires which update the values of the selected port name(These port name I am getting from port
    name list) to Agent Details custom list.
    Now when I am trying to update the values my event receiver fires or some times it got stuck(not firing). So could you please help me the possible alternative for this requirements.
    Can we user the Ecma Script(Client object model to preserve the value of selectec port) and Item updated event receiver on the same time?
    Is anything am doing wrong then please guide me.

    Hi,
    As I understand, when you updated values in the agent details list the Item updated event receiver got stuck sometimes.
    The item update event receiver will fire after the item has been saved, and the client object model script or the Ecma Script runs before the item is saved, so there is no conflict between the client object model script and item update event receiver.
    You could find out the reason about the item update event receiver gets stuck by debugging the event receiver.
    When you want to debug your event receivers, you have to attach to OWSTIMER.EXE and wait till they are executed. You can control this behavior using the Synchronization attribute. Also, if you’re looking for an easy way to debug an event receiver without
    having to manually attach a debugger to your code, you can use the System.Diagnostics.Debugger.Launch() method.
    The articles below are about how to debug in the event receiver in SharePoint 2010.
    http://sharepoint-kings.blogspot.jp/2013/02/debugging-event-receivers-in-sharepoint.html
    http://chakkaradeep.com/index.php/event-receivers-in-sharepoint-2010/
    http://sharesaint.com/?p=77
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Calendar - How can I expand the recurrences of a recurring item in ItemAdding event receiver?

    When a user add a new recurrence event to a calendar I want to check if any of the recurrences overlap with events already in the calendar.
    I saw the property Recurrences Data and its XML but I didn't find a way to translate that value to dates I can test against the events dates on the calendar.
    So, is there a way to expand the recurrences of an event in the ItemAdding event receiver of a calendar?

    Hi,
    Per my understanding, you might want to check if there any overlapped recurring events in Event Receiver.
    You can build the query with <DateRangesOverlap> to return the recurring events with Server Object Model.
    A code demo in the thread below about how to get recurring events from Calendar for your reference:
    https://social.technet.microsoft.com/Forums/en-US/99c3ded6-a8cb-4509-9a74-e93e445d78c7/how-does-calender-list-daterangesoverlap-todaymonthyear-and-week-exactly-work?forum=sharepointdevelopmentprevious
    Thanks
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Sharepoint 2013 ItemAdded event receiver for renaming files is not working

    In SP 2013 I coded an event receiver that intercepts the ItemAdded event and it just renames the file.
    It is a synchronous event (I added <Synchronization>Synchronous</Synchronization> in the Elements.xml).
    This is the code:
            public override void ItemAdded(SPItemEventProperties properties)
                SPSecurity.RunWithElevatedPrivileges(delegate()
                    try
                        OutputDebugStringA("Inside ItemAdded");
                        string szHttpUrl = properties.WebUrl + "/" + properties.AfterUrl;
                        SPWeb openedWeb = properties.Web.Site.OpenWeb(properties.Web.ID);
                        SPFile spf = openedWeb.GetFile(szHttpUrl);
                        EventFiringEnabled = false;
                        string szUrl = properties.AfterUrl;
                        szUrl = szUrl + ".renamed";
                        string szNewFileName;
                        if (szUrl.LastIndexOf('\\') != -1) szNewFileName = szUrl.Substring(szUrl.LastIndexOf('\\') + 1);
                        else if (szUrl.LastIndexOf('/') != -1) szNewFileName = szUrl.Substring(szUrl.LastIndexOf('/') + 1);
                        else szNewFileName = szUrl;
                        if (properties.ListItem != null)
                            properties.ListItem["Title"] = szNewFileName;
                            properties.ListItem.Update();
                        spf.MoveTo(szUrl);
                        EventFiringEnabled = true;
                        base.ItemAdded(properties);
                        OutputDebugStringA("Renaming to " + szUrl);
                    catch (System.Exception exception)
                        OutputDebugStringA("ItemAdded ERROR: " + exception.ToString());
    The problem is that when I upload a .txt file using Internet Explorer, just after the renaming is done, IE says that something went wrong and when I inspect the log files I see:
    SPRequest.GetFileAndFolderProperties: UserPrincipalName=i:0).w|s-1-5-21-4050800873-4278272723-3073177257-500, AppPrincipalName= ,bstrUrl=http://sp2013/sites/demo/subsite1 ,bstrStartUrl=Shared Documents/test2.txt ,ListDocsFlags=16400 ,bThrowException=True 0fa7689c-674b-5045-c3a2-b214a5d4cbed
    01/09/2014 15:29:26.75  w3wp.exe (0x1544)                        0x16F4 SharePoint Foundation        
     General                        ai1wu Medium   System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>,
    StackTrace:    at Microsoft.SharePoint.SPWeb.GetFileOrFolderProperties(String strUrl, ListDocsFlags listDocsFlags, Boolean throwException, SPBasePermissions& permMask)     at Microsoft.SharePoint.SPFile.PropertiesCore(Boolean
    throwException)     at Microsoft.SharePoint.SPFile.get_Length()     at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadPage.OnSubmit(Object o, EventArgs e)     at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadExPage.OnSubmit(Object
    o, EventArgs e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeSta... 0fa7689c-674b-5045-c3a2-b214a5d4cbed
    ...gesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext
    context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContex... 0fa7689c-674b-5045-c3a2-b214a5d4cbed
    ...t, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 
     0fa7689c-674b-5045-c3a2-b214a5d4cbed
    So it is clear that the fact that I renamed the file is causing an issue in the SharePoint upload logic.
    As a solution what I did was to not declare it as Synchronous, but if I do it then there is another error when Sharepoint shows the Edit Properties dialog... in this case the upload is OK but when it is time to show that Edit Property dialog IE fails and
    says that the file has been already modified, or that "something went wrong".
    If I use a synchronous event I get one problem. If I use the asynchronous event I get another problem... It's very frustating and I am pretty sure that a so important API like Event Receivers should have support renaming files so I hope someone can tell
    me what I am doing wrong.
    Thanks in advance

    May be you want to consider using the following code and see if it works for you.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/40c78e03-2dca-4083-89d2-a7430099da68/how-do-i-change-the-name-property-of-a-file-in-a-document-library?forum=sharepointdevelopment
    Amit

  • Email through Event receiver in SharePoint Online

    Hi,
    I am creating an event receiver for custom list which will send email to users in sharepoint online.
    I am using the following code to send email through event receivers in sharepoint.
                MailMessage mMailMessage = new MailMessage();
                mMailMessage.From = new MailAddress("[email protected]");
                mMailMessage.To.Add(new MailAddress("[email protected]));
                mMailMessage.Subject = "subject1";
                mMailMessage.Body = "just a body";
                mMailMessage.IsBodyHtml = true;
                SmtpClient client = new SmtpClient("smtp.office365.com", 587)
                    Credentials = new NetworkCredential("[email protected]", "****"),
                    EnableSsl = true,
                   UseDefaultCredentials = false,
              client.Send(mMailMessage);
    NOTE: I am using MailMessage() because it is in the sandbox solution.
    However I am facing the following error :
    Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=4.0.0.0,
    Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
    It may be because I am trying to use SMTP server of sharepoint Online,However I am not able to connect it.
    Can anybody help me and can advice how to send email programmatically from sharePoint online ?
    Thanks
    Jhalak

    In Office 365, there's no direct way to send an email programmatically because the SPUtility.SendEmail
    Method isn't available in sandboxed solutions. The workaround is to use the Send an Email action in a list workflow.
    For further detail: http://visualstudiomagazine.com/blogs/tool-tracker/2012/04/send-an-email-in-office-365.aspx

  • Exchange Server 2010 public folder - Events show in SharePoint 2010 Calendar

    I want to fetch items to SharePoint 2010 Calendar from Exchange Server 2010 Public Folder Calendar called Event. How can I achieve this ?

    May be you can directly fetch whole public folder in sharepoint server
    http://www.amrein.com/apps/page.asp?Q=5778
    If this helped you resolve your issue, please mark it Answered

  • Make coded ui tests wait for onfocus event during playback - SharePoint 2010 InfoPath form

    I recorded a coded UI test of a SharePoint 2010 site hosting an InfoPath form. The combobox on the infopath form loads the items on onfocus event. It seems that the  coded ui test do not wait for the onfocus event to complete and tries to select the
    item and fails with the error
    The web page could not be accessed. If the page is refreshing, please wait until the page refreshes and then perform actions on it. 
    how can i make the Test to wait till it completes the onfocus event and then select the item.
    one approach i applied was  
    bool bReady = false;while (!bReady)
    try
    uID4ComboBox1.WaitForControlReady();
    // Select 'RMA2' in 'D4' combo box
    uID4ComboBox1.SelectedItem =this.CreateProposalParams.UID18ComboBox1SelectedItem;
    bReady =true;
    catch
    Playback.Wait(1000);
    But i have a lot of combo boxes which makes this solution difficult to implement.
    Thanks in advance.

  • Event log 6482 Sharepoint 2010

    Hello,
    I'm seeing lot of errors on my sharepoint servers with the event ID 6482.
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (6f9b83c0-9cb2-4c3a-85de-2f35b9fca995).
    Reason: The specified user or domain group was not found.
    Technical Support Details:
    Microsoft.SharePoint.SPException: The specified user or domain group was not found. ---> System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
    at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
    at System.Security.Principal.NTAccount.Translate(Type targetType)
    at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKeyClaim(IClaimsIdentity claimsIdentity, SPClaim loginClaim)
    --- End of inner exception stack trace ---
    at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
    at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob
    Also in Central admin, when I go to, security --> General Security --> Configure service accounts, I'm getting the below error,
    Some or all identity references could not be translated.
    I believe both these issues are related. So I have,
    1. performed iisreset
    2. rebooted the server
    3. refresh the configuration cache
    didnt help. Does any one please help me with this issue ASAP?
    Appreciate your help!
    Thanks,

    Hi,
    Did you change password for the search service account or any managed accounts?
    I recommend to follow this link to check the managed accounts to see if the issue still occurs.
    http://sharepoint-community.net/profiles/blogs/error-when-attempting-to-access-configure-service-accounts
    Please also re-create the Search Service Application and then compare the results.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Handling print event in visual studio 2010

    I'm  having problems controlling printer on the server.
    getting error error on printer etc...
    Is their an event on the report viewer print button that I can get to and provide
    code in vb.net to attempt to control printing.
    I've tried it all caching, sessions, etc...
    Nothing has worked to prevent these annoying errors.
    Below is a code snippet that renders pages but does not
    guarantee printing of any number of pages.
    It's happening within the app on the initial print attempt
    and intermittently for large or small reports
    If (Page.IsPostBack = False) Then
                'Preload Assemblies
                oCrReportDocument.Load("
    DataServer64\Avista\Isaac.rpt")
                oCrReportDocument = New ReportDocument()
                oCrReportDocument.Load(reportpath)
                'Store Report Object
                Session.Add("RptNum", oCrReportDocument)
                'srvLoad.ReportSource = Session("RptNum")
                srcUse.CacheDuration = 500
            End If
            If (Page.IsPostBack = True) Then
                oCrReportDocument = Session("RptNum")
                'srvLoad.RefreshReport()
            End If

    The exact error is error occurred on the server printing will be stopped.
    The error occurs on small and large reports immediately after clicking print button
    I intermittenly get commucations error
    It seems I have no control once I click the print button
    I had the CR12 report developer turn off verify (Did'nt test yet)
    This is a app of a solution with 10 projects.  Looking to see if
    original code developer is grabbing control of printing
    Dim oCrReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
            Dim srvLoad As New CrystalDecisions.Web.CrystalReportViewer
            Dim srcUse As New CrystalReportSource
            If (Page.IsPostBack = False) Then
                'Preload Assemblies
                oCrReportDocument.Load("
    DataServer64\Avista\Isaac.rpt")
                oCrReportDocument = New ReportDocument()
                oCrReportDocument.Load(reportpath)
                'Store Report Object
                Session.Add("RptNum", srvLoad)
                'srvLoad.ReportSource = Session("RptNum")
                srcUse.CacheDuration = 62000
            End If
            If (Page.IsPostBack = True) Then
                srvLoad = Session("RptNum")
                'srvLoad.RefreshReport()
                srcUse.CacheDuration = 62000
            End If

  • Not generate file using ItemAdded Event in SharePoint Online

    I develop a list item event receiver For Sharepoint online.I upload the .wsp file in solution and activate the feature On ItemAdded event I create/generate document on 15 document library based on library template.
    Some time it generate all 15 files and sometime it generate 8/10/12 files.
    i.e not generate files in all the document library.
    It work fine in my local server.
    Please Help me.

    &nbsp;****1.design_Pre_Order_Meeting_Template [=========== ] System.ArgumentException: Value does not fall within the expected range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****2.design_Checklist_T [=========== ] System.ArgumentException: Value does not fall within the expected range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****3.design_Drawing_Change_Schedule [=========== ] System.ArgumentException: Value does not fall within the
    expected range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****4.design_Responsibility_Matrix_Template [=========== ] System.ArgumentException: Value does not fall within
    the expected range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****5.design_Review_Record_Template [=========== ] System.ArgumentException: Value does not fall within the expected
    range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****6.design_Risk_Assesment_Template [=========== ] System.ArgumentException: Value does not fall within the
    expected range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****7.design_Supplier_Material_Sheet [=========== ] System.ArgumentException: Value does not fall within the
    expected range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****8.design_Team_Meeting_T [=========== ] System.ArgumentException: Value does not fall within the expected
    range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****9.pc_Key_Isssue_Schedule [=========== ] System.ArgumentException: Value does not fall within the expected
    range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****10.pc_Client_Progress_Report [=========== ] System.ArgumentException: Value does not fall within the expected
    range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****11.pc_Design_Change_Register [=========== ] System.ArgumentException: Value does not fall within the expected
    range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****12.pc_rfi_schedule [=========== ] System.ArgumentException: Value does not fall within the expected range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****13.pc_Drawing_Progress_Schedule_T [=========== ] System.ArgumentException: Value does not fall within the
    expected range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****14.pc_Technical_Submittal_Schedule [=========== ] System.ArgumentException: Value does not fall within the
    expected range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****16.pc_Drawing_Issue_Schedule [=========== ] System.ArgumentException: Value does not fall within the expected
    range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****19.proc_Pre_Order_Meeting_T [=========== ] System.ArgumentException: Value does not fall within the expected
    range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****20.proc_Preferred_Supplier_List [=========== ] System.ArgumentException: Value does not fall within the expected
    range.
    Server stack trace:  
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:  
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    &nbsp;&nbsp;&nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
    &nbsp;&nbsp;&nbsp;at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
    &nbsp;&nbsp;&nbsp;at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties)

  • Event Receiver to get folder Names from List View Web Part

    Hi,
    We have a requirement i.e.
    On one of the page,there are some folders on the list view web part.
    Now through event receiver i should pick the folder names from list view web part and
    update the same in the list.
    If that names already exists in the list then we should leave without updating,if not we have to add folder name in the list.
    Please share your ideas regarding the same.
    Regards,
    Naga Sudheer M
    Thanks & Regards, Sudheer

    Hello,
    LVWP is just for displaying content of site so you need to associate your event receiver with actual list/library. You can create ItemAdded event receiver to check existing folder and create new if not existing. "sk2014" links are good to start.
    http://sharepoint.stackexchange.com/questions/59788/change-name-in-itemadding-event-receiver-or-create-a-new-item
    Let us know in case any doubt
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Fire event receiver after update list items with PowerShell

    Hi,
    I have a list with a event receiver attached to it. Also I have a PowerShell script which updates some elements. I noticed that the Event Receiver is not firing after the PowerShell script runs. Is there any way to make it happen?
    Thanks anyway!

    Hi,
    According to your description, my understanding is that the event receiver not fire after you update the item elements.
    I suggest you can create a simple event receiver and then test if the event receiver fire after PowerShell run.
    Here is my PowerShell script:
    $spWeb = Get-SPWeb -Identity http://sp2013sps/sites/test
    $spList = $spWeb.Lists["Documents"]
    $spItem = $spList.GetItemById(14)
    $spItem["Title"] = "Test111"
    $spItem.Update()
    Here is my event receiver code:
    public override void ItemUpdated(SPItemEventProperties properties)
    base.ItemUpdated(properties);
    Console.WriteLine("event receiver has been done");
    After the PowerShell run, it will come out the result:
    It means the event receiver has been fired.
    Here is a detailed article for your reference:
    http://blogs.technet.com/b/speschka/archive/2009/12/25/debugging-event-receivers-in-sharepoint-2010.aspx
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • SharePoint 2010 workflows randomly not firing in SharePoint Foundation 2013

    Hi,
    We recently upgraded a client from SharePoint Foundation 2010 to SharePoint Foundation 2013. They had several workflows on their 2010 site and would like to continue to use them on their 2013 site. In most cases the workflows are firing properly, but in
    some cases the workflows don't fire at all and I see the following exceptions in the ULS logs when the list items get created (the workflow is set to fire on item created):
    AutoStart Workflow: Microsoft.SharePoint.SPException: List does not exist.  The page you selected contains a list that does not exist.  It may have been deleted by another user. ---> System.Runtime.InteropServices.COMException: List does not
    exist.  The page you selected contains a list that does not exist.  It may have been deleted by another user.<nativehr>0x81020026</nativehr><nativestack></nativestack>
    A few of the ULS log entries that correspond to the exception are listed below. It looks like when the workflow is about to get triggered then the timer service can't find the associated list for some reason and then the workflow fails. The really frustrating
    part of this is that the probably occurs so randomly. It can happen for any user and sometimes it happens multiple times a day and sometimes is doesn't happen for weeks.
    Anyone know why this might be happening?
    05/22/2013 11:20:04.39  w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        8kh7 High     List does not exist.  The page you selected contains a list
    that does not exist.  It may have been deleted by another user.<nativehr>0x81020026</nativehr><nativestack></nativestack> 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.39  w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        aix9j High     SPRequest.GetListsWithCallback: UserPrincipalName=, AppPrincipalName=
    ,bstrUrl=http://sharepoint2013/manufacturing ,foreignWebId=00000000-0000-0000-0000-000000000000 ,bstrListInternalName={2AFF3C93-B16A-4988-8718-18EFAB729E1B} ,dwBaseType=-1 ,dwBaseTypeAlt=-1 ,dwServerTemplate=-1 ,dwGetListFlags=0 ,dwListFilterFlags=4294967295
    ,bPrefetchMetaData=False ,bSecurityTrimmed=True ,bGetSecurityData=True ,bPrefetchRelatedFields=False 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.39  w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        ai1wu Medium   System.Runtime.InteropServices.COMException: List does not exist.  The
    page you selected contains a list that does not exist.  It may have been deleted by another user.<nativehr>0x81020026</nativehr><nativestack></nativestack>, StackTrace:    at Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid
    webId, String strListName)     at Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowException)     at Microsoft.SharePoint.SPListCollection.GetListById(Guid uniqueID, Boolean
    bThrowException)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions)    
    at Microsoft.SharePoint.Workflow.SPWorkflo... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.39* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        ai1wu Medium   ...wAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite
    superUserSite, SPWeb superUserWeb)     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass10.<RunWithSystemSiteAndWeb>b__f()     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()    
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated
    secureCode)     at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.AutoStartWorkflow(SPItemEventProperties properties, Boolean bCreate, Boolean bChange, AssocType atyp)     at Microsoft.SharePoint.Workflow.SPW... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.39* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        ai1wu Medium   ...orkflowAutostartEventReceiver.ItemAdded(SPItemEventProperties properties)    
    at Microsoft.SharePoint.SPEventManager.RunItemEventReceiver(SPItemEventReceiver receiver, SPUserCodeInfo userCodeInfo, SPItemEventProperties properties, SPEventContext context, String receiverData)     at Microsoft.SharePoint.SPEventManager.RunItemEventReceiverHelper(Object
    receiver, SPUserCodeInfo userCodeInfo, Object properties, SPEventContext context, String receiverData)     at Microsoft.SharePoint.SPEventManager.<>c__DisplayClassa`1.<InvokeEventReceiver>b__7()     at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken
    userToken, Boolean bResetContext, WaitCallback code, Object param)     at Microsoft.SharePoint.SPEventManager.InvokeEventReceiver[ReceiverType](SPUserToken userToken, Guid tranLockerId, RunEv... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.39* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        ai1wu Medium   ...entReceiver runEventReceiver, Object receivers, Int32 n, Object properties,
    SPEventReceiverOperationsType operationsType, Boolean& canceled, String& error)     at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](SPRemoteEventReceiverCallType remoteCallType, SPUserToken userToken, Guid
    tranLockerId, RunEventReceiver runEventReceiver, RunRemoteEventReceiver runRemoteEventReceiver, Object receivers, Object properties, Boolean checkCancel, SPEventReceiverOperationsType operationsType)     at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](SPRemoteEventReceiverCallType
    remoteCallType, Byte[] userTokenBytes, Guid tranLockerId, RunEventReceiver runEventReceiver, RunRemoteEventReceiver runRemoteEventReceiver, Object receivers, Object properties, Boolean... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.39* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        ai1wu Medium   ... checkCancel, SPEventReceiverOperationsType operationsType)    
    at Microsoft.SharePoint.SPEventManager.HandleEventCallback[ReceiverType,PropertiesType](Object callbackData)     at Microsoft.SharePoint.Utilities.SPThreadPool.WaitCallbackWrapper(Object state)     at System.Threading.ExecutionContext.RunInternal(ExecutionContext
    executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)    
    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()     at System.Threading.ThreadPoolWorkQueue.Dispatch()   72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.39  w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     Legacy Workflow Infrastructure 72fv Unexpected AutoStart Workflow: Microsoft.SharePoint.SPException: List does not exist.  The page you selected contains a list that does not exist.  It may have been deleted by another
    user. ---> System.Runtime.InteropServices.COMException: List does not exist.  The page you selected contains a list that does not exist.  It may have been deleted by another user.<nativehr>0x81020026</nativehr><nativestack></nativestack>    
    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean
    bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.39* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     Legacy Workflow Infrastructure 72fv Unexpected ...DWriter, Int32& plRecycleBinCount)     at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName,
    Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32&
    plRecycleBinCount)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)     at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String
    bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwList... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.39* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     Legacy Workflow Infrastructure 72fv Unexpected ...FilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount)    
    at Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName)     at Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowException)     at Microsoft.SharePoint.SPListCollection.GetListById(Guid
    uniqueID, Boolean bThrowException)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions)    
    at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWork... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.39* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     Legacy Workflow Infrastructure 72fv Unexpected ...flow>b__0(SPSite superUserSite, SPWeb superUserWeb) 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.42  w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        8kh7 High     List does not exist.  The page you selected contains a list
    that does not exist.  It may have been deleted by another user.<nativehr>0x81020026</nativehr><nativestack></nativestack> 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.42  w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        aix9j High     SPRequest.GetListsWithCallback: UserPrincipalName=, AppPrincipalName=
    ,bstrUrl=http://sharepoint2013/manufacturing ,foreignWebId=00000000-0000-0000-0000-000000000000 ,bstrListInternalName={2AFF3C93-B16A-4988-8718-18EFAB729E1B} ,dwBaseType=-1 ,dwBaseTypeAlt=-1 ,dwServerTemplate=-1 ,dwGetListFlags=0 ,dwListFilterFlags=4294967295
    ,bPrefetchMetaData=False ,bSecurityTrimmed=True ,bGetSecurityData=True ,bPrefetchRelatedFields=False 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.42  w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        ai1wu Medium   System.Runtime.InteropServices.COMException: List does not exist.  The
    page you selected contains a list that does not exist.  It may have been deleted by another user.<nativehr>0x81020026</nativehr><nativestack></nativestack>, StackTrace:    at Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid
    webId, String strListName)     at Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowException)     at Microsoft.SharePoint.SPListCollection.GetListById(Guid uniqueID, Boolean
    bThrowException)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions)    
    at Microsoft.SharePoint.Workflow.SPWorkflo... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.42* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        ai1wu Medium   ...wAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite
    superUserSite, SPWeb superUserWeb)     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass10.<RunWithSystemSiteAndWeb>b__f()     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()    
    at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated
    secureCode)     at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.AutoStartWorkflow(SPItemEventProperties properties, Boolean bCreate, Boolean bChange, AssocType atyp)     at Microsoft.SharePoint.Workflow.SPW... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.42* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        ai1wu Medium   ...orkflowAutostartEventReceiver.ItemAdded(SPItemEventProperties properties)    
    at Microsoft.SharePoint.SPEventManager.RunItemEventReceiver(SPItemEventReceiver receiver, SPUserCodeInfo userCodeInfo, SPItemEventProperties properties, SPEventContext context, String receiverData)     at Microsoft.SharePoint.SPEventManager.RunItemEventReceiverHelper(Object
    receiver, SPUserCodeInfo userCodeInfo, Object properties, SPEventContext context, String receiverData)     at Microsoft.SharePoint.SPEventManager.<>c__DisplayClassa`1.<InvokeEventReceiver>b__7()     at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken
    userToken, Boolean bResetContext, WaitCallback code, Object param)     at Microsoft.SharePoint.SPEventManager.InvokeEventReceiver[ReceiverType](SPUserToken userToken, Guid tranLockerId, RunEv... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.42* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        ai1wu Medium   ...entReceiver runEventReceiver, Object receivers, Int32 n, Object properties,
    SPEventReceiverOperationsType operationsType, Boolean& canceled, String& error)     at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](SPRemoteEventReceiverCallType remoteCallType, SPUserToken userToken, Guid
    tranLockerId, RunEventReceiver runEventReceiver, RunRemoteEventReceiver runRemoteEventReceiver, Object receivers, Object properties, Boolean checkCancel, SPEventReceiverOperationsType operationsType)     at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](SPRemoteEventReceiverCallType
    remoteCallType, Byte[] userTokenBytes, Guid tranLockerId, RunEventReceiver runEventReceiver, RunRemoteEventReceiver runRemoteEventReceiver, Object receivers, Object properties, Boolean... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.42* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     General                        ai1wu Medium   ... checkCancel, SPEventReceiverOperationsType operationsType)    
    at Microsoft.SharePoint.SPEventManager.HandleEventCallback[ReceiverType,PropertiesType](Object callbackData)     at Microsoft.SharePoint.Utilities.SPThreadPool.WaitCallbackWrapper(Object state)     at System.Threading.ExecutionContext.RunInternal(ExecutionContext
    executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)    
    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()     at System.Threading.ThreadPoolWorkQueue.Dispatch()   72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.42  w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     Legacy Workflow Infrastructure 72fv Unexpected AutoStart Workflow: Microsoft.SharePoint.SPException: List does not exist.  The page you selected contains a list that does not exist.  It may have been deleted by another
    user. ---> System.Runtime.InteropServices.COMException: List does not exist.  The page you selected contains a list that does not exist.  It may have been deleted by another user.<nativehr>0x81020026</nativehr><nativestack></nativestack>    
    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean
    bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.42* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     Legacy Workflow Infrastructure 72fv Unexpected ...DWriter, Int32& plRecycleBinCount)     at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName,
    Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32&
    plRecycleBinCount)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)     at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String
    bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwList... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.42* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     Legacy Workflow Infrastructure 72fv Unexpected ...FilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount)    
    at Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName)     at Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowException)     at Microsoft.SharePoint.SPListCollection.GetListById(Guid
    uniqueID, Boolean bThrowException)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions)    
    at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWork... 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.42* w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     Legacy Workflow Infrastructure 72fv Unexpected ...flow>b__0(SPSite superUserSite, SPWeb superUserWeb) 72f31d9c-f516-a01c-8432-a7e38bed564a
    05/22/2013 11:20:04.42  w3wp.exe (0x2650)                        0x1C44 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (Event Receiver (Microsoft.SharePoint, Version=15.0.0.0,
    Culture=neutral, PublicKeyToken=71e9bce111e9429c, Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver)). Execution Time=34.5889 72f31d9c-f516-a01c-8432-a7e38bed564a

    Any news on that issue ?
    I have exactly the same error...and I don't know how to solve it.

  • Get the Sharepoint 2010 Maximum List ID

    Hi Everyone,
    I am facing one issue, in sharepoint 2010 list.
    I have 10 SP List I want the maximum number (ID) of every List
    For Example:- If any user make an entry in List A and it's ID is 10
    If another User make an entry in List B then it's ID Should be 11.
    Regards Sourabh Soni

    Hi,
    Besides the workflow way provided by Romeo, an alternative I can provide is that, you can also use
    Event Receiver with SharePoint Object Model which can help to implement more complex requirements.
    With Event Receiver, we can catch the moment when an item is added to a list which can help to run our custom code in the right timing.
    Here is a step by step sample on creating a simple Item added event receiver for Custom List in SharePoint 2010:
    http://msdn.microsoft.com/en-us/library/ff398052.aspx
    More information on Event Receiver for your reference:
    http://msdn.microsoft.com/en-us/library/gg749858(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/ff408183(v=office.14).aspx
    SharePoint Object Model will be helpful when we need to access SharePoint objects:
    SharePoint Object Model -
    SPListItem class
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.aspx 
    Add, Update and Delete List Items Programmatically in SharePoint
    http://www.mindfiresolutions.com/Add-Update-and-Delete-List-Items-Programmatically-in-Sharepoint-372.php 
    More information about
    SharePoint Object Model:
    http://msdn.microsoft.com/en-us/library/ms473633.ASPX
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • Can I transfer a gifted app from one device to another?

    I recently got a gifted app, and was wondering how I could "transfer" this app to another device eg. if I lose my device and get a new?

  • Indesign CC(2014) performance issues on Yosemite

    Hi there, Already did a reinstall and deleted my preferences but I keep getting issues with linking text pages that gives me constant lag. At 6 pages were I link text layers on different pages my computer keeps thinking and it only has about 1000 wor

  • Reg: Advance Payment

    Hi experts, How can I handle the advance payment of the customer and also for the vendor? i.e both the incoming and outgoing advance payment.... Regards, Bala

  • Apple TV and Ethernet issues.

    I want to know if it is possible to connect both the apple TV and my macbook pro to ethernet and still be able to use airplay.  I can see the apple tv but for some reason I cannot get it to connect.  When I unplug the ethernet from either of the devi

  • How do I combine two i tunes accounts

    i have two and would like one since my email address has recently changed