Tuesday, April 20, 2010

$telerik not found in IIS 7 windows server 2008

Of course, I don't understand Spanish. But following blog was helpful when I got the error installing a asp.net-telerik-web app on IIS 7, Windows Server 2008. The App was running fine in IIS 6, windows server 2003. When installed on 2008, on the client side, got javascript error that '$telerik' not defined, Type not defined etc.

http://msmvps.com/blogs/lalfaro/archive/2009/12/08/error-telerik-is-undefined-bajo-windows-2008-server-amp-iis-7.aspx

From above blog, I found that the entry under the system.webserver/handlers need preCondition="integratedMode,runtimeVersion2.0" for the Telerik entry. Once I added that the application ran fine.

Wednesday, March 17, 2010

Hotmail is painful

I still keep using Hotmail. But its very painful to use it:

- I wanted to delete some old email addresses - but in the contact list it will only show the name and not the email address. Hence you have to open the contact and then delete it; cant delete them from the list itself.

- when you type any email address in the [To] or [CC,BCC] boxes they are converted into some box with [x] next to it. You can't copy them any more and move it to one to another places like To->CC->Bcc etc. Also you cant simply use keyboard and update any addresses you have to use mouse to edit it.

Wednesday, March 3, 2010

Maps of War - Progress of Religion and War over time

Maps of War - Progress of Religion and War over time... very interesting flash graphics...
http://mapsofwar.com/images/Religion.swf

will iPad be Windows Killer

Here is a thought from young enterpreneurs that iPad could be Windows Killer.
http://ycombinator.com/rfs6.html

Rather than being Windows Killer, iPad will replace Windows machines for your day-to-day use. But Windows machines will still coexist mainly for business applications and much of the development. Businesses will keep using Windows Servers to host their applications. Developers will continue building their apps using .Net and such Microsoft platforms and Windows will remain favorite platform for development purpose.

With iPad people will be more interested in using web-baesd applications then iPad based applications. And to develop web-based applications you don't have to have Mac based systems. You can develop application in Windows and keep Windows/IIS/SQL Server as your back-end.

iPad will put a dent in Windows PCs market share, but the Microsoft will still make profit out of iPad. People will prefer to use Outlook Calendar and synching with Outlook on their iPad. Microsoft will develop Office tools (iOffice) for iPad which will sell more than iWork. iOffice should be made cheaper and should not be 100$ it should be like 10$ and may be free for a lighter version. Even Office Live with iPad can be a big hit.

And Microsoft will loose some customers in the beginning but will come back with iPad like tablets that run on entirely different OS rather than Windows. Microsoft has to realize that "Innovation takes place at Apple", but Apple has to realize that "Bussiness takes place at Microsoft".

Monday, February 15, 2010

Story of Steve Jobs (Jobes) - new moses, saviour, prophet

(This story was written in late 21st century and read first time in early 28th century)

In the late 20th century there was a great kingdom of Sillicon Valley (Egypt) in the western america - hollyland as we know today was known as Hollywood then. There were two princes growing up in the kingdom - known as Gates (Ramsays) and Jobes (Moses). Jobes was very popular among the kingdom as the creative, genius, mercyful prince and Gates was notorious for his arrogant attitude.

Jobes knew how to create the great pyramid called windows and use mouse. People welcomed him as the new heir to the throne when he first show-cased his Windows pyramids.

But Gates did not like it. He stole the pyramid and the people Jobes had.
Gates wanted to inherit the kingdom and create his own empire with Windows like Pyramids. He made the people of hollyland his slaves to make his own big pyramids and he created windows 3.1, 95, NT, 2000 etc.

Gates threw Jobes out of his kingdom and Jobes went into exile to learn new tactics and to gain more power.

Gates built many pyramids with all the slaves and monkeys that he had hired. There were many bugs in his pyramids and many of them fell to the earth like Millenium and Vista. He kept building service packs to hold the pyramids high but people were disappointed. They were helpless against the empire.

