Archive for March, 2008

Zzzzz!

March 19, 2008

Hmm, yes! I was struggling not to sleep from past one hour and was doing all sorts of stuff (read News, gone through MSDN magazine, read RSS feeds and lastly tea) to avoid it Smile. Finally I am in a state to write this blog.

Well, I am coming up with a new tool and I am adding “Check for Update” feature to the tool. Though I am almost done with the main updating feature, but I am still struggling to add an option to show the user file download size. You might ask me what is the big fuss in that?

I do not want to keep the file sizes in some file on the server and read it from my tool. Basically I want to get the file size in the server before downloading it.

I have seen this kind of feature in many of the download managers like Free Download Manager(FDM). The FDM has a feature like have a Query size (see screenshot below), which tells you the download size before you actually start the download.

FDM

Click Query size and you will get the following screen.

image

I am working towards to achieve something similar. Hoping to find some solution soon!

Advertisements

Encountered one more error!

March 17, 2008

I recently encountered one more error and was able to resolve soon with the help of one of my colleague.

For those who reading this blog, I have no intention to keep posting errors I encountered, but after all this is a blog which is only intended to have issues encountered in my work life 🙂

However I still feel, my posts may help someone who encounters the same error. Hence with this dual things in my mind I continue to post these errors.

Ok now, I was trying to execute a mobile web application, with IIS6 and .net framework 1.1, and I got the following error.

image2

As you can see from the screenshot, application was trying to write to Event Log. From the exception you can grasp that it is a permission issue while reading a registry key.

Following are the steps to resolve this Event Log Permission error:

1. Open registry editor.

2. Drill-down to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog.

3. Right-click on Eventlog and click permissions.

4. Add Local machine\users to the list and give full control permissions and click OK.

5. Then drill-down to next level in Eventlog\Security.

6. Right-click on Security and click permissions.

7. Add Local machine\users to the list and give full control permissions and click OK.

That’s it! This error is gone!

PS: Having said that if these steps does not resolve the issue, you can also try changing the authentication from network to System Account in IIS.