Binary Expressions

2008-11-12

Country of Israel Districts

Filed under: — Adam @ 9:22 am

The country of Israel is broken up into 6 administrative districts with 15 sub-districts and 50 natural regions. It is my understanding according to the Isarael Central Bureau Statistics that the sub-districts are similar to what we call Provinces/States in North America and the natural regions are similar to municipalities/counties.

I’m not fully understanding the West Bank, Gaza Strip, Golan Heights and East Jerusalem. Are they territories of Israel or a part of another country? How would one reference where you lived if you were lived in one of these regions (ie. West Bank, Isarel)?

This knowledge maybe helpful for those that need to reference contact information or allow clients to select their country and province/state/district.

Source: Israel Central Bureau Statistics
Source: Districts of Israel
Source: Wikipedia on Israel

2008-11-10

Windows Vista - USB Flash Drives Not Mounting

Filed under: — Adam @ 11:01 am

Background Knowledge


For some unknown reason my Windows Vista™ Ultimate with service pack 1 quit mounting USB flash drives. I’ve tried multiple flash drives and none would mount as a removable drive. At first I started to use a different USB port but eventually it didn’t matter what USB port I used the USB flash drives would no longer mount. I know for a fact my USB flash drives are fine as they mounted without any problems ever on Windows 2000 with service pack 4, Windows XP with service pack 2 and Edubuntu.

Solution


Uninstall the USB device dirver(s) that you are experiencing problems with. This can be done via your Windows Vista™ device manager or what I recommend to use is “USBDeview” (freeware) software application produce by NirSoft.

WARNING: Uninstall device drivers at your own risk.

NOTE: Be cautious uninstalling USB device drivers as you may render your keyboard, mouse or other devices unusable. Rebooting the computer system or plugging the USB device back into the system should cause the device drivers to reinstall. A manual installation of the device driver maybe required.

Uninstall USB Device(s) via Windows Vista™ Device Manager
  1. Go to Control Panel -> System or just press Windows Key + Pause (press and hold the Windows key then press the Pause key).
  2. On the left hand side left mouse click on “Device Manager”.
  3. Double left mouse click on “Universal Serial Bus controllers”.
  4. Right mouse click on the USB device driver you wish to uninstall and then left mouse click on “Uninstall”. Repeat this step for each device you wish to uninstall.
  5. A “Comfirm Device Uninstall” dialog will appear, left mouse click on “OK”.
  6. Close “Device Manager” window.
  7. Reboot (restart) computer system.
Uninstall USB Device(s) via USBDeview
  1. Load the “USBDeview” software application.
  2. Select the device(s) you wish to uninstall. Right mouse click on one of the device(s) and then left mouse click on “Uninstall Selected Devices”.
  3. You will be prompted with a confirmation dialog, left mouse click on “Yes” to uninstall device driver(s).
  4. Close “USBDeview” software application.
  5. Reboot (restart) computer system.

Source: Download NirSoft’s USBDeview for Windows 2000/XP/2003/Vista.

2008-11-5

C#.Net - Parse Error Could Not Load Type

Filed under: — Adam @ 2:09 pm

Background Knowledge


My web application ran fine locally but then experienced the “Prase Error Could Not Load Type” error message when I copied the files to the web server. In my case I was producing a web application using Visual Studio 2005 and coding in C#.NET.

Example of Error Message


Server Error in ‘/CustomErrorPages’ Application.


Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type ‘CustomErrorPages.WebForm1′.

Source Error:

Line 1: < %@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="CustomErrorPages.WebForm1" %>
Line 2:
Line 3: < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Source File: /CustomErrorPages/WebForm1.aspx Line: 1

Solutions


  • Make sure you compiled your project.
  • Make sure your bin folder is in the correct location with the DLL, in this example case “/bin/WebForm1.dll”.
  • Make sure that you created a virtual directory or application root for your project.
  • Make sure you have the correct .NET Framework set in IIS that is required for the application.
  • Make sure you copied all the required application files.

Take back your mailbox - CAUCE.org

Powered By Wordpress PHP: Hypertext Preprocessor MySQL Powered Download Juice, the cross-platform podcast receiver
Proud To Be Canadian Get Firefox Valid XHTML Valid CSS
<NO>OOXML Logo


24 queries. 0.440 seconds.
Copyright © 2004 - 2005 by Adam Douglas