Thursday, November 5, 2009

VS Debug Problem with IE8

VS Debug Problem with IE8

Source: http://weblogs.asp.net/abdullaabdelhaq/archive/2009/06/01/VS-Debug-Problem-with-IE8.aspx 


Since this is my first post on Weblogs, I decide to write about a problem that has been opened frequently on ASP.NET official forum which is VS debugger crashes with IE8.

 

I had answered the same problem 4 times, so I hope that some one will found this post very helpful if he is facing the same problem.

 

 

How VS debugger could be crashed with IE8?

 

If you opened multiple instances of IE8 and you attempt to debug your project, you mostly will have the issue where VS debugger just stops and ignores your break points!

 

 

Why was that?

 

Well, IE 8 has a feature called Loosely-Coupled Internet Explorer (LCIE) which results in IE running across multiple processes.
http://www.microsoft.com/windows/internet-explorer/beta/readiness/developers-existing.aspx#lcie

Older versions of the Visual Studio Debugger get confused by this and cannot figure out how to attach to the correct process. 

 

To overcome this issue, you need to disable the process growth feature of LCIE by follow the below steps:

1)  Open RegEdit
2)  Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
3)  Add a dword under this key called TabProcGrowth
4)  Set TabProcGrowth to 0

 If you run into the same problem on Vista or newer, you will also need to turn off protected mode.

And then go a head and start debugging your code :)



Source: http://weblogs.asp.net/abdullaabdelhaq/archive/2009/06/01/VS-Debug-Problem-with-IE8.aspx


Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®.

Wednesday, September 9, 2009

19 Free Web Services That Keep Saving You Money

19 Free Web Services That Keep Saving You Money

You can find lots of freebies on the Web, but these offerings provide useful services--at no cost--that you would otherwise have to pay for every time.

Zack Stern, PC World

Sep 8, 2009 5:00 am

Sifting through all of the free sites and services available on the Web, you've probably come up with some favorites, such as instant messaging tools or video streaming sites like Hulu. Those are great, but what about freebies that displace something for which you usually pay? Think beyond free antivirus software and other no-cost PC utilities--how would you like free long-distance calling, MP3 downloads, e-books, and text messaging? I'll show you how to score those and more.

Some of these offerings, such as free services for making and receiving faxes, are for an introductory level of a paid product. Others are ad-supported or public services. But each one is a compelling way to get something, for free, that ordinarily costs you money. In many cases you'll get just as much as what you used to pay for--or more.

Make Free Long-Distance Calls

TalksterSure, you can voice-chat around the world through Skype and other services. But Talkster lets you reach out and touch an actual telephone in addition to online calling options.

Free long-distance and international calls are worth putting up with a couple drawbacks. The service requires you to perform a convoluted dialing procedure: It gives you a special local number to reach a faraway friend, and your pal gets a local number too. You dial your local number, after which you have 10 seconds to tell your buddy to call back on their local number. You stay on the line and wait while they hang up and dial back.

You might hear an ad while waiting to connect again, but the two of you can talk as long as you want after the hook-up is complete. I thought calls sounded good, although one call recipient questioned the quality.

Send and Receive Faxes, No Fees Involved

FaxZero

Do you need to send faxes just once in a while? Ditch the fax machine and the trips to Kinko's, and use free-to-try online services such as Qipit and FaxZero.

Qipit lets you send up to five faxes each week for free. You can upload JPEG images or even send them directly from a camera phone. Free faxes include a header banner that mentions Qipit.

FaxZero limits you to two faxes of three pages each day, and its transmissions include a FaxZero-branded coversheet. But instead of sending images, FaxZero takes PDFs and Word documents, making it a better choice for PC-based use.

eFax Free

You can even cancel your dedicated incoming fax line and have people send physical faxes to you online. eFax Free handles everything, digitizing faxes and routing them to your e-mail account. You get a free phone number that is connected to eFax and is always listening for incoming calls.

