Microsoft Outlook Search is Not Working : Resolved

I had Outlook 2010 and I was not able to search any email using search box. Whenever I used to click on search box provided in Outlook, Search toolbar area got grayed out. Even if I tried to search email by putting criteria manually, it didn’t work out for me. Search functionality is the backbone of any system where tons of information is stored.

To fix this issue always look for below options one by one.

1. File > Options. Now in right hand section of ‘Outlook Options‘, click on ‘Search‘.

2. Click on ‘Indexing Options…‘ button. Start indexing your email, so that they could show up in search.

What if ‘Indexing Options…’ is grayed out?

  1. Click on Start > Run in your windows. Or you can press ‘window key + R‘ keys combination.
  2. Type ‘Services.msc‘ and hit enter.
  3. Inside Services console, Select ‘Windows Service‘ and check whether it’s stop or not. If it’s stopped then start the service.
  4. If this service is disabled then first enable this service (Right click the service and then click on Properties. Under General tab, change the option to ‘Automatic‘ in Startup type. Click Ok and then start the service.)
  5. Now check the ‘Indexing Options…’ This should worked now.

 Still have issues. More places to look in to fix this issue.

  1. Click on Start > Control Panel.
  2. Open Programs and Features.
  3. Now click on ‘Turn Windows features on or off‘ (Resides in left hand side of window.)
  4. Check whether ‘Windows Search‘ check box is marked. If not then mark it and click Ok.
  5. After completing this, you can follow above steps to run the Windows Search.

Deleting EXE Files in Windows 7 : Resolved

If you are working with Windows 7, you must face below mentioned problems while deleting .exe files.

  1. Like if you delete an exe file directly then it disappears and seems like deleted, but when you refresh the folder by pressing F5 then it appears again.
  2. You are deleting a folder and that folder is not getting delete as there is an exe file inside that folder.

Initially I thought of that there is a virus in the system but after scanning the whole system 2-3 times with different antivirus program, I found that there is no such virus in the system. So what’s the root cause of this problem?

I thought that, might be these exe are running somewhere but after checking task manager I couldn’t found anything specific. So I conclude that here must be some service that is locking the application and service is not necessarily using these exe but just holding them. So I opened service console to examine same. After checking Services console I found that there is a service ‘Application Experience‘ that is responsible to process application compatibility cache requests for applications as they are launched was DISABLED. I simply enabled this service and start the service. And now I can delete exe files and folders smoothly.

Till now i tested this only on Windows 7 OS but it should work on VISTA and related windows os.

Cheers !

Installing assembly in GAC in Windows Server 2008 : Resolved

I developed an event handler and need to deploy it on production server. My production server is built on Windows 2008 Enterprise Server 64 Bit and there was only one installation on server i.e. SharePoint Server 2010. Now I need to install my assembly in to GAC. I copied my .dll to production server. Then I opened c:\windows\assembly and drag drops my assembly in to GAC (c:\windows\assembly folder). But nothing happened and my assembly couldn’t install in GAC 😦

Drag and drop was not working. So second alternative was to use gautil.exe to install the assembly inside GAC but as it was production server so there wasn’t any installation of visual studio and hence there was no SDK installed therefore there wasn’t such exe like gacutil.exe. Again that was a problem. Now I worked on why drag and drop is not working. I searched here and there and follow some articles but nothing helped me. I disable UAC and restart server but it doesn’t work. I opened console and explorer using run as administrator but nothing helped me. Then I copied gacutil.exe file from my development machine to production server but I couldn’t run it (Though lastly this technique worked for me).So finally I resolved this issue and below are the directions for how to resolve this?

1. First check that if production server is of 32 bit or 64 bit?

2. If it is 64 bit then open folder “C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64

But if it is 32 bit then open folder “C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin

3. Copy 2 files i.e. gacutil.exe & gacutil.exe.config

4. Paste these files to any location of production server.

5. Your gacutil.exe is now ready to run and u can install assembly in to GAC using this small utility.

 Points to Remember

* When you drag and drop assembly in GAC it won’t give proper error messages (Like targeting framework error) if it has any so better to use gacutil to install assembly.

* gacutil.exe doesn’t run standalone rather it needs a configuration file to run i.e. gacutil.exe.config

Microsoft Visio 2010 crashes very frequently : Resolved

I was working on DFD of an on-going project. For DFD designing I chose Microsoft Visio 2010 but after doing some work on that I came to know that Visio crashes very frequently. Believe me that for callout descriptions I need to copy paste a text and for achieving this task Visio crashed more than 20 times. Totally frustrating. Well I restarted the machine and somehow managed the crashes.

On very next day I need to update that DFD and again same thing happen to me as whenever I click on save, Visio got crashed. So I decide to analyse the problem of Visio and tried to fix it. So from that very time my Visio 2010 is working fine. Below are the description of what I analysed and fixed.

When we install Microsoft Visio 2010 in to system then by default a new add-in installed and activate inside Visio i.e. Send to Bluetooth. As when you open the Visio you will find the last tab as Add-Ins and when you click on that you will find that there is Send to Bluetooth in ribbon menu. This is the root cause of Visio crashing. So I disabled this and Visio working fine for me after doing this. Find steps below:

  1. Go to File > Options
  2. Visio Options window will pop up
  3. On left hand side menu of pop up window, click on Add-Ins
  4. Now on right hand side area make sure to select COM Add-Ins options in Manage dropdown box.
  5. Click on Go button that is in front of Manage dropdown box.
  6. COM-Add-Ins window will pop up
  7. In the list of available add-ins, unselect the checkbox in front of Send to Bluetooth.
  8. Click on OK button.
  9. Restart Visio 2010 and you see that now there is no Add-Ins menu.
  10. You are now ready to work smoothly.

Cheers 🙂

Create large size file for testing on the fly!

Suppose we write some custom code for uploading/downloading files. Now we want to test the size limitation of a file for Uploading/downloading the file. So for achieving this we look a large file here and there in our system for testing.

Here i am demonstrating that how to create a large file for testing in such scenario on the fly by simply putting a command in command prompt.

  1. Open command prompt as an administrator.
  2. Write the command without quotes “fsutil file createnew C:\testfile.doc 1024000” and the simply press enter.

Now you have a 1 mb testfile in your c drive.

You can give any valid location, name, extension and size of the file to create.

Happy tricking 🙂


Microsoft Updation Terminology

If you work in windows environment then you must heard about some terminology like Patch, Hotfix, Service pack etc.
They all are different concepts and terms, so what they mean exactly ? Below i am sharing these concepts and terms with you.

A single cumulative package composed of one or more files used to address a problem in a product. Hotfixes address a specific customer situation and may not be distributed outside that customer organization.

Public update
A public update is usually a security-related hotfix that is released publically and is available for download.  The Windows update configuration can identify these updates and install them automatically. You link to public updates from security bulletins. Typically, these hotfixes are released as required. Service packs are another example of a public update.

Service pack
A tested, cumulative set of all hotfixes, security updates, critical updates and updates, as well as additional fixes for problems found internally since the release of the product. Service packs can also contain a limited number of customer-requested design changes or features.

Scheduled delivery model
Microsoft Office is moving away from the current priority-driven hotfix release model to a scheduled delivery model. In the scheduled delivery model, hotfixes are released every two months. This schedule creates more predictability for customers. Customers who need an emergency fix can request a shorter turnaround time for a hotfix.

The following delivery mechanisms support this new approach.

  • cumulative update (CU)
  • critical on-demand (COD) hotfix

Cumulative update
A collection of hotfixes released every two months. A cumulative update (CU) rolls up previously released hotfixes and cumulative updates. A CU is sometimes called an update rollup.

Available hotfixes include the following:

*Fixes for issues that meet hotfix acceptance criteria. These criteria include workaround availability, effect on customers, reproducibility, and the complexity of the code that must be changed.
*Any critical on-demand hotfixes that are currently released.
*Any critical security or non-security updates that are currently released.

Critical on-demand (COD) hotfix

A critical on-demand (COD) hotfix is available to address critical problems that cannot be handled via the cumulative update delivery cycle. COD fixes are limited to emergency situations, for example, one in which the issue is blocking normal business operations for the customer, and/or for which there is no effective workaround. Critical on-demand (COD) hotfixes are included in the next cumulative update that is released.

*COD releases have the versioning pattern 12.0.xxxx.500X. An example is a CU released with the version 12.0.6327.5000, with a COD hotfix subsequently required. In this example, the version of the COD hotfix is 12.0.6327.5001. If additional hotfixes are required before the next CU, the next version number is 12.0.6327.5002, and so on until the next CU is released.

The downloaded item, an executable (.exe) file that is downloaded for a update rollup or hotfix. A package can contain one or more patches. Depending on the download mechanism that is provided, this executable file might be wrapped inside another password-protected executable file. After you extract the package, you have one or more .exe files that use a Knowledge Base (KB) number as part of its name; for example, Webfldrs-KB907306-ENU.exe. In this example, most customers run the Webfldrs-KB907306-ENU.exe executable file when they update their SharePoint servers.

Patches are stored inside packages. The patches run Windows Installer program (msiexec.exe) to update the original installation packages (which have the .msi file name extension) with new information or binaries. Patches that are installed by the Windows Installer program have the .msp file name extension.

Localized patch
A localized patch, or local patch, contains updates to language-specific strings or related code.

Global patch
A global patch is language-agnostic and can be applied to any server regardless of the base installation language or whether language packs are installed. Most software updates are delivered by means of global patches.

An upgrader is a specific piece of the product that evaluates the current state of related objects and possibly alters them to match newer schema, enable new functionality, or correct known issues.

Removing Programs listed from the Control Panel’s

If you remove an installed program and its files by deleting the files, it may still show up in the Add/Remove programs list through the control panel. In order to remove it from the list (so you don’t need to re-install in order to just remove it again).

Start the Registry Editor by clicking RUN from start menu and entering ‘regedit’ without quotes.
Open HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows / CurrentVersion / Uninstall
Delete any programs from the list.
This will only delete them from the list, not delete the actual programs. Only programs designed for Windows95 will show up here in the first place.

Non Windows Updates

Have you missed any updates? Check out the month by month and by year boxes from Nov. 2005 to Dec. 2009

Displayed by past months, this page lists all new, revised, and re released updates for Microsoft products *other* than Windows (for example, Microsoft Office).

Get up to date and check ’em out now!