Skip to main content

Posts

The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine

The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine' error This is the error which most of the people face, I also faced this error and searched in google and found a lot of websites which are giving solution to the problem(The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine') , but this is of no use. But there are some websites which can really help you in this matter, This error you can also get while compiling an application in machines like x64 or x86. There are two solutions to it 1) If you are in development ( Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine ) To solve this issue open the project in Visual Studio then: 1. From the solution explorer right-click on project name then click on Properties 2. Click on the Build tab 3. Change Platform target from: Any CPU to x86 4. Re-build your solution 5. You are good to go 2) If your applica...

Http 500.50 URL Rewrite Error

Symptoms: HTTP Error 500.50 - URL Rewrite Module Error. Error Information Module- RewriteModule Images are broken and not displayed in wordpress, Images are displayed when you edit them,Wordpress Images Broken, Wordpress Images Upload Issue This post if for the people who are searching all the pages over internet for " HTTP Error 500.50 - URL Rewrite Module Error". You might be searching for the pages which will give you solution to install/uninstall the url rewrite module.When you are running Wordpress on Windows server 2008 these types of error pops up.  So I scratched my head and started searching and found out one website which is useful in this type of error. Then I filtered everything and prepared a process for this.This will reduce your turn around time. Step-1: Open PHP.ini and search for  "upload_tmp_dir" and change the value to windows temp directory "C:\Windows\Temp" Step-2: Right click On the Windows/Temp folder and assi...

not able to open microsoft website/microsoft website blocked/Microsoft website not opening

Not able to access any antivirus websites or even microsoft website, Most of the people have problem in opening the website of microsoft or any other antivirus vendors website. Generally people think that this is a virus attack or a  misconfiguration in browser/System which block the Microsoft website I will suggest a simple workaround for this, I have tried this in windows XP not sure about other operating systems, Please check it and let me know Click on Start >> Administrative tools>>Services Select services from the listing      Select DNS client service, If it is started Right Click on it and select Stop. To Stop the Service. Next open a browser and type http://www.microsoft.com This will open the open microsoft website. Note: this is just a work around.Please scan your system for virus or any other threats. This blog is not responsible for any effects after the steps, Please do it at your own risk.

machine key generator

This tool allows you to generate random keys for validation and ecnryption/decryption of the view state (and other purposes). It builds a element which you need to include in your web.config file. The tool creates a 256-bit decryption key and a 512-bit validation key, with Rijndael as the data validation algorithm. http://aspnetresources.com/tools/machineKey

start or stop a service using batch file

To start a service and copy the files and stop the service in windows service . Please check the below code @echo off net stop " service name" echo service stopped XCOPY c:\books.xml D:\books.xml echo copied net start " service name" :end The  command net start " service name" will start the service, change the service name to your desirable  service to start The  command net stop " service name" will stop the service, change the service name to your desirable  service to stop XCOPY command will copy the file from source to target destination type all these command under a batch file and save it and then run it in command prompt It is assumed that the user's know, IIS, windows service

delete service in windows server 2008/server 2003/xp/ vista

How to delete a service in windows server 2008/server 2003/xp/ vista. Note: There are some services which are system specific and cannot be stopped, Be careful while deleting a service The command to delete the service is "sc delete " The above command executes in DOS prompt.  An error will will come when you execute this command: "[SC] OpenService FAILED 5:" To remove this error and to execute the command in good manner.  When you open the command prompt , run it as administrator and then type : "sc delete " This is how to delete the service Start/Stop the service  You  can also start the service by Control panel-->administrative tools--> Services Right Click on the selected service and start/stop it Ps Note: Before deleting a service in windows server 2008/server 2003/xp/ vista you should confirm the name of service and research in google the effect after you  delete a service. It is difficult to recall the service back...

Exception Cross-thread

Exception:- Cross-thread operation not valid: Control 'treeView' accessed from a thread other than the thread it was created on. I have kept treeview, You can replace it with control of your choice Solution   if (treeView.InvokeRequired)                     {                         this.Invoke((MethodInvoker)delegate()                         {                                                     ...