Error In Visual WebPart SharePoint 2013

So I was creating a SharePoint 2013 visual web part on Visual Studio 2012 and came to this problem. Visual Studio automatically creates WebPartUserControl.ascx.cs and WebPartUserControl.ascx.g.cs. the WebPartUserControl.ascx.g.cs is generated automatically
when you edit the WebPartUserControl.ascx file. So I've added a couple of ContentTemplate tags into .ascx file and Visual Studio generated this code in WebPartUserControl.ascx.g.cs :
public partial class WebPartUserControl {
   public static implicit operator global::System.Web.UI.TemplateControl(AjaxVisualWebPart target)
       return target == null ? null : target.TemplateControl;
When I try to deploy the solution, Visual Studio underlines the implicit operator
 global::System.Web.UI.TemplateControl and
I get this error:
Namespace.WebPart.WebPartUserControl.implicit operator
System.Web.UI.TemplateControl(Namespace.WebPart.WebPartUserControl)':
user-defined conversions to or from a base class are not allowed
I don't even imagine how to solve this even though im struggling on this issue for a couple of hours now... Can somebody help me, please? I assume I have to add something to the .ascx file or to WebPartUserControl.ascx.cs maybe? Thanks in advance!

Hi somu1,
I suggest you check if the parameter is valid in the function.
By default, the parameter is the same as you class name like below:
public partial class HelloWorldWebPart {
public static implicit operator global::System.Web.UI.TemplateControl(HelloWorldWebPart target)
return target == null ? null : target.TemplateControl;
Here is a detailed code demo for your reference:
A look at Visual Web Parts in Visual Studio 11
Best Regards
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]
Zhengyu Guo
TechNet Community Support

Similar Messages

  • AppGlobalResource File In Visual Webpart SharePoint 2013

    Hi,
    I am trying to get resource file entry in the visual web part but wen i try to deploy the solution it's showing an error as below.
    Error    14    The name 'MyResourceFile' does not exist in the current context    C:\Users\Administrator\Documents\Visual Studio 2012\Projects\MySolution\MySolution\WebParts\Test\Test.ascx.g.cs    56  
     60    MySolution
    What i did:
    I right click on my project name and choose "Add" >> "New Item"
    In the next dialog select the "Empty Element" and name it e.g. "GlobalResources"
    Now click right on the new "GlobalResources" folder (Module) and add a new resource file.
    I named it MyResourceFile.resx
    Enter some keys and values in the resource file
    In the next step click on the MyResourceFile.resx file to display the properties. Change the "Deployment Type" attribute to "AppGlobalResource".
    Now i created a asp literal control and in the text property i did the following
    <asp:Literal ID="litControl" runat="server" Text="<%$ Resources:MyResourceFile, Name %>"></asp:Literal>
    and then i tried to deplo the solution i get the following error
    Error    14    The name 'MyResourceFile' does not exist in the current context    C:\Users\Administrator\Documents\Visual Studio 2012\Projects\MySolution\MySolution\WebParts\Test\Test.ascx.g.cs    56  
     60    MySolution
    Please let me know what am i missing,actually i want to deploy my resource files under the AppGlobalResource folder.

    I am trying to get value from the resource file but not able to deploy my solution.
    I  added an empty element in my solution and then added resource file in it,after that i used to get resource file value in the mark up file like this
    <asp:Literal ID="litControl" runat="server" Text="<%$ Resources:MyResourceFile, Name %>"></asp:Literal>
    but when i build/deploy the solution i am getting the following error.
    The name 'MyResourceFile' does not exist in the current context.
    Note: I am using SharePoint 2013 and using Visual Studio 2012 Premium edition,and this issue is occuring in both sandboxed and farm solution.
    please help.

  • Captcha in Visual Webpart SharePoint 2013

    I want to insert a captcha control like below in my visual web part in sharepoint 2013.
    Please suggest how can i achieve this.

    Hello,
    Hope the below link helps you
    http://recaptchaforsp.codeplex.com/
    http://www.etechplanet.com/blog/create-captcha-image-using-c-and-aspnet.aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • To show ECB in dataview webpart Sharepoint 2013

    HI
    I have to add ECB to my dataview webpart. Normally it was not feasible in 2010 but is it possible now in 2013.
    Can we add the ECB or it remains same 
    Thanks

    Hi,
    According to your post, my understanding is that you wanted to show ECB in dataview webpart Sharepoint 2013.
    If you want to enable ECB menu on a column in dataview webpart, you need to open the SharePoint Designer 2013, select the web part, under
    <View> locate  <ViewFields> and then the
    <FieldRef Name=”Title”> or the field where you want to enable the ECB menu and then add the attribute
    ListItemMenu=”TRUE”.
    Here is a similar blog for you to take a look at:
    http://www.dhirendrayadav.com/2013/12/enabling-ecb-menu-on-custom-column-in.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • OOTB Left Navigation error in Page Layout SharePoint 2013