Jobes came back and told all the people that they do not have to follow Gates. They can all free themselves from the bondage and he will take them to the hollyland where they can build their own little pyramids. They wont called slaves anymore and will call them developers. He told them this is what the God has decided and they should follow the path of God and not of Gates.

Gates called upon Jobes to show his own magic if God was really with him. Jobes took out his iPod and then iPhone. People liked both. iPhone had fight with Gates' windows and iPhone won.

People followed Jobes and asked him what does God wants them to do now. Jobes went on to the Mount Sinai to get the commandments from God. God gave him iPad and asked Jobes to give it to all the freedom loving people who are against Gates.

On the way Jobes dropped the iPad and its camera and USB slot fell off. But he still showed it to the people without Camera and USB slot.

People kept waiting to see the fallen parts, and still today in 28th century, there are romours that our pads will have camera and usb slots. Many prophet came and left us after Jobes (Moses) - they gave new testament of iPad and koran - but none gave us those missing pieces from God.

King of Greece was so mad one time that he crucified one of the prophet for not being able to install camera in his iPad.

Meanwhile, the people of far east invented parallelism (polytheism, multiple Gods) and can run multiple programs on their gPad (Google Pads).

Followers of Koran and New Testament are still fighting with eastern people for multiple-gods. they only like single god and so be it on iPad - that's what the Jobes had said - if you want to run multiple programs on your iPad then start believing in multiple gods.

Google was considered Pagan then because it allowed everything free. They enjoyed largest empire on earth then, they could not afford it anymore and all citizens of that kingdom started creating their own Pads and it went out of control.

There still followers of Gates who roam around this earth stealing your iPads so keep them safe, otherwise, they will install the viruses on your iPads and it will install Windows on it.

Monday, February 8, 2010

My new samsung led hdtv

I got a new Samsung LED HDTV on Friday 2/5/2010. Its UN46B6000.

> First, I connected Direct Comcast cable into the TV's Antenna. I have Basic Comcast package. Then I ran the tv's setup options to scan all available channels. And it scanned all the HD channels availalble and it was looking great. But I wanted to play the sound in my home-theater system. Unfortunately I did not see any Component Audio Out ports that I can use. So, I had to use the TV's audio for those HDTV channels as well.

> Then I got the Digital Receiver from Comcast. Comcast cables goes directly into the Receiver and Receiver's RF Out goes directly into the TV's Antenna. This box also had the Audio out ports that I connected to Audio In of the home-theater system. So, Audio worked fine. But the Video quality of TV was not as great as I expected. I was getting better quality w/o the digital receiver. So, I learned now I need to get an HD Receiver that will do the job.

Other nice things about the TV were
- I could plug in my iPhone to its USB and could see the pictures. Could not see any videos yet.
- I could plug in my external Hard Disk via USB to the computer and see the pictures. Again, could not see any videos from Hard Disk.
- I plugged in my PC monitor cable to the TV, and it was looking great. Very good quality on the TV screen (1080p).

Looking forward to connect the TV to internet via regular LAN cable. There is LAN port. And see what all it can do. Also the wireless LAN adapter - but that costs > 50 dollars so holding off on that for now.

Monday, February 1, 2010

can iPad rewrite internet

From conservative point of view, this thought may be laughable, ridiculous.

Assuming that iPad and tablets like this will become as common as a notepad and sticky notes in your day-to-day life, would internet be limited to how its now via the servers, urls, domain names etc?

There is one internet that exists for serious business - where there are servers, IT teams, professionals, web applications and all sorts of complex processes to make everything work.

But then there is another internet, that is used by normal people to share their photos, videos and music files. They care less about how everything works, they just want to let others see what they have. And that's why the sites like Google Picasa, Flickr, Napster, YouTube all became famous and multi-million dollar business.

When iPad and devices like this will be connected all the time via wireless they in a way form their own network. And each such device can have its own NETWORK ID (iID?) Today in my contact list, I store the phone number and email address of a person. But that can extend to storing the NETWORK ID of the device as well. Each device can have an area (folder) in which the owner can put sharable files. And others can browse these files and download it or play right from it.

How easy would it be if you just browse other's iPad for their sharable content right from your iPad w/o going to url or browser or any html crap. It's like iLAN.

Then there would be some directories that would store the iPad's NETWORK IDs and the publicly available content in it. Information holders can even make money out of their own such information. All that Content publishing would take is to shoot a video and store it in such area of their iPad.

But, hard reality is Apple wants to be in between of all such transfers and they don't want any thing be published w/o their iTunes or AppStore. You can't even share ringtone. If they let go off their such greed or if Google or someone comes up with such freedom, we may see a new type of internet altogether in future.

Friday, January 29, 2010

What future holds for iPad

Name
------------
Yes, Name sucks. May be because they have iPod, they wanted to rhyme it too closely with it. Steve Jobs must have written some poems using "iPod" and "iPad" words and iSlate, iNote, iTablet, iLet words did not rhyme. People are making fun of word 'iPad' because of similar feminine health product name. But if they had kept name iSlate, there would have been obscene jokes about that too.

Features
-----------
Yes, its just another iPhone with bigger screen. It sits between iPod Touch and iPhone in a way that it does not offer calling via wireless network but supports 3G.

Those who did not like it say
> It does not have camera
> It has got too big bezel
> Its aspect ratio is not 16x9
> It does not support Flash
> No parallel apps

Those who like it say
> Its not for video chat, you can use laptop for that
> you can hold it without touching something by mistake
> you got 4x3 the standard tv ratio before new hdtvs
> flash is not secure and hogs the cpu
> hiya...hiya...

Look at it this way
-------------------

A small iPhone has created an IT market that never existed before. Development for blackberry or WindowsMobile wasn't that great. iPhone really attracted the consumers and the developers that what they can do with the mobile computing.

Now, if Apple makes a bigger size iPhone then its neither magical nor even ground-breaking invention. They just had to do what they did ealier, with a big size screen and rest is imaginable. So, what people can be disappointed with is, its not a 'new' device. Just same but big size.

But the potential for iPad still exists. Previously we used 800x600 monitors and the monitors kept getting bigger while the smaller resolution monitors are still used in many places - specially for point of sale at merchandise stores. Analogy may not be accurate in saying that iPad is an evolution from iPhone. iPhone and iPad has different audience and has different usage.

Applications
--------------

> Doctors/Health staff will be able to use iPad in their day-to-day work. A big screen with enough information about patient, x-rays, facesheets, prescriptions can be viewed easily.

> Sales team can use it on the road for apps like SalesForce.Com or CRM. The main advantage is not the screen size only, but the bootup time. It takes time loading a Windows machine, but this will be always ON. We will see Microsoft Office tools on this very soon.

> Executives will be soon carrying this instead of notepad for their calendar, notes and contact management.

> A UPS or FedEx guy may be carrying this to get delivery signatures. It would be nice if the touch-input can accept some pen size stylus then you can easily sign on it.

> A construction engineer will be carrying this at the site for measurements and inputting data. Engineer on the roof can input the dimension on this and get a drawing easily.

> Devices will be made to attach credit card reader and barcode scanners. So that you can use this at point of sale. If stores don't use it, this can be used at events.

> During exhibitions, stall executives can use this to show off their products to customers walking by. No need to bring them to the stall and display products on large screens.

There is unlimited use of this beyond what people are talking about games, music and books. Don't think of this as an entertainment, time-spending instrument. Think of it as a money making instrument. You no more have to bring your customers to a place where you have hooked up your computer. You can just carry your business with you everywhere.

Future of iPad
--------------

What would have amazed the people, which I think soon should be coming either in iPad or in competitive products:

> Sure, a camera. But two sided camera that you can turn to yourself or backside.
> Sure, parallel applications. no doubt about it.
> Bluetooth capacity with phone. A bluetooth device that you use with your phone should be able to be used with iPad. And iPad should allow video chat via this bluetooth receiver. If not over 3G, this should be possible over wi-fi.
> A pen-like writing tool for notes so you don't have to use keyboard. And the OCR that can transcribe what you are writing. You can store the notes either as image or transcribe and store as text.
> Speech-recognition. Not a major but executives may like it.
> Find another iPad via BlueTooth around you and then throw some of the info to another iPad - something like Bump in iPhone.
> Being able to share the desktop of multiple iPads like GoToMeeting or WebEx.
> Being able to place a regular paper on the iPad screen, and then write on the paper. iPad can behave like a carbon copy of what is written on the paper. That can be then stored as image/text etc. This would be a huge hit seriously.
> Sometime in distant future, iPad can have one side of it behave like a scanner. So you can slide the iPad over a page and scan the document. Wouldn't that be cool? if not iPad, at least a separate device can be made that can plug into bottom of iPad and then scan a document.

logoff user from (rdp) remote server

You are here because you have seen "The terminal server has exceeded the maximum number of allowed connections".

You can check who is logged into the remote server by using command prompt (cmd.exe) on your machine:

qwinsta /server:RemoteServerName

And you can logoff any user:

logoff SessionIDFromAbove /server:RemoteServerName

Thursday, January 28, 2010

Windows Command Line completion with Tab key

A reference for Windows Command Line completion with Tab key:

http://technet.microsoft.com/en-us/kb/kb00244407.aspx

I did not find it under HKCU but under HKLM. Whatever works!

Wednesday, January 27, 2010

How to use ISO image file

You need to install Virtual CD Rom Control Panel from microsoft site - available here

A Microsoft Support Article for how to use this.
http://support.microsoft.com/kb/916902

Some other articles for the same:

http://www.pcauthorities.com/windows-xp/how-to-use-iso-files-in-windows-xp

Tuesday, January 19, 2010

Setting up HDTV

setting up HDTV and other hardware related info here:

http://www.reghardware.co.uk/2009/08/19/hdtv_setup_guide/

hackintosh

I haven't tried this but worth storing the URL.

http://www.ihackintosh.com/2009/01/install-mac-leopard-os-x-retail-dvd-on-a-ordinary-pc-with-boot-132-hack/

Copied here for future reference from above URL.

THNX to David Eliott master behind the Boot 132 hack which allows us to Install OSX on P.C. with the Unmodified retail version of mac OSX Leopard. The main benifit of Retail install over modified distro install is with retail install you can update your system directly from apple software updater just like an original Mac Machine.So forget about iAtkos, kalyway, Leo4all etc. & move with retail Install.
.
Requirement’s
# A PC with Intel Core Processors and Chipset (AMD is not supported).
# A retail Mac OS X DVD Installer Download Click here or Buy Click here.
# Download the Chameleon for Hard Disk here.
# Download the Boot-132 Generic ISO here.
If don’t works than download the more modified version.
# Download Boot-132 ISO with modified kexts here.
Before we starts let’s see how it works >>> you burn an Boot-132 Generic ISO (which has the bootloader on it) to a CD/DVD, after it gets to the boot prompt, you press ESC or ENTER and it prompts for a new BOOT DEVICE, you swap the BOOT CD/DVD with the LEO Retail DVD, you press enter and it shows you the name of the bootable partition from the DVD, you press enter and Leo starts to load. Some people pays money to E-FIX for this free & simple trick.The guide is divided into two phase’s first one is for Installing the OSX & second one is to elimnate the need of BootCD evry time while booting.Ready with your poison let’s start.
First of All burn Boot-132 Generic ISO into a C.D. in following tutorial term Boot-132 Generic ISO is replaced with BootCD.

Phase One >>>

1. Insert your BootCD into DVD/ROM and boot/start your PC.

2. On the boot prompt, press Enter. You will be asked to enter a two-digit hexadecimal boot device (do not press any key).

3. Remove the BootCD and replace it with the Mac OS X Retail DVD. Wait for the blinking light on your DVD drive to stop and then hit Enter (this will read your DVD drive and not your HD).

