Build Windows CE apps in Rhostudio - ruby-on-rails

I installed the RhoMobileSuite 5.2.2. I've a regular account in rhomobile.com.
When I try to run apps with run configuration ( windows mobile / windows CE ) it doesn't work and I get this error:
PWD: C:\Users\Administrator\workspace\store
CMD: rake run:wm
rake aborted!
Exception: Could not build licensed features
Tasks: TOP => run:wm => config:wm => config:common
(See full trace by running task with --trace)
-$TIME$- message [ First timestamp ] time is { 2015-09-05T10:52:55Z } milliseconds from start (0)
Connecting to rhomobile.com
Starting rhodes build system using ruby version: 1.9.3
-$TIME$- message [ config:common ] time is { 2015-09-05T10:53:02Z } milliseconds from start (6820)
Connecting to rhomobile.com
**** NOTE: You use sdk parameter in build.yml ****************************************************************
To use latest Rhodes gem, run migrate-rhodes-app in application folder or comment sdk in build.yml.
**************************************************************************************************************
**** ERROR: Could not build licensed features. ***************************************************************
You have free subscription on rhomobile.com. RhoElements features are available only for paid accounts.
The following features are only available in RhoElements v2 and above:
- Barcode extension
- Indicators extension
- HardwareKeys extension
- CardReader extension
- Signature Capture
- Windows Mobile/Windows CE platform support
- Symbol device capabilities
- Symbol WebKit Browser
For more information go to rhomobile website
In order to upgrade your account please log in to https://rms.rhomobile.com
Select "change plan" menu item in your profile settings.
**************************************************************************************************************
I've Windows 7 ultimate edition & Visual studio 2013 ultimate edition
I can run apps with rhostudio on iphone, android and win 32 rhosimulator
any help ?
`

First of all, to build Windows CE/Windows Mobile applications you need Visual Studio 2008, that's the latest Visual Studio version that support those Operative Systems.
I've done a quick test and it works for me using RMS v5.2.2 and Visual Studio 2008 (plus the WM6.5.3 SDK and the Symbol MC3000 PSDK for Windows CE support, you can find the detailed setup on RMS documentation).
If you're moving a project from a previous RMS version to the latest available, always remember to do a rake clean:<your target platform> as a first step.
Edit: Forgot to mention the very important thing that, Windows Mobile/Windows CE support, requires a paid license. You can get more information on RhoMobile website and looking at the API list where, everything linked to Windows Mobile/Windows CE is marked as a paid feature.

Related

Unable to install website msi using command line in Window10

Overview : Installing a MVC3 Website using C# command line. The application installed correctly in Win7, win8, server 2008 & 2013. The same installer not working in window10 after configure IIS correctly.
Error Message :
Product: Web Client -- This setup requires Internet Information Server 5.1 or higher and Windows XP or higher. This setup cannot be installed on Windows 2000. Please install Internet Information Server or a newer operating system and run this setup again.
Error Message in Event log(MsiInstaller) :
Windows Installer installed the product. Product Name: Web Client. Product Version: 3.x.xx. Product Language: 1033. Manufacturer: xxxx. Installation success or error status: 1603.
Installer code :
Process p = new Process();
p.StartInfo.FileName = msiexec.exe;
p.StartInfo.Arguments ="/qn /i \"" + Settings.InstallationDirectory + "Website\\WebClient.msi\"";
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.Start();
p.WaitForExit();
unable to see installed website in IIS.
I discovered there was some configuration problems with the Conditions Editor (Requirements on Target Machine)
Walkthrough:
Go to the setup project setup and Launch the Conditions Editor.
Right click on the IIS Condition and view the properties
Check Condition Formula; it should as the following:
(IISMAJORVERSION >= "#5" AND IISMINORVERSION >= "#1") OR IISMAJORVERSION >= "#6"
If you want to install on IIS Version 7.5 and above then use the below condition formula:
(IISMAJORVERSION >= "#6" AND IISMINORVERSION >= "#1") OR IISMAJORVERSION >= "#10"
In Windows 10 Default IISMINORVERSION value = 0 (but my code is 1 and i have modified my setup accordingly).
How to fine MIN and MAX Value :
Open system registry
Move to following location "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters"
Left side panel find the MIN and MAX default values (refer below the screen)
Above the changes working for me and let me know if any
Change the Search Target Machine condition properties
IISMAJORVERSION, IISMINORVERSION Root Value to vsdrrHKLM
Remove the <> from Launch condition of build and again build the project, this is how I solved my problem.
I needed to install IIS 6 Management Compatibility (more exactly IIS Metabase and IIS 6 configuration compatibility) feature within Internet Information Services -> Web Management Tools to make it work on IIS 10.

Error verifying the remote agent configuration 'vs-mda-remote test' fails with 'Error: not enough data'

I am following steps according to "Install Tools to Build for iOS" on msdn https://msdn.microsoft.com/en-us/library/dn771551.aspx, to setup an iOS build..
On my Mac, I get the following error when I execute the "vs-mda-remote test" command..
Initializing self test for https
downloading cert for pin 390276
Downloading client cert for selftest from https://myMac:3000/certs/390276 to /Users/fred/remote-builds/selftest/selftest-client.pfx
pfxPath: /Users/fred/remote-builds/selftest/selftest-client.pfx
serverUrl: https://myMac:3000
buildUrl: https://myMac:3000/build/tasks?vcordova=4.1.2&cfg=release&command=build&options=--emulator
_tls_common.js:176
c.context.loadPKCS12(pfx);
^
Error: not enough data
at Error (native)
at Object.createSecureContext (_tls_common.js:176:17)
at Object.exports.connect (_tls_wrap.js:850:21)
at Agent.createConnection (https.js:82:14)
at Agent.createSocket (_http_agent.js:194:16)
at Agent.addRequest (_http_agent.js:166:23)
at new ClientRequest (_http_client.js:154:16)
at Object.exports.request (http.js:49:10)
at Object.exports.request (https.js:136:15)
at Request.start (/usr/local/lib/node_modules/vs-mda-remote/node_modules/request/request.js:674:30)
The server appears to be sending one..
vs-mda-remote
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
0.2.7
Loading resources for language en from /usr/local/lib/node_modules/vs-mda-remote/resources/en/resources.json
Build Retention initialized with baseBuildDir /Users/fred/remote-builds/builds, maxBuildsToKeep 20
Initialized BuildManager with installedCordovaVersion: 4.1.2; baseBuildDir /Users/fred/remote-builds/builds; maxBuildsInQueue 10; deleteBuildsOnShutdown true; allowsEmulate true; nextBuildNumber 1479
ios-sim is installed on path at: /usr/local/lib/node_modules/vs-mda-remote/node_modules/ios-sim/build/release/ios-sim
Remote build server listening on [https] port 3000
GET /certs/390276 200 1ms - 3.51kb
Trouble shooting tried:
- to ensure that iOS profiles and xCode developer certs exist - I tested that I can deploy a test app to an iPad.
- rerun install and checked every message to look for failure, none
- regenerated serverCert and clientCert multiple times
possibly linked
- the pfxPath is valid and a pfx does exist. (other issues around this issue indicate that a passphrase must be passed to the context object and I cannot find any passphrase being passed, but this code https://sourcegraph.com/github.com/joyent/node/.CommonJSPackage/node/.def/commonjs/lib/_tls_common.js/-/createSecureContext #176 seems to handle no passphrase..
I've just had the same problem, but managed to figure it out - the following was configured Mac
1: Start the Server without TLS security
vs-mda-remote --secure false
2: Test the server (launch another terminal)
vs-mda-remote test --server http://localhost:3000
At this point - you shouldn't get any errors (this was failing here because the test mode seems to use TLS by default, and the only way to test with no security, is to manually specifiy the server URL)
3: Configure visual studio as per the documentation
https://msdn.microsoft.com/en-us/library/dn771551.aspx
I have managed to get mine working great as of about 5 minutes ago using this. One point to make, in visual studio (2003 + CTP3.1) make sure you select iOS (to the right of the build mode drop down), if you don't select iOS then the iOS specific devices will not appear in the run list - sounds trivial, but it took me a few seconds scratching my head why I couldn't deploy to iOS remotely when I had Android build selected
Hope that helps you out!

RhoMobile rake Windows Mobile Error

I am receiving an error message whenever I try to compile a test RhoMobile application developed in RhoStudio. The test application was developed using the instructions provided here:
http://docs.rhomobile.com/rhostudio.tutorial
The compile command issued was:
rake run:wm
The error message received at the end of the compile sequence was:
CMD: vcbuild /M4 rhodes.sln "Release|MC3000c50b (ARMV4I)" rake aborted
I am running the application on Windows 7 64 bit, with the compiler configured according to these specifications:
http://docs.rhomobile.com/rhodes/build#build-for-windows-mobile
Would it be possible for somebody to inform me as to why this error message is occuring? Thank you.
Cheers
The first thing to check is your rhobuild.yml file and see if the windows mobile specifics are well configured. Mine for example has this:
cabwiz: "C:/Program Files/Windows Mobile 6 SDK/Tools/CabWiz"
vcbuild: "C:/Program Files/Microsoft Visual Studio 9.0/VC/vcpackages/vcbuild.exe"
msbuild: "C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe"
Also, is there any other message showing a vcBuild error?
I used to have this error for example:
vcbuild.exe : error VCBLD0007: Could not find project configuration
RELEASE|WINDOWS MOBILE 6.5.3 PROFESSIONAL DTK (ARMV4I) to build.
If you haven't already check in the Rhomobile Google group. There are probably similar problems there and can give an extra insight.

Grails extension in SpringSource Tool Suite errors

I recently installed SpringSource Tool Suite. And I want to start working with Grails projects. So, I went to the Dashboard -> Extension, where I saw two extensions: Grails (current production release) and Grails Support as in the image below.
But when I try to install them, I get the following errors :
Problems occurred while performing installation: Operation details
Operation details
Cannot complete the install because one or more required items could not be found.
Software currently installed: Shared profile 1.0.0.1340820181092 (SharedProfile_com.springsource.sts.ide 1.0.0.1340820181092)
Missing requirement: Shared profile 1.0.0.1340820181092 (SharedProfile_com.springsource.sts.ide 1.0.0.1340820181092) requires 'org.maven.ide.eclipse [1.0.100.20110804-1717]' but it could not be found
What can I do to resolve this error ? Or are there any other options I can follow to install Grails extension?
Thank you!
I would switch to the new "Groovy/Grails Tool Suite" that was recently announced (see http://www.springsource.org/node/3582). Go to the standard download page at http://www.springsource.org/downloads/sts and click "Other Downloads >". Download the version for your OS under "Milestone Version - Groovy/Grails Tool Suite 3.0.0.M2".
It is a beta/milestone release but I've been using it since it was released and it's as stable as a final release so far. It's convenient since the Groovy-Eclipse plugin and the Grails support are already configured for you, in addition to the latest Grails (2.0.4). Any other plugins that you need from the standard STS can always be installed using the standard install/update procedure.
Yes, what #BurtBeckwith said. You should move to the new GGTS.
However, to address your particular problem, you installed STS into a read-only directory (or in C:\Program files). You need to re-install it somewhere else.
The Eclipse p2 installer cannot handle installing feature patches into a read-only directory. Groovy-Eclipse ships with a feature patch to extend the JDT compiler. I believe that this problem was fixed in the Juno release of Eclipse (4.2), which came out last week.
Deleting corresponding application from Windows memory removed the problem (Grails extension in SpringSource Tool Suite errors). Double running applications (earlier and new) could also be reason why GGS or STS sometimes cannot save .groovy files (with error message or without).

Upgrading TFS 2005 to TFS 2010 - Migrating Sharepoint site

I recently did a migration upgrade from TFS2005 to TFS2010. Everything works, but the Sharepoint site wasn't migrated.
I attempted running the command below:
stsadm.exe -o addcontentdb -url http://NEWSERVER/sites -databasename STS_Content_TFS -databaseserver NEWDB
but I got the following error:
The pre-upgrade scan tool has not yet been run on this database SPContentDatabas
e Name=sts_content_tfs Parent=SPDatabaseServiceInstance. You must run the pre-up
grade scan tool before you can continue with the upgrade process. Run the tool f
rom the following path: C:\Program Files\Common Files\Microsoft Shared\Web Serve
r Extensions\12\bin\prescan.exe.
Unfortunately I have upgraded WSS from WSS2 to WSS3 on my source server, so I am unable to use prescan.exe.
Any other way to migrate the Sharepoint site from the old server to the new server?
Thanks
SQL Server: Connect to STS_Content_TFS
update Sites SET BitFlags = 262144
then follow steps here: http://msdn.microsoft.com/en-us/library/cc668750.aspx

Resources