Saturday 19 November 2011

SQL Server 2005 Management Studio 29506 Error

This error occure due to permission and require administrator rights while there are normal installation have some permission restrictions and inorder to overcome that  issue you need to install management studio with administrator permission.

To do this do follwing steps:
For Windows 7 64 bit you have to use the 64 bit CMD prompt (I didn't even know there was a separate version) and then run this as administrator. So I did the following…
1. Right click on desktop and click NEW – SHORTCUT
2. Create shortcut to C:\Windows\SysWOW64\cmd.exe
3. Right click on the new shortcut and Run AS ADMINISTRATOR
4. Enter full path and file name:
e.g. C:\Pathtoyousetupfolder\SQLServer2005_SSMSEE_x64.msi

Monday 28 March 2011

Trip To Rani Kot Wall


The Great Wall of Sindh also known as Deware Sindh in sindhi language is the world's largest fort with a circumference of about 26 km or 16 miles. Since 1993, it has been on the list of tentative UNESCO World Heritage Sites.

Location

It is located in the Kirthar Range, about 30 km southwest of Sann, in Jamshoro District, Sindh, Pakistan. It is approximately 90 km north of Hyderabad. and 245 km from Karachi, Here is how we verified the route and decided this trip, check this Map.





Dimensions

It has an approximate diameter of 6 km. Its walls are on the average 6 meters high and are made of gypsum and lime cut sandstone and total circumference is about 20 km. While originally constructed for bow and arrow warfare it was later expanded to withstand firearms.

It is reputed to be the largest unexplored fort in the world. The purpose of its construction and the reason for the choice of its location are still unknown.

Ranikot is the most talismanic wonder of Sindh. Visible from five kilometers away its massive undulating walls twist and dip over the hills. With the circumference of about twenty kilometers, its walls, built with dressed sandstone and reinforced with 45 bastions along the outer wall, of which 7 are rectangular and the remaining are round. All modified through the ages to accommodate the use of gunpowder, this perhaps makes it the largest fort in the world.


Our Trip
Our Trip was exciting as we saw its documentary on GEO tv and we Friends decided to have a trip to this incredible adventure and decided the coming Sunday for this adventure because it was impossible to wait. We planned and executed our trip from Karachi as given below might help you to plan your trip.


Morning 7AM Installed all Equipments to fly

baleno full of CNG, Petrol and What ever you need


*Remember there is No Water So keep sufficient

*Remember there is No Canteens So Manage it Here

*Remember Keep you Tank Full and Fill CNG from jamshuro after that there is No CNG Pump Only Petrol

*Remember Don't Forget you Digital Cam Charged


Break Fast at    -> 07:30AM

Depart Karachi   -> 08:00AM

Arrived Rani Kot -> 11:00AM

Forced to Depart -> 04:30PM

Arrived Back     -> 07:15PM


















History

The original purpose and architects of Ranikot Fort are unknown. Some archaeologists attribute it to Arabs, or possibly built by a Persian noble under the Abbasids by Imran Bin Musa Barmaki who was the Governor of Sindh in 836 CE. Others have suggested a much earlier period of construction attributing to at times the Sassanians Persians and at times to the Greeks. Despite the fact that a prehistoric site of Amri is nearby, there is no trace of any old city inside the fort and the present structure has little evidence of prehistoric origins.

Archaeologists point to 17th century CE as its time of first construction but now Sindh archaeologists agree that some of the present structure was reconstructed by Mir Karam Ali Khan Talpur and his brother Mir Murad Ali in 1812 CE at a cost of 1.2 million rupees (Sindh Gazetteer, 677).

Fort Ranikot is located in Lakki Mountains of the Kirthar range to the west of the mighty River Indus at a distance of about 30 kilometers from the present day town of Sann. A mountainous ridge, Karo Takkar(Black Hill), running north to south, forms its western boundary and the 'Lundi Hills' forms its eastern boundary. Mohan Nai, a rain-stream enters the fort from its rarely used western 'Mohan Gate', where it is guarded by a small fortification, changes its name to 'Reni' or 'Rani Nai' or rain-stream and gives the fort its name. Ranikot is thus the 'fort of a rain stream' - Rani. It runs through it, tumbles in a series of turquoise pools to irrigate fields and leaves the fort from its most used 'Sann Gate' on the eastern side. It then travels about 33 kilometers more to enter the Lion River - Indus.

Most of the twenty six kilometers long wall is made of natural cliffs and mountains which at places rise as high as two thousand feet above sea level! Only about 8.25 km portions of its wall are man-made, built with yellow sandstone. This was first measured on foot by Badar Abro along with local guide Sadiq Gabol. As one enters the fort, one can find hills, valleys, streams, ditches, ponds, pools, fossils, building structure, bastions, watchtowers, ammunition depots, fortresses - all inside Ranikot, adding more to its beauty and mystery. A spring emerging from an underground water source near the Mohan Gate is named as 'Parryen jo Tarr' (the spring of fairies).

According to a tale told by the local inhabitants, fairies come from far and wide on the Ponam Nights (full moon) to take bath at this spring near 'Karo Jabal'! Splashing sounds of water falling on the rocks can be heard at another spring, Waggun jo Tarr or "the Crocodile Spring", named so as crocodiles once lived there.

Within Ranikot, there are two more fortresses - Meeri and Shergarh, both have 5 bastions each. Meerikot takes its name from the word 'Mir' meaning top (for instance the top of a hill, chief of any Baloch tribe, etc.).M.H Panhwar (a Sindhologist) disagrees upon the name's history being related to Mirs of Sindh "Of two forts inside the main Rani Kot fort, the lower one is called Miri and is a word used in Seistan for small fortress. It has nothing to do with Mirs of Sindh" he writes. Both the main Ranikot and the inner Meerikot have similar entrances - curved, angulated with a safe tortuous path. From the military point of view, Meerikot is located at a very safe and central place in the very heart of the Ranikot with residential arrangements including a water-well.

Talpur Mirs used Meerikot as their fortified residence. One can explore ruins of the court, harem, guest rooms, and soldiers quarters inside it. Its 1435 feet long wall has five bastions. Every structure in the Ranikot has its own uniqueness and beauty. Looking up from Meerikot one can find another fortified citadel - Shergarh (Abode of Lions) built with whitish stone, it too has five bastions. Though its location at 1480 feet above the sea level makes this fortress a unique structure, it also makes it equally difficult for supply of water, which can only be had from the brooks and rain streams, hundreds of feet below.The steep climb up to Shergarh gives a commanding view down over the whole fort and its entrance and exit points. On a clear day one can even see Indus, 37 kilometers away to the east.

Beside the Mohan Gate and the Sann Gate, there are two more gates, rather pseudo gates. One is towards the side of ancient town of Amri. This 'gate' is called the 'Amri Gate'. Certainly it takes its name from the prehistoric ruins of Amri, but it must have taken this name much later than the times of Amri as the fort itself doesn't appears to be as old as the Amri itself. In fact there is a bridge over rain stream 'Toming Dhoro' exiting from the fort called 'Budhi Mori'. The breach in fort wall due to the river stream has been referred as a gate. Similarly, the Shahpir Gate to the south also appears to be a pseudo gate taking its name from a limestone rock with a rough shape of foot imprinted on it. The sacred footprint supposedly belongs to Hazrat Ali or some other religious personality and is venerated by locals. It seems to be a later breach in the fort wall instead of a formal gate because one can't find any bastion or watchtower or their remains at the site, needed to guard any formal entrance or exit points.

A mosque found in the fort appears to be a later modification of a watchtower or a later construction. Scattered animal skeletons and prehistoric fossils can be found on the top of Lundi Hills. One of the three graveyards has about four hundred graves made of Chowkundi like sandstone with engraved motifs of sunflowers and peacocks. Whether we can call them as theriomorphic and phytomorphic motifs is an open question. Another one appears to be a graveyard of Arabs. The third one, about a mile away from the Sann Gate, had sixteen or seventeen graves earlier but now there are only four graves. The local inhabitants call it the Roman's graveyard.


Research

"The size of Ranikot defies all reasons. It stands in the middle of nowhere, defending nothing" writes Isobel Shaw. So why was this fort built here in the desolate terrain of the Kirthar range? Many theories have been developed to answer this question. According to Ishtiaq Ansari, the Talpurs had sent their families to Thar and Kachchh when Afsharids attacked Sindh during the times of Kalhoras. However, after acquiring the rule of Sindh, they wanted a safe and secure place where they can send their families during the troubled times. This might have prompted them to rebuild this fort to their needs. Rahimdad Khan Molai Sheedai holds view that its location in Kohistan on the western frontiers of Sindh gave it its strategic value. Whereas Mazher Ansari is of the opinion that, it was first constructed in the Achaemenid Dynasty of the Persian Empire (550 - 330 BC). As this empire stretched from Turkey in the west, where a similar wall is constructed near the Caspian Sea called The Great Wall of Gorgan, which is 155 km in length and to the east up to River Indus in Sindh, where this majestic fort is located.

Access to this man-made marvel of ancient times is possible through a mettled road, which goes up to Meeri Kot.


For More Adventures Visit my blog http://mypakadventures.blogspot.com/

Friday 25 March 2011

Instant maps using Google Wizard

Google provides a Wizard which will generate a chunk of code that you can add to your own web page.

Example:
Maps generated by the Google map Wizard only show a single marker, and you don't get any control over the contents of the info window. The generated map will also have a Google AJAX Search API box, and direction finding (in a new maps.google.com window).
You don't even have to sign up for an API key. The Wizard creates its own key for your domain.

Restrictions
The Wizard only works for locations that can be found with the Google AJAX Search API.

How to use it
  • Go to the Wizard page and follow the three simple steps.
  • Copy and paste the generated code into your own web page.
  • Cut the code into two pieces. The bit that looks something like this can be placed anywhere on your page
    • <div id="mapsearch">
      <span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span>
      </div> 
  • The rest of the code should be placed just before the at the bottom of your page.
  • Double-click your page to test it, then upload it to your website.
For more Information visit my other blog
http://usegmap.blogspot.com

Thursday 24 March 2011

Win CE introduction


Introduction
Windows CE is an operating system developed by Microsoft for embedded systems. Windows CE is a distinct operating system and is a Real time, kernel, rather than a trimmed-down version of desktop Windows. It is not to be confused with Windows XP Embedded which is NT-based. Microsoft licenses Windows CE to OEMs and device makers. The OEMs and device makers can modify and create their own user interfaces and experiences, while Windows CE provides the technical foundation to do so. The current version of Windows Embedded Compact supports Intel x86 and compatibles, MIPS, and ARM processors.

Features
Windows CE is optimized for devices that have nominal storage, Windows CE kernel may run in under a megabyte of memory. Devices are often configured without disk storage, and may be configured as a “closed” system that does not allow for end-user extension. Windows CE conforms to the definition of a real-time operating system, with deterministic interrupt latency. From version 3 and onward, the system supports 256 priority levels and uses priority inheritance for dealing with priority inversion. The fundamental unit of execution is the thread. This helps to simplify the interface and improve execution time.
Microsoft has stated that the ‘CE’ is not an intentional initialism, but many people believe CE stands for ‘Consumer Electronics’ or ‘Compact Edition’. Microsoft says the letters instead imply a number of Windows CE design precepts, including “Compact, Connectable, Compatible, Companion, and Efficient.” The first version, known during development under the code name “Pegasus”, featured a Windows-like GUI and a number of Microsoft's popular applications, all trimmed down for smaller storage, memory, and speed of the palmtops of the day. Since then, Windows CE has evolved into a component-based, embedded, real-time operating system. It is no longer targeted solely at hand-held computers. Many platforms have been based on the core Windows CE operating system, including Microsoft's AutoPC, Pocket PC 2000, Pocket PC 2002, Windows Mobile 2003, Windows Mobile 2003 SE, Windows Mobile 5.0, Windows Mobile 6, Smartphone 2002, Smartphone 2003, Portable Media Center and many industrial devices and embedded systems.
A distinctive feature of Windows CE compared to other Microsoft operating systems is that large parts of it are offered in source code form. So you could imagine what you can do with it. First, source code was offered to several vendors, so they could adjust it to their hardware. Then products like Platform Builder (an integrated environment for Windows CE OS image creation and integration, or customized operating system designs based on CE) offered several components in source code form to the general public. However, a number of core components that do not need adaptation to specific hardware environments (other than the CPU family) are still distributed in binary only form.

Soon am going to share my projects and experience on WinCE
For more informative articles and my Projects developed on ARM Processors and WinCE Visit
http://wincecsharp.blogspot.com/