Trouble deploying WP Phonegap app targeting a Window 8/8.1 devices

Hello,
I am trying to deploy a WP Phonegap app on a WP8.1 device using a AppDeloy tool from WP8.0 sdk tools. We are having a lot of issues when deploying to a device. The specific error that is blocking us is "Installation of the application failed. Runtime
error has occurred. Fix the capabilities in WMAppManifest.xml" (find below WMAppManifest code segment). Please note that I can install a debug version with no problems.
We would really appreciate any support in pointing us in the right direction to resolve the situation. It would be of great help if I can hop on a live chat with you or someone who can help us.
Thanks in advance.
Regards,
Ranjith
Clearbridge Mobile
<?xml version='1.0' encoding='utf-8'?>
<Deployment AppPlatformVersion="8.0" xmlns="http://schemas.microsoft.com/windowsphone/2012/deployment">
<DefaultLanguage code="en-US" xmlns="" />
<Languages xmlns="">
<Language code="en-US" />
</Languages>
<App Author="ABC" BitsPerPixel="32" Description="ABCD" Genre="apps.normal" ProductID="{xxxx}" Publisher="ABC" PublisherID="{xxxx}" RuntimeType="Silverlight" Title="We365" Version="1.0.0" xmlns="">
<IconPath IsRelative="true" IsResource="false">Images\w3_windowsapp_icon-small.png</IconPath>
<Capabilities>
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_ISV_CAMERA" />
<Capability Name="ID_CAP_MEDIALIB_PHOTO" />
<Capability Name="ID_CAP_CONTACTS" />
</Capabilities>
<Tasks>
<DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
</Tasks>
<Tokens>
<PrimaryToken TaskName="_default" TokenID="We365Token">
<TemplateFlip>
<SmallImageURI IsRelative="true" IsResource="false">Images\w3_windowsapp_icon-small.png</SmallImageURI>
<Count>0</Count>
<BackgroundImageURI IsRelative="true" IsResource="false">Images\w3_windowsapp_icon-medium.png</BackgroundImageURI>
<Title>
</Title>
<BackContent>
</BackContent>
<BackBackgroundImageURI IsRelative="true" IsResource="false">
</BackBackgroundImageURI>
<BackTitle>
</BackTitle>
<LargeBackgroundImageURI IsRelative="true" IsResource="false">Images\w3_windowsapp_icon-wide.png</LargeBackgroundImageURI>
<DeviceLockImageURI IsRelative="true" IsResource="false">Images\w3_windowsapp_icon-wide.png</DeviceLockImageURI>
<HasLarge>True</HasLarge>
</TemplateFlip>
</PrimaryToken>
</Tokens>
<ScreenResolutions>
<ScreenResolution Name="ID_RESOLUTION_WVGA" />
<ScreenResolution Name="ID_RESOLUTION_WXGA" />
<ScreenResolution Name="ID_RESOLUTION_HD720P" />
</ScreenResolutions>
</App>
</Deployment>

You might try just turning all the Capabilities on and seeing if that fixes it.  If it does, you can start turning off ones you don't need.

Similar Messages

  • Why doesn't my TestStand deployment installation show up under my Windows start menu of my target machine?

    Why doesn't my TestStand deployment installation show up under my Windows start menu of my target machine?
    I have successfully installed working deployments to target machines. However, I was expecting to see the installation listed as "My TestStand System A" in my start menu, but it is not. Am I misunderstanding something here?
    Also, if I peform a different second deployment to the target station like "My TestStand System B", all of the LabVIEW files from my previous installation for "My TestStand System A" disappear from the target directory (c:\Program Files\My TestStand System A).
    I am using TestStand 4.2.1 Professional on the development station with Windows XP and LabVIEW 2009.
    Solved!
    Go to Solution.

    Thanks Paul,
    That solved my second problem and inspired me to search deeper for the answer to my first problem. The answer is in the "Distributed Files" tab, "installer properties", "Create a Program Item" checkbox:
    Wouldn't it be nice if this was automatically checked by default for the main sequence files? Wouldn't it also be nice if "Upgrade Code" was automatically regenerated by default whenever we saved the *.tsd file under a different name?
    Thanks again,
    Eugene
    Message Edited by Eugene12 on 05-06-2010 04:27 PM

  • I have trouble viewing the messages app window in OS X 10.9

    I have trouble viewing the messages app window in OS X 10.9
    help me!!

    Define trouble please ...
    What exactly happens ?

  • Error deploying a Mvc app to Window Azure

    I am trying to deploy a MVC app to Azure but I am receiving this error
    Error 1
    Web deployment task failed. ('Microsoft.Web.Deployment.DeploymentBaseOptions' does not contain a definition for 'UserAgent')
    0 0
    Alter_Consult_mvc
    Will appreciate any help to fix it.
    thanks

    hi,
    Which version of VS and .netframework? I suggest you could update your software and components. And you could see this same thread :http://social.technet.microsoft.com/Forums/en-US/4955269e-23fc-4f22-aa7a-6975b02dd078/web-deployment-task-failed-deploymentbaseoptions-does-not-contain-a-definition-for-useragent?forum=windowsazureconnectivity&prof=required
    Please try it.
    Regards,
    Will
    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.

  • Trouble deploying app

    Can someone please tell me where my thinking is off here?
    I have 3 beans: 2 entity beans and 1 session bean.
    The session bean uses both entity beans so I am following the Session Facade pattern.
    I deploy the 2 entity beans in their own application by first createing the ejb module and then converting to applications. The apps deploy with no problem.
    Now, I generate a test app for the session bean. Here is where I am not sure if I am correct. I take the application client jars from the 2 entity beans and add them to the session bean test app. When I try to deploy this test app I get an invalid jndi name and it specifies on of the application client jar files.
    What might I be doing wrong?
    TIA

    How are you packaging the test app? Where are you putting the client jar files? Look at the packaging sample app pkgingB.ear for more details. This is located at <S1AS install directory>/samples/j2ee/pkging/ directory.
    Thanks,
    -Parsu.

  • Failed to install win 8.1 app package on Windows 10

    Hi all,
    The app package complied with VS2013 on Windows 8.1 fails to install on Windows 10.  This is expected ??
    The package could be successfully  installed on Window 8.1, bug failed on Windows 10. Here is the screen shot.

    Hi Dong,
    The error message you show give you instructions for looking up the activity ID.  Please so that and let us know the result.
    Jeff Sanders (MSFT)
    @jsandersrocks - Windows Store Developer Solutions
    @WSDevSol
    Getting Started With Windows Azure Mobile Services development?
    Click here
    Getting Started With Windows Phone or Store app development?
    Click here
    My Team Blog: Windows Store & Phone Developer Solutions
    My Blog: Http Client Protocol Issues (and other fun stuff I support)
    Hi Jeff,
    I got the log, paste it here.  Thanks.
    PS C:\Users\dong> Get-AppxLog -ActivityID a1fac9b5-6bd0-0003-b06a-29a4d06bd001
    Time                      ID           Message
    4/2/2015 9:37:26 AM       301          The calling process is C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    4/2/2015 9:37:26 AM       604          Started deployment Add operation on a package with main parameter: file:///D:/pr
                                           ojects/win81app/AppPackages/win81app/win81app_1.0.0.0_Win32_Test/win81app_1.0.0.
                                           0_Win32.appx, dependency parameters: file:///D:/projects/win81app/AppPackages/wi
                                           n81app/win81app_1.0.0.0_Win32_Test/Dependencies/x86/Microsoft.VCLibs.x86.12.00.a
                                           ppx, file:///D:/projects/win81app/AppPackages/win81app/win81app_1.0.0.0_Win32_Te
                                           st/Dependencies/x64/Microsoft.VCLibs.x64.12.00.appx and Options:
                                           ForceApplicationShutdownOption. See
                                           http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
                                           deployment issues.
    4/2/2015 9:37:26 AM       157          The app package signature was validated for core content of the app package
                                           published by CN=dong. Payload won't be validated until the files are read.
    4/2/2015 9:37:26 AM       170          The streaming reader was created successfully for app package
                                           fec010c0-306b-4e7e-88fd-52bdfdcb8fda_1.0.0.0_x86__92cw22eayst0g.
    4/2/2015 9:37:26 AM       157          The app package signature was validated for core content of the app package
                                           published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond,
                                           S=Washington, C=US. Payload won't be validated until the files are read.
    4/2/2015 9:37:26 AM       170          The streaming reader was created successfully for app package
                                           Microsoft.VCLibs.120.00_12.0.21005.1_x86__8wekyb3d8bbwe.
    4/2/2015 9:37:26 AM       157          The app package signature was validated for core content of the app package
                                           published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond,
                                           S=Washington, C=US. Payload won't be validated until the files are read.
    4/2/2015 9:37:26 AM       170          The streaming reader was created successfully for app package
                                           Microsoft.VCLibs.120.00_12.0.21005.1_x64__8wekyb3d8bbwe.
    4/2/2015 9:37:26 AM       10002        Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\4f281c8e
                                           -bfc1-465e-bd8d-538fd2991196_S-1-5-21-1213812938-303559523-3196125145-1000_3.rsl
                                           c for Add Operation on Package
                                           fec010c0-306b-4e7e-88fd-52bdfdcb8fda_1.0.0.0_x86__92cw22eayst0g.
    4/2/2015 9:37:26 AM       607          Deployment Add operation on package
                                           fec010c0-306b-4e7e-88fd-52bdfdcb8fda_1.0.0.0_x86__92cw22eayst0g has been
                                           de-queued and is running for user WIN-TNFE02CEC5L\dong.
    4/2/2015 9:37:26 AM       613          Adding uri to the list of Uris: file:///D:/projects/win81app/AppPackages/win81ap
                                           p/win81app_1.0.0.0_Win32_Test/win81app_1.0.0.0_Win32.appx.
    4/2/2015 9:37:26 AM       613          Adding uri to the list of Uris: file:///D:/projects/win81app/AppPackages/win81ap
                                           p/win81app_1.0.0.0_Win32_Test/Dependencies/x86/Microsoft.VCLibs.x86.12.00.appx.
    4/2/2015 9:37:26 AM       613          Adding uri to the list of Uris: file:///D:/projects/win81app/AppPackages/win81ap
                                           p/win81app_1.0.0.0_Win32_Test/Dependencies/x64/Microsoft.VCLibs.x64.12.00.appx.
    4/2/2015 9:37:26 AM       605          The last successful state reached was BundleProcessed. Failure occurred before
                                           reaching the next state Indexed.
    4/2/2015 9:37:26 AM       401          Deployment Add operation with target volume C: on Package
                                           fec010c0-306b-4e7e-88fd-52bdfdcb8fda_1.0.0.0_x86__92cw22eayst0g from:  (file:///
                                           D:/projects/win81app/AppPackages/win81app/win81app_1.0.0.0_Win32_Test/win81app_1
                                           .0.0.0_Win32.appx)  failed with error 0x80073CF9. See
                                           http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
                                           deployment issues.
    4/2/2015 9:37:26 AM       404          AppX Deployment operation failed for package
                                           fec010c0-306b-4e7e-88fd-52bdfdcb8fda_1.0.0.0_x86__92cw22eayst0g with error
                                           0x80073CF9. The specific error text for this failure is: Deployment Add
                                           operation with target volume C: on Package
                                           fec010c0-306b-4e7e-88fd-52bdfdcb8fda_1.0.0.0_x86__92cw22eayst0g from:  (file:///
                                           D:/projects/win81app/AppPackages/win81app/win81app_1.0.0.0_Win32_Test/win81app_1
                                           .0.0.0_Win32.appx)  failed with error 0x80073CF9. See
                                           http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
                                           deployment issues.
    PS C:\Users\dong>
    Regards.
    Dong.

  • Deploy the JSF app to integrated Weblogic Server Error

    Hi, All,
    I just created a new ADF app and have only one single JSF page in which have one Calender component. After right click the ViewController project and select deploy to Integrated Weblogic server and i got the below error:
    [01:05:25 AM] ---- Deployment started. ----
    [01:05:25 AM] Target platform is (Weblogic 10.3).
    [01:05:26 AM] #### Deployment incomplete. ####
    [01:05:26 AM] [J2EE Deployment SPI:260010]Unable to connect to 't3://127.0.0.1:7101' as user, 'weblogic'. Error received: null
    [01:05:26 AM] [J2EE Deployment SPI:260010]Unable to connect to 't3://127.0.0.1:7101' as user, 'weblogic'. Error received: null
    [01:05:26 AM] [J2EE Deployment SPI:260010]Unable to connect to 't3://127.0.0.1:7101' as user, 'weblogic'. Error received: null
    [01:05:26 AM] t3://127.0.0.1:7101: Destination unreachable; nested exception is:
         java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 500 Server Error'; No available router to destination
    [01:05:26 AM] Destination unreachable; nested exception is:
         java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 500 Server Error'; No available router to destination
    If right click the simple JSF page and run directly will start the wl server and seems not to deploy the demo app. the log as below:
    Starting WLS with line:
    C:\PROGRA~1\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\PROGRA~1\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy "-Djavax.net.ssl.trustStore=C:\Program Files\Oracle\Middle Ware\wlserver_10.3\server\lib\DemoTrust.jks" -Dhttp.proxyHost=www-proxy.cn.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts= -Dhttps.proxyHost=www-proxy.cn.oracle.com -Dhttps.proxyPort=80 -Dhttps.nonProxyHosts= -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\PROGRA~1\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\PROGRA~1\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\PROGRA~1\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=C:\PROGRA~1\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\PROGRA~1\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\PROGRA~1\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\PROGRA~1\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\gerry\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\PROGRA~1\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\PROGRA~1\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <2010-10-15 上午01时13分40秒 VET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
    <2010-10-15 上午01时13分41秒 VET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <2010-10-15 上午01时13分42秒 VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <2010-10-15 上午01时13分42秒 VET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <2010-10-15 上午01时13分42秒 VET> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <2010-10-15 上午01时13分42秒 VET> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00020. Log messages will continue to be logged in C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <2010-10-15 上午01时13分42秒 VET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <2010-10-15 上午01时13分44秒 VET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <2010-10-15 上午01时13分48秒 VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <2010-10-15 上午01时13分48秒 VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <2010-10-15 上午01时13分51秒 VET> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <2010-10-15 上午01时13分51秒 VET> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00020. Log messages will continue to be logged in C:\Documents and Settings\gerry\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <2010-10-15 上午01时13分51秒 VET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <2010-10-15 上午01时13分52秒 VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <2010-10-15 上午01时13分52秒 VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <2010-10-15 上午01时13分52秒 VET> <Warning> <Server> <BEA-002611> <Hostname "gerry-cn.peoplesoft.com", maps to multiple IP addresses: 10.182.105.125, 192.168.149.1, 192.168.126.1>
    <2010-10-15 上午01时13分52秒 VET> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <2010-10-15 上午01时13分52秒 VET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.126.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <2010-10-15 上午01时13分52秒 VET> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 10.182.105.125:7101 for protocols iiop, t3, ldap, snmp, http.>
    <2010-10-15 上午01时13分52秒 VET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.149.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <2010-10-15 上午01时13分52秒 VET> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <2010-10-15 上午01时13分52秒 VET> <Warning> <Server> <BEA-002611> <Hostname "GERRY-CN", maps to multiple IP addresses: 10.182.105.125, 192.168.149.1, 192.168.126.1>
    <2010-10-15 上午01时13分52秒 VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <2010-10-15 上午01时13分52秒 VET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    as normal there would have a URL link displayed in the weblogic log, is that right? any one can give tips?

    Looks like you have a proxy configured, and that proxy (of course) doesn't support routing to 127.0.0.1
    [01:05:26 AM] t3://127.0.0.1:7101: Destination unreachable; nested exception is:
    java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 500 Server Error'; No available router to destinationUnset your proxy (Tools->Preferences->Web Browser & Proxy)
    John

  • Using powershell to deploy provider-hosted app and specify remote Url instead of using appinv.aspx page

    Hello all,
    Could you possibly help me with provider-hosted app development/deployment process.
    We developed SharePoint provider-hosted app that works just fine in development environment. Now we need to automate it's installation in test environment via powershell.
    In AppManifest.xml that we are deploying we have key instead of explicit URL:
    <App xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest" Name="ShowAllRoomsApp" ProductID="{922a18aa-5592-b59a-4da9-4791baef02e7}" Version="1.0.0.0"
    SharePointMinVersion="15.0.0.0">
      <Properties>
        <Title>SomeTitle</Title>
        <StartPage>~remoteAppUrl/Pages/Default.aspx?{StandardTokens}</StartPage>
    If we use as
    https://technet.microsoft.com/en-us/library/jj655398.aspx recommends, we cannot specify Redirect Url as we can do this on
    /_layouts/appinv.aspx
    So now it seems like the only way to deploy this kind of solution is using appinv.aspx page.Or must we apply this URL in AppManifest on developing stage in Visual Studio?
    What did I miss?
    P. S. Even if I use /_layouts/appinv.aspx after powershell commandlets, I get error.

    hi,
    to deploy provider hosted app you need 2 things
    1. Client ID
    2. Redirect URL.
    What you can do you can generate app from visual studio using clientID and URL from developer enviornment.
    Now a app file is just a simple compressed zip file if you rename it as .zip and extract you will find AppManifest
    inside it. So to create an app for Testing enviornment what you have to to Get the CLient ID (from AppRegNew.aspx) in testing enviornment. Unzip .App file change the AppManifest with testing client ID and URL than again zip file and rename as .app.
    Now if you upload this file it will work.
    To automate this scenerio i have created a simple windows Application in which i Pass the Client ID and StartURl and an App File it unzips the app file make changes to app and again zip it.
    public static class AppPackageHelper
    public const string StartUrlExpression = "{0}?{1}";
    public const string StandardToken = "{StandardTokens}";
    public static string Publish(string appPath, string ClientId,string StartUrl)
    string tempDir = string.Empty;
    string outPutFile = string.Empty;
    try
    string parentDir = System.IO.Path.GetDirectoryName(appPath);
    outPutFile = System.IO.Path.Combine(parentDir, ClientId + "-Winshuttle.app");
    tempDir = System.IO.Path.Combine(parentDir, ClientId.ToString());
    Directory.CreateDirectory(tempDir);
    int lastInd = appPath.LastIndexOf('.');
    string tempPath = string.Empty;
    string targetFilePath = string.Empty;
    string cabPath = System.IO.Path.Combine(tempDir, System.IO.Path.GetFileNameWithoutExtension(appPath) + ".cab");
    FileInfo fInfo = new FileInfo(appPath) { IsReadOnly = false };
    File.Copy(appPath, cabPath);
    XDocument doc = null;
    string appManifest = string.Empty;
    using (ZipArchive zipArch = ZipFile.Open(cabPath, ZipArchiveMode.Update))
    appManifest = string.Format(@"{0}\AppManifest.xml", Directory.GetParent(cabPath).FullName);
    ZipArchiveEntry manifestEntry = zipArch.Entries.LastOrDefault(e => e.Name.ToLower() == "appmanifest.xml");
    manifestEntry.ExtractToFile(appManifest);
    doc = XDocument.Load(appManifest);
    XNamespace ns = doc.Root.GetDefaultNamespace();
    string defaultUrl = string.Format(StartUrlExpression, StartUrl.TrimEnd('/'), StandardToken);
    doc.Descendants(XName.Get("StartPage", ns.NamespaceName)).First().Value = defaultUrl;
    doc.Descendants(XName.Get("RemoteWebApplication", ns.NamespaceName)).First().Attribute(XName.Get("ClientId")).Value = setupInfo.ClientId.ToString();
    doc.Save(appManifest);
    if (manifestEntry != null)
    manifestEntry.Delete();
    zipArch.CreateEntryFromFile(appManifest, "AppManifest.xml");
    int totEnt = zipArch.Entries.Count;
    for (int e = 0; e < totEnt; e++)
    if (zipArch.Entries[e].Open().Length == 0)
    //if (zipArch.Entries.Count > totEnt && e >= totEnt) break;
    //zipArch.CreateEntry(zipArch.Entries[e].FullName);
    File.Delete(appManifest);
    if (File.Exists(outPutFile))
    File.Delete(outPutFile);
    File.Move(cabPath, outPutFile);
    return outPutFile;
    catch
    throw;
    finally
    if (System.IO.Directory.Exists(tempDir))
    System.IO.Directory.Delete(tempDir, true);
    return outPutFile;
    using System.IO.Compression.FileSystem.dll.
    Also if you want to do it using powershell You need to do the same thing unzip-> changes values-> zip
    So basic thing is You need to ahve only valid AppManifest file which contains 2 valid values Client Id and StartUrl
    if you changes it inside appmanifest manuall than it will also work. Using above code you can create a console Application to do it. You can use powershell it just that i dont know how to zip unzip in powershell but i am pretty sure you can easily find it
    on searching.
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • TS1363 i have a new iphone 5 and although I had a little trouble downloading all my apps and music, i did this successfully but now when I connect to my itunes, itunes doesn't see it and also bluetooth doesn't seem to be working.Can  Anyone help

    I have a new iphone 5 and although I had a little trouble downloading all my apps and music, I did this successfully but now when I connect to my itunes, itunes doesn't see it and also bluetooth doesn't seem to be working.Can  Anyone help?

    Hey leafxxx,
    Thanks for the question, and welcome to Apple Support Communities.
    The following resource provides troubleshooting steps if your iPhone is not displayed in iTunes when connected:
    Apple - Support - iPhone - iTunes Troubleshooting Assistant
    http://www.apple.com/support/iphone/assistant/itunes/
    For more detailed instructions, see this article:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Enjoy your new iPhone 5!
    Matt M.

  • Deploying Java Desktop App using executable JAR files

    Hi there.
    Today I am very optimistic about java. I am a beginner, and I had tried (in my few free time) to understand how to deploy java desktop apps.
    I am using the lattest NetBeans IDE to do the programming and it is very very fast and optimized.
    Going to the point, I tried some time ago to deploy an application (made with this IDE) using JAR files, but even though the application run well on my IDE, when I packed it, it rised an error saying that
    java.lang.NoClassDefFoundError: org/netbeans/lib/awtextra/AbsoluteLayout
    I was using an absolute layout on my JFrame forms and this AbsoluteLayout is provided by netbeans and not by the normal SDK.
    I then looked for the absolute layout class and found a jar file in the following path:
    C:\netbeans\modules\ext\AbsoluteLayout.jar
    So I mounted the Jar file in my File Systems and then added the contents of the file to myApp.Jar file.
    I used the automated Jar Recipe Packaging feature of netbeans, that is why I needed to mount the AbsoluteLayout.jar file into my file systems.
    Now it runs fine by just right clicking the MyApp.jar file from Windows Explorer.
    In a next reply to this topic I will include some sample code so that anybody requiring to do such implementation can take this for help.
    Regards!
    JN

    Well,
    I will take some time here to show the basic source code and procedure to create a desktop application, pack it up in a Jar file for deployment, add other classes or jars to the deployment jar file and finally open the jar file as an executable. This applies for either windows and linux environments.
    Take in count i am using Netbeans IDE 3.x (3.5)
    First I open the IDE and create a new project called MyDesktopApp. This is done by going to the menu Project / Project Manager. Then click on the New button and specify the project name and click on OK.
    At this point, the Filesystems tab in the project explorer is empty. So I mount a directory to store myDesktopApp in it. I selected c:\MyDesktopApp but you can select any name you want.
    To mount the directory you follow these steps:
    1. Right-click on File Systems
    2. From the contextual menu select Mount > Local Directory
    3. In the filechooser window, you just browse it and SELECT the directory to mount. Be aware that you can even create the directory on this window. Do not enter (double-click) into the directory you want to mount, just select it and click on finish...
    4.Then the directory entry appears under the filesystems node of the project explorer.
    Now you have to create your application. You can either create a package (special configured and tracked directory) or you can create the clases directly inside the directory. For tidy project, I will create the package.
    To create the package follow these instructions:
    1. Right-click on the mounted directory and from the contextual menu select New > Java Package
    2. In the New Wizard - Java Package window, type the package name and click on finish. I use the "MyDesktopApp" as package name.
    OK. Now the package is created under the mounted directory. Now we have to create the Main Class. In this case I will use a JFRAME as the main class but you can create any class you want.
    To create the JFRAME as main class follow these steps:
    1. Right click on the java package you just created and select New>JFRAME from the contextual menu. If you do not see the JFRAME option on the NEW sub menu you will have to select the All Templates option. I explain the All Templates option now on, it will be easier to use the JFRAME if available. Once you use JFRAME with the all templates then the JFRAME will show up in further NEW usage.
    2. So finally we used the All Templates, and you select the Java GUI Forms > JFRAME form option and click on NEXT.
    3. Give it a name. (I used MyDesktopAppFrm) and click on finish. Be aware you can set advanced options by clicking on next. But for the purposes of this topic we will use default options so click on FINISH
    4. A new JFRAME form appears inside your package. Right click on the form and select Set layout > Absolute Layout.
    5. Add some controls and code. I added a label and a button. And coded the ActionPerformed event of the button to say hello! on the label. this is up to you. The code just looks as follows:
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    // Add your handling code here:
    jLabel1.setText("Hello folks!");
    6. Compile and execute the form.
    Let's say this is our Desktop Application. Now We will pack it in a Jar in two steps...
    A. Create a JAR file (Recipe)
    1. Right-click on your package and select New > All Tempaltes (Long Route) You can also select New > JAR Recipe if available.
    2. On the New Wizard Window, choose the JAR ARchives > JAR Recipe template and click on NEXT
    3. I used MyDesktopApp as the file name and Defaults and then click on Next.
    4. Specify the JAR Contents. Select the Package (not the mounted folder) from the mounted file system and click on add and then click on NEXT twice...
    5. On the JAR Manifest window, click on GENERATE
    6. Edit the manifest in the window to add the following code:
    Main-Class: MyDesktopApp.MyDesktopAppFrm
    7. Ensure the Main-Class definition is the same as your java package and JFRAME name. Click on FINISH
    8. At this point we have a jar file in your project directory but this file wont run because it is missing some Netbeans clases that we will add in the next set of steps... Just to check, compile the file (right click on the JAR file and compile) and try to execute. It must compile but must not execute.(well if it executes you are done. It may execute if you did not set the lay out of the form as AbsoluteLayout)
    B. Add the AbsoluteLayOut to the JAR
    1. Right click on File Systems and select Mount > Archive Files
    2. Look for your netbeans installation folder and select the following file:
    .../netbeans/modules/ext/AbsoluteLayout.jar
    3. Click on finish
    4. Now the JAR File is mounted in the file systems.
    5. Right-click on your MyDesktopApp.JAR file and select properties.
    6. Look for the contents property click once on it and then on its elipsis button [...]
    7. From the FileSystems box in the Contents window, select the AbsoluteLayOut file and click on Add
    8. Then the system asks you if you are sure. Of course you are so click OK. (If not sure, just read the message text and click OK...:-))
    9. Click on OK
    10. Compile your JAR Recipe (right click on it and Compile)
    11. Now you must be able to run the file by right clicking it and EXECUTE.
    12. Also you must be able to run the file by double clicking the file from a Windows Explorer. You may receive a message asking to select the program to run the file with. You must browse and select the Javaw.exe file in the bin directory of your Java RUn Time installation. This is typically located at C:\j2sdk1.4.0_01\jre\bin or something like that. Use the File-Search feature of window to locate the JAVAW.exe file if needed.
    I hope this long explanation helps somebody to deploy Java Desktop applications. Please reply the message if it helps you just to know it was useful.
    Thanks for your time....
    JN

  • Trouble deploying a J2EE application using the J2EE 6.20 Deploy Tool

    I am having trouble deploying a J2EE application using the J2EE 6.20 Deploy Tool.
    I successfully create the WAR/EAR files, I then select deploy and the deploy process gets to 100% before displaying an error message.
    Can anybody help?
    Please see Deploy Tool log entry:
    01:39 -  **********************************************************
    05/01/17 10:19:16 -  Applying user role management mappings.
    05/01/17 10:19:16 -  Start updating EAR-file...D:\SAP_J2EEngine6.20_Cluster\deploying\carmodeller\carmodeller.ear
    05/01/17 10:19:27 -  Temp files deleted...
    05/01/17 10:19:27 -  Ear-file updated successfully for 11375ms.
    05/01/17 10:19:27 -  Start deploying ...
    05/01/17 10:20:15 -  Ear-file uploaded to server for 47297ms.
    05/01/17 10:21:47 -  ERROR: ID90506: NOT Deployed. ERROR returned from deploy service :
                         com.inqmy.services.deploy.container.DeploymentException: Can't init application carmodeller. com.inqmy.services.servlets_jsp.server.WebApplicationException: ID17110: Error in starting application carmodeller.java.lang.NullPointerException
                              at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.deploy(ServletsAndJspImpl.java:482)
                              at com.inqmy.services.servlets_jsp.server.WebContainer.commitDeploy(WebContainer.java:256)
                              at com.inqmy.services.deploy.server.DeployServiceImpl.commit(DeployServiceImpl.java:2848)
                              at com.inqmy.services.deploy.server.DeployServiceImpl.deploy1(DeployServiceImpl.java:512)
                              at com.inqmy.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:140)
                              at com.inqmy.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:184)
                              at com.inqmy.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:157)
                              at com.inqmy.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:108)
                              at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
                              at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
                              at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:153)
    05/01/17 10:21:47 -  **********************************************************

    Hi, it looks like the app has trouble starting up:
    05/01/17 10:21:47 - ERROR: ID90506: NOT Deployed. ERROR returned from deploy service :
    com.inqmy.services.deploy.container.DeploymentException: Can't init application carmodeller. com.inqmy.services.servlets_jsp.server.WebApplicationException: ID17110: Error in starting application carmodeller.java.lang.NullPointerException
    Did you have any errors on the compile of the code?
    You also want to check if the app is deployed (if so you may want to remove it before re-deploying it)

  • Having trouble with iCloud Photo Stream on a Windows Vista 64 machine.

    Having trouble with iCloud Photo Stream on a Windows Vista 64 machine.  Can you tell me why Photo Stream will not stay enabled.  When I reboot, it will disable not to mention that it will not get any pushed photos.  Is there a 64 bit version?

    Hello tw_mama,
    I was looking into the issue you are experiencing and found an article that may shed some light on the subject. It's called iCloud: Account troubleshooting found here: http://support.apple.com/kb/TS3988
    This section in particluar:
    I get an "Unsupported Apple ID" error when I try to sign in to iCloud from my iPhone, iPad or iPod touch.
    Depending on how you created your Apple ID, you may not be able to create an iCloud account with your current Apple ID. If your Apple ID works in the iTunes Store, App Store, Game Center, FaceTime, or with other Apple Services, your Apple ID should work for iCloud. Also, if you created your Apple ID while you applied for a job at jobs.apple.com, your Apple ID should work for iCloud. If you cannot use your Apple ID with any Apple Services, it might not be compatible with iCloud. Contact iCloud Support for assistance.
    All the best,
    Sterling

  • AccessDenied Error deploying Java JSP app using Eclipse to Azure

    Hi,
    Following the the tutorial for deploying java servlet app on Azure using Eclipse on windows.
    Getting AccessDenied error while trying to upload, sample works locally.
    Thanks
    Raj

    Hi Raj,
    Which tutorial do you follow? Please have a look at below article, it gives details steps about how to deploy application to azure use Eclipse, please try again step by step, hope this helps.
    #http://msdn.microsoft.com/en-us/library/azure/hh690944.aspx
    Best Regards,
    Jambor
    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.

  • I am having trouble with the "numbers" app on my MacBook Air. I go to print my document and that works just fine. I cannot however return to the document after printing. What do I have to do?

    I am having trouble with the "numbers" app on my MacBook Air. I go to print my document and that works just fine. I cannot however return to the document after printing. What do I have to do?

    RR,
    Not to worry, you're not the first to expect Print to finish by returning you to the edit mode. The thing is that Printing is so hit and miss with this version of the app, you will probably want to stay in the Print window for more than one attempt.
    Jerry

  • Are sideloading keys required to sideload Apps to domain joined OEM/retail Windows 8.1 Pro devices?

    Hello,
    I want to sideload a Microsoft Store App to a Lenovo Thinkpad 2 device. The device has an OEM / retail version of Windows 8.1 Pro installed and is part of an active directory domain network.
    With this preconditions and according to announcements by Microsoft, it seems to be possible since May 2014 to deploy Apps directly to these devices. Without the need to buy a sideloading key.
    To check this, I have generated an code signing certificate with makecert/Pvk2Pfx and then I followed the instructions in this
    blog article.
    Everything went fine, only the actual deployment with add-appxPackage didn't work. The installation aborts with the error message, that a developer or sideloading license is required, as no license or sideloading policy can be applied.
    Can anybody in this forum give me some advice to these questions:
    1. Does the new sideload licensing model for May 2014 also applies to OEM/retail versions of Windows 8.1, or is is volume licensing required?
    2. Has anybody managed to successfully sideload an App to a OEM / retail Windows 8.1 Pro device?
    3. At the moment I don't have access to the domain network. I can login with a domain user locally but changes to the local group policies and to the local certificate stores can't be confirmed by the domain controller. I'm not an administrator, so might this
    be a source of error?
    Thanks
    Tobias

    Hello Tobias,
    Please check if you can normally sideload Windows Store App in other domain-joined OEM computer.
    About the OEM issue, it is recommended to contact the manufacturer.
    Best regards,
    Fangzhou CHEN
    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

  • Mail crashes every time I open after 10.5.1 update

    Every time I open mail it just crashes right away. I've tried repairing permissions, tried shift click, and also tried from a different/new user account. Any ideas? I have been having the same problem with iCal since I installed leopard but I don't u

  • Flash doesn't work on PBS website

    Recently, I installed a new hard drive in my MacBook. I used the opportunity to install fresh copies of everything. When I go to http://www.pbs.org/newshour/bb/politics/jan-june13/shieldsbrooks_06-14.html, all I get is a black screen where the flash

  • HELP!! Hyperlinks in the wrong place

    Please Help!!! I have created a a word document with Bookmarks and hyperlinks to the bookmarks and it works fine however when i upload it to adobe proffesional some of the links go the wrong pages??? This is all new to me but i cant work out whats go

  • Faulty iphone 5s display

    I really need some help. I just got my brand new iphone 5s for Christmas and my screen is changing colors. Depending on what picture or app I may have up the colors tend to vary but remain long horizontal lines running from top to bottom. Please help

  • SUBMIT BY EMAIL - script to specify default email client?

    hello, Is there any way to open the desktop email application directly with a submit button? i.e. to eliminate the pop-up windows (select email client, send data file) - We are trying to reduce the number of steps for the user in order to submit his