Library of Graphics

Library of Graphics

Computer Graphics: Fundamental and Practice

Library of Graphics RSS Feed
Search
 
 
 
 

How to Fix the Start Error for Windows Search Service to Enable the Index in Vista

I’m not sure why my windows search service broken recently. I saw an error when I attempted to start the service “Windows Search” in administrative tools –> services console.

Windows could not start the Windows Search on Local Computer.  For more information, review the System Event Log.  If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code – 2147218141.

I went to event viewer, I saw some warnings as:

Event ID 1008: The Windows Search Service is attempting to remove the old catalog.

Event ID 1010: The Windows Search Service has successfully removed the old catalog.

Event ID 1013: Windows Search Service stopped normally.

I searched on internet via google, and a lot of reports on this error, the solution in Windows Vista Forums may resolve some people’s issue, but doesn’t work for me.

Eventually my solution is simple and easy:

1. Select Windows Search 4.0 from your installed updates. You may open your control panel and search for the panels as pictures below. I like this feature in Vista.

2. Uninstall the Windows Search 4.0 and restart. Open “Indexing Options”, you may find the windows search is back :D

3. If you want to re-install the Windows Search, Download Windows Search 4.0 here!

Capture 2009-03-23 10.49.42

Capture 2009-03-23 10.53.21

Good luck!

  • Share/Bookmark

Every time Vista Installer popuped for “Windows configures Microsoft Office professional 2007”

I installed office 2007 on Vista and it works well for several month. Yesterday I installed Visio 2003 from Visual Studio 2005 Team System. Every time when I opened Visio, it popuped a dialog to configure Microsoft Office, and then a registry key access error, and then rollback the configure progress. Then I try to uninstall Visio, same registry key access error. At last I tried various ways and successfully uninstalled Visio. But when I open I open an office product (Word/Excel/PowerPoint, and etc), it gives me a message “please wait while Windows configures Microsoft Office professional Plus 2007”. Then it pops a window with a status bar for “Configuration Progress”. After several minutes, the office product opened. So I uninstalled office entirely, booted, and reinstalled again and again. My account is a domain user and is belong to administrators user group on my machine. I looked this up online, tried different approaches and finally found this one:

Either way you would have to use SubInAcl. Download it from microsoft.com
This tool allows us to edit registry entries even those which you need special rights for.
We will make simple files, depending on the application you need to fix, with code that will fix your registry entries.
1. Download and install SubinAcl.
2. Locate the install folder (default is Program Files/Windows Resource Kits/Tools/)
3. Open Notepad
4. Add the lines you need for your applications (you can find the lines bellow)
5. Save the file as "Officefix.cmd" in the folder where you found SubinAcl.
6. Open the officefix.cmd

I didn’t found the lines of code that “you can find the lines bellow”. Here is the script I used and it works:

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f
subinacl /subdirectories %windir%*.* /grant=administrators=f /grant=system=f
secedit /configure /cfg %windir%infdefltbase.inf /db defltbase.sdb /verbose

  • Share/Bookmark

Do’s on writing software design and architecture documents

 

· If you drone endlessly with details, you don’t see the forest from the trees.

· If you don’t use multiple views, you are likely to miss important aspects of the solution

· If you aren’t focused on quality attributes, then you are most likely documenting design and not architecture

· And if you don’t explain the rationale,  then the document doesn’t have a lot of added value beyond the code itself

  • Share/Bookmark

Fix gap between list items IE / Win in CSS

I got the same issue and pained me for a long time, here is the solution: http://phonophunk.com/articles/ie-fix-for-gaps-between-list-items.php. using "vertical-align: bottom" in "ul li", Perfect!

  • Share/Bookmark

Floating-point: Bit Value of INF, NAN, DEN

I have every write a post and mentioned a little bit about the binary format of IEEE 754 in Comparison of Float and Double Precision. In this post I made a table to indicate the details of bit values for the IEEE 754 32bit single-precision float, the bit values of some special floating point value, including Zero, One, Minus One, Smallest denormalized number, “Middle” denormalized number, Largest denormalized number, Smallest normalized number, Largest normalized number, Positive infinity, Negative infinity, Not a number (NaN).

Capture 2008-09-26 13.12.57

In the column “Watch in Windows”, I put what I can see from the watch window in Visual Studio 2008 (Visual C++ Environment).

  • Share/Bookmark