4. Perform the Mac OS X Leopard installation. You may need to use Disk Utility (under the Utilities Menu) to partition and format your HD if you haven’t already. Make sure to select GUID (under Options).

5. Restart after the installation and replace the Retail Mac OS X DVD with the BootCD.

6. On the boot prompt, press Enter. This time, enter the two-digit hexadecimal of the drive where you installed OS X. Enter 80; if it doesn’t show the startup volume of your OS X, hit Esc. Try 81, and so on until you see your OS X volume. Select it and hit Enter.

Now are in Leopard but you still won’t be able to boot your hackintosh without the BootCD. For overcome the BootCD you need to install external bootloader.

Phase two >>>

1. Open Chameleon that you download’s early.

2. Copy the contents of the Extra directory from the Generic.iso CD by drag & drop in to the Extra Contents folder in Chameleon by following this simple procedure .

Open the Generic.iso CD from your desktop. >>> Double-click on the INITRD.IMG file. >>> Double-click on the Extra folder. >>> Drag the Extensions folder to the Extra Contents folder in Chameleon

3. Double-click the Chameleon_DFE_for_Hard_Disk.pkg file and install to your hard disk.

4. Remove the BootCD and reboot.

5. You should now be able to boot into Leopard without the BootCD.

Thursday, January 14, 2010

Buy Farm House Near Ahmedabad-Nal Sarovar

Farm House Plotting Scheme around this area

1) Surmya Life space- Synthesis (Famous old Bakeri Group)
( I trust them because of their 50 years old reputation)

2) Surmya Abode-Synthesis (Famous old Bakeri Group)

3) Sterling Greenwood Sarovar City- Greenwood Properties
Good Old Marwari Builder in city

4) Krishna Upavan

5) Bhavya Sarovar

6) Nalsafari

7) Ruturaj Palace Resort

8) Krishna Farms

9) Rituraj Village

10) Kalptaru Lake City

11) 100 Acres
(Looks very good, but need deep pocket)

12) Nalsarovar City
(Sounds fishy)

13) Kensville Golf Township
(Need real deep pocket)

14) Gulmohar Golf Township
(Well Known- But need deep pocket again)

15) Pelican Nest

16) Pushparaj Villege

17) Hiranandani Palace Gardens-Township

18) Vatika the village

keyboard short cut to create GUID in visual studio

Here is a blog entry about how to setup keyboard short cut for creating GUID.

http://mundeep.wordpress.com/2008/03/27/quickly-generating-guids-in-visual-studio-2008/

From the post, copied for my easy reference:

1.Load Visual Studio 2008 and goto Tools -> Macros -> Macro Explorer (Alt-F8 for short)
2.Right-click on “Macros” then select New Macro Project
3.Name your project (eg. GUIDGenerator) and choose a location to save it (note no space allowed in Project Name).
4.This should give you a new project with a “Module1″ sitting underneath it. Right-click on “Module1″ and select “Rename” to give it a more meaningful name (eg. GUIDGenModule).
5.Double-click on the newly renamed module and you should be shown the Visual Studio Macro IDE.
6.Enter the following code (the “D” in ToString can be customised see Leon’s article):
◦view sourceprint?
1 Sub Create_GUID()

2 DTE.ActiveDocument.Selection.Text = System.Guid.NewGuid().ToString("D").ToUpper()

3 End Sub
7.Save and close the Macro IDE.
8.Back in the main Visual Studio window goto Tools -> Options
9.Goto the “Keyboard” option under the “Environment” tab.
10.In the “Show Commands Containing” text box type in “Create_GUID”
11.Select the Macro sub that you just created from the list (it should be the only one)
12.Click inside the “Press Shortcut Keys” textbox then press your desired keyboard shortcut for inserting a GUID (eg. Alt+G as Leon suggested makes a lot of sense).
13.Ensure the “Use Shortcut in” option is “Global” and click on “Assign”
14.Close the options window and you should be able to start using your keyboard shortcut to quickly insert GUIDs into text!
15.If you have any other Visual Studio windows open at the time you will need to close them and reload for the macro for the macro to be loaded (or you can goto the Macro Explorer window and manually load your Macro project)