    I created a SharePoint 2013 master page through Design Manager in Sharepoint 2013 and created a page layout like we do trough sharepoint designer as in sharepoint 2010 steps are below
    SharePoint Designer--->Page Layouts---->New Page Layout
    now i want to insert left navigation in the page layout ,i tried to insert the following snippet in the page layout 
    <div data-name="QuickLaunch">
                                        <!--CS: Start Vertical Navigation Snippet-->
                                        <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint,
    Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
                                        <!--SPM:<%@Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation"
    Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
                                        <div id="sideNavBox" class="ms-dialogHidden ms-forceWrap ms-noList">
                                            <!--MS:<SharePoint:AjaxDelta ID="DeltaPlaceHolderLeftNavBar" BlockElement="true" CssClass="ms-core-navigation"
    runat="server">-->
                                                <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBar" runat="server">-->
                                                    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBarTop" runat="server">-->
                                                    <!--ME:</asp:ContentPlaceHolder>-->
                                                    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderQuickLaunchTop" runat="server">-->
                                                    <!--ME:</asp:ContentPlaceHolder>-->
                                                    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBarDataSource" runat="server">-->
                                                    <!--ME:</asp:ContentPlaceHolder>-->
                                                    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderCalendarNavigator" runat="server">-->
                                                    <!--ME:</asp:ContentPlaceHolder>-->
                                                    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderLeftActions" runat="server">-->
                                                    <!--ME:</asp:ContentPlaceHolder>-->
                                                    <!--MS:<SharePoint:SPNavigationManager ID="QuickLaunchNavigationManager"
    runat="server" QuickLaunchControlId="v4QuickLaunchMenu" ContainedControl="QuickLaunch" EnableViewState="false">-->
                                                        <!--MS:<SharePoint:DelegateControl runat="server" ControlId="QuickLaunchDataSource">-->
                                                            <!--MS:<Template_Controls>-->
                                                                <!--MS:<PublishingNavigation:PortalSiteMapDataSource
    runat="server" ID="SiteMapDS" SiteMapProvider="CurrentNavigation" EnableViewState="false" StartFromCurrentNode="true" ShowStartingNode="false" TrimNonCurrentTypes="Heading">-->
                                                                <!--ME:</PublishingNavigation:PortalSiteMapDataSource>-->
                                                            <!--ME:</Template_Controls>-->
                                                        <!--ME:</SharePoint:DelegateControl>-->
                                                        <!--MS:<SharePoint:AspMenu ID="V4QuickLaunchMenu" runat="server"
    EnableViewState="false" DataSourceId="QuickLaunchSiteMap" UseSimpleRendering="true" Orientation="Vertical" StaticDisplayLevels="3" AdjustForShowStartingNode="true" MaximumDynamicDisplayLevels="0"
    SkipLinkText="">-->
                                                        <!--ME:</SharePoint:AspMenu>-->
                                                    <!--ME:</SharePoint:SPNavigationManager>-->
                                                    <!--MS:<SharePoint:SPNavigationManager ID="TreeViewNavigationManagerV4" runat="server"
    ContainedControl="TreeView" CssClass="ms-tv-box">-->
                                                        <!--MS:<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/{0}/viewlsts.aspx"
    ID="idNavLinkSiteHierarchyV4" Text="&#60;%$Resources:wss,treeview_header%&#62;" accesskey="&#60;%$Resources:wss,quiklnch_allcontent_AK%&#62;" CssClass="ms-tv-header">-->
                                                        <!--ME:</SharePoint:SPLinkButton>-->
                                                        <!--MS:<SharePoint:DelegateControl runat="server" ControlId="TreeViewAndDataSource">-->
                                                            <!--MS:<Template_Controls>-->
                                                                <!--MS:<SharePoint:SPHierarchyDataSourceControl
    runat="server" ID="TreeViewDataSourceV4" RootContextObject="Web" IncludeDiscussionFolders="true">-->
                                                                <!--ME:</SharePoint:SPHierarchyDataSourceControl>-->
                                                                <!--MS:<SharePoint:SPRememberScroll runat="server"
    ID="TreeViewRememberScrollV4" onscroll="javascript:_spRecordScrollPositions(this);" style="overflow: auto;">-->
                                                                    <!--MS:<SharePoint:SPTreeView
    ID="WebTreeViewV4" runat="server" ShowLines="false" DataSourceId="TreeViewDataSourceV4" ExpandDepth="0" SelectedNodeStyle-CssClass="ms-tv-selected" NodeStyle-CssClass="ms-tv-item" SkipLinkText=""
    NodeIndent="12" ExpandImageUrl="/{0}/images/tvclosed.png" ExpandImageUrlRtl="/{0}/images/tvclosedrtl.png" CollapseImageUrl="/{0}/images/tvopen.png" CollapseImageUrlRtl="/{0}/images/tvopenrtl.png" NoExpandImageUrl="/{0}/images/tvblank.gif">-->
                                                                    <!--ME:</SharePoint:SPTreeView>-->
                                                                <!--ME:</SharePoint:SPRememberScroll>-->
                                                            <!--ME:</Template_Controls>-->
                                                        <!--ME:</SharePoint:DelegateControl>-->
                                                    <!--ME:</SharePoint:SPNavigationManager>-->
                                                    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderQuickLaunchBottom" runat="server">-->
                                                        <hr />
                                                        <!--MS:<SharePoint:ClusteredSPLinkButton ID="idNavLinkViewAllV4"
    runat="server" Permissions="ViewFormPages" NavigateUrl="~site/{0}/viewlsts.aspx" Text="&#60;%$Resources:wss,quiklnch_allcontent_short%&#62;" accesskey="&#60;%$Resources:wss,quiklnch_allcontent_AK%&#62;"
    CssClass="ms-core-listMenu-item">-->
                                                        <!--ME:</SharePoint:ClusteredSPLinkButton>-->
                                                    <!--ME:</asp:ContentPlaceHolder>-->
                                                <!--ME:</asp:ContentPlaceHolder>-->
                                            <!--ME:</SharePoint:AjaxDelta>-->
                                        </div>
                                        <!--CE: End Vertical Navigation Snippet-->
                                    </div>
    but i get the following error when i create page through this page layout
    "Content Place holders are only allowed in master page"
    Can anyone tell me how do i insert left navigation in page layout which is created through sharepoint designer (.aspx file) but master page is created through design manager

    Hi  ,
    As the error says, you need to  add Content Place holders to Mater Page not the Page Layout.
    For  inserting  left navigation, you can add Vertical Navigation SharePoint component to the master page using Snippets  manager:
    1.
    Open the site then click design manager link from right top corner "Settings".
    2.
    Click “Edit Master Pages” link.
    3.Click your custom mater page. It will open preview page.
    4.
    Once open the preview page then click Snippets menu from top right side. It will open “Snippet Gallery” in new tab page.
    5.
    Click the Vertical Navigation menu item in “DESIGN “tab.
    6.
    In this page we can easy to configure component properties.
    After customization must click the update button then only the changes are reflected in the component snippet.
    7.
    Once click the update button the HTML code automatically generated in the “HTML snippet” box and click “Copy to Clipboard” button.
    8.
    Open the mapped network drive then open the Mater Page HTML file and paste HTML snippet where you want the navigation to show.
    Reference:
    http://www.sharepointpals.com/post/Add-snippets-in-Page-layout-using-design-manager
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Error activating features in Sharepoint 2013 (Correlation ID)

    Hi,
    The Sharepoint 2013 site was working properly but after trying to activate dependences of the features of Sharepoint, I am getting the error as:
    Unexpected error
    Troubleshoot issues with Microsoft SharePoint Foundation
    Correlation ID: 87fc969c-5703-502c-0000-069875247868
    Exception Details: System.ArgumentException: Invalid value "/"
    Parameter name: serverRelativeUrl
    [ArgumentException: invalid value "/"
    Nombre del parámetro: serverRelativeUrl]
    Microsoft.Office.Education.Data.OM.Community.GetEntityId(String serverRelativeUrl) +383
    Microsoft.Office.Education.WebUI.EduCommonController.get_CurrentCommunityId() +229
    Microsoft.Office.Education.WebUI.EduCommonController.GetCurrentCommunity() +110
    Microsoft.Office.Education.WebUI.EduCommonController.get_CurrentCommunity() +109
    Microsoft.Office.Education.WebUI.EduTopNav.ShowSiteStatus() +127
    Microsoft.Office.Education.WebUI.EduTopNav.OnPreRender(EventArgs e) +250
    System.Web.UI.Control.PreRenderRecursiveInternal() +155
    System.Web.UI.Control.PreRenderRecursiveInternal() +240
    System.Web.UI.Control.PreRenderRecursiveInternal() +240
    System.Web.UI.Control.PreRenderRecursiveInternal() +240
    System.Web.UI.Control.PreRenderRecursiveInternal() +240
    System.Web.UI.Control.PreRenderRecursiveInternal() +240
    System.Web.UI.Control.PreRenderRecursiveInternal() +240
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4090
    Can anyone let me know, what exactly this error is about and how to resolve this.
    Thanks in advance!

