SharePoint Online : Unable to load type Microsoft.SharePoint.Upgrade.SPUpgradeCompatibilityException required for deserialization.

From today's morning , We are having Issue on Our Online SharePoint Site.
Each WebPart is not loading and displaying this Line
Unable to load type Microsoft.SharePoint.Upgrade.SPUpgradeCompatibilityException required for deserialization.
Please write in quick response to fix it at
[email protected]

Hi,
According to your post, my understanding is that SharePoint Online Site was unable to load web part and got the “Microsoft.SharePoint.Upgrade.SPUpgradeCompatibilityException” error.
Per my knowledge, the SPUpgradeCompatibilityException occurs during upgrade when the front-end Web server attempts to connect to an incompatible database.
Please check whether the database is compatible.
Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
Office 365 forum
http://community.office365.com/en-us/forums/default.aspx
Best Regards,
Linda Li
Linda Li
TechNet Community Support

Similar Messages

  • 'Uninstall app for SharePoint': Could not load type 'Microsoft.SharePoint.Administration.SPAppInstanceErrorDetails' from assembly 'Microsoft.SharePoint

    Hi there,
    I am new to developing with SharePoint and would like to create my first app for SP13 with VS12.
    To run SP13 and VS12 on the same virtual machine. The SP Tools Developer I have also installed.
    My problem:
    I select the Project Wizard from VS12 to create a new app SP13 using provider hosted option. After the project is created I want to directly deploy (F5), and yet I always get the following error:
    Error 1
    Error occurred in deployment step 'Uninstall app for SharePoint': Could not load type 'Microsoft.SharePoint.Administration.SPAppInstanceErrorDetails' from assembly 'Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.
    0 0
    SharePointApp20132106
    Does anybody advice?

    Please have a look at the below thread
    http://social.msdn.microsoft.com/Forums/en-US/7b8a50ed-651d-4aa5-95f0-a551edb95550/sharepoint-hosted-app-deployment-error-in-sharepoint-2013-preview?forum=appsforsharepoint
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Cannot covert type 'Microsoft.SharePoint.Client.WebParts.WebPart' to 'GenericSmartPart.SmartPart'

    Hi Concern,
    I am using Client Site CSOM coding and getting error
    Smart Parts user control detail is required and while converting throws error.
    Cannot covert type ‘Microsoft.SharePoint.Client.WebParts.WebPart’ to ‘GenericSmartPart.SmartPart’
    Code is associted as problem.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.SharePoint.Client;
    using Microsoft.SharePoint.Client.WebParts;
    using Microsoft.SharePoint.Client.Utilities;
    using System.Data;
    namespace TrainingCsharp
    class Class1
    public void print()
    // Starting with ClientContext, the constructor requires a URL to the
    // server running SharePoint.
    using (ClientContext context = new ClientContext("Site URL "))
    // The SharePoint web at the URL.
    Web web = context.Web;
    // We want to retrieve the web's properties.
    // context.Load(web, w => w.Title, w => w.Description);
    context.Load(web, w => w.Title, w => w.Description, w => w.ServerRelativeUrl);
    context.ExecuteQuery();
    string sUrl= web.ServerRelativeUrl;
    File oFile = context.Web.GetFileByServerRelativeUrl(sUrl+"/Pages/default.aspx");
    LimitedWebPartManager limitedWebPartManager = oFile.GetLimitedWebPartManager(PersonalizationScope.Shared);
    context.Load(limitedWebPartManager.WebParts,
    wps => wps.Include(
    wp => wp.WebPart.Title, wp => wp.WebPart.ZoneIndex ));
    context.ExecuteQuery();
    int count = limitedWebPartManager.WebParts.Count;
    string[] arr, arr1;
    if (count == 0)
    Console.WriteLine("No Web Parts on this page.");
    else
    arr = new string[count];
    arr1 = new string[count];
    string sControlName = null;
    for (int i = 0; i < count; i++)
    WebPartDefinition oWebPartDefinition = limitedWebPartManager.WebParts[i];
    WebPart oWebPart = oWebPartDefinition.WebPart;
    arr[i] = oWebPart.Title;
    if (arr[i].ToLower().Contains("generic"))
    sControlName = ((GenericSmartPart.SmartPart)(oWebPart)).UserControlPath;
    //else if (arr[i].ToLower().Contains("smartpart"))
    //sControlName = ((SmartPart.SmartPart)(oWebPart)).UserControl;
    //else if (arr[i].EndsWith("ListViewWebPart"))
    //sControlName = ((Microsoft.SharePoint.Client.ListItemCollection)(oWebPart)).ListName;
    //else if (arr[i].StartsWith("Microsoft.SharePoint.WebPartPages."))
    //sControlName = arr[i].Length > 34 ? arr[i].Substring(34) : "";
    //else
    //sControlName = "";
    arr1[i] = Convert.ToString(oWebPart.ZoneIndex);
    Console.Write(arr[i] + " ");
    Console.WriteLine("Position" + arr1[i]);
    // ctx.ExecuteQuery();
    List announcementsList = context.Web.Lists.GetByTitle("Announcements");
    // This creates a CamlQuery that has a RowLimit of 100, and also specifies Scope="RecursiveAll"
    // so that it grabs all list items, regardless of the folder they are in.
    CamlQuery query = CamlQuery.CreateAllItemsQuery(1000);
    ListItemCollection items = announcementsList.GetItems(query);
    // Retrieve all items in the ListItemCollection from List.GetItems(Query).
    context.Load(items,
    itema => itema.Include(
    item => item,
    item => item["Title"],
    item => item["Expires"],
    item => item["Body"],
    item => item.FieldValuesAsText["Body"],
    item => item["Author"],
    item => item["Editor"]
    context.ExecuteQuery();
    foreach (ListItem listItem in items)
    // We have all the list item data. For example, Title.
    Console.WriteLine("Title" + listItem["Title"]+ " ");
    Console.WriteLine("Body" + listItem["Body"] != null ? Convert.ToString(listItem.FieldValuesAsText["Body"]) : string.Empty + " ");
    Console.WriteLine("Expires " + Convert.ToDateTime(listItem["Expires"] + " "));
    FieldUserValue oValue = listItem["Author"] as FieldUserValue;
    String strAuthorName = oValue.LookupValue;
    Console.WriteLine("Created at " + strAuthorName + " ");
    FieldUserValue oValue1 = listItem["Editor"] as FieldUserValue;
    String strAuthorName1 = oValue1.LookupValue;
    Console.WriteLine("Last Modified " + strAuthorName1);
    //Console.ReadKey();
    DataTable table = new DataTable();
    table.Columns.Add("Title");
    table.Columns.Add("Body");
    table.Columns.Add("Expires");
    table.Columns.Add("Author");
    table.Columns.Add("Editor");
    foreach (ListItem listItem in items)
    FieldUserValue oValue = listItem["Author"] as FieldUserValue;
    String strAuthorName = oValue.LookupValue;
    FieldUserValue oValue1 = listItem["Editor"] as FieldUserValue;
    String strAuthorName1 = oValue1.LookupValue;
    table.Rows.Add(listItem["Title"],listItem["Body"],Convert.ToDateTime(listItem["Expires"]),strAuthorName,strAuthorName1);
    //datagrid.DataSource = table;
    //ctx.ExecuteQuery();
    List EventsList = context.Web.Lists.GetByTitle("Event Calendar");
    // This creates a CamlQuery that has a RowLimit of 100, and also specifies Scope="RecursiveAll"
    // so that it grabs all list items, regardless of the folder they are in.
    CamlQuery queryEvent = CamlQuery.CreateAllItemsQuery(1000);
    ListItemCollection itemsEvent = EventsList.GetItems(queryEvent);
    // Retrieve all items in the ListItemCollection from List.GetItems(Query).
    context.Load(itemsEvent,
    itema => itema.Include(
    item => item,
    item => item["Title"],
    item => item["Location"],
    item => item["EventDate"],
    item => item["EndDate"],
    item => item["Description"],
    item => item.FieldValuesAsText["Description"],
    item => item["Event_x0020_Contact"],
    item => item["Event_x0020_Category"],
    item => item["Inhouse_x0020__x002f__x0020_Exte"],
    item => item["Expires_x0020_On"],
    item => item["Author"],
    item => item["Editor"]
    context.ExecuteQuery();
    foreach (ListItem listItemEvent in itemsEvent)
    // We have all the list item data. For example, Title.
    Console.WriteLine("Items of Events to be Printed");
    Console.WriteLine("Title: " + listItemEvent["Title"] + " ");
    Console.WriteLine("Title: " + listItemEvent["Location"] + " ");
    Console.WriteLine("Event Date: " + Convert.ToDateTime(listItemEvent["EventDate"] + " "));
    Console.WriteLine("End Date: " + Convert.ToDateTime(listItemEvent["EndDate"] + " "));
    string sDescription = listItemEvent["Description"] != null ? Convert.ToString(listItemEvent.FieldValuesAsText["Description"]) : "";
    Console.WriteLine("Description: " + sDescription);
    Console.WriteLine("Event Contact: " + listItemEvent["Event_x0020_Contact"] + " ");
    Console.WriteLine("Event Category: " + listItemEvent["Event_x0020_Category"] + " ");
    Console.WriteLine("Inhouse / External: " + listItemEvent["Inhouse_x0020__x002f__x0020_Exte"]);
    Console.WriteLine("Expires: " + Convert.ToDateTime(listItemEvent["Expires_x0020_On"]));
    FieldUserValue oAuthor = listItemEvent["Author"] as FieldUserValue;
    String sAuthor = oAuthor.LookupValue;
    Console.WriteLine("Author: " + sAuthor);
    FieldUserValue oEditor = listItemEvent["Editor"] as FieldUserValue;
    String sEditor = oEditor.LookupValue;
    Console.WriteLine("Editor: " + sEditor);
    //Console.ReadKey();
    DataTable tableEvents1 = new DataTable();
    tableEvents1.Columns.Add("Title");
    tableEvents1.Columns.Add("Location");
    tableEvents1.Columns.Add("EventDate");
    tableEvents1.Columns.Add("EndDate");
    tableEvents1.Columns.Add("Description");
    tableEvents1.Columns.Add("Event Category");
    tableEvents1.Columns.Add("Event Contact");
    tableEvents1.Columns.Add("Inhouse / External");
    tableEvents1.Columns.Add("Expires On");
    tableEvents1.Columns.Add("Author");
    tableEvents1.Columns.Add("Editor");
    foreach (ListItem listItemEvent in itemsEvent)
    FieldUserValue oValue = listItemEvent["Author"] as FieldUserValue;
    String strAuthorName = oValue.LookupValue;
    FieldUserValue oValue1 = listItemEvent["Editor"] as FieldUserValue;
    String strAuthorName1 = oValue1.LookupValue;
    tableEvents1.Rows.Add(listItemEvent["Title"]
    , listItemEvent["Location"]
    ,Convert.ToDateTime(listItemEvent["EventDate"])
    , Convert.ToDateTime(listItemEvent["EndDate"]), listItemEvent["Description"],
    listItemEvent["Event_x0020_Category"],listItemEvent["Event_x0020_Contact"],listItemEvent["Inhouse_x0020__x002f__x0020_Exte"]
    ,Convert.ToDateTime(listItemEvent["Expires_x0020_On"])
    ,strAuthorName,strAuthorName1);
    //datagrid.DataSource = table;
    // ctx.ExecuteQuery();

    Hi,
    Would you mind providing more details about why you want to perform the type conversion?
    According to your code, you might want to retrieve some properties of a web part in a page, please check that whether the built-in properties of
    Microsoft.SharePoint.Client.WebParts.WebPart can fulfill your requirement.
    WebPart members
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.webparts.webpart_members(v=office.15).ASPX
    Feel free to reply if there are still any questions.
    Best regards
    Patrick Liang
    TechNet Community Support

  • SharePoint Server 2013 Upgrade failure after Updating SP1 + Nov10 CU " Exception of type 'Microsoft.SharePoint.Upgrade.SPUpgradeException' was thrown"

    After Successfully having SharePoint Server 2013 Farm Installation on 2 Servers AD + Central Admin Application server, OS: win server 2008 R2 Ent SP1.
    I set up the configuration for SharePoint app and Workflow Manager to work properly on the Den environment,  the time for SP1 running has come and after downloading the Service pack 1 of SharePoint server 2013 and completing the wizard, I run the SharePoint
    2013 Configuration Wizard after installing SharePoint 2013 SP1, and the wizard failed on step 2 with the Error from the Log file as showing below,
    "Task upgradebootstrap has failed with an unknown exception 
    01/04/2015 00:43:30  11  ERR                  Exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: Exception of type 'Microsoft.SharePoint.Upgrade.SPUpgradeException' was thrown.
       at Microsoft.SharePoint.Upgrade.SPManager.BootStrap(Guid sessionId, SPUpgradeOperationFlags flags)
       at Microsoft.SharePoint.PostSetupConfiguration.UpgradeBootstrapTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()"
    Also I was not able to create websites like before, and the creating of new site is failed with error message :
    "Failed to call GetTypes on assembly Microsoft.Office.TranslationServices, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Method not found: 'Microsoft.Office.Web.Common.ProcessImageInfo"
    Is there any solution to my problem with SP1 of SharePoint Server 2013, I don't think that SP1 should generate such bugs in a stable environment.
    Basel Badr ,SharePoint Specialist ,MCAD ,MCTS.

    Hi Basel,
    What edition of SharePoint do you have and what patch did you attempt to install?
    If you are on SharePoint 2013 Enterprise, please make sure you are installing Service Pack 1 for SharePoint Server:
    http://www.microsoft.com/en-us/download/details.aspx?id=42544
    If you are on SharePoint 2013 Foundation, please make sure you are installing  Service Pack 1 for SharePoint Foundation :
    http://www.microsoft.com/en-us/download/details.aspx?id=42548
    For more information, you can refer to the thread:
    https://social.technet.microsoft.com/Forums/sqlserver/en-US/ba9656e9-837e-4261-b164-b5bdfe8adce3/why-does-machine-translation-fail-when-i-do-not-use-it?forum=sharepointgeneral
    http://sharepoint.stackexchange.com/questions/84284/failed-to-call-gettypes-on-assembly-microsoft-office-translationservices
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Servicegen:  unable to load type library from classloader weblogic.utils.cl

    Hi,
    I am new to weblogic. I am encountering an error on trying to run the 'servicegen' command from my ant build scripts, on weblogic 9.2.
    Please find the build.xml snapshot, and the stack trace given below.
    Please help me out with this.
    Points to be noted are:-
    1) The ejb-jar.xml specifies the bean class, which is very much present in the classpath. The ejb-jar.xml is generated by xdoclet. Snapshot is given below:-
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar >
    <description><![CDATA[No Description.]]></description>
    <display-name>Generated by XDoclet</display-name>
    <enterprise-beans>
    <!-- Session Beans -->
    <session >
    <description><![CDATA[NorthBound Interface]]></description>
    <ejb-name>ArcorNBIService</ejb-name>
    <home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceHome</home>
    <remote>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService</remote>
    <local-home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocalHome</local-home>
    <local>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocal</local>
    <ejb-class>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    2) When I replace the "ejbJar" attribute in the 'service' command with "javaClassComponents" attribute, I am able to run the servicegen command successfully. Not sure why the ejbJar is creating problems.
    3) Build.xml snapshot:-
         <target name="gen-webservice" depends="init">
              <copy todir="${work.dir}" file="${export.dir}/lib/arcor-il-service-ejb.jar"/>
              <autotype javatypes="${javatypes}" targetNamespace="${targetNamespace}" destDir="${work.dir}/classes" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath"/>
              <autotype javaComponents="com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService" targetNamespace="com.alcatel.hdm.service.nbi.dto.holders" destDir="${work.dir}/classes" keepGenerated="true" classpathref="webservice.client.classpath"/>
              <servicegen destEar="${earfile}" warName="${warname}" contextURI="${contextURI}" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath">
                   <service ejbJar="${ejbLocation}" targetNamespace="${targetNamespace}" serviceName="${serviceName}" serviceURI="/${serviceName}" generateTypes="false" expandMethods="${expandMethods}" ignoreAuthHeader="false" protocol="https" style="rpc" useSOAP12="${useSOAP12}" typeMappingFile="${work.dir}/classes/types.xml">
                        <security enablePasswordAuth="true"/>
                   </service>
              </servicegen>
         </target>
    4) Exception stacktrace:-
    --- Nested Exception ---
    java.lang.AssertionError: java.io.IOException
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:42)
    at weblogic.descriptor.DescriptorManager.getDefaultMF(DescriptorManager.java:116)
    at weblogic.descriptor.DescriptorManager.getMarshallerFactory(DescriptorManager.java:125)
    at weblogic.descriptor.DescriptorManager.getDescriptorFactory(DescriptorManager.java:153)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:277)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
    at weblogic.descriptor.EditableDescriptorManager.createDescriptor(EditableDescriptorManager.java:99)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    at weblogic.ejb.spi.EjbJarDescriptor.getEditableEjbJarBean(EjbJarDescriptor.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:519)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:126)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:154)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:147)
    at weblogic.ejb.spi.DDUtils.createDescriptorFromJarFile(DDUtils.java:30)
    at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:52)
    at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.<init>(EJBAutoTyper.java:68)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:339)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: java.io.IOException
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:40)
    ... 37 more
    Caused by: com.bea.xml.XmlException: unable to load type library from classloader weblogic.utils.classloaders.ClasspathClassLoader@1cc0a7f f
    inder: weblogic.utils.classloaders.CodeGenClassFinder@c52200 annotation:
    at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
    ... 38 more
    Total time: 5 seconds

    Hi,
    I am new to weblogic. I am encountering an error on trying to run the 'servicegen' command from my ant build scripts, on weblogic 9.2.
    Please find the build.xml snapshot, and the stack trace given below.
    Please help me out with this.
    Points to be noted are:-
    1) The ejb-jar.xml specifies the bean class, which is very much present in the classpath. The ejb-jar.xml is generated by xdoclet. Snapshot is given below:-
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar >
    <description><![CDATA[No Description.]]></description>
    <display-name>Generated by XDoclet</display-name>
    <enterprise-beans>
    <!-- Session Beans -->
    <session >
    <description><![CDATA[NorthBound Interface]]></description>
    <ejb-name>ArcorNBIService</ejb-name>
    <home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceHome</home>
    <remote>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService</remote>
    <local-home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocalHome</local-home>
    <local>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocal</local>
    <ejb-class>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    2) When I replace the "ejbJar" attribute in the 'service' command with "javaClassComponents" attribute, I am able to run the servicegen command successfully. Not sure why the ejbJar is creating problems.
    3) Build.xml snapshot:-
         <target name="gen-webservice" depends="init">
              <copy todir="${work.dir}" file="${export.dir}/lib/arcor-il-service-ejb.jar"/>
              <autotype javatypes="${javatypes}" targetNamespace="${targetNamespace}" destDir="${work.dir}/classes" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath"/>
              <autotype javaComponents="com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService" targetNamespace="com.alcatel.hdm.service.nbi.dto.holders" destDir="${work.dir}/classes" keepGenerated="true" classpathref="webservice.client.classpath"/>
              <servicegen destEar="${earfile}" warName="${warname}" contextURI="${contextURI}" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath">
                   <service ejbJar="${ejbLocation}" targetNamespace="${targetNamespace}" serviceName="${serviceName}" serviceURI="/${serviceName}" generateTypes="false" expandMethods="${expandMethods}" ignoreAuthHeader="false" protocol="https" style="rpc" useSOAP12="${useSOAP12}" typeMappingFile="${work.dir}/classes/types.xml">
                        <security enablePasswordAuth="true"/>
                   </service>
              </servicegen>
         </target>
    4) Exception stacktrace:-
    --- Nested Exception ---
    java.lang.AssertionError: java.io.IOException
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:42)
    at weblogic.descriptor.DescriptorManager.getDefaultMF(DescriptorManager.java:116)
    at weblogic.descriptor.DescriptorManager.getMarshallerFactory(DescriptorManager.java:125)
    at weblogic.descriptor.DescriptorManager.getDescriptorFactory(DescriptorManager.java:153)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:277)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
    at weblogic.descriptor.EditableDescriptorManager.createDescriptor(EditableDescriptorManager.java:99)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    at weblogic.ejb.spi.EjbJarDescriptor.getEditableEjbJarBean(EjbJarDescriptor.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:519)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:126)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:154)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:147)
    at weblogic.ejb.spi.DDUtils.createDescriptorFromJarFile(DDUtils.java:30)
    at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:52)
    at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.<init>(EJBAutoTyper.java:68)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:339)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: java.io.IOException
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:40)
    ... 37 more
    Caused by: com.bea.xml.XmlException: unable to load type library from classloader weblogic.utils.classloaders.ClasspathClassLoader@1cc0a7f f
    inder: weblogic.utils.classloaders.CodeGenClassFinder@c52200 annotation:
    at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
    ... 38 more
    Total time: 5 seconds

  • Could not load type 'Microsoft.TeamFoundation.TestManagement.Client.ITestPlanHelper2'

    Hi,
    When I open MTM 2013 I give the following error:
    Application detected an unexpected fault
    Could not load type 'Microsoft.TeamFoundation.TestManagement.Client.ITestPlanHelper2' from assembly 'Microsoft.TeamFoundation.TestManagement.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
    I reinstall VS2013, reinstall the MTM but unsuccess.
    Can anyone help
    me?
    TIA,
    Pedro Soares

    Hi Pedro,
    Glad to receive your reply.
    As you said that the MTM2013 worked on your machine months ago, please tell me if you install some other third-patry tools on your
    machine recently.
    If yes, I doubt that maybe the
    third-patry tools impact the MTM2013, so I suggest you can close all third-party tools
    in your windows and then try to open it again check this issue.
    In addition, I suggest you can
    try to close the Anti-virus software or the firewall on your machine check this issue again.
    If the above suggestion still could not help you, I suggest you try to download the
    VS2013 Premium form Microsoft Website and then install it again.
    Reference:
    http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
    Note: as the same time,
    I suggest you can the VS2013 Update 4 check the issue again.
    If possible, I suggest you can try to repair your operation system
    would be better.
    Best Regards,
    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.

  • Retrieving files from Sharepoint Online based on time stamp using SharePoint Online Management Shell

    Hello,
    I would like to create a Powershell script to download files based on timestamp (all files updated on a given date or later). I would really appreciate any guidance on which cmdlets/objects I should look at to accomplish this.  I am new to Sharepoint
    online and Powershell, though not to programming or scripting.
    Thank you for your help!

    Hi,
    You should start by reading this article : Windows PowerShell for SharePoint Online.
    Then have a look at the Windows PowerShell for SharePoint Command Builder, and select "SharePoint Online"
    in the dropdown list.
    My technical blog on SharePoint ||
    My contributions on the TechNet Gallery

  • Report Viewer WebPart for Sharepoint - Printing (Unable to load client print control)

    Hi there,
    I am running a report via the report viewer web part on a SharePoint page.  The report itself is working great.  But when I attempt to print it, I get a prompt to install something....and then it is followed up with "Unable to load client
    print control".
    There are some posts out there about updating the a certain CU or to find the RSClientPrint cab and unloading the dlls into the system32 folder and registering it.  I've tried that but no go.
    Anyone else encounter this issue?  If so, potential solutions?
    SP 2010 - 14.0.7221.5000
    SQL Server 2008 R2 (Reporting Server)- 10.50.1617  (have tried updating to 10.50.6000.34)
    IE = 10.0.9200
    And yes, I am running as local admin....so there shouldn't be any issue installing the active x component on IE.
    Thanks in advance,
    Eric

    Hi Eric,
    According to your description, you can't load the print button in your sharepoint site. Right?
    In Reporting Services, Each user who wants to use the print feature must download and install the ActiveX control that provides client print functionality. The first time a user clicks the
    Printer icon on the report toolbar, the Microsoft ActiveX control is downloaded to the computer. After the control is downloaded, the
    Print dialog box displays whenever the user clicks the Printer icon.
    So in this scenario, please enable the setting Download signed
    ActiveX controls in Internet Explorer and download it. Please follow the steps below:
    Click Tools -> Internet options.
    Switch to the Security tab, select the Trusted sites zone, and then click
    Sites.
    Type the URL of the SQL reporting server, click Add, and then click Close.
    Click the Custom level button, scroll to the ActiveX controls and plug-ins
    node.
    Click Enable for Download signed ActiveX controls, and then click OK.
    Then we need to have the
    EnableClientPrinting is set to true.
    In SharePoint Central Administration, click Application Management.
    Click Manage service applications.
    Click the name of your Reporting Services service application, and then click
    Manage in the SharePoint ribbon.
    Click System Settings.
    Select Enable Client Printing. The Enable Client Printing option is near the bottom of the page.
    Click OK.
    Reference:
    Enable and Disable Client-Side Printing for Reporting Services
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • SharePoint Provider Hosted App (401) Unauthorized Microsoft.SharePoint.SPException: The Azure Access Control service is unavailable

    Hello,
    I'm attempting to get a SharePoint 2013 Provider Hosted Application working in a brand new SharePoint environment.  I've created snapshots of both my dev and the sharepoint environments along the way and have meticulously documented every step of the
    way.  I've followed these instructions (among many other resources found along this journey) :
    http://msdn.microsoft.com/en-us/library/fp179923(office.15).aspx
    http://technet.microsoft.com/en-us/library/fp161236(office.15).aspx
    http://msdn.microsoft.com/library/office/fp179901%28v=office.15%29
    Upon package and publish of my application to SharePoint, I get a 401 Unauthorized error.  I use Fiddler to obtain the SPErrorCorrelationID to ultimately obtain the following ULS Viewer Output.  Please explain how to fix if you're able.
    Please Note:  I was under the impression that a Provider Hosted Application does not use the Azure Access Control service, so I'm confused as to why my system is attempting to make this connection?
    Also Note:  I've used a self signed and godday obtained certificate to successfully f5 debug my basic web.title (out of the visual studio 2012 box) sharepoint provider hosted application... so I know my certs are good.
    Here's my ULS output:
    03/24/2014 08:54:47.83    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    Logging Correlation Data    xmnv    Medium    Name=Request (GET:http://portal.cltenet.com/_layouts/15/appredirect.aspx?instance_id=22d5252f%2D392c%2D4f68%2Db820%2Da3053b9d4f24)  
     306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.83    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    Authentication Authorization    agb9s    Medium    Non-OAuth request.
    IsAuthenticated=True, UserIdentityName=0#.w|cltenet\sp.apps, ClaimsCount=25    306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.83    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    Logging Correlation Data    xmnv    Medium    Site=/    306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.84    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    App Deployment    acjjg    Medium    The current user has System.Threading.Thread.CurrentPrincipal.Identity.Name
    = 0#.w|cltenet\sp.apps, System.Security.Principal.WindowsIdentity.GetCurrent().Name = NT AUTHORITY\IUSR, System.Web.HttpContext.Current.User.Identity.Name = 0#.w|cltenet\sp.apps.    306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.84    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    App Auth    ajsrv    Medium    redirectLaunUrl after getting it from query
    string, web or app instance: https://hightrust31.cltenetapps.com/Pages/Default.aspx?{StandardTokens}    306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.85    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    General    aib0n    High    trying to get app tokens for site: 888b71f7-51ee-40f5-8344-8de4869d37d0
    Unable to load app tokens from appInstanceId: 22d5252f-392c-4f68-b820-a3053b9d4f24    306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.85    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    App Auth    ajsrw    Medium    redirectLaunUrl after getting token replacement:
    https://hightrust31.cltenetapps.com/Pages/Default.aspx?SPHostUrl=http%3A%2F%2Fportal%2Ecltenet%2Ecom&SPLanguage=en%2DUS&SPClientTag=0&SPProductNumber=15%2E0%2E4420%2E1017    306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.85    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    App Auth    ajsry    Medium    m_oauthAppId after NormalizeAppIdentifier()
    i:0i.t|ms.sp.ext|[email protected]8df36d5d.  Now getting app principal info.    306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.85    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    App Auth    ajsr0    Medium    decided that we need to do a POST to the
    app.    306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.85    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    App Auth    ajsr1    Medium    m_redirectMessage: EndpointAuthorityMatches  
     306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.85    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    App Auth    ajsr2    Medium    realm matched attempting to get app token
    using GetAccessToken()    306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.85    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    App Auth    advzm    High    Error when get token for app i:0i.t|ms.sp.ext|[email protected]8df36d5d,
    exception: Microsoft.SharePoint.SPException: The Azure Access Control service is unavailable.     at Microsoft.SharePoint.ApplicationServices.SPApplicationContext.GetApplicationSecurityTokenServicesUri(SPServiceContext serviceContext)    
    at Microsoft.SharePoint.ApplicationServices.SPApplicationContext..ctor(SPServiceContext serviceContext, SPIdentityContext userIdentity, OAuth2EndpointIdentity applicationEndPoint)     at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForApplicationContext(SPIdentityContext
    userIdentityContext, String applicationId, Uri applicationRealm, SPApplicationContextAccessTokenType applicationTokenType, SPApplicationDelegationConsentType consentValue)     at Microsoft.SharePoint.SPServerToAppServerAccessTokenManager.GetAccessTokenPrivate(SPServiceContext
    serviceContext, String appId, Uri appEndpointUrl, SPAppPrincipalInfo appPrincipal, SPApplicationContextAccessTokenType tokenType, Boolean useThreadIdentity, SPUserToken userToken)    306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.85    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    App Auth    ajsr3    High    App token requested from appredirect.aspx
    for site: 888b71f7-51ee-40f5-8344-8de4869d37d0 but there was an error in generating it.  This may be a case when we do not need a token or when the app principal was not properly set up.  LaunchUrl:https://hightrust31.cltenetapps.com/Pages/Default.aspx?SPHostUrl=http://portal.cltenet.com&SPLanguage=en-US&SPClientTag=0&SPProductNumber=15.0.4420.1017
    Exception Message:The Azure Access Control service is unavailable.  Stacktrace:    at Microsoft.SharePoint.ApplicationServices.SPApplicationContext.GetApplicationSecurityTokenServicesUri(SPServiceContext serviceContext)    
    at Microsoft.SharePoint.ApplicationServices.SPApplicationContext..ctor(SPServiceContext serviceContext, SPIdentityContext userIdentity, OAuth2EndpointIdentity applicationEndPoint)     at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForApplicationContext(SPIdentityContext
    userIdentityContext, String applicationId, Uri applicationRealm, SPApplicationContextAccessTokenType applicationTokenType, SPApplicationDelegationConsentType consentValue)     at Microsoft.SharePoint.SPServerToAppServerAccessTokenManager.GetAccessTokenPrivate(SPServiceContext
    serviceContext, String appId, Uri appEndpointUrl, SPAppPrincipalInfo appPrincipal, SPApplicationContextAccessTokenType tokenType, Boolean useThreadIdentity, SPUserToken userToken)     at Microsoft.SharePoint.SPServerToAppServerAccessTokenManager.GetAccessTokenFromThreadIdentityOrUserToken(SPServiceContext
    serviceContext, String appId, Uri appEndpointUrl, SPApplicationContextAccessTokenType tokenType, SPAppPrincipalInfo appPrincipal, Boolean useThreadIdentity, SPUserToken userToken)     at Microsoft.SharePoint.ApplicationPages.AppRedirectPage.ValidateAndProcessRequest(). 
    Since this is a nonfatal error, it will be sanitized and posted to the app as part of the app launch.    306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.85    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    General    ajlz0    High    Getting Error Message for Exception Microsoft.SharePoint.SPException:
    The Azure Access Control service is unavailable.     at Microsoft.SharePoint.ApplicationServices.SPApplicationContext.GetApplicationSecurityTokenServicesUri(SPServiceContext serviceContext)     at Microsoft.SharePoint.ApplicationServices.SPApplicationContext..ctor(SPServiceContext
    serviceContext, SPIdentityContext userIdentity, OAuth2EndpointIdentity applicationEndPoint)     at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForApplicationContext(SPIdentityContext userIdentityContext, String applicationId, Uri
    applicationRealm, SPApplicationContextAccessTokenType applicationTokenType, SPApplicationDelegationConsentType consentValue)     at Microsoft.SharePoint.SPServerToAppServerAccessTokenManager.GetAccessTokenPrivate(SPServiceContext serviceContext,
    String appId, Uri appEndpointUrl, SPAppPrincipalInfo appPrincipal, SPApplicationContextAccessTokenType tokenType, Boolean useThreadIdentity, SPUserToken userToken)     at Microsoft.SharePoint.SPServerToAppServerAccessTokenManager.GetAccessTokenFromThreadIdentityOrUserToken(SPServiceContext
    serviceContext, String appId, Uri appEndpointUrl, SPApplicationContextAccessTokenType tokenType, SPAppPrincipalInfo appPrincipal, Boolean useThreadIdentity, SPUserToken userToken)     at Microsoft.SharePoint.ApplicationPages.AppRedirectPage.ValidateAndProcessRequest()  
     306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.85    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    App Auth    aib0p    Medium    Doing appredirect from appredirect.aspx:
    in site: 888b71f7-51ee-40f5-8344-8de4869d37d0 with RedirectLaunchUrl: https://hightrust31.cltenetapps.com/Pages/Default.aspx?SPHostUrl=http%3A%2F%2Fportal%2Ecltenet%2Ecom&SPLanguage=en%2DUS&SPClientTag=0&SPProductNumber=15%2E0%2E4420%2E1017  
     306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    03/24/2014 08:54:47.85    w3wp.exe (0x1448)    0x22D8    SharePoint Foundation    Monitoring    b4ly    Medium    Leaving Monitored Scope (Request (GET:http://portal.cltenet.com/_layouts/15/appredirect.aspx?instance_id=22d5252f%2D392c%2D4f68%2Db820%2Da3053b9d4f24)).
    Execution Time=26.5933938531294    306c809c-66a1-d0d5-d8e2-89d3631ce1bf
    Your help is very much appreciated.
    With Respect,
    Larry

    Yes, actually - I was able to resolve it.
    However I don't know how, unfortunately.  I suspect it was because I needed to have the names of the certificates, defined during the certificate registration (to sharepoint) process, different.
    I have a complete document that shows step by step instructions on the exact process I took to complete the provider hosted application creation, deployment and publishing.  It was a daunting task, but I finished it successfully.
    If there's a way to send private message on this forum, please do so and I'll respond with a way to obtain my document.
    NOTE:  I'm not all impressed with the way this forum works.  This is supposed to be a Microsoft resource and I'll be damned if I ever get a response to highly technical questions.  Completely lame.  Boooooo Microsoft.

  • Sharepoint Online Can not edit anything in Sharepoint designer as Site collection administrator

    Dear all,
    I am using sharepoint online and sharepoint designer 2013. Things were working fine but one day it suddenly stopped working. I have assigned site collection administrator to several accounts and I tried on different computers. I can not edit anything in
    sharepoint designer 2013. Can not edit workflows, can not edit lists. Everything seems to be bugging out. I have reinstalled sharepoint designer and tried on different computers, all of them behave the same. I checked on all accounts I assigned site collection
    admin to, they all have full control over everything. I can edit lists on the sharepoint site with no problem. Anyone knows what's going on?
    I also created another blank site, same thing happens.
    -Timothy

    Are you able to edit site in IE?
    Try below:
    http://blogs.technet.com/b/namkh/archive/2013/04/18/quot-the-web-site-has-been-configured-to-disallow-editing-with-sharepoint-designer-quot.aspx
     One straight forward way of doing it is from the UI (Which did not work in my case though :(  )
      1.  Right-click the ONET.XML file ( at \Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\SiteTemplates\<var><Service></var>\xml) for the site definition and open it with Notepad
           If you see “DisableWebDesignFeatures=wdfopensite” section in the one.xml that means your site has been configured to disallow SharePoint designer.
          You can remove this section from the file and should be able to access the site in designer now
    2.   If you are unable to get rid of “DisableWebDesignFeatures=wdfopensite” or find the correct onet.xml corresponding to your site definition, here is a simple script I put together to see if Designer is disabled on the site using the property
    vti_disablewebdesignfeatures2 and update it as required.
    Manage Permissions and Control Access to Sharepoint Designer
    http://support.microsoft.com/kb/2592376
    If this helped you resolve your issue, please mark it Answered

  • Sharepoint 2013 - Which Server Should Run Microsoft SharePoint Foundation Sandboxed Code Service

    We have just deployed Sharepoint 2013 and also CRM 2011..
    Our Sharepoint 2013 Environment has a WFE and an APP server and we have a CRM 2011 box.
    We have been getting the following error in IE when Users in CRM are clicking on the Document Link under accounts which links to Sharepoint 2013
    "This Content cannot be displayed in a frame
    To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame."
    It seems like it is a IE Security Issue, but I am suspecting it could be the Microsoft SharePoint Foundation Sandboxed Code Service.
    Which server should be running the Microsoft SharePoint Foundation Sandboxed Code Service| WFE or APP.
    Also which server should run the Windows Service: SharePoint User Code Host
    Thank you in advance.

    Hi,
    Please have a look at the following post:
    http://technet.microsoft.com/en-us/library/jj219591.aspx
    As it describes, the recommendation is for both services to start it on the Web Front End servers.
    Cheers,
    Vincent

  • Sharepoint ONLINE - Unable to render the data. If the problem persists, contact your web server administrator

    Hi,
    I have followed the steps in the following link:
    Make an External List from a SQL Azure table with Business Connectivity Services and Secure Store, but I keep receiving the following message when I try to access an external list:
    "Unable to render the data. If the problem persists, contact your web server administrator"
    Note: I'm using SharePoint 2013 ONLINE, and (as far as I know) I have no access to the logs & powershell.
    Any body has had the same issue before?
    Regards.
    Note: I have tried changing my ECT's connection property (through designer 2013) to BDC Identity, but I keep receiving the following error message:
    The metadata object that has Name "xxxx" has a Property with name "AuthenticationMode" and value "RevertToSelf". This value indicates that the runtime should revert to the identity of the application pool, but reverting to the
    application pool is not permitted for partitioned service applications.
    Saeed Fattahi .NET Specialist

    Try changing the External Content’s connection
    properties’ Authentication Mode to BDC identity. You will most like get an error (which I have shown below)
    Below is an error you will received. Read through
    the error carefully.
    Launch the SharePoint 2013 Management Shell
    and run the below commands
    $bcsServiceApp = Get-SPServiceApplication
    | where {$_ -match "Business Data Connectivity Service"}
    $bcsServiceApp.RevertToSelfAllowed
    = $true;
    $bcsServiceApp.Update();
    This Solved the problem for me. you can try
    Sharepoint | TechCenter franklin

  • Type 'Microsoft.SharePoint.WebControls.EmbeddedFormField' does not have a public property named 'div' - SharePoint 2013

    I was changing my Home page's Master Page, so I went to the advanced mode via SharePoint designer and changed the Master Page line, then that happened! I tried to export and Import the Home.aspx but same?!

    Hi,
    According to your post, my understanding is that you got errors when you changed the master page.
    Based on the earlier threads, If you forget the <zone template> tags, this issue may happen.
    You can wrap your whole code in a <div> tag, then check whether it works.
    There are some similar threads for your reference.
    http://mysharepointwork.blogspot.com/2011/07/type-microsoftsharepointwebcontrolsscri.html
    http://www.sharepointboris.net/2009/02/type-microsoftsharepointwebcontrolsformfield-does-not-have-a-public-property-named-xmlnssharepoint-error/
    http://social.technet.microsoft.com/Forums/en-US/89e99b85-5af3-45c1-a39e-677711329aba/error-systemwebuiwebcontrolscontentplaceholder-does-not-have-a-public-property-named?forum=sharepointadminprevious
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Cannot implicitly convert type 'Microsoft.SharePoint.SPListItemCollection' to 'System.Collections.Generic.List T '_

    Hi
    I want use SPListItemCollection' to 'System.Collections.Generic.List<T>'.
    How to achieve this.
    Thanks,
    Siva.

    Hi Siva,
    This is how I code it for looping all SPListItem in the SPListItemCollection using Generic List<T>
    public IEnumerable GetEnumerator()
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    var list = web.Lists["Friends"];
    var query = new SPQuery();
    query.Query = "<FieldRef Name='ID'/>";
    IEnumerable items = list.GetItems(query);
    return items;
    Then calling the method would be
    var items = GetEnumerator();
    foreach(SPListItem item in items)
    Response.Write(item["FirstName"]);
    Murugesa Pandian| MCPD | MCTS |SharePoint 2010

  • SharePoint Online - "Unable to connect to remote server"

    Hi,
    I have a Provider Hosted App which gets the data from a different site collection. Now, when i try to connect to a different site collection, the TokenHelper
    class gives me an error -  "Unable to connect to remote server". 
    The error is thrown in the below line:
    acsMetadata = webClient.DownloadData(acsMetadataEndpointUrlWithRealm);
    The above error is not thrown always. It throws occasionally. I am not getting the reason for this. Could anybody explain what is the problem, please? 

    Hi,
    According to your description, my understanding is that the error "Unable to connect to remote server" occurs in the WebClient.DownloadData Function.
    As this error throws occasionally, it should be related to the network issue, for a better troubleshooting, I suggest you can check the detailed error message using Fiddler.
    Fiddler
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Is there a way to open the right click menu on the left side of your pointer?

    Whenever I try to right-click an object that's located on the right side of the screen, the pointer always automatically click whatever entry in the right-click menu which just happens to be under the pointer the moment the menu is opened. I noticed

  • Removing information message in creation of new contacts

    Hi, Under IC_AGENT role, when we confirm an account and create a new contact from Account Identification screen. Message "Relationsip is transferred" is shown after selecting any drop down or save button. I tried following code in do_prepare_output f

  • PO creation wrt PR

    Hi, There is a requirement that the same PR shall not be referenced more than once while creating a PO. ie iF a PO has been created wrt a PR the same PR shall not be allowed to be used again in creating another PO. Is there ant std setting. Thanks, S

  • Can you link or import calendar info to numbers iPad?

    I track my company time on my calendar an also use MobileMe. It would be nice to import a weeks worth of data fields to numbers on my iPad and generate a time report to then be emailed to the office.

  • Skype - Cant make group. or add people in a conver...

    Okay so, i can talk too one person @ a time, but when i try to add people, the one person im talking too can only see the grey picture of the person ive added and we cannot use the call button at all, and when they try to add somebody i get kicked ou