Freitag, 10. September 2010

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.

Freitag, 13. August 2010

Admin application pool stops when running AgilePoint

1. Application pool beendet - application pool stops
Wenn der Admin Application Pool beendet wird sobald man AgilePoint Enterprise Manager startet, dann folgende Einstellung vornehmen: Im IIS -> Applications Pools -> Admin -> Advanced Settings -> Process Models, dort unter Identity nochmals den User definieren, welcher die korrekten Rechte besitzt.

If the Admin application pool stops as soon as you start the AgilePoint Enterprise Manager, then you are supposed to check the following settings: in the IIS -> application pools -> Admin -> advanced settings -> process models, there under identity set the user once again, that has the needed permissions.

2. 500 oder 503 Fehlermeldung beim öffnen der Seite - 500 or 503 error message when opening the page
Wenn jetzt eine 5er Fehlermeldung erscheint, dann muss der User ebenfalls hier neu gesetzt werden:
IIS -> Sites -> AgilePoint - 8085* -> Advanced Settings -> Physical Path Credentials, dort den User neu setzen.

If now a type 5 error message is diplayed, then this user needs to be set here as well:
IIS -> sites -> AgilePoint - 8085* -> advanced settings -> physical path credentials, there set the user once again.

*Port kann je nach Installation variieren - port can differ depending on the installation

Donnerstag, 5. August 2010

AgilePoint: dynamic connector does not link to activities properly

Wenn man auf diese Fehlermeldung im AgilePoint Envision stösst, dann liegt es daran, dass man anscheinend Activities verwendet, welche nicht zusammenpassen. Einfach den Connector verwenden, wie für jeden anderen Workflow. Anschliessend in den Eigenschaften schauen, ob es eine Source- und Targetactivity gibt. Wenn nicht, dann ist die Activity nicht kombinierbar und man sollte andere wählen.

If you will get the (in the headline mentioned) error in AgilePoint Envision, then you are trying to connect activities, that are not supposed to be connected. Try to use the connector, like you would for each regular workflow. Then check the properties, if there is a source- and target-activity. If not, then those activities are not combineable and you should take different ones.

Montag, 2. August 2010

The connector must be connected to two workflow shapes.

Wenn Sie mit Visio ein Workflowdiagramm erstellen und bei Prüfung dieses Diagramms die oben genannte Fehlermeldung erhalten, Sie aber keinen Fehler entdecken, doppelklicken Sie auf die Fehlermeldung und wenn irgendwo ein blauer Kasten im Diagram erscheint, dann ist dort ein versteckter Connector, welcher nicht verbunden wurde, jedoch auch so klein ist, dass man ihn im Diagramm selbst nicht sieht. Entweder Sie entfernen diese, oder erweitern ihn mit dem Connector-Cursor.

When working with Visio and creating a workflow diagram and you are getting the mentioned error-message, convinced, that there is nothing wrong in your diagram, then double click the error message. If there is then a blue squared item in your diagram, then it seems a hidden connector was not used and appears so small, that you don't see it in your diagram. Either delete it or extend it with the connector-cursor.

Freitag, 30. Juli 2010

Sharepoint Designer workflow does not react on if -> else if

Wenn in dem Schritt, welchen Sie bearbeiten ein Approvalprozess gestartet wird und folgende Abfrage stattfindet:
If Aktuelles Element:Approval Status equals 1;#Rejected,
diese aber im Workflow nie abgehandelt wird, liegt es daran, dass der Statuswert nicht gesetzt wird.
Man muss sich das so vorstellen, dass der Approval Prozess ebenfalls aus einem Workflow besteht und man dort
definieren muss, was passieren soll, bzw. welche Werte wo gesetzt werden müssen, damit es funktioniert.
Ein simpler Workflow von mir sah so aus:

When there is the following if-clause in the apporval process, that you started:
If Current Element:Approval Status equals 1;#Rejected,
but the workflow never reacts on that, then the reason is, that the value is never set.
You have to consider, that the approval-process contains out of a workflow definition itself and you have to define there, what
has to happen, or what values need to be set, to make it work.
A simple workflow of mine looked like that:
WorkflowStep1

Grossansicht anzeigen - Show large image


Dort hatte ich das Problem, dass if und else einfach immer Approved ausgegeben haben. Das ist damit zu erklären, dass
der Prozess an sich immer approved = true ist, ausser der gesamte Workflow wird gelöscht oder beendet.
Was Sie gerne hätten wäre aber, wie der Prozess abgehandelt wurde, ob der Nutzer approved oder rejected hat.
Hierzu den Prozess einmal dort anklicken wie in der Grafik unten, damit man den Workflow des Porzesses bearbeiten kann.

There I had the problem, that if and else always returned approved. The explanation for that is, that the process itself always
returns approved = true, except you delete the workflow or cancel it.
What you want to know is, did the user approve or reject during the process.
Therefore click the process, like the image below shows you, to be able to edit the process itself.
WorkflowStep1

Grossansicht anzeigen - Show large image

Sie gelangen dann in die Eigenschaftenübersicht des Prozesses. Dort befinden sich auf der linken Seite die wichtigsten Einstellungen.
Klicken Sie den 3. Item in der Liste an, dann gelangen Sie in den Prozessworkflow. Der 2. Item könnte auch interessant sein,
wenn Sie Eigenschaften nach dem Prozess definieren wollen.

You will get to the settings overview of this process. On the left hand side you will see the major settings. Click on the 3rd item
in the list, then you will get to the process workflow. The 2nd item might be also very interesting for you,
when you want to set properties after the process happens.
WorkflowStep1

Grossansicht anzeigen - Show large image

WorkflowStep1

Grossansicht anzeigen - Show large image

Wenn Sie den 3. Item geklickt haben, sehen Sie den Workflow und dort gehen Sie bis zum Ende der einzelnen Schritte.
Am Ende befindet sich "When a task completes". Dort müssten Sie die Werte setzen, wie es in der Grafik markiert hervorgehoben
wird.

When you clicked on the 3rd item, you see the workflow and there go to the last step. There you will find the "When a task completes" step.
There you have to set the values, like I highlighted in the image below.
WorkflowStep1

Grossansicht anzeigen - Show large image

Dadurch werden die Werte während des Approvalprozesses gesetzt und man kann diese dann im eigenen Workflow auslesen und verwenden.

This way, the values are set during the approval-process and you can use those in your own workflow.

Donnerstag, 29. Juli 2010

Timer job and workflow - timer job does not execute workflow

Wenn der Timer Job keinen Workflow auslöst, liegt das daran, dass der Timer Job evtl. vom System Account gesteuert wird und dieser (siehe vorheriger Post) den Workflow überspringt. Deshalb am besten einen eigenen User einrichten, mit System Account Rechten und über diesen den Timer Job laufen lassen.

If your timer-job does not execute a workflow, the reason might be, that the timer-job is handled through the system-account (check previous post). Therefore it might be best, to create a new user with the same permissions like the system-account, and let this one execute the timer-job.

Code not running - Code funktioniert nicht

Liebe Leser dieses Blogs (sind mittlerweile erstaunlicherweise 300 pro Monat), sollte es vorkommen, dass ein Code, welchen ich publiziere, nicht funktioniert, wäre ich über eine kurze Nachricht oder einen Kommentar dankbar.

Dear reader of this blog (I was surprised, that there are more than 300 each month), when a code, that I published, is not working, let me know in sending me a message or leave a comment.