    Hi, thanks for answering. The error occurred during activation community site feature and workflow. I am running the following powershell script with new id: 
    Merge-SPLogFile -Correlation "f104979c-97d8-502c-0000-0a4a1a58ada1"-Path "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS\FarmMergedLog.log":
    Timestamp               Process                                 TID   Area                           Category                       EventID Level     Message Correlation
    06/02/2014 21:50:42.82 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Logging Correlation Data       xmnv Medium Name=Request (GET:http://d141_054:39379/GettingStarted.aspx) f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.82 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Authentication Authorization   agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.83 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Files                         00000 High UserAgent not available, file operations may not be optimized.    en Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb)     en Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult)     en Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid databaseId, SqlSession session, SPFileStreamManager spfstm, Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres)     en Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.83* w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Files                         00000 High ...)     en 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, ... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.83* w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Files                         00000 High ...Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId)     en 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... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.83* w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Files                         00000 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)     en 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,... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.83* w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Files                         00000 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)     en 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, ... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.83* w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Files                         00000 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)     en 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, ... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.83* w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Files                         00000 High ...String& siteRoot, String& redirectUrl, Object& oMultipleMeetingDoclibRootFolders, Boolean& objectIsList, Guid& listId, Int64& bytes)     en Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetFileForRequest(HttpContext context, SPWeb web, Boolean exclusion, String virtualPath)     en Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.InitContextWeb(HttpContext context, SPWeb web)     en Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context)     en Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context)     en Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea)     en System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IEx... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.83* w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Files                         00000 High ...ecutionStep.Execute()     en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     en System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     en System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     en System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     en System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     en System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     en System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompl... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.83* w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Files                         00000 High ...etion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     en System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     en System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     en System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.83 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Files                         aiv4w Medium Spent 0 ms to bind 2904 byte file stream f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.84 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Logging Correlation Data       xmnv Medium Site=/ f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.84 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Monitoring                     b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Tiempo de ejecución=13,7595390953985 f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.84 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Server Search       Query                         agx9g High Search 'Web Parts and Support Files' feature 'eaf6a128-0482-4f71-9a2f-b1c650680e77' is no activated. f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.84 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Portal Server       Search Boxes                   ahvv6 Unexpected Fetching app info failed: Microsoft.Office.Server.Search.Query.SearchServiceNotFoundException: La solicitud de búsqueda no ha podido conectarse al servicio de búsqueda.     en Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.GetProxy(SPServiceContext ServiceContext)     en Microsoft.Office.Server.Search.WebControls.SearchCommon.GetSearchCenterUrl() f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.86 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Monitoring                     nasq Medium Entering monitored scope (EDU EduCommonController.LoadData). Parent Request (GET:http://d141_054:39379/GettingStarted.aspx) f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.86 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Monitoring                     nasq Medium Entering monitored scope (EDU DataProvider.ProcessRequest for Type: GetCurrentUserRequest, EntityRequestValidator: EntityRequestValidator). Parent EDU GetCurrentUser f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.87 w3wp.exe (D141_054:0x0A74)               0x10E4 Education                     Data Access Layer             ad6ol Medium REQUEST: GetCurrentUserRequest, Site Collection "1b967ebf-a80b-4bd2-8a92-63b2e4065ae1", Locale "es-ES", EntityType "User", Query CommunityId "null query", Query Filter "null query", Query Fields "null query", Query Page RowCount "null query" f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.87 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Monitoring                     b4ly Medium Leaving Monitored Scope (EDU DataProvider.ProcessRequest for Type: GetCurrentUserRequest, EntityRequestValidator: EntityRequestValidator). Tiempo de ejecución=0,15506700690983 f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.87 w3wp.exe (D141_054:0x0A74)               0x10E4 Education                     Data Access Layer             3204 Critical Error while communicating with Profile Service: Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.GetRawPartitionID has null proxy     en Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetRawPartitionID(SPServiceContext serviceContext)     en Microsoft.Office.Server.UserProfiles.ProfileLoader..ctor(SPServiceContext serviceContext, Boolean IgnoreUserPrivacy)     en Microsoft.Office.Server.UserProfiles.ProfileLoader.GetProfileLoader(SPServiceContext serviceContext, Boolean IgnoreUserPrivacy)     en Microsoft.Office.Education.Data.SPDataContext.TryGetUserProfileForCurrentUser(UserProfile& profile)  [SubscriptionID:null] f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.87 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Monitoring                     nasq Medium Entering monitored scope (EDU DataProvider.ProcessRequest for Type: GetEntitiesByTypeRequest, EntityRequestValidator: EntityRequestValidator). Parent EDU GetCommunities f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.87 w3wp.exe (D141_054:0x0A74)               0x10E4 Education                     Data Access Layer             ad6ol Medium REQUEST: GetEntitiesByTypeRequest, Site Collection "1b967ebf-a80b-4bd2-8a92-63b2e4065ae1", Locale "es-ES", EntityType "CommunityMembership", Query CommunityId "null", Query Filter "(UserUid EQ <value>)", Query Fields "null", Query Page RowCount "null" f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.88 w3wp.exe (D141_054:0x0A74)               0x10E4 Education                     Data Access Layer             ai97n Exception DataProvider error. Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.GetRawPartitionID has null proxy     en Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetRawPartitionID(SPServiceContext serviceContext)     en Microsoft.Office.Server.UserProfiles.ProfileManagerBase..ctor(SPServiceContext serviceContext)     en Microsoft.Office.Server.UserProfiles.ProfileManagerBase..ctor(SPServiceContext serviceContext, Boolean ignorePrivacy)     en Microsoft.Office.Server.UserProfiles.UserProfileManager..ctor(SPServiceContext serviceContext, Boolean IgnoreUserPrivacy, Boolean backwardCompatible)     en Microsoft.Office.Server.UserProfiles.UserProfileManager..ctor(SPSe... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.88* w3wp.exe (D141_054:0x0A74)               0x10E4 Education                     Data Access Layer             ai97n Exception ...rviceContext serviceContext)     en Microsoft.Office.Education.Data.SPDataContext.TryGetUserProfile(String loginName, SPSite site, UserProfile& profile)     en Microsoft.Office.Education.Data.SPDataContext.TryGetMySite(String loginName, SPSite site, SPSite& mySite, Boolean& dispose)     en Microsoft.Office.Education.Data.SPContextProvider.TryRunInMySiteContext(RequestContext requestContext, String loginName, Action`1 action)     en Microsoft.Office.Education.Data.ProcessReadRequestVisitorForSPCommunityMembership.GetUserMemberships(ConditionFilterExpression expression)     en Microsoft.Office.Education.Data.ProcessReadRequestVisitorForSPCommunityMembership.Process(GetEntitiesByTypeRequest request)     en Microsoft.Office.Education.Data.ProcessRequestVisitor.Visit(GetEntitiesByTypeRequest re... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.88* w3wp.exe (D141_054:0x0A74)               0x10E4 Education                     Data Access Layer             ai97n Exception ...quest)     en Microsoft.Office.Education.Data.DataProvider.ProcessRequest(Request request) StackTrace:  at Microsoft.Office.Server.Native.dll: (sig=1f86b0bf-2440-4b16-9099-860a571153c2|2|microsoft.office.server.native.pdb, offset=131CE) at Microsoft.Office.Server.Native.dll: (offset=21C85) f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.88 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Server             Unified Logging Service       c91s Monitorable Watson bucket parameters: SharePoint Server 2013, ULSException14, 08d31fdd "education", 0f001144 "15.0.4420.0", b2be5063 "microsoft.office.server.userprofiles", 0f001144 "15.0.4420.0", 50672487 "sat sep 29 18:40:39 2012", 00001a01 "00001a01", 00000013 "00000013", a20cc50c "userprofileapplicationnotavailableexception", 0022384d "ai97n" f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.88 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Monitoring                     b4ly Medium Leaving Monitored Scope (EDU DataProvider.ProcessRequest for Type: GetEntitiesByTypeRequest, EntityRequestValidator: EntityRequestValidator). Tiempo de ejecución=13,5949407830994 f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.88 w3wp.exe (D141_054:0x0A74)               0x10E4 Education                     Presentation Layer             ad6qk Exception GetCommunitiesByUser error. Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.GetRawPartitionID has null proxy     en Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetRawPartitionID(SPServiceContext serviceContext)     en Microsoft.Office.Server.UserProfiles.ProfileManagerBase..ctor(SPServiceContext serviceContext)     en Microsoft.Office.Server.UserProfiles.ProfileManagerBase..ctor(SPServiceContext serviceContext, Boolean ignorePrivacy)     en Microsoft.Office.Server.UserProfiles.UserProfileManager..ctor(SPServiceContext serviceContext, Boolean IgnoreUserPrivacy, Boolean backwardCompatible)     en Microsoft.Office.Server.UserProfiles.UserProfileManager..c... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.88* w3wp.exe (D141_054:0x0A74)               0x10E4 Education                     Presentation Layer             ad6qk Exception ...tor(SPServiceContext serviceContext)     en Microsoft.Office.Education.Data.SPDataContext.TryGetUserProfile(String loginName, SPSite site, UserProfile& profile)     en Microsoft.Office.Education.Data.SPDataContext.TryGetMySite(String loginName, SPSite site, SPSite& mySite, Boolean& dispose)     en Microsoft.Office.Education.Data.SPContextProvider.TryRunInMySiteContext(RequestContext requestContext, String loginName, Action`1 action)     en Microsoft.Office.Education.Data.ProcessReadRequestVisitorForSPCommunityMembership.GetUserMemberships(ConditionFilterExpression expression)     en Microsoft.Office.Education.Data.ProcessReadRequestVisitorForSPCommunityMembership.Process(GetEntitiesByTypeRequest request)     en Microsoft.Office.Education.Data.ProcessRequestVisitor.Visit(GetEntitiesByTypeRe... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.88* w3wp.exe (D141_054:0x0A74)               0x10E4 Education                     Presentation Layer             ad6qk Exception ...quest request)     en Microsoft.Office.Education.Data.DataProvider.ProcessRequest(Request request)     en Microsoft.Office.Education.Data.OM.ObjectProvider.GetCommunitiesByUser[T](String userLoginName, String[] communityFields, IEnumerable`1& memberships)     en Microsoft.Office.Education.WebUI.EduCommonController.GetCommunities(ObjectProvider dx, String loginName, List`1& memberships) StackTrace:  at Microsoft.Office.Server.Native.dll: (sig=1f86b0bf-2440-4b16-9099-860a571153c2|2|microsoft.office.server.native.pdb, offset=131CE) at Microsoft.Office.Server.Native.dll: (offset=21C85) f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.88 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Server             Unified Logging Service       c91s Monitorable Watson bucket parameters: SharePoint Server 2013, ULSException14, 08d31fdd "education", 0f001144 "15.0.4420.0", b2be5063 "microsoft.office.server.userprofiles", 0f001144 "15.0.4420.0", 50672487 "sat sep 29 18:40:39 2012", 00001a01 "00001a01", 00000013 "00000013", a20cc50c "userprofileapplicationnotavailableexception", 000e040a "ad6qk" f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.88 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Monitoring                     b4ly Medium Leaving Monitored Scope (EDU EduCommonController.LoadData). Tiempo de ejecución=20,0458015882821 f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.91 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Authentication Authorization   aib3w Medium SPShareByLinkHandler.IsShareableByLink : ShareByLink disabled at SPSite or tenant level f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.91 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Authentication Authorization   ajp2l Medium SPShareByLinkHandler.CanManageSharingLinkForNewDocument : container is not shareable f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.95 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Authentication Authorization   aib3w Medium SPShareByLinkHandler.IsShareableByLink : ShareByLink disabled at SPSite or tenant level f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.95 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Authentication Authorization   ajp2l Medium SPShareByLinkHandler.CanManageSharingLinkForNewDocument : container is not shareable f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.98 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Authentication Authorization   aib3w Medium SPShareByLinkHandler.IsShareableByLink : ShareByLink disabled at SPSite or tenant level f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:42.98 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Authentication Authorization   ajp2l Medium SPShareByLinkHandler.CanManageSharingLinkForNewDocument : container is not shareable f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:43.02 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Server Search       Query                         ajhum High Exception in LogTimingsToETW: Microsoft.Office.Server.Search.Query.SearchServiceNotFoundException: La solicitud de búsqueda no ha podido conectarse al servicio de búsqueda.     en Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.GetProxy(SPServiceContext ServiceContext)     en Microsoft.Office.Server.Search.Query.TraceManager.LogTimingsToETW() f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:43.02 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         General                       8nca Medium Application error when access /GettingStarted.aspx, Error=valor no válido "/"  Nombre del parámetro: serverRelativeUrl   en Microsoft.Office.Education.Data.OM.Community.GetEntityId(String serverRelativeUrl)     en Microsoft.Office.Education.WebUI.EduCommonController.get_CurrentCommunityId()     en Microsoft.Office.Education.WebUI.EduCommonController.GetCurrentCommunity()     en Microsoft.Office.Education.WebUI.EduCommonController.get_CurrentCommunity()     en Microsoft.Office.Education.WebUI.EduTopNav.ShowSiteStatus()     en Microsoft.Office.Education.WebUI.EduTopNav.OnPreRender(EventArgs e)     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Contro... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:43.02* w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         General                       8nca Medium ...l.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:43.02 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Runtime                       tkau Unexpected System.ArgumentException: valor no válido "/"  Nombre del parámetro: serverRelativeUrl    en Microsoft.Office.Education.Data.OM.Community.GetEntityId(String serverRelativeUrl)     en Microsoft.Office.Education.WebUI.EduCommonController.get_CurrentCommunityId()     en Microsoft.Office.Education.WebUI.EduCommonController.GetCurrentCommunity()     en Microsoft.Office.Education.WebUI.EduCommonController.get_CurrentCommunity()     en Microsoft.Office.Education.WebUI.EduTopNav.ShowSiteStatus()     en Microsoft.Office.Education.WebUI.EduTopNav.OnPreRender(EventArgs e)     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal() ... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:43.02* w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         Runtime                       tkau Unexpected ...    en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:43.02 w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         General                       ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Se produjo una excepción de tipo 'System.Web.HttpUnhandledException'. ---> System.ArgumentException: valor no válido "/"  Nombre del parámetro: serverRelativeUrl     en Microsoft.Office.Education.Data.OM.Community.GetEntityId(String serverRelativeUrl)     en Microsoft.Office.Education.WebUI.EduCommonController.get_CurrentCommunityId()     en Microsoft.Office.Education.WebUI.EduCommonController.GetCurrentCommunity()     en Microsoft.Office.Education.WebUI.EduCommonController.get_CurrentCommunity()     en Microsoft.Office.Education.WebUI.EduTopNav.ShowSiteStatus()     en Microsoft.Office.Education.WebUI.EduTopNav.OnPreRender(EventArgs e)     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:43.02* w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         General                       ajlz0 High ...Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Control.PreRenderRecursiveInternal()     en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     en System.Web.UI.Page.HandleError(Exception e)     en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     en System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     en System.Web.UI.Page.ProcessRequest()     en Sys... f104979c-97d8-502c-0000-0a4a1a58ada1
    06/02/2014 21:50:43.02* w3wp.exe (D141_054:0x0A74)               0x10E4 SharePoint Foundation         General                       ajlz0 High ...tem.Web.UI.Page.ProcessRequest(HttpContext context)     en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) f104979c-97d8-502c-0000-0a4a1a58ada1

