Archive

Archive for the ‘Troubleshooting’ Category

WD 360 GB external harddrive copy error and solution

August 14th, 2009 1 comment

Last year I purchased Western Digital 360GB external USB harddrive. I tried to copy a big file but it said that I don’t have enough space on my hard disk. I wondered why it was throwing an error as I had enough space on my external drive and also computer drive (in case copy command need it for buffer????) I searched internet and found that if the hard disk is formatted as FAT32, it will not allow the file greater than 4 GB size. So what is the solution? Read more…

Check the existence of COM object registered using regsvr32

May 2nd, 2008 No comments

I had a chance to work on project which was using a COM object. This object was registered using regsvr32. During application migration to another server, I wanted to check the if this object exists on new server or not. I don’t wanted to write VB application to just check that object so suddenly a thought came in my mind. If I write down a vbs script file, with few lines of code, I can check out quickly. Here are the instructions to do it.

For this, you need to create a file checkobject.vbs on your computer and copy/paste the following code in it.

On Error Resume Next
Dim objVariableSet objVariable = WScript.CreateObject ("Wscript.Network1")
If Err.Number <> 0 Then
	Msgbox "Object is not found", vbCritical
	Err.Clear
Else
	Msgbox "Object found"
End If
Set objVariable = nothing

Now if you double click on that file, VB Script will be executed and appropriate message will be shown.

php.ini changes have no effect

April 13th, 2007 2 comments

Today I tried to install PHP and MySQL on my local Windows XP Pro machine. Both were working fine individually but I couldnot connect to the MySQL from PHP code. I tried to change php.ini file but no matter what I do, changes were not reflected when I tried phpinfo() function.

It was showing Configuration File (php.ini) Path = C:\php\php.ini which is correct and I did not have any php.ini on any other location. Everytime I make changes, I was restarting the IIS Server but any how changes were not reflected. In resetting IIS what I was following is go to Control Panel > Administrative Tools > Internet Information Services > Expand [Computer Name] > Expand Website > Right Click on Default Website and press Stop button and again start it. But after sometime I found that this is NOT IIS restart. It is just Website restart. For IIS restart run the following command on Dos prompt.

iisreset /restart

And boom. I got my php correctly configured and now I can connect to MySQL from PHP code.

Categories: Troubleshooting Tags:

Where is “Security” tab when I check for property of file/folder in Windows XP Pro?

March 8th, 2006 2 comments
  • Go to Windows Explorer.
  • Go to Tools > Folder Options…
  • Click on “View” tab.
  • In “Advanced Settings” uncheck the option “Use simple file sharing(Recommended)”

Now you will be able to see “Security” tab

Categories: Troubleshooting Tags:

Error while installing InfoPath toolkit for Visual Studio

January 14th, 2006 2 comments

Error Description:
“Setup cannot detect the required version of Visual Stdio .NET onthis computer. Before you install this product, you must install a matching regional language version of Visual Studio .NET 2003,Visual Basic .NET 2003, or Visual C# .NET 2003.”
Check out the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Setup\VS\BuildNumber\1033
If this key is not available the installation will not succeed.

Solution of this problem is to reinstall/repair the Visual Studio and get this key.

Categories: Troubleshooting Tags:

Firefox – Choose User Profile

September 25th, 2005 4 comments

Today I was browsing using firefox and suddently it got stuck. I
closed the browser window and tried to open it again but I got the
screen for user profile.

FireFox - Choose User Profile

I tried to use “default” profile but gave me error that “Firefox
cannot use the profile ‘default’ because it is in use”. I created
another profile and started using FF, but all my settings and bookmarks
were gone. Now whenever I open FF, it was using newly created profile
but did not show dialog box for choosing profile. I tried google and
found the solution of the problem.

When I closed browser, the process firefox.exe in taskmanager was
not killed but it was running. If you want to see how many profiles are
existing for FF, close all FF window, and try to run the command
“firefox -profilemanager” from Start > Run… and you will get the
window as shown in picture. Delete all unnecessary profile and choose
“default” profile. Kill the process firefox.exe from taskmanager and
open FF.

Categories: Troubleshooting Tags: