After Up-Gradation to SharePoint 2013 Web Parts Stopped Working.

Hi,
I upgraded SharePoint 2013 from 2010. After up-Gradation my existing web-parts are no more working.
I also tried after upgrading web part for 15 hive but still same issue.
When ever I click on button it takes me to error page and shows message "
Sorry, something went wrong
An unexpected error has occurred. "
Following are logs from ULS:
Medium Entering monitored scope (Request (POST:http://SPSRVR/PWA/ADBCCRO/Custom/Timesheet.aspx)). Parent No 2f1a8b9c-88c5-f019-bb28-82a0422a41e6
04/26/2014 15:38:15.51 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:http://SPSRVR/PWA/ADBCCRO/Custom/Timesheet.aspx) 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.51 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Files ak8dj High UserAgent not available, file operations may not be optimized. at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb) at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult) at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid databaseId, SqlSession session, SPFileStreamManager spfstm, Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres) at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres... 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53* w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Files ak8dj High ...) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, ... 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53* w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Files ak8dj High ...Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbst... 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53* w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Files ak8dj High ...rRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion,... 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53* w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Files ak8dj High ... String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.SPWeb.GetWebPartPageContent(Uri pageUrl, Int32 pageVersion, PageView requestedView, HttpContext context, Boolean forRender, Boolean includeHidden, Boolean mainFileRequest, Boolean fetchDependencyInformation, Boolean& ghostedPage, String& siteRoot, Guid& siteId, Int64& bytes, ... 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53* w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Files ak8dj High ...Guid& docId, UInt32& docVersion, String& timeLastModified, Byte& level, Object& buildDependencySetData, UInt32& dependencyCount, Object& buildDependencies, SPWebPartCollectionInitialState& initialState, Object& oMultipleMeetingDoclibRootFolders, String& redirectUrl, Boolean& ObjectIsList, Guid& listId) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.FetchWebPartPageInformationForInit(HttpContext context, SPWeb spweb, Boolean mainFileRequest, String path, Boolean impersonate, Boolean& isAppWeb, Boolean& fGhostedPage, Guid& docId, UInt32& docVersion, String& timeLastModified, SPFileLevel& spLevel, String& masterPageUrl, String& customMasterPageUrl, String& webUrl, String& siteUrl, Guid& siteId, Object& buildDependencySetData, SPWebPartCollectionInitialState& initialState, ... 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53* w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Files ak8dj High ...String& siteRoot, String& redirectUrl, Object& oMultipleMeetingDoclibRootFolders, Boolean& objectIsList, Guid& listId, Int64& bytes) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetFileForRequest(HttpContext context, SPWeb web, Boolean exclusion, String virtualPath) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.InitContextWeb(HttpContext context, SPWeb web) at Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IEx... 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53* w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Files ak8dj High ...ecutionStep.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 nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompl... 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53* w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Files ak8dj High ...etion(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) 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Files aiv4w Medium Spent 0 ms to bind 3870 byte file stream 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Files ahjkm Medium Spent 0 ms to send 3870 byte file stream 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/PWA 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.53 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=16.3957 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.54 w3wp.exe (0x1FE8) 0x0988 Web Content Management Publishing 7fz3 Medium Setting [Display] as the FormContext.FormMode for the current page 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.57 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation General 8nca Medium Application error when access /PWA/ADBCCRO/Custom/Timesheet.aspx, Error=The IListSource does not contain any data sources. at System.Web.UI.DataSourceHelper.GetResolvedDataSource(Object dataSource, String dataMember) at System.Web.UI.WebControls.ReadOnlyDataSource.System.Web.UI.IDataSource.GetView(String viewName) at System.Web.UI.WebControls.DataBoundControl.ConnectToDataSourceView() at System.Web.UI.WebControls.DataBoundControl.GetData() at System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.ListControl.PerformSelect() at PrjSvr2013.Timesheets.PrjSvr2013TimesheetsUserControl.BindResources() at PrjSvr2013.Timesheets.PrjSvr2013TimesheetsUserControl.btnSearchPeriod_Click(Object sender, EventArgs e) at System.EventHa... 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.57* w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation General 8nca Medium ...ndler.Invoke(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.57 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Runtime tkau Unexpected System.Web.HttpException: The IListSource does not contain any data sources. at System.Web.UI.DataSourceHelper.GetResolvedDataSource(Object dataSource, String dataMember) at System.Web.UI.WebControls.ReadOnlyDataSource.System.Web.UI.IDataSource.GetView(String viewName) at System.Web.UI.WebControls.DataBoundControl.ConnectToDataSourceView() at System.Web.UI.WebControls.DataBoundControl.GetData() at System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.ListControl.PerformSelect() at PrjSvr2013.Timesheets.PrjSvr2013TimesheetsUserControl.BindResources() at PrjSvr2013.Timesheets.PrjSvr2013TimesheetsUserControl.btnSearchPeriod_Click(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) ... 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.57* w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Runtime tkau Unexpected ...at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.57 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation General ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Web.HttpException (0x80004005): The IListSource does not contain any data sources. at System.Web.UI.DataSourceHelper.GetResolvedDataSource(Object dataSource, String dataMember) at System.Web.UI.WebControls.ReadOnlyDataSource.System.Web.UI.IDataSource.GetView(String viewName) at System.Web.UI.WebControls.DataBoundControl.ConnectToDataSourceView() at System.Web.UI.WebControls.DataBoundControl.GetData() at System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.ListControl.PerformSelect() at PrjSvr2013.Timesheets.PrjSvr2013TimesheetsUserControl.BindResources() at P... 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.57* w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation General ajlz0 High ...rjSvr2013.Timesheets.PrjSvr2013TimesheetsUserControl.btnSearchPeriod_Click(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.Ca... 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.57* w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation General ajlz0 High ...llHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.57 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation General aat87 Monitorable 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.57 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 nasq,1 agb9s,11 ak8dj,5 b4ly,18 7fz3,20 8nca,0 tkau,0 ajlz0,1 aat87 861b8b9c-a8a5-f019-bb28-8f85537e2f88
04/26/2014 15:38:15.57 w3wp.exe (0x1FE8) 0x0988 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://SPSRVR/PWA/ADBCCRO/Custom/Timesheet.aspx)). Execution Time=65.8699 861b8b9c-a8a5-f019-bb28-8f85537e2f88
Regards,
Mehar

Hi Mehar,
Please try to run the PowerShell command, and compare the result:
$webApp = Get-SPWebApplication "http://ihaveablobproblem.com"
[Microsoft.SharePoint.Publishing.PublishingCache]::FlushBlobCache($webApp)
More information, please refer to the link:
http://richardleeman.blogspot.com/2013/08/sharepoint-2013-useragent-not-available.html
Here is a similar post, please check if it is useful:
http://social.technet.microsoft.com/Forums/en-US/05144219-aa4a-49d4-b7f6-31d83e7e97c6/sp2013-upgradation-breaks-all-list-views-with-fieldscontent-types?forum=sharepointgeneral
I hope this helps.
Thanks,
Wendy
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]
Wendy Li
TechNet Community Support

Similar Messages

  • Sharepoint 2013 Web Parts missing - XsltListViewWebPart, Data View Web Part ...

    Hi,
    I'm using a SP2013 standalone dev server and I can´t find some web parts like XsltListViewWebPart and Data View Web Part.
    I was expecting to find a category like "Lists and Libraries" or "Authoring" but I can´t find it.
    I'm a site collection admin and have standard, enterprise and publishing features activated.
    Shouln´t I see those Web Parts?
    I noticed that I don´t have any file "XsltListViewWebPart.webpart" on my server file system. should it exists there?
    Thanks,
    DD 

    Hi,
    If you want to add a XsltListViewWebPart into page via UI.
    In SharePoint 2010, we can find in "Lists and Libraries" category.
    In SharePoint 2013, the category named "Apps".
     Best Regards
    Dennis Guo
    TechNet Community Support

  • SharePoint 2013 web service: Error while sending claim based authentication request (The corresponding SID in the domain is not part of the intended account type)

    We are using .asmx services for SharePoint features such as comments, and rating.
    Service
    Feature   used
    http://<<hostname>>/_vti_bin/socialdataservice.asmx
    Commenting, Rating
    http://<<hostname>>/_vti_bin/UserProfileService.asmx
    For out of box workflows
    In SharePoint 2013,
    SharePoint – 80  web application is on claims based mode and user is logging in with windows authentication. With logged-in client context used to call SharePoint's default web service, we are getting below error message from
    web service (Social data and user profile services).
    Server was unable to process request. ---> The corresponding SID in the domain is not part of the intended account type.
    When the service is accessed using console application with Visual Studio credentials (logged in user), we are able to access the service. Below is the code snippet
    using   (SocialDataService
    service = new  
    SocialDataService())
                      service.Credentials =
    CredentialCache.DefaultCredentials;
    SocialCommentDetail detail =   service.AddComment("<<url>>",
      "Test Comment",
    null,  
    null);
    Are SharePoint 2013 web services not supporting request coming with claim based authentication web application?
    Thanks, Pratik Agrawal (MAQ Software)

    While this applies to 2010, I believe the same is true with 2013:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/925e5f46-317f-46d3-bc55-c67f07eb2372/call-sharepoint-web-services-using-claimbased-authentication?forum=sharepointgeneralprevious
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • RSS Viewer Web part not working after installing kb2767793

    Hi,
    I just patched our sharepoint farm with kb2767793 - after installing this CU the RSS Web part is no longer loading as expected on our pages, it just keeps trying to load forever.
    If I choose to edit the page the RSS feed loads with no issues when in edit mode. When going back to published view I experience the same issue.
    The symptom is only present if the page contains more web parts eg Content Query Web part. If I create a page with only the RSS viewer web part it functions as expected.
    Has anyone experienced this or has any suggestions? 
    Thanks,
    Luke

    We have the same issue after installing the April security updates.
    I opened a support case with Microsoft and they proposed these using one of these solutions (see below).
    Unfortunately these did not work for us.
    Summary
     Page Level: add a CEWP to the page and add the following custom script to it:
    Save the following JavaScript to a .txt file and upload the file to any document library in the root of the site. 
    <Script Type="text/javascript"> 
    function CustomUpdateFormDigest() 
    if(window._spPageContextInfo != null) 
    var $v_2 = window._spPageContextInfo; 
    var $v_3 = $v_2.webServerRelativeUrl; 
    var $v_4 = window._spFormDigestRefreshInterval; 
    UpdateFormDigest($v_3, $v_4); 
    CustomUpdateFormDigest(); 
    </Script>
    Adding the above script to the Master Page
    3)     Web Application Level:
    Turn off Security Validation for the pages from Central Admin -> Web Application -> General Settings.
    Gncntry

  • Export to PDF in Sharepoint Custom web part.

    Hi,
    I want to export my page to pdf in sharepoint custm web part. I am using below code to export to pdf. when i click the export button i am getting below
    Error. how to resolve this error? pLease help me.
    Code
    protected void ExporttoPDF_Click(object sender, EventArgs e)
                Response.ContentType = "application/pdf";
                Response.AddHeader("content-disposition", "attachment;filename=ExporttoPDF.pdf");
                Response.Cache.SetCacheability(HttpCacheability.NoCache);
                StringWriter sw = new StringWriter();
                HtmlTextWriter hw = new HtmlTextWriter(sw);
                this.Page.RenderControl(hw);
                StringReader sr = new StringReader(sw.ToString());
                Document pdfDoc = new Document(PageSize.A4, 10f, 10f, 100f, 0f);
                HTMLWorker htmlparser = new HTMLWorker(pdfDoc);
                PdfWriter.GetInstance(pdfDoc, Response.OutputStream);
                pdfDoc.Open();
                htmlparser.Parse(sr);
                pdfDoc.Close();
                Response.Write(pdfDoc);
                Response.End();
    Error 
    Server Error in '/' Application.
    RegisterForEventValidation can only be called during Render();
    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.InvalidOperationException: RegisterForEventValidation can only be called during Render();
    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:
    [InvalidOperationException: RegisterForEventValidation can only be called during Render();]
       System.Web.UI.ClientScriptManager.RegisterForEventValidation(String uniqueId, String argument) +11081278
       System.Web.UI.WebControls.TextBox.AddAttributesToRender(HtmlTextWriter writer) +455
       System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) +27
       System.Web.UI.WebControls.TextBox.Render(HtmlTextWriter writer) +27
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +411
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +87
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +53
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
       System.Web.UI.Page.Render(HtmlTextWriter writer) +38
       Microsoft.SharePoint.WebPartPages.WikiEditPage.Render(HtmlTextWriter writer) +207
       PayrollProject.PaySlip4Employee.PaySlip4EmployeeUserControl.btnPDF_Click(Object sender, EventArgs e) +425
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
       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.5472; ASP.NET Version:2.0.50727.5474 

    Hi,
    We know that the Page.EnableEventValidation property is set to true(The default is true.),  Sharepoint Custom web(ASP.NET Web) validates that a control event originated from the user interface that was rendered by that control. A control registers its
    events during rendering and then validates the events during postback or callback handling.
    If you write client script freely,you might have to set "EnableEventValidation = false" in your C# code behind,but this method may be troublesome in SharePoint,
     so the method of "sadomovalex"( http://sadomovalex.blogspot.in/) is a good idea.
    Best Regards

  • How to connect Businnes Object Enterprise XI R2 to Sharepoint 2007 web-part

    Dear all,
    How to connect Businnes Object Enterprise XI R2 to Sharepoint 2007 web-part?
    We've connected the SQL Server Analysis Services (OLAP) with Voyager, but how to create the dashboard/reporting/pivot-table/KPI with the web-part created with Business Object Enterprise?
    Thank you,
    Julius Fenata

    I am also looking at:
    1. Saving Webi reports on a SharePoint server.
    2. Launching BOBJ report viewer from the SharePoint server using SOA to view these reports.
    Has anyone done something similar? Any ideas and/or documentation available on this?
    Thanks,
    Kashif

  • After update to 11.2.202.228 mz USB 1.1 web cam stop working

    Hi,
    I have a camera from MediaTech company, it is written on it MT400 and serial number 2604050599. Before latest update it works, after install newest version of Flash Player it stop working. I tested it on http://testmycam.com as one of Adobe employee advices on forum but I have only black rectangle. On top left corner of this rectangle it is written Camera: USB PC Camera (SN9C 102) , FPS 10. I disabled Hardware acceleration but problem remains. 
    As I remember this camera is USB 1.1. Does new Flash Version support USB 1.1?
    I have checked on Device Manager on my Windows XP Home Edition 2002 Version with SP3 device driver version it is written:
    Manufacturer : Sonix
    Driver date: 2004-04-02 (I can't find newer drivers on web )
    Driver version: 4.6.6.1
    Is it bug or Flash Player stops supporting such devices?
    Regards

    I pressed Allow, before pressing Allow background was grey, after Allow
    it gets black. I see the name of this camera on list. I also try another
    camera from Logitech (I can't remember what name was it, but one of the
    newest) and everything works which suggest it is strictly related with
    this specific camera which I'm using.
    Regards
    W dniu 2012-03-31 08:39, Nodster pisze:
    >
          Re: After update to 11.2.202.228 mz USB 1.1 web cam stop working
    created by Nodster <http://forums.adobe.com/people/Nodster> in /Using
    Flash Player/ - View the full discussion
    <http://forums.adobe.com/message/4304094#4304094

  • After i install Visual-Studio 2013 crystal-report not working

    hi
    after i install Visual-Studio 2013 crystal-report not working on my Visual-Studio 2010 projects
    when i try to open crystal-report i see this:

    Hi E_gold,
    Crystal Reports forum may be a better place for you.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hi Team, Showing Yellow icons after every 15 to 20 Min and internet stop working.when we enable- disbale the network connection then will internet start working fine.Some time network connection is disable but when we renable that connection it will st

    Hi Team,
    Showing Yellow icons after every 15 to 20 Min and internet stop working.when we enable- disbale the network connection then will internet start working fine.Some time network connection is disable but when we renable that connection it will stuck on enabling
    and will not renable till i am not restart that machine. I have 350 Machine in network but facing this issue in 25 machines. Kindly help me on this issue .
    Regards
    Sahil bhateja

    Hi,
    So switch a LAN card fix this issue...seems a compatibility issue or maybe some packs or programs you installed recently cause this issue.
    Have you manually check the network adapter driver from the PC's manufacture website? sometimes, it will be a time delay before Microsoft push out the driver update.
    Check if issue exists in safemode with network, this mode will launch Windows with limited sets of files and drivers. 
    if you have a restore point, restore the pc to a previous point at which the pc is functioning fine.
    Yolanda Zhu
    TechNet Community Support

  • Hp smart web printing stopped working in ie 8...is there a fix?

    using Hp G71 lap top...window 7 64-bit  HP smart web printing stopped working
    I use IE 8 ...I tried IE9 and the Updated HPSWP and it failed as well
    why is your software no longer functional.

    same problem here. worked for a while on two of my computers, and then stopped working. windows 7 64 bit ie 9.0.12

  • Web cam stopped working with Windows 7 (but works fine with Ubuntu Live CD).

    Since two days my web cam stopped working. I am using Windows 7 64 bit and I have a Toshiba L505d S5992. It does not show in Device Manager and Windows Update doesn't recognize it, manually I can not install it, so my best guess it was broken.
    But then I tried the LiveDVD of Ubuntu 10.10 (64 bit) and it recognized immediately my web cam and the blue light came on. I have no clue what happened with Windows 7 but it's getting very frustrating.
    Any help would be very welcome at this point.

    Download the webcam application for your unit from this website.
    Uninstall it on the programs and features then installed the downloaded webcam application.
    Hope this will help you solve the issue.

  • HT4623 After downloading the iOS 7 update, my wifi stopped working. (It grayed out) I was able to fix it when i Reset the Network Settings. However, it has gone back to being grayed out and that solution is no longer working. How do I fix it?

    After downloading the iOS 7 update, my wifi stopped working. (It grayed out) I was able to fix it when i Reset the Network Settings. However, it has gone back to being grayed out and that solution is no longer working. How do I fix it?

    After downloading the iOS 7 update, my wifi stopped working. (It grayed out) I was able to fix it when i Reset the Network Settings. However, it has gone back to being grayed out and that solution is no longer working. How do I fix it?

  • Creating an O365 SharePoint Online 2013 Web Part control (that is NOT on another domain or inside an IFrame)

    We created SharePoint App that offers a Web Part we can add to SharePoint 2013 pages.  The problem is that web part installs as an iframe pointing to the apps domain. 
    Two challenges in trying to impact the Page's DOM and elements and also accessing the pages URL query string parameters. Basically cross domain issues.
    Is there any way to deploy a webpart that installs in-line as a component on the page like a Script Editor Web Part?
    If that must be done as a sandbox solution, how can users on 100+ sites easily download and install this web part like web parts from the App catalog and Store?
    BTW, How is it that a Script Editor Web Part installs in-line on the page without an iframe?  Possible to reproduce this in our own App?

    SharePoint 2013 apps are designed to be secure and must run outside of the SharePoint domain. They typically are HTML, JS and CSS and any custom compiled code is run on another web server and access via web services.
    The Script Editor Web Part is a code based (compiled) "traditional" web part that runs in the SharePoint process. If you are working on premise (i.e. not Office 365), and your SharePoint admins will permit custom code to deployed to their servers,
    then you can still create SharePoint 2010 style web parts. These can be deployed as "full trust" web parts or sandbox web parts. Full trust web parts are installed on the web servers while sandbox web parts need to be uploaded to a gallery
    in each site collection (not each site). If your 100+ sites are in a single site collection, then only one upload is needed. If you have 100+ site collections then you could use PowerShell to deploy the sandbox solution to all of them.
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • How do I setup SharePoint 2013 web applications for 2 TB of data?

    Hi,
    I know Microsoft recommend to have 1 App pool with 1 Web App and 1 Content Database. 
    The issue is that in my company SharePoint is going to be a file repository with about 2 TB of data. Management wants that to happen. 
    I was thinking to have 1 App pool and about 18 Web App for each department so that it can hold all that data with a maximum of 200 GB per Content DB in 2 SQL clustered servers. 
    Is that OK? Is this best practices?

    Chicho84,
    Yes, in SharePoint it is suggested to not allow to grow content DB more than 200 GB. Now will your environment starts with 2TB (after migration) or it will steadyly migrate eventually 2TB data. If so that you can think of Host heard site collection with
    individual content db.
    I am sure that you know that SharePoint is not only a DMS but also come with variety of useful service like Search, Workflow, Forms, Social etc. Thease all are going to be a important tool in your organisation. So planing for other services and hardware
    is also very important.
    These are few links which you can refer as starting point :
    http://technet.microsoft.com/en-us/library/cc262451.aspx
    http://technet.microsoft.com/en-us/library/jj219628.aspx#HW_Enterprise
    http://social.technet.microsoft.com/wiki/contents/articles/12438.community-best-practices-for-sharepoint-2013.aspx
    Hope it will help you.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Cacade Sharepoint List Web Part

    hi,
    I created a custom view and insert 2 SP List Filter to filter the list content.
    The 2 SP List Filters are related, for example:
    Filter #1 - list of companies.
    Filter #2 - list of employees.
    I would like the Filter #2 to display only the list of employees for the selected company in Filter #2.
    How to accomplish this?
    Thank you.

    Hi Chuaky,
    Based on your description, I  understand what you want is that when you click a column in the list of companies, the list of employees display the 
    Corresponding items.
    You can implement your requirement  as the following:
    1.Create a companies list and create a column named company.
    2.Create a employees list and it also contains a column named company.
    3.Add the two lists into one page.
    4.On the page, click page ribbon --click edit , at companies list web part, choose edit web part--Connection--Send Row of Data to-- choose 
    employees--choose Get filter Values from--choose "Provider Field Name: company (from companies list), Consumer Field Name: company (from employee list)"--finish.
    5.The companies list web part will automatically add  a column named Select, click select, now what you want is finished.
    Besides the above, There are is a link which you can use as a reference:
    http://blogs.technet.com/b/rajbugga/archive/2013/04/25/creating-connected-web-parts-in-sharepoint.aspx
    Best  regards,
    Wendy Li
    TechNet Community Support

Maybe you are looking for