Monday, January 11, 2010

sharepoint application templates (like timesheet etc)

http://www.microsoft.com/downloads/details.aspx?familyid=5807B5EF-57A1-47CB-8666-78C1363F127D&displaylang=en

Windows SharePoint Services 3.0 Application Templates: All Templates

Server Admin Templates:
Server admin templates are created as site definitions, providing tighter integration and enhanced functionality within the Windows SharePoint Services platform. They will require a server administrator to install. If you do not have Central Server Admin rights, you can still install the site admin templates (see second list below) in the sites/workspaces that you own or administrate.
Absence Request and Vacation Schedule Management
Help Desk
Budgeting and Tracking Multiple Projects
Inventory Tracking
Bug Database
IT Team Workspace
Call Center
Job Requisition and Interview Management
Change Request Management
Knowledge Base
Compliance Process Support Site
Lending Library
Contacts Management
Physical Asset Tracking and Management
Document Library and Review
Project Tracking Workspace
Event Planning
Room and Equipment Reservations
Expense Reimbursement and Approval Site
Sales Lead Pipeline


Site Admin Templates:
Site admin templates are easy for site administrators to install in a template gallery without requiring server administration access.
Board of Directors
Employee Training Scheduling and Materials
Business Performance Rating
Equity Research
Case Management for Government Agencies
Integrated Marketing Campaign Tracking
Classroom Management
Manufacturing Process Management
Clinical Trial Initiation and Management
New Store Opening
Competitive Analysis Site
Product and Marketing Requirements Planning
Discussion Database
Request for Proposal
Disputed Invoice Management
Sports League
Employee Activities Site
Team Work Site
Employee Self-Service Benefits
Timecard Management

creating lists in sharepoint wss 3.0, vseWss 1.3

Good information on creating lists and custom lists here:

http://blog.myitechnology.com/2009/06/how-to-create-list-templates-and-list.html

Also about the error that you may receive:

http://blog.myitechnology.com/2009/06/fixing-feature-guid-for-list-template.html

But the best way is, you create all the lists using SharePoint and then reverse engineer it using 'spshource' - some information on how to: http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/05/04/my-first-experience-with-spsource.aspx

Using SolutionGenerator has following disadvantage:
> For every ListTemplate or Instance etc, it creates a separate feature. You want to have one feature for your project/site that can install everything. Creating multiple features may not be desired in many cases like this.
> The lookup fields were not maintained in the schema.xml

Remember when you add a lookup field in sharepoint, it has to be of type 'Single Line Text'. You can not use Number of Multi-line text or rich text as the Lookup field.

Kite flying festival - 14 Jan

In India Kite Flying is a big festival in Gujarat India, only behind Navratri and Diwali in terms of importance. While I dont want to make this a wiki article of Kite Flying, here are some links on it today:

http://www.dnaindia.com/india/slideshow_no-strings-attached_1333478

http://beta.thehindu.com/life-and-style/leisure/article78494.ece

But look at following one - that argues many birds are killed during this festival because they get trapped in the flying kites.
http://www.sindhtoday.net/news/1/90937.htm

Look who is talking --- why don't you think about how many chickens you are going to eat today, before asking how many birds are killed by kites - which an accident rather than cruelty to fill your hunger.

Tuesday, January 5, 2010

How to find public key token for a .NET DLL or assembly

Here is a nice information from following blog:

http://blogs.msdn.com/wriju/archive/2008/07/01/how-to-find-public-key-token-for-a-net-dll-or-assembly.aspx

The command is: sn.exe -T
Please notice the captial T.

I added this in the external tools to make it quick.
Go to Tools->External Tools-> Add
"Find Public Key Token"

Command = C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\sn.exe

Arguments = -T $(TargetPath)

Notice that the sn.exe is inside VS 8 - even though you may have VS 9 for 2008.