  • Server Error: Unexpected Error when running Napa SharePoint 2013 App

    I am getting an error "Server Error : Unexpected error" when I try to run a SharePoint 2013 app in Napa Development environment.
    It starts the process normally but after it shows "Uninstalling previous version" it throws the error. This has been happening since yesterday.Someone help

    I have a solution to the problem. I had a folder with a JSON file. On renaming the file to .txt, the app ran normally. I believe .json files are not supported in SharePoint hence the error.

  • Errors in stand-alone Sharepoint 2013 trial

    Hi there, I have installed the stand-alone trial of Sharepoint 2013 on our Windows Server 2008 R2 Enterprise machine, Service Pack 1.
    When I click on the 'Sites' link at the top right, I get the error:
    "Not Found
    The requested URL /my/_layouts/15/MySite.aspx was not found on this server."
    And I get similar errors for any of the links at the top right: 'Newsfeed' and 'SkyDrive'
    I have four Web Applications set up:
    SharePoint - 20103 http://cr-dc-vygr01:20103/
    20103
    SharePoint Central Administration v4 http://cr-dc-vygr01:29235/
    29235
    Testing456 http://cr-dc-vygr01:8888/
    8888
    SharePoint - 9665 Currently Selected http://cr-dc-vygr01:9665/
    9665
    Could you please advise what might be wrong?
    Many thanks,
    Simon

