Mittwoch, 29. September 2010

sharepoint 2010 page layout disabled in ribbon

Wenn der Page Layout Button im Ribbon disabled ist kann dies folgende Ursachen haben:
1. Der User, welcher eingeloggt ist und das Layout ändern will hat nicht genug Rechte. Es einmal mit einem Adminuser versuchen.
2. Es gibt einfach keine Page Layouts auszuwählen. Hierzu Settings -> Look and feel -> Page Layouts und dort in der mittleren Spalte ein paar Layouts zur Verfügung stellen.
3. Die eigen erstellen Layouts wurden von einem User mit minderer Berechtigung hochgeladen. Sie sind zwar in den Settings zu sehen, können aber nicht ausgewählt werden. Hierzu als Admin einloggen und unter Settings -> Galleries -> master pages and page layouts, die einzelnen aspx Dateien auschecken und einchecken. Der Modified By User dürfte dadurch ändern. Anschliessend nochmals checken ob Punkt 2 erfüllt ist und nochmals in der Seite sehen ob der Button noch disabled ist.

When the page-layout-button in the ribbon is disabled, the reason therefore can be:
1. The user, who is logged in and wants to change the layout, does not have enough permissions. Try the admin-user.
2. There are no page-layouts to choose from. Go to settings -> look and feel -> page layouts and take the selection boxes in the middle to provide some layouts.
3. The custom layouts have been uploaded by a user, that does not have enough permissions. You can then see the layouts in the settings, but they can't be chosen in the page. Therefore login as an admin and go to settings -> galleries -> master pages and page layouts, there check out the different aspx files and check in. The Modified By User is suppsoed to be changed. Then check again if you topic no 2 is correct set and if it works and the button is enabled.

Mittwoch, 22. September 2010

$('#s4-ribbonrow').show(); Javascript error: object expected

Dieser Fehler taucht auf, wenn man den ...<div id="s4-ribbonrow">... Layer irgendwie auf hidden, oder display none gesetzt ist.

This error happens, when the layer ...<div id="s4-ribbonrow">... is set to hidden or display:none.

Freitag, 10. September 2010

AgilePoint - Sharepoint can't add workflow

Wenn Sie beim Versuch, einen Workflow in Sharepoint mit einem Processtemplate des AgilePoint Servers zu verbinden, folgende Fehlermeldung erhalten "Object reference not set to an instance of an object", dann liegt es vielleicht daran, dass Sharepoint und der AgilePoint Server nicht kommunizieren. Kann sein, dass ein AD User ein neues Passwort besitzt oder der User geändert wurde. Hierzu unter Listen die AgilePoint Configuration Liste öffnen und überprüfen ob die Userdaten noch korrekt sind.

If you get the following error: "object reference not set to an instance of an object", when trying to add a process-template for a workflow in Sharepoint. Reason therefore might be, that the communication between Sharepoint and AgilePoint server is not working correctly. Maybe the AD user got deleted or password changed. Please go to the AgilePoint-configuration list, under Sharepoint lists, and check the credentials there.

AgilePoint form does not open in browser - AgilePoint Formular öffnet nicht im Browser

Wenn man vom AgilePoint Server aus einen Workflow deployed, welcher dann mit eigenem InfoPath Formular kommt und dieses sich beim hinzufügen von Items in Infopath öffnet, sollten folgende Einstellungen untersucht werden:
InfoPath, wenn man ein neues Formular erstellt: -> "nur browserkompatible Features aktivieren" anklicken. Sollte das Formular schon erstellt sein, dann unter Extras -> Formularoptionen -> Kompatibilität kontrollieren, ob die Checkbox ("Formularvorlage entwerfen, die in einem...) aktiviert ist. Anschliessend in Sharepoint auf der Liste unter List-settings -> Advanced settings -> Opening Documents in browser, dort prüfen ob die Einstellung stimmt.

When you deploy a workflow from the AgilePoint server, that uses an InfoPath form and opens up in InfoPath instead of the browser, than you should check those settings:
InfoPath when creating a new form: -> "enable browser compatible features only", check-box needs to be clicked. If the form is already created, then go to Tools -> Form Options -> Compatibility and check if the check-box ("Design a form-template that can...") is activated. Afterwards go to the sharepoint-list and go to list-settings -> advanced settings -> opening documents in browser, check if this setting is correct.

datasource , 'xy', contains an ImpersonationMode that is not supported for processing operations

Als ich ein Analysis Service Projekt deployen wollte, hatte ich den Fehler, dass die Datenquelle einen nicht unterstützen ImpersonationMode enthält.
Der Fehler scheint die Authentifizierung am Server zu sein. Hierzu bitte die Datenquelle neu erstellen und einen spezifischen User (User muss auch entsprechende Rechte auf dem DB Server haben) angeben. Danach hat es bei mir funktioniert das Projekt zu deployen.

When trying to deploy an Analysis Service project, I received the error, that the datasource contains an ImpersonationMode, that is not supported.
This error seems to happen when the authentification to the server fails. Therefore create a datasource and enter a specific user (user needs to have the right permissions on the db-server). Afterwards it worked for me to deploy the project.

Donnerstag, 9. September 2010

The Microsoft Secure Store Service application Secure Store Service failed to retrieve credentials. The error returned was 'Access is denied.'

Ich hatte beim Zugriff über den Dashboard Designer immer dieses Problem, wenn ich per unattended user die Datenbank oder Analysis Service öffnen wollte. Nach verschiedenen Versuchen, von Neuerstellen der Application Services (PerformancePoint Service, Secure Store Service) bis mehrfachen setzen der User hat diese Lösung geholfen:
Central Administration -> Manage service applications -> Secure Store Service -> anklicken der Applikation und "Bearbeiten" im Ribbon wählen. -> Auf der dritten Seite befindet sich eine Text-area mit dem Begriff "Members". Dort sollte der User/Gruppe angelegt sein.

I always had the problem, when I wanted to access the database or analysis-service through the dashboard-designer. After different approaches, like re-creation of the application-services (PerformancePoint Service, Secure Store Service), setting the user several times, this solution helped me to make ist work:
Central Administration -> Manage service applications -> Secure Store Service -> click the application-checkbox and choose "edit" in the ribbon. -> On the third page, there is a text-area with the topic "Members". There your user/group is supposed to appear.

Related help page
Related help page
Related help page
Related help page
Related help page

Dienstag, 7. September 2010

Dashboard Designer does not connect with Sharepoint site

Wenn man den Dashboard Designer aufruft und eine Verbindung zur Site ist nicht möglich, auch die Eingabe der URL ergibt, dass er folgende Fehlermeldung ausgibt: "the url must be in one of the following zones ... local intranet, trusted", dann liegt es an den Einstellungen der Browserzonen. Dort muss man die URL zu den Trusted Sites unter Options hinzufügen. Anschliessend kann man den Dashboard Designer öffnen und er verbindet automatisch.

If you open Dashboard Designer and the connect to the site is not possible, even when entering the URL and the error you get is the following one: "the url must be in one of the following zones ... local intranet, trusted", then you need to check the settings of your browser. There under options you have to add the URL to the trusted sites. Afterwards you can open Dashboard Designer and you will be connected automatically.

BDC not visible in central administration after deployment

Mir ist es passiert, dass ich mehrere BDC entwickelt habe, diese anschliessend deployen wollte. Mir sagte das Visual Studio bei jedem Deployment, dass es successful war. Jedoch konnte ich in der Central Administration die BDCs nicht finden bis auf einen. Was war passiert? Ich hatte vergessen die Namen zu ändern. Visual Studio hat somit versucht BDC mit dem Namespace BdcModel1 mehrmals zu deployen, was fehlschlug. Somit ging ich in jedes Projekt der BDC und habe dort mit der Suche nach BdcModel1 gesucht und alles umbenannt in einen eigenen Namen. Anschliessend auch FileName und FolderName geändert. Nichts in meinem Projekt war mehr BdcModel1. Weder in den Feature-, Package-XML noch im Namespace, etc. Wichtig ist, dass man alles umbenennt. Dies habe ich mit jedem Projekt gemacht, überall einen anderen Namen vergeben und voila, alle BDC wurden korrekt deployed. Komisch ist nur, dass das Deployment nicht gleich fehlschlägt.

Something happens to me. I was developing several BDC, that I wanted to deploy. Everytime I got the confirmation from Visual Studio, that the deployment was successful. But I could not find them in central administration except one BDC I developed. What happend? I had forgotten to change the naming. Visual Studio tried to deploy several BDC with the namespace BdcModel1, that did not work. Now I went in every BDC project and searched for the BdcModel1 and replaced it with an own name. Also file-name and folder-name had to be changed. Nothing in my project was left to BdcModel1. Not any feature-, package-xml, no namespace, etc. It is important to rename everything. I did that with every project and renamed with unique names and voila, I saw every BDC in the central administration after deployment. Strange thing is, that deployment does not fail, when this error happens.

Lassen Sie auch mal den ULS laufen während des Deployments.
Das ist die ULS Fehlermeldung (vssphost4.exe):
You can run the ULS during deployment.
That is the ULS error-message (vssphost4.exe):
Ignoring LobSystem (External System) with Name 'xy' (and its LobSystemInstances (External System Instances)) as it is already loaded in the current context. Entity (External Content Type) with Namespace 'xy.BdcModel1' and Name 'Entity1' and Version '1.0.0.11' already exists and will not be recreated.