Hybrid App Package Deployment

Describes issues with Hybrid App package deployment.

Error When Generating a Hybrid App Package

Problem: When generating the Hybrid App package, you get an error that the Hybrid App package cannot be deployed similar to this:

============================================================
Deployment to SAP Mobile Server
============================================================
Deploying the workflow
Unable to deploy workflow: System.Web.Services.Protocols.SoapException: Could not find a 
part of the path 'SMP_HOME\Servers\MessagingServer\Data\Mobile Workflow\117_1'.
at Admin.ReplaceWorkflow(Byte[] baZippedPackage)

Explanation: Some software, such as Microsoft Security Essentials, locks the temp folder, or files in the temp folder when they are written by the Hybrid App installation routine, thus preventing the Directory.Move from succeeding.

Solution: Disable Microsoft Security Essentials.

Subscription Information Not Removed After Deploying in Replace Mode

Explanation: Keep in mind that when you deploy a Hybrid App package in Replace mode, Hybrid App assignments are preserved so subscription information is not removed on the server-side. If you want to remove the subscription information on the server-side, you can remove it manually.

  1. Log in to SAP Control Center.
  2. Go to Applications > Application Connections.
  3. Select the user account, then select Package Users.
  4. Click Delete.