Android App Inventor Does Not Detect Device

August 25, 2010 – 5:53 pm

Symptoms

The codeblocks returns the following error when you click to connect to your phone:

Cause

The phone was not connected at the time when the App Inventor was launched, installed, or at some other crucial time.

Solution

Open a command prompt (in Linux) and type the following:

cd /usr/google/appinventor-extras/commands-for-applications

and then

sudo ./adb devices

if a bunch of question marks is displayed then it does not detect your phone

Type this to reset the connection:

sudo ./adb kill-server

and then

sudo ./adb devices

to display the attached device.  Reminder: Make sure your phone is setup to stay awake in the Application>Developer settings

Google App Inventor on Ubuntu

August 25, 2010 – 5:35 pm

Symptoms

Through either Chrome or Firefox the codeblocks would not load and download the same file every time you click on the button inside App Inventor web site.

AppInventorForAndroidCodeblocks.jnlp

Firefox would not open with the Sun version of java even though it is designated as the default java (using the “update-java-alternative” command)

Cause

Firefox did not automatically map the java plugin to run.

Solution

Browse to the Sun java when prompted here:

/usr/lib/jvm/java-version-specific/bin/javaws

and then it will open!

Linux check free disk space

August 25, 2010 – 2:15 pm

Simple task and simple command to check free disk space in Linux:  df -h

That will display free disk space in a human-readable format

More information can be found here:  http://www.computerhope.com/unix/udf.htm

CRM Data Migration Manager Errors Sign-in

August 25, 2010 – 2:03 pm

Symptoms

Microsoft CRM Data Migration Manager gives an error when signing in when synchronizing the data.

  • You must have the system administrator security role to use this tool
  • An error occurred.
  • No error, just takes you back to the sign in welcome screen

Cause

There are some prerequisite components that get installed as part of an update rollup (perhaps with UR6) that get used by a subsequent rollup, even though rollups are supposed to be cumulative.

Solution

Remove the DMM update rollup that is installed, install update rollup 6, and then install update rollup 7 or whatever is applicable to the environment.  In my testing I was not prompted to reboot.

Scribe error: Guid should contain 32 digits with 4 dashes

August 24, 2010 – 10:47 am

Symptoms

Scribe error: Guid should contain 32 digits with 4 dashes

Cause

Occurs when one of the GUIDs mapped is not being populated as a GUID, which includes empty values.

Solution

Review every GUID in the insert step in the Scribe preview to ensure that every GUID is actually being populated

Display Network Card Speed in Linux

August 13, 2010 – 5:21 pm

Symptoms

Show the actual throughput speed of the network card to see if the router speed is performing as expected.

Solution

In a terminal, type the following:

sudo lshw -C network

The “size” is 100MB/s or 1GB/s

CRM Attachment Error After Applying Update Rollup

August 10, 2010 – 12:08 pm

Symptoms

After applying an update rollup, notably update rollup 7, the attachments on emails and other entities give an error viewing.

Also, the following error may occur when attempting the Microsoft instructions from KB article 974597

Column ‘BlockedAttachmentsForDownload’ does not exist on the table Deployment

DeploymentConfigToolError

Solution

Apply the update with IIS stopped, and only start IIS when the install wizard asks for it.

Solution for Microsoft CRM Not Displaying Inactive Records in an Associated View

July 25, 2010 – 3:35 pm

Symptoms

In Microsoft CRM 4.0, inactive records to not show up in the associated view.  For example, in the Accounts entity, you view the related contacts, and only the active ones appear and there is no way (aside from an Advanced Find) to show them.

Cause

The associated view is prefiltered to show only active records.

Solution

1. Export the entity, find the filter tag in the “columnset” in the XML but don’t remove it.
2. Change the filter to <filter /> and then import it back and publish the entity.
3. View the associated view and it will crash with an ugly error.
4. Go back and remove the <filter /> tag entirely, re-import, and publish it.  Verified the inactive records appear.

Scribe DBLOOKUP More Stable Alternative

July 22, 2010 – 3:31 pm

Symptoms
An integration had an issue where the DBLOOKUP was not reliably, i.e., inconsistently, returning a customer ID value that I knew was in the database.
Cause
Scribe does not assign variables in an entirely predictive way, not necessarily when invoked.  Intuitively, you would think that if a value is used in a formula and if the process doesn’t know the answer it will look it up, but sometimes it does not.
Solution
Add a seek step to lookup the value, and then create a ‘target’ formula to create a variable from the desired field in the seek.  That variable should replace wherever the variable was formerly used the DBLOOKUP

Error Creating New User in CRM

July 21, 2010 – 9:29 am

Symptoms

Error when creating a new user, either from the Multiple Users wizard or single user at a time.

Diagnostic utility returns the following error:  Crm Exception: Message: , ErrorCode: -2147016649

Cause

Active Directory authentication or lookup issue.  Potentially relating to one of the domain controllers not replicating properly.

Solution

Flip the toggle for Active Directory in the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM …set the registry key AutoGroupManagementOff to the value of 1