eFax Free has a few limitations, however. You don't get to pick an area code for the incoming number, and you can't receive more than 100 pages each month. Plus, you have to read faxes in an eFax application, in its proprietary .efx format. (Paying subscribers can select an area code, receive more faxes, and read them as PDFs.) But for moderate use, eFax Free works well.

Videoconference for Free

Most chat and videoconferencing programs are free when your conversation remains between two people, but they charge you to add more. Instant messaging and videoconferencing tool TokBox blasts past that limitation, restricted only by your bandwidth.

TokBox

Since TokBox interfaces with your camera through the browser, click Allow and Close to give permission.
When you begin a videoconference in TokBox, you can automatically add contacts who are on AIM, Yahoo Messenger, and other supported services. Even better, however, your contacts can join the videoconference in a Web browser, just by following a URL. They don't need to install an application, and the TokBox Web site automatically interfaces with each PC's Webcam. Just start a conference, and click Invite, Share Link to get the URL.

Make Free Conference Calls

RondeeRunning a meeting on a shoestring? Just want to organize a family call across the country? Rondee provides free conference calls for up to 50 people, and it offers several great extras.

You can launch a conference call immediately, simply by notifying your participants and giving them a Rondee PIN. But if you plan a call in advance, the service will send calendar-compatible e-mail invitations (with all call-in details) and make a list of replies. It'll even provide a nonspeaking access code, too, so that you can invite people to listen but not talk.

You can activate voice recording for calls planned in advance, as well. After everyone hangs up, participants receive e-mail instructions for downloading the meeting as an MP3 file.

Use a No-Cost Directory-Assistance Service

Does your mobile phone carrier gouge you for directory-assistance calls? Instead of dialing 411, try Google 411. Dial 800/466-4411 (800/GOOG-411). The voice-recognition tool looks up numbers, addresses, nearby businesses, and more for free.

Automatically Transcribe Voice Notes for Free

reQallYou probably have your phone handy more often than you have paper and a pen nearby. If inspiration hits, you could thumb-in text notes on your handset--or, better yet, try reQall for automatic voice transcription.

You call a special phone number and speak your message (up to 30 seconds), and reQall writes it down. Depending on what you say, it will even store your notes contextually, adding items you want to buy to a shopping list or scheduling meetings in your calendar, for example. But I like it just as much for recording my random notes and automatically e-mailing them to myself--or my contacts--without having to type.

Turn Scanned Docs Into Text, at No Cost

OCR TerminalOCR (optical character recognition) turns pictures of text into a document that you can edit. For example, you could read a photo of a book page, but OCR software lets you perform searches on that page's contents or make changes to it in any text editor. Typically you have to pay for such software or get it bundled with a scanner you purchase, but you can access free OCR tools online.

OCR Terminal can import 20 pages of documents each month for free. Just upload your items as PDFs or JPEGs, or in other image formats, and it will convert them to Word, text, and other document formats. Then you simply download the best format for your needs, and use it as you would any other document.

Read Free E-Classics

Project GutenbergBecause copyrights eventually expire, anyone can (re)publish works by William Shakespeare, Mark Twain, Jane Austen, and countless other writers. In general, if you're paying for material that was written before 1923, you're being fleeced. Instead, download thousands of classics for free, for use on your computer, phone, Kindle, or other device.

Project Gutenberg houses 30,000 free e-books and includes links to a total of 100,000 hosted on other sites. Just search the site for a title, or browse the top 100 downloads to get a sense of the catalog. Download books in a format that your device can read, and transfer them over. You'll gain access to a deep library without paying a cent.

Beat the Text-Messaging Swindle

txtDropStop paying to send text messages. Several free options can transmit them from your PC or phone; just make sure to keep your missives under the 160-character limit.

Within AIM, you can send a message just by chatting with the country code and mobile number of a friend. For example, you can send text to the number of a pal in the U.S. in the format +12223334444. Your friend can reply, and the text will route to your chat program. It works even if you're chatting directly on a phone's mobile client.

In a Web browser, try txtDrop or Krypton. For the former, you just enter your address and the recipient's number. For the latter, you need to know the recipient's carrier, but the iPhone-friendly formatting looks great on many handsets.

If you know your friend's carrier, you can also send a text through e-mail. Enter your friend's mobile phone number and then the domain suffix for the carrier. For example, e-mail messages sent to 2223334444@txt.att.net, 2223334444@messaging.sprintpcs.com, and 2223334444@vtext.com would reach AT&T, Sprint, and Verizon, respectively. Visit Wikipedia's list of carriers for details about other services. Note, however, that the recipient might have blocked incoming texts from any of these sources to shut out spam messages.

Store Large Files Online for Free

Drop.ioMost e-mail servers choke on messages that are 5MB, 10MB, or larger. You could sign up for a range of free sites that offer to host bigger files, but Drop.io beats all of those since it hosts files and doesn't make you go through any sign-up process.

You can upload attachments of up to 100MB, and you can even customize the resulting URL. Afterward, simply send the link to your contacts so that they can download the files. (Be sure to click Share, Zip File at the top to make the whole package downloadable at once.) Downloaders can even leave notes and collaborate in other ways.

Download Free MP3s

Internet ArchiveDownloading an MP3 for free is often perfectly legal. With just a little scrounging, you can score tracks from many legitimate sources.

Check music stores first. Amazon, Rhapsody, and others regularly offer free tracks by familiar musicians.

Music blogs often post free tracks, many of which come from record labels for promotional purposes. Visit Elbows, RCRD LBL, and Stereogum regularly for frequent freebies.

The Internet Archive hosts thousands of live music performances, recorded by and for fans. You'll find old and new favorites, including concerts by Ryan Adams, Andrew Bird, Cowboy Junkies, the Grateful Dead, Smashing Pumpkins, and many more.


Tuesday, September 1, 2009

Ebay Sells Skype for $1.9 Billion

Ebay Sells Skype for $1.9 Billion

Daniel Ionescu

Sep 1, 2009 7:53 pm

It's official: eBay has sold Skype to a group of private investors for $1.9 billion, the company announced on Tuesday. That consortium of private investors now owns 65 percent of the Internet-based calling business.

The news comes as no surprise. Late last week, TechCrunch was already hinting at an investor group making a play for Skype, and the New York Times confirmed the speculation earlier today in another report.

According to reports, the investment group purchasing Skype includes Andressen Horowitz, a new venture capital firm led by Marc Andreessen, the co-founder of Netscape. The other owners in the group are Silver Lake, a Silicon Valley-based private equity group, Index ventures, a London-based VC firm, and the Canada Pension Plan (CPP) Investment Board

eBay bought Skype for $2.6 billion in 2005, at which time the auction site actually outbid Google and Yahoo to close the deal. Since then, however, eBay has failed to incorporate Skype technologies into its e-commerce site and quickly realized that acquiring Skype wasn't such a bargain. eBay couldn't find viable way to tie its services with Skype, and later wrote off $900 million of Skype's value. Today's deal puts Skype's overall value at $2.75 billion.

It is unclear why eBay decided to sell Skype this way, especially as the company said earlier this year it was planning to put Skype up for a public offer -- where some say it could have managed to get more for the VoIP company. However, Cnet suggests that Skype couldn't go public until after June 2010, due to the litigation issues the company has with Joltid, the company providing it with the technology to make Skype calls.

Source: http://www.pcworld.com/article/171213/ebay_sells_skype_for_19_billion.html?tk=nl_dnx_h_crawl


Thursday, June 4, 2009

Top 20 Tips To Keep Your System Faster

 

Follow these tips and you will definitely have a much faster and more reliable PC! Most of the below tips works for windows XP.

1. Wallpapers: They slow your whole system down, so if you're willing to compromise, have a basic plain one instead!

2. Drivers: Update your hardware drivers as frequently as possible.  New drivers tend to increase system speed especially in the case of graphics cards, their drivers are updated by the manufacturer very frequently!

3. Minimizing: If you want to use several programs at the same time then minimize those you are not using.  This helps reduce the overload on RAM.

4. Boot Faster: The 'starting Windows 95/98' message on startup can delay your booting for a couple of seconds.  To get rid of this message go to c:\ and find the file Msdos.sys.  Remove the Read-Only option..  Next, open it in Notepad or any other text editor.  Finally, go to the text 'Options' within the file and make the following changes: Add BootDelay=0.  To make your booting even faster, set add Logo=0 to remove the Windows logo at startup.

5. Restart only Windows: When restarting your PC, hold down Shift to only restart Windows rather than the whole system which will only take a fraction of the time.

6. Turn Off Animations:  Go to Display Settings from the Control Panel and switch to the Effects Tab. Now turn off Show Windows Content While Dragging and Smooth Edges on Screen Fonts.  This tip is also helpful with Windows XP because of the various fade/scroll effects.

7. Faster Start-Menu Access: Go to the Start menu and select Run.  Now type Regedit and hit Enter.  The Registry Editor will appear on the screen..  Now, open the folder HKEY_CURRENT_ USER\Control Panel\Desktop.  You should see a MenuShowDelay value.  If you don't then do the following: right click on a blank space in the right pane and select New\String..  Change the name in the new value to MenuShowDelay.  Now that we have the MenuShowDelay value, double click on it and enter 0 in the value data field.  This sets the start menu delay to 0 milliseconds.

8. Resolutions: If you are willing to do anything for faster performance from your PC, then try lowering your display resolution.  The lower it is, the faster your PC.

9. Turn off Active Desktop:  Go to your Display Properties and switch to the Web tab.  Uncheck View My Active Desktop As a Web Page.  Since the Active Desktop option under Windows 98 uses a lot of system resources, this option can have a dramatic effect on the speed of the whole system.

10. Defragment Often:  Windows 98's Defrag tool uses Application Acceleration from Intel which means that when you defragment your drive, data is physically arranged on the drive so that applications will load faster.

 

11. Take your PC to Bed:  Using the Advanced Power Management feature under Windows 98 gives you the option to use the sleep command.  That way, you can send your PC to sleep instead of shutting it down and then restarting it.  It's as simple as pressing a button and then pressing the same button to wake it up.  You can tell Windows after how many minutes/hours of inactivity to automatically sleep the machine in the Advanced Power Management section of the Control Panel.

12. Faster Internet Access: If you use the Internet for reference and the sites you visit are rarely  updated then try the following.  In IE (the same can be done in Netscape) go to Tools, Internet Options.  Next, click on Settings... In the Temporary Internet Files  section.  Finally, select Never for the first option and double the amount of storage space to use, click OK!

13. Benchmarking: Benchmarking can be very useful when run frequently.  It can tell you how your PC's components are performing and then compare them to other machines like yours.  For example, when you overclock your PC, you want to know how much more speed you have and whether it is stable.  All this and more can be discovered using benchmarking.  An excellent piece of software for doing this job is SiSoft Sandra which can be found in the Downloads File Archive!

14. Refresh the Taskbar without restarting: If you in some way change the taskbar, either in Regedit or elsewhere, you can refresh the task bar without restarting.  Hold down Ctrl Alt Del, and double click on Explorer.  Say Yes to close Explorer, but no to closing Windows.  This will refresh the Taskbar and system tray..

15. Quick CD Eject: Instead of pushing the button on your drive, right-click your CD drive letter in My Computer and click on Eject.  This will also remove any icons that have become associated with the CD drive..

16. Start Up Programs:  Windows can be slowed down when programs run on start up.  To eliminate this, check your Start up folder.  You can access it from the start menu: Start, Programs, Start Up.  Another way to eliminate programs from loading even before Windows actually starts is by doing the following: Click on Start, then Run.  Type msconfig.  It will take quite a long time for this program to load, but when you finally see it on your screen, explore the different tabs.  They all have to do with how quickly your PC boots, so select what you want, and uncheck what you don't want!

17. Fonts: When Windows starts, it loads every single font in the Fonts folder.  Therefore, the more fonts you have, the slower the booting process.  To get rid of unwanted fonts, simply go to the Fonts folder under c:\windows and remove whatever you don't want.  Fonts that have a red letter 'A' as their icon are system fonts, so don't delete them.

18. Stretching Wallpapers:  Don't "stretch" your wallpaper in Windows 98 since it actually slows Windows down when you drag icons around on the desktop.

19. RAM Matters: If you have less than 32MB then you should seriously think of upgrading it to at least 64MB.  Windows runs much more smoothly with 64MB or higher and tends to use less hard disk space for virtual memory.

20.. Partitioning: A very nice little thing you can do to boost system performance.  By partitioning your hard drive, splitting one physical drive into several logical ones, you can gain several advantages.  1. If you get a virus or you accidentally format a drive, not all will be lost.  2. By placing the swap file (Win386.swp) on a separate drive, The swap file will be less fragmented and thus, faster. 3. Place Windows on a separate drive and whenever you need to reinstall it, you rest assured that your data is safe on a separate drive.  Partitioning can be done using a few programs such as FDisk which comes with DOS.  However, FDisk formats everything on the hard disk before partitioning. Alternatively, you can use Partition Magic from
Power Quest to partition your hard disk without losing your data.

Thursday, May 7, 2009

A List of JDBC Drivers & Connection Strings

A List of JDBC Drivers
If you need to access a database with Java, you need a driver. This is a list of the drivers available, what database they can access, who makes it, and how to contact them.

IBM DB2
jdbc:db2://<HOST>:<PORT>/<DB>
COM.ibm.db2.jdbc.app.DB2Driver

JDBC-ODBC Bridge
jdbc:odbc:<DB>
sun.jdbc.odbc.JdbcOdbcDriver

Microsoft SQL Server
jdbc:weblogic:mssqlserver4:<DB>@<HOST>:<PORT>
weblogic.jdbc.mssqlserver4.Driver

Oracle Thin
jdbc:oracle:thin:@<HOST>:<PORT>:<SID>
oracle.jdbc.driver.OracleDriver

PointBase Embedded Server
jdbc:pointbase://embedded[:<PORT>]/<DB>
com.pointbase.jdbc.jdbcUniversalDriver

Cloudscape
jdbc:cloudscape:<DB>
COM.cloudscape.core.JDBCDriver

Cloudscape RMI
jdbc:rmi://<HOST>:<PORT>/jdbc:cloudscape:<DB>
RmiJdbc.RJDriver

Firebird (JCA/JDBC Driver)
jdbc:firebirdsql:[//<HOST>[:<PORT>]/]<DB>
org.firebirdsql.jdbc.FBDriver

IDS Server
jdbc:ids://<HOST>:<PORT>/conn?dsn='<ODBC_DSN_NAME>'
ids.sql.IDSDriver

Informix Dynamic Server
jdbc:informix-sqli://<HOST>:<PORT>/<DB>:INFORMIXSERVER=<SERVER_NAME>
com.informix.jdbc.IfxDriver

InstantDB (v3.13 and earlier)
jdbc:idb:<DB>
jdbc.idbDriver

InstantDB (v3.14 and later)
jdbc:idb:<DB>
org.enhydra.instantdb.jdbc.idbDriver

Interbase (InterClient Driver)
jdbc:interbase://<HOST>/<DB>
interbase.interclient.Driver

Hypersonic SQL (v1.2 and earlier)
jdbc:HypersonicSQL:<DB>
hSql.hDriver

Hypersonic SQL (v1.3 and later)
jdbc:HypersonicSQL:<DB>
org.hsql.jdbcDriver

Microsoft SQL Server (JTurbo Driver)
jdbc:JTurbo://<HOST>:<PORT>/<DB>
com.ashna.jturbo.driver.Driver

Microsoft SQL Server (Sprinta Driver)
jdbc:inetdae:<HOST>:<PORT>?database=<DB>
com.inet.tds.TdsDriver

Microsoft SQL Server 2000 (Microsoft Driver)
jdbc:microsoft:sqlserver://<HOST>:<PORT>[;DatabaseName=<DB>]
com.microsoft.sqlserver.jdbc.SQLServerDriver

MySQL (MM.MySQL Driver)
jdbc:mysql://<HOST>:<PORT>/<DB>
org.gjt.mm.mysql.Driver

Oracle OCI 8i
jdbc:oracle:oci8:@<SID>
oracle.jdbc.driver.OracleDriver

Oracle OCI 9i
jdbc:oracle:oci:@<SID>
oracle.jdbc.driver.OracleDriver

PostgreSQL (v6.5 and earlier)
jdbc:postgresql://<HOST>:<PORT>/<DB>
postgresql.Driver

PostgreSQL (v7.0 and later)
jdbc:postgresql://<HOST>:<PORT>/<DB>
org.postgresql.Driver

Sybase (jConnect 4.2 and earlier)
jdbc:sybase:Tds:<HOST>:<PORT>
com.sybase.jdbc.SybDriver

Sybase (jConnect 5.2)
jdbc:sybase:Tds:<HOST>:<PORT>
com.sybase.jdbc2.jdbc.SybDriver

To test your driver once it's installed, try the following code:


{
Class.forName("Driver name");
Connection con = DriverManager.getConnenction("jdbcurl","username","password");
//other manipulation using jdbc commands
}
catch(Exception e)
{
}

Tuesday, February 24, 2009

What your CV should have: Expert tips..Part-1..


Monday, January 19, 2009

Unable to Start Debugging on the Web Server

Unable to Start Debugging on the Web Server

I hate that, and it seems that every time I (or a co-worker) gets the error “Unable to Start Debugging on the Web Server” on a machine when attempting to debug an ASP.NET project, I have to scramble to remember what to look at. Here's a few things that has worked for me to get things working so you can debug your ASP.NET project when/if you ever get this error:

  • Make sure that IIS is configured to use Integrated Windows Authentication. Look for the checkbox on the Authentication Method dialog launched from the Directory Security tab of the site properties.
  • Make sure that HTTP Keep Alives are enabled. You'll find that checkbox on the Web Site tab of the properties dialog, in the connections section.
  • This one is strange, but it seemed to do the trick for many out there, add http://localhost to the trusted sites in Internet Explorer. To tell the truth, this seems to be a fix for the symtoms, not actually fixing the problem itself, but if it works it works. BTW, you'll have to uncheck the “Require server verification (https:) for all sites in this zone“ checkbox to add it as a trusted site.

Good luck.

(For main source of the above article Click Here)


The following error may occur when trying to run/debug an ASP.NET 2.0 web app, when the web server is not configured properly:

"Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information."

This is usually caused because of one or both of the following problems:

  1. The directory the web app resides in has not been registered as a web application.
  2. The correct ASP.NET version has not been set for the web app (note that this cannot be set until 1. has been sorted out).

To fix problem 1:

  1. Open the IIS admin app.
  2. Right click on your app's directory (/virtual dir) and select Properties.
  3. On the Directory tab, under Application Settings, next to Application Name there will be a 'Create' button - click it. Once the dir has been registered as a web app then this button will say 'Remove'.
  4. Click Apply (or OK).

To fix problem 2:

  1. Open the IIS admin app.
  2. Right click on your app's directory (/virtual dir) and select Properties.
  3. Select the ASP.NET tab.
  4. Select the correct ASP.NET version. Note that this field is disabled if the dir has not been set as an application (see above).
  5. Click Apply (or OK).

(For main source of the above article Click Here)