Hi Folks,

I recently purchased Mono for Android Professional (I am using MonoDevelop
on Windows XP SP3), and after installation I created an empty project and
chose "Run | Start Without Debugging...".

On the "Select Device" window, I saw the text "Trial version only supports
the emulator.", and saw the "Activate" button.

After entering all of my information, I clicked on the Activate button and
received the following red error message:

"Activation failed: Please check your activation code"

I checked my activation code and it was correct. I also checked my "Full
Name", "Email", "Company", "Phone Number", and all were spot-on matches to
exactly the same information I purchased the product with.

I clicked on the Activate button again.

The same message was issued: "Activation failed: Please check your
activation code".

I closed MonoDevelop, re-booted my machine, came back into MonoDevelop, ran
my project, again entered my registration info, clicked on the Activate
button again, and the same message was issued: "Activation failed: Please
check your activation code".

I sent an E-MAIL to Xamarin, waited 4 days, and did not receive a response.

I then concluded that they would likely not respond to me. Don't know why,
but after 4 days you kind of "get the message", which appeared to me: "you
are on your own to solve this".

I then went to Xamarin's site to search for info on registration
troubleshooting, and came across this notion of "Offline Activation". Seemed
like a good fit for me.

The docs for offline activation recommended I create this folder (which I
did)...

C:\Documents and Settings\All Users\Application Data\Mono for
Android\License

...and put a file in it, i.e., a file created by the offline activation
procedure. Off I was to the offline activation procedure...

Using IE, I went to this page to check my license and view/perform the
offline activation procedure:

https://store.xamarin.com/Account/Products

I clicked on the "Problem Activating?" link and a white window appeared. I
quickly deduced that this was some sort of browser/CSS issue and switched
browsers to FireFox, went back to the same site, and a black offline
activation procedure window (a black CSS layer of some sort) was displayed.

The instructions on the black offline activation procedure window displayed
tips for Windows and Mac OS/X, and since I am using Windows (Windows XP SP3)
I read the Windows section, which read:

"In Mono for Android 1.0.21316 and later, if activation within Visual Studio
fails then a MfaActivation.dat file will be created within the Documents
folder. Select this file below."

This does not apply to me because I am using MonoDevelop (don't have Visual
Studio) and thus there is no MfaActivation.dat file to select.


The fields "Name", "Email", "Company", "Phone", and "Activation Code" were
all pre-populated with my correct information, and Activation File and
Upgrade Code were both blank.

Since this option appears to depend upon the file uploaded in the field
"Activation File", and since I am running under Windows without Visual
Studio and did not have that file (MfaActivation.dat) I could not, it
appears, use the Offline activation procedure.

Because I was stuck, I decided to check every web posting I could find
(stackoverflow, this forum, the Xamarin support site, general Google
searches) and I was able to find 2 general groups of information:

1. Activation is a problem for a number of folks due to "authenticating
proxy" issues.
2. Use mandroid.exe command line tricks to get registered.


I checked my IE proxy settings on my machine (I don't use an authenticating
proxy) and there were none.

I use a Netgear N600 Wireless Dual Band Router (model WNDR3400) router, and
as far as I can tell, I am like any other schmo with an internet connection.

That left me with only the command line mandroid.exe activation trickery,
which I did as (using all my valid purchase information):

*c:
cd "C:\Program Files\MSBuild\Novell"
mandroid.exe --activate --name "MyName" --company "MyCompany" --email
"MyEmail" --phone "MyCode" --code "99999-99999-99999-99999-99999"

*This command completed immediately with no response.

I then ran this command, as I had seen a post which indicated that the error
level returned by mandroid.exe would reveal if the product was activated or
not:

*c:
cd "C:\Program Files\MSBuild\Novell"
mandroid.exe --activated && echo "activated"
*
The value returned was:

*"activated"
*
I then came back into MonoDevelop, ran my project, and the message "Trial
version only supports the emulator." appeared again.

I then ran my final command before realizing this had all been for naught:

*c:
cd "C:\Program Files\MSBuild\Novell"
mandroid.exe --activated > %TEMP%\o.txt 2>%TEMP%\e.txt & echo %errorlevel%
*
The value returned was:

*"License file is missing.  Please activate Mono for Android."
*

I lastly added C:\Program Files\MSBuild\Novell;C:\Program
Files\MonoDevelop\bin to my Windows path, thinking that somehow there were
Xamarin assemblies that were not being found by either MonoDevelop and/or
Mono for Android and that this causing the activation procedure to fail.
This did not solve the problem.

A reasonable person might conclude from this experience that I just
purchased a trial for $400.

What am I missing here?

Any help would be appreciated.

Regards,
Tony.




--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Offline-Activation-under-XP-SP3-Without-Visual-Studio-tp5712668.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to