Archive for category Windows 7

Scheduled Task Error 0x8007010B


Introduction

This error had me “scratching my head” at work this week. I was trying to run a scheduled task which performing some bench marking testing of my parallel load using SqlBulkCopy implementation. I thought I had everything set up correctly, but was getting this error. The “job” was just crashing leaving not a trace, apart from the error code in the Task Scheduler.

The Problem

I had a network drive mapping as the path to the executable which was to be run (H:\…). This appears to be a big “No No” with scheduled tasks.  I also tried using a UNC name to the executable but that did not work either.

A hint

Although, this error code is not in the file, WinError.h. The WinError.h file is a very good source of explanations (quick hints) for some errors. Blow is an example of one of the entries in the file. Being able to get just a hint as what the error code is can often be enough to star the process of solving it.

//
// MessageId: SPAPI_E_NO_DEVICE_ICON
//
// MessageText:
//
// There is no icon that represents this device or device type.
//
#define SPAPI_E_NO_DEVICE_ICON           _HRESULT_TYPEDEF_(0x800F0229L)

The WinError.h file is located  at C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include . The file is a C/C++ header file which gets installed when you have C/C++ installed with Visual Studio. or the Windows SDK. The file Windows SDK is available as a separate download and install from MSDN Windows SDK (there are links to downloaded and install the SDK on this page).

 

The Hint

This site had a very short explanation for the error code. Something similar content of the WinError.h file. This was enough to get on the right track to solving this problem. DB Security – Win 32 Error Codes.

The Solution

Copy the contents of .Net build target output from the network onto the C: drive. This scheduled task then worked perfectly.

Conclusion

Simple when you know what the problem is, a real mystery when you don’t.

I wish, that the dialog which is setting up the action of the scheduled task, gave some warning about this potential problem.

, , , , ,

Leave a comment

Compiled Help File (chm) Error – Navigation to the webpage was canceled


Introduction

This error caught me today at work. I was trying to read up on TFS (Team Foundation Server), and downloaded a couple of chm (Compiled Help files) from the MSDN site.

Errorclip_image002

Trying to open a compiled help file (chm) which I downloaded from the MSDN site, get the following error:

 

The Problemclip_image004

Windows 7 is being a bit overprotective. Although I say yes I want to open the file:

 

You still need to do one more thing. Which is unblock the file. clip_image006

 

Conclusion

It may be a useful feature, for some people. It may be my work’s network which has the security levels cranked up to a very high level. For me it is a right pain. Particularly, when I’ve already said yes to one thing only to find I need to do something more.

, , , , , , ,

2 Comments

Dirty Trick Some Shareware Installs Do – Plus How to fixes


Introduction

I’ve “got the pip” with shareware installs which do stuff to your machine that they should not do (my opinion).. So, after cleaning up another “mess” from a shareware install,  I have decided to write this so that others can “clean up the mess” that some shareware installs leave as well.

Maybe, just maybe, if enough people read this, and learn how to “remove the mess” that shareware installs leave behind, those producing the “mess” will give up causing us the inconvenience of removing it afterwards and stop making a “mess” in the first place.

Adding their site as a homepage in Internet Explorer

Symptoms

When you open internet explorer, you get the products web page, as well as the site you want as you home page. This can be very annoying, and very simple to undo.

How to Undo:

From The Tools menu item in Internet Explorer select the Internet options menu item image

This will give you the following dialog. Remove the web sites you do not want opening automatically as you home pages. The use the OK button to save the changes. image

Add a Tool Bar to Internet Explorer you did not want

Symptoms

You’ve a tool bar you don’t want!

How to Undo:

Tools -> Manage Add-Ons

clip_image002

The just find the “offending” Add-On and disable it. There are a couple of places to find it in, but looking at all of the things added to Internet Explorer, you should be able to find the ones you want to switch off.

Adding something extra into your system start up

Symptoms

You have a new, and unwanted, notification icon in the system tray.

The shareware throws up a nag screens, either each time you boot up, or periodically.

How to Undo

Control Panel -> Administrative Tools -> System Configuration -> Start Up Tab image

Turn the tick off (set a Date Disabled) for the things you don’t want.

Warning: Turning off things which you don’t understand could you problems, just find the software vender, software name for the thing(s) you wish to kill.

<Apply> and the <OK>

Conclusion

If you have read to here, then hopefully you now feel equipped to go and clean up the “mess” shareware installs have left on your machine. I wish you good success in removing those bits of the products you did not bargain on getting in the first place.

If enough people learn to remove the “mess” from shareware installs, maybe the people writing the shareware installs give up on making the “mess” in the first place. I hope this blog post goes some way to spelling the end of these “nasty habit”.

PS: Spread the word, remove the “mess”, and take control of your machine again!

, , , , , , ,

3 Comments

%d bloggers like this: