Silverlight for Windows Phone Project Template missing

Windows Phone SDK 7.1 automatically installs Microsoft Visual Studio 2010 Express edition.
If you have installed another edition of Microsoft Visual Studio 2010 you can also use this to create Windows Phone Projects.
Microsoft Visual Studio 2010 Express edition and the other editions are stored in the same Program Files folder “Microsoft Visual Studio 10.0”.

Cause:

Silverlight for Windows Phone Project Template is installed but in another language so when you try to create a new Project with the other Microsoft Visual Studio 2010 edition (NOT EXPRESS) the Silverlight for Windows Phone value into the Installed Templates list is missing.

Solution 1:

Uninstall Windows Phone SDK and reinstall it in the same language of the other Microsoft Visual Studio 2010 edition.

Solution 2 (UNDER THE HOOD):

Follow these Steps:

  1. Understand Microsoft Locale ID Values, it’s a table with correspondence between Language and Local ID.
  2. Store the Local ID value of your other Microsoft Visual Studio 2010 (NOT EXPRESS) editions languages.
  3. Go under <Visual Studio Install Path>\\Common7\\IDE\\ProjectTemplates\\<Language>\\Silverlight for Windows Phone\\
    for example:

    C:\\Program Files\\Microsoft Visual Studio 10.0\\Common7\\IDE\\ProjectTemplates\\CSharp\\Silverlight for Windows Phone
    
  4. Copy and paste the folder inside “Silverlight for Windows Phone” (for example: “1033”) and rename it with the other Local ID (stored at the Step 2).
  5. Repeat Steps 3-4 for each language you’ll use.
  6. Close all Microsoft Visual Studio 2010 running instances.
  7. Run a Command Prompt Window “as Administrator” and enter the following command (devenv is located in <Visual Studio Install Path>\\Common7\\IDE\\):
    devenv /InstallVSTemplates

    this operation, that registers the installed templates, may take several minutes.

Now you can create your Windows Phone Project with all your Microsoft Visual Studio 2010 editions.

NOTE:
If my solutions not work you can try to run the following command:

devenv /ResetSkipPkgs

that clears all SkipLoading tags added to VSPackages.

References:
Devenv Command Line Switches

Did my solution solve your problem? Leave a reply.

HOW TO resolve IP address to hostname

Open a Command Prompt Window (Start -> Run -> cmd) and execute the following command:

ping -a {IP address}

for example:
ping -a 192.168.1.1

Or

nslookup {IP address}

for example:
nslookup 192.168.1.1

Did my HOW TO help you? Leave a reply.

Olivetti Tablet Olipad 110 (OP110) or Medion Lifetab P9514 FGx driver for adb (Android Debug Bridge) tool on Microsoft Windows 7

Download Google USB Driver, run a text editor (like Notepad) “as Administrator” then open ‘android_winusb.inf’ file inside the USB driver folder. (The Google USB Driver is located in <android-sdk>extras\google\usb_driver\.)
Just add these new lines under [Google.NTx86] or [Google.NTamd64] (depending on whether you are using 32 bit or 64 bit Windows) and save it.

;Olipad 110 or Lifetab P9514
%SingleAdbInterface% = USB_Install, USBVID_0408&PID_B009&MI_01
%CompositeAdbInterface% = USB_Install, USBVID_0408&PID_B009&REV_9999&MI_01

Note:
USBVID_0408&PID_B009&REV_9999&MI_01
USBVID_0408&PID_B009&MI_01
are written in Device Manager, expand Unknow Device, right-click on FGx, Properties, Details tab, Hardware Ids  property.

Open a Command Prompt Window (Start -> Run -> cmd) and execute the following command:
echo 0x408 >> "%USERPROFILE%\.android\adb_usb.ini"

Note: Just add new line with ‘0x408’ value the VID (Vendor ID) number (VID_0408) written like hexadecimal format into ‘adb_usb.ini’ file that is located in C:\Users\<username>\.android\

Now Google USB Driver are configured to support FGx hardware.

To be able to use adb and other SDK tools with your device, you can proceed as follows:

  1. On your tablet, go to Menu > Settings > Applications > Development and enable ‘USB Debugging’.
  2. Connect your Android Hardware Device to your computer’s USB port. You will get a notification that some drivers were not installed, which is OK for now.
  3. Right-click on Computer from your desktop or Windows Explorer, and select Manage.
  4. Select Device Manager in the left pane of the Computer Management window.
  5. Locate and expand Unknow Device in the right pane.
  6. Right-click FGx and select Update Driver. This will launch the Hardware Update Wizard.
  7. Select Install from a list or specific location and click Next.
  8. Select Search for the best driver in these locations; un-checkSearch removable media; and check Include this location in the search.
  9. Click Browse and locate the USB driver folder. (The Google USB Driver is located in <android-sdk>\extras\google\usb_driver\.)
  10. If you get any warnings prompts telling you that the driver might not be compatible, just choose to continue installing.
  11. Once the drivers have been installed, you should be able to use adb with your device.
  12. To confirm that your device is recognized, launch a Command Prompt window and enter these commands (adb tool is located in <android-sdk>\platform-tools\.):
    adb kill-server
    adb start-server
    adb devices

    If you see your device name or a few numbers as the output under the list of devices, your device is now recognized by adb.

Did my solution solve your problem?

mendelson AS2 solution – “…Caused by: java.security.UnrecoverableKeyException: Password verification failed”

After mendelson AS2 solution upgrade when you lauch

java -jar start.jar etc/jetty.xml etc/jetty-ssl.xml

from Command Prompt Window (Start -> Run -> cmd) to unable SSL configuration for the Jetty Server show the following lines:


1906 [main] INFO org.mortbay.log – Started SelectChannelConnector@0.0.0.0:8080
1922 [main] WARN org.mortbay.log – failed SslSocketConnector@0.0.0.0:8443: java.
io.IOException: Keystore was tampered with, or password was incorrect
1922 [main] WARN org.mortbay.log – failed Server@16ef71: java.io.IOException: Ke
ystore was tampered with, or password was incorrect
1922 [main] WARN org.mortbay.log – EXCEPTION
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocket
Connector.java:240)
at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSock
etConnector.java:448)
at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:28
3)
at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:14
7)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at org.mortbay.jetty.Server.doStart(Server.java:235)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
Caused by: java.security.UnrecoverableKeyException: Password verification failed

… 20 more

Cause:

The passwords stored in
..\mendelson\opensource\as2\jetty\etc\jetty-ssl.xml
are incorrect.

Solution:

Insert the correct passwords or replace the file jetty-ssl.xml from a backup.

Did my solution solve your problem?

Citrix – “Error number 2320 Citrix Receiver Configuration Manager: No value could be found for (ClientHostedApps) that satisfies all lockdown requirements. The lockdown requirements in force may be conflicting.”

Citrix Receiver

Citrix Receiver

Citrix Receiver client produces the following error when trying to launch a published application:

Error number 2320
Citrix Receiver Configuration Manager: No value could be found for (ClientHostedApps) that satisfies all lockdown requirements. The lockdown requirements in force may be conflicting.

Solution:

The most salient part of the error message is in between the parenthesis: ClientHostedApps is a registry value.

Open the registry editor
Click on the start button and then on run type regedit and click OK.

Navigate in the registry
on 32-bit systems:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Citrix\\ICA Client\\Engine\\Lockdown Profiles\\All Regions\\Lockdown\\Virtual Channels\\Control

on 64-bit systems:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Citrix\\ICA Client\\Engine\\Lockdown Profiles\\All Regions\\Lockdown\\Virtual Channels\\Control

Right-click ClientHostedApps and select Delete.

Now you can launch your published application.

My configuration: Windows 7 Home Premium Service Pack 1 and Receiver 3.0 For Web Access.

Update: (thanks to comments by Denis, Satish and JapyDooge)
on Windows 7 64-bit or w2k8 64-bit or Windows 7 Enterprise is located in

HKEY_CURRENT_USER

Did my solution solve your problem? Leave a reply.

SQL Server – “SQL Server replication requires the actual server name to make a connection to the server. Connections through a server alias, IP address, or any other alternate name are not supported. Specify the actual server name, ‘{old_name}’. (Replication.Utilities)”

If network name or server name is changed and you want to setup the server for replication you’ll receive the following error message:

SQL Server replication requires the actual server name to make a connection to the server. Connections through a server alias, IP address, or any other alternate name are not supported. Specify the actual server name, ‘{old_name}’. (Replication.Utilities)

To get the Current Server Name (Instance Name) run these two queries in Microsoft SQL Server Management Studio that return old_name

sp_helpserver
select @@servername

Solution:

Run this:

sp_dropserver 'old_name'
go
sp_addserver 'new_name','local'
go

then start Command Prompt Window (Start -> Run -> cmd) and execute the following command:

net stop mssqlserver
net start mssqlserver

to restart SQL Server Service.

Did my solution solve your problem?

HOW TO get the Process ID (PID) of a Service

Start Command Prompt Window (Start -> Run -> cmd) and execute the following command:

tasklist /svc

Otherwise, if you know the Service Name you can use

sc queryex {Service Name}

Did my solution solve your problem?