    look like your MySite host and UPA is not configured properly.
    Central Admin > Application Management > Manage Services Application...On this page check if the User Profile service is listed their.  Click on USer profile services, and check the configuration.
    Follow the instruction below to configure Mysite and UPA
    http://www.c-sharpcorner.com/UploadFile/Roji.Joy/how-to-configure-user-profile-service-and-my-site-in-sharepo/
    http://www.c-sharpcorner.com/UploadFile/Roji.Joy/configure-user-profile-service-and-my-site-in-sharepoint-201/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Using CreatedModifiedInfo in custom webpart SharePoint 2013

    We've used those lines of code in SharePoint 2010 for a long time and we never had any issues with them. We've created a custom webpart and added the modifiedinfo toolbar to the bottom. Now we've moved our site from SP2010 to a SP2013 while still using SP2010
    UI. So we're still in 2010 mode while this problem occurs.
    internal static void AddToolBarInfo(this ToolBar toolBar, SPControlMode mode)
    info = new CreatedModifiedInfo();
    info.ControlMode = mode;
    toolBar.Buttons.Controls.Add(info);
    The control is added properly but no information are shown inside the toolbar. Somehow not many persons have used this toolbar, so I'm not able to find many informations about it. Since we've never done more than adding the control, I don't know where to
    start looking when the control is not properly filled.
    Regards Andreas MCPD SharePoint 2010. Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.

    Has anyone used the CreatedModifiedInfo before in his code?
    Regards Andreas MCPD SharePoint 2010. Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.

  • Range Filter Mode not working and throws error in Power View (SharePoint 2013)

    Hi,
    I am using two filters in my power view report.
    One for the contact type group and one for year.
    First I select multiple contact type group for the first filter and everything works fine.
    Then I try to select the year using the range filter and I get this error:
    System.ArgumentException: The name 'Year' was specified twice, at index 0 and index 1. Duplicate names are not allowed.
    Parameter name: keys[1]
       at Microsoft.Data.Common.CommandTrees.ExpressionBuilder.Internal.EnumerableValidator`3.Validate(IEnumerable`1 argument, String argumentName, Int32 expectedElementCount, Boolean allowEmpty, Func`3 map, Func`2 collect, Func`3 deriveName)
       at Microsoft.Data.Common.CommandTrees.ExpressionBuilder.Internal.EnumerableValidator`3.Validate()
       at Microsoft.Data.Common.CommandTrees.ExpressionBuilder.Internal.ArgumentValidation.ValidateGroupBy(DbGroupExpressionBinding input, IEnumerable`1 keys, IEnumerable`1 aggregates, DbExpressionList& validKeys, ReadOnlyCollection`1& validAggregates)
       at Microsoft.Reporting.QueryDesign.ExpressionTrees.ExpressionBuilder.Internal.QueryExpressionBuilder.GroupBy(QueryGroupExpressionBinding input, IEnumerable`1 groupItems, IEnumerable`1 aggregates)
       at Microsoft.Reporting.QueryDesign.QueryDefinitionModel.Internal.QdmExpressionBuilder.QdmGroupBy(IEnumerable`1 expressions)
       at Microsoft.Reporting.QueryDesign.QueryDefinitionModel.Internal.QdmExpressionBuilder.QdmFilter(IGrouping`2 predicates)
       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
       at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
       at Microsoft.Reporting.QueryDesign.QueryDefinitionModel.Internal.QdmExpressionBuilder.QdmFilters(IEnumerable`1 filterConditions)
       at Microsoft.Reporting.QueryDesign.QueryDefinitionModel.Internal.FilterQueryFactory.AddRowCount(QueryBuilder queryBuilder, Group group, EntitySet entity, IEnumerable`1 rowCountFilterContext)
       at Microsoft.Reporting.QueryDesign.QueryDefinitionModel.Internal.FilterQueryFactory.CreateValueWithCountQuery(QueryBuilder queryBuilder, List`1 columns, IEdmFieldInstance fieldInstance, FilterCondition availableValueFilter, FilterCondition activeValueRetentionFilter,
    GroupReference& groupRef)
       at Microsoft.Reporting.QueryDesign.QueryDefinitionModel.Internal.FilterQueryFactory.CreateValueListQuery(EntityDataModel model, IEdmFieldInstance fieldInstance, Int32 topCount, FilterCondition availableValueFilter, FilterCondition activeValueRetentionFilter,
    IEnumerable`1 exclusionPathSegments, ValueListQuerySchema& schema)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.FilterValueQueryFactory.CreateFilterValuesQuery[TFilterMode](TFilterMode filterMode, Int32 maxRowCount, FormulaFilterCondition availableValueFilter, FormulaFilterCondition
    activeValueRetentionFilter, ValueListQuerySchema& schema)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.ListFilterMode.ListDataLoader.<LoadDataImpl>d__15.MoveNext()
       at Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.MoveNextChecked()
       at Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.ResumeIterator(Boolean synchronous)
       at Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.BeginExecuteCore(IEnumerator`1 asyncMethod)
       at Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorImpl.BeginExecute(Func`2 asyncMethod)
       at Microsoft.Reporting.AsyncEnumerator.BeginExecute(Func`2 asyncMethod, AsyncCallback userCallback, Object userState, AsyncEnumeratorSettings settings)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.FilterMode.DataLoader`1.BeginLoadData(AsyncCallback userCallback, Object userState)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.FilterMode.DataLoader`1.LoadDataAsync()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.FieldFilter.LoadDataAsyncCore()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.FilterManager.OnEditCompleted()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.PageFilterManager.OnEditCompleted()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.FilterManager.OnEditCompleted(EventArgs args)
       at Microsoft.Practices.Prism.Events.EventSubscription`1.InvokeAction(Action`1 action, TPayload argument)
       at Microsoft.Practices.Prism.Events.EventSubscription`1.<>c__DisplayClass2.<GetExecutionStrategy>b__0(Object[] arguments)
       at Microsoft.Practices.Prism.Events.EventBase.InternalPublish(Object[] arguments)
       at Microsoft.Practices.Prism.Events.CompositePresentationEvent`1.Publish(TPayload payload)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Internal.TransactionManager.EditEventAggregator.Exit()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Internal.TransactionManager.EditEventAggregator.SelectionManager_SelectionResumed(Object sender, EventArgs e)
       at Microsoft.Reporting.Util.RaiseEvent(EventHandler eventHandler, Object sender, EventArgs eventArgs)
       at Microsoft.Reporting.AdHoc.Shell.Regions.Canvas.Internal.SelectionManager.ResumeSelectionChanges()
       at Microsoft.Reporting.AdHoc.Shell.Regions.Canvas.Internal.SelectionManager.<.ctor>b__3(Object s, EventArgs e)
       at Microsoft.Reporting.Util.RaiseEvent(EventHandler eventHandler, Object sender, EventArgs eventArgs)
       at Microsoft.Reporting.AdHoc.DataManagement.Internal.DataManager.set_HandleRdmChanges(Boolean value)
       at Microsoft.Reporting.AdHoc.DataManagement.Internal.DataManager.UndoManager_SuspendRdmHandlingChanged(Object sender, StateChangedEventArgs`1 args)
       at Microsoft.Reporting.Util.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object sender, TEventArgs eventArgs)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoManager.<.ctor>b__0(Object sender, StateChangedEventArgs`1 args)
       at Microsoft.Reporting.Util.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object sender, TEventArgs eventArgs)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoManagerApiProperties.set_SuspendDataManagerRdmHandling(Boolean value)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoManagerHasOpenUndoGroupStateImpl.OnUndoGroupCommitting(UndoGroup undoGroup)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoManagerHasOpenUndoGroupStateImpl.HandleUndoGroupStateChanged(Object sender, EventArgs args)
       at Microsoft.Reporting.Util.RaiseEvent(EventHandler eventHandler, Object sender, EventArgs eventArgs)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoGroup.HandleStateEnteredEvent(Object sender, EventArgs args)
       at Microsoft.Reporting.Util.RaiseEvent(EventHandler eventHandler, Object sender, EventArgs eventArgs)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoGroupCommittingStateImpl.EnterState()
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoGroup.SetState(UndoGroupStateImpl nextState)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoGroupOpenStateImpl.Commit()
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoGroup.Commit()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Internal.TransactionManager.CompleteTransaction(Transaction transaction, Boolean completedSuccessfully)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Internal.TransactionManager.Transaction.Dispose()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Internal.TransactionalObject.ExecuteInTransaction(Action action)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.ValueAndOperatorConditionFilterMode.CreateRangeFilterCore(IList`1 rangeConditions)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.NumericRangeFilterMode`1.CreateRangeFilter(FilterValueAndOperator[] rangeConditions)
       at Microsoft.Reporting.AdHoc.Shell.Regions.Canvas.Internal.RangeFilterViewModel`1.<get_UpdateRangeBoundsCommand>b__0(Nullable`1 adjType)
       at Microsoft.Practices.Prism.Commands.DelegateCommand`1.<>c__DisplayClass6.<.ctor>b__2(Object o)
       at Microsoft.Practices.Prism.Commands.DelegateCommandBase.Execute(Object parameter)
       at Microsoft.Practices.Prism.Commands.DelegateCommandBase.System.Windows.Input.ICommand.Execute(Object parameter)
       at Microsoft.Reporting.Windows.Common.Internal.RangeSlider.FireCommand()
       at Microsoft.Reporting.Windows.Common.Internal.RangeSlider.Thumb_DragCompleted(Object sender, DragCompletedEventArgs e)
       at System.Windows.Controls.Primitives.Thumb.RaiseDragCompleted(Boolean canceled)
       at System.Windows.Controls.Primitives.Thumb.OnLostMouseCapture(MouseEventArgs e)
       at System.Windows.Controls.Control.OnLostMouseCapture(Control ctrl, EventArgs e)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
    If I select List Filter mode and try to achieve this it works fine no issue but when I use range filter this weird problem occurs. Can't I select multiple values using Range Filter Mode ? Isn't that's what it is intended to do ? Is it a known bug ? Any kind
    of prior experience or help would be much appreciated.
    Vivek Kamath

    This looks like it could be a bug. You could file an issue at
    http://connect.microsoft.com and include a repro. If this is blocking your business, you could also contact support services and if it is determined to be a defect in a Microsoft product, the support is free.
    Brad Syputa, Microsoft Power BI This posting is provided "AS IS" with no warranties.

  • Installing SharePoint 2013 in a Windows 2012 R2 Server I was getting the following error

    when I install prerequisiteinstaller.exe in sharepoint 2013, got the below error:
    Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
    Any expert please help?

    Hi,
    From your description, I know you get error when you install SharePoint 2013 in Windows Server 2012 R2.
    If you have tried all method above. In your case, you have installed the Web Server(IIS), but the
    Web Server (IIS) role installation may fail. You could try run commande: aspnet_regii -enable –i.
    Here are similar issues:
    https://social.technet.microsoft.com/Forums/office/en-US/37cc20db-6cc7-45e0-928c-9a1ddbdab2ae/the-tool-was-unable-to-install-application-server-role-web-server-iis-role?forum=sharepointadmin.
    http://itrob.be/sharepoint-2013-installation-issue-the-tool-was-unable-to-install-application-server-role-web-server-iis-role/
    As SharePoint 2013 does not support Windows 2012 R2 Server very well what you can find from this blog:
    http://blogs.technet.com/b/wbaer/archive/2013/09/22/sharepoint-2013-support-for-windows-server-2012-r2.aspx.
    Please try to refer to this article:https://iouchkov.wordpress.com/2013/10/19/how-to-install-sharepoint-2013-on-windows-server-2012-r2/.
    Best Regards
    Vincent Han
    TechNet Community Support

  • Error while installing Visual Studio Express 2013 with Update 4 for Windows Desktop.

    When I try to install Visual Studio Express 2013 with Update 4 for Windows Desktop, I
    get the error :
    Microsoft Visual Studio Express 2013 for Windows Desktop.The form specified for the subject is not one supported or known by the specified trust provider.
    Here is what I get when I use the File Checksum Integrity Verifier (NOTE: I couldn't find the SHA Hash for the .iso I downloaded)
    // File Checksum Integrity Verifier version 2.05.
    8ab9b5ff10da1c33bb3f088331a7c8d8 vs2013.4_dskexp_enu.iso
    Here is some Extra Information:
    MY OS: Windows Technical Preview x86ANOTHER OS I TRIED INSTALLING VB ON: Windows 7 Ultimate x86
    DOWNLOADED ISO FROM: http://www.visualstudio.com/en-us/downloadsLINK: http://download.microsoft.com/download/9/6/4/96442E58-C65C-4122-A956-CCA83EECCD03/vs2013.4_dskexp_ENU.iso
    LOG FILE: http://m.uploadedit.com/b044/1421425243589.txtSHA HASH OF THE RECEIVED ISO: 8ab9b5ff10da1c33bb3f088331a7c8d8
    ====================================================NOTES:
    #I ran the setup as an administrator.
    #I do not know the SHA Hash for the ISO so please check if it matches the SHA Hash of the actual file.#Please don't recommend to use the Web Installer.#I tried both extracting the ISO and Mounting the ISO to run the Setup.
    Thanks. :D

    Solved.   The ISO is corrupt.
    The SHA 1 Hash of the ISO was 57CF28106EA096758AD6AB909F226A3468D95A49
    and the downloaded one returned 8ab9b5ff10da1c33bb3f088331a7c8d8.

  • Sharepoint 2013 -webpart question

    hi,
    I need to create a page that will display list items based on a value users enter in drop-down or text box. This would contain the months of the year.  Then, I need to display the list items based on that selection.  I would include the month
    field  in that list.
    Is there a web part that will do this?  My manager doesn't want me to create a content query web part, he wants it out of the box.
    Thanks
    mhoran

    hi
    use list view web part+filter webpart
    SharePoint 2013 Out of Box Web Parts
    yaşamak bir eylemdir

  • Could not load file or assembly AjaxToolkit error in SharePoint 2013 Visual Webpart

    I wanted to use ajax controls in visual webpart for sharepoint 2013 so i followed steps.
    1-I cut this snippet (see below) from <head></head> Section and paste in <body></body> Section for my master page since it's a requirement for SharePoint 2013 ajax functionality.
    Snippet:
    <!--MS:<SharePoint:AjaxDelta id="DeltaSPWebPartManager" runat="server">-->
    <!--MS:<WebPartPages:SPWebPartManager runat="server">-->
    <!--ME:</WebPartPages:SPWebPartManager>-->
    <!--ME:</SharePoint:AjaxDelta>-->
    2-downloaded a latest ajax tool kit and then added ajax toolkit dll from the toolkit library in my solution's bin-->debug folder
    now add ajax entries in web.config in these sections
    in <SafeControls>
          <SafeControl Assembly="ajaxcontroltoolkit, Version=4.1.7.1213, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL" Namespace="AjaxControlToolkit" TypeName="*" />
    in <assemblies>
    <add assembly="AjaxControlToolkit, Version=4.1.7.1213, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
    in <controls>
    <add tagPrefix="ajax" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Version=4.1.7.1213, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
    finally registered ajax in visual web part as 
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxtoolkit" %>
    added following calender control
    <asp:TextBox MaxLength="10" ID="txtToDate" runat="server" CssClass="FormTextBoxSmall"></asp:TextBox>
    <asp:ImageButton ID="calReqDateTo" runat="server" ImageUrl="" />
    <ajaxtoolkit:CalendarExtender id="CalendarExtender2" runat="server" targetcontrolid="txtToDate"
        format="dd/MM/yyyy" popupbuttonid="calReqDateTo" />
    reset iis and deployed my solution but when i deployed it throws error 
    "could not load file or assembly AjaxToolkit,Version=4.1.7.1213 "
    please help

    Hi,
    In this below thread they have discussed and resolved your issue.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/60fa19fe-86a0-446b-b61f-11a82fe4287f/how-to-implement-ajax-toolkit-for-sharepoint2013?forum=sharepointdevelopment&prof=required
    Please let us know if you need further details
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • Visual Webpart Sandboxed Solution Error in SharePoint 2013

    I am trying to insert a visual web part using sand boxed solution on a page.But when i insert a web part on page i get the following error.
    "Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: The type is not registered as safe".
    Please suggest how do i get rid off this error as I've to use sand boxed solutions not farm solution.

    Hi ,
    According to your description, my understanding is that you got an error when you used visual web part solution in SharePoint 2013.
    Whether you have enabled the web part solution in Site Collection Administrator->Site Collection features.
    Whether there were some non-authorized methods called in your code.
    Here are some similar posts for you to take a look at:
    http://blogs.msdn.com/b/vincent_runge/archive/2010/05/12/support-answers-on-sandboxed-solutions-in-sharepoint-2010.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8573ec4c-8fdb-40f5-b730-250174a08efb/sandbox-solutions-with-web-parts-upgrade-error?forum=sharepointdevelopmentprevious
    http://sharepoint.stackexchange.com/questions/59679/sandbox-unhandled-exception-was-thrown-partial-trust-app-domain
    http://scrum.codeplex.com/workitem/11222
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for