ASP : “Operation must use an updateable query” error

You may encounter the following common error when you use ActiveX Data Objects (ADO) with Active Server Pages (ASP): Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access 97 Driver] Operation must use an updateable query. CAUSE loadTOCNode(1, 'cause'); This article explains the four primary causes of this error and the corresponding workarounds. Although this article refers to Microsoft Access databases, the information provided here also applies to other types of databases. RESOLUTION loadTOCNode(1, 'resolution'); This error is typically encountered when ... Read more..

March 5th, 2010 admin Posted in ASP - Code No Comments »

AddThis Social Bookmark Button

Refresh / redirect your site using PHP code

The  PHP's header() function You can re-direct or refresh your web pages by simply doing either of the following in your PHP scripts or codes: Method I: using header('location...') Php code:   <?php // refresh / re-direct without delay // --------------------------------- header( 'location:http://www.yoursite.com/test/' ); ?>     Method II: using header('refresh...') Php code: <?php // refresh / redirect to an internal web page // ------------------------------------------ header( 'refresh: 5; url=/test/' ); echo '<h1>You will be re-directed in 5 seconds...</h1>'; // refresh / redirect to an internal web page // ------------------------------------------ header( 'refresh: 3; url=/' ); # ... Read more..

February 27th, 2010 admin Posted in Programing and Coding No Comments »

AddThis Social Bookmark Button

Parsing PHP code in .html or .htm files

 You want to parse php code in html/htm files ? Easier done than said. You need access to the www root of your domain (place where you put your domain files) Use the following  guides : Edit the .htaccess file Where it is ? Go to your WWW root, usually it looks like this - path: /home/username/public_html or more often : /home/user/yourdomain/html This depends on the hosting provider , and the server setup Look for the file named .htaccess. If it's not there, create a blank page ... Read more..

February 20th, 2010 admin Posted in Programing and Coding No Comments »

AddThis Social Bookmark Button

Html Redirect – How to redirect using html code

How do I make an html redirect page ?  Please read the following Strangely enough this is one of the easiest things to accomplish. Here is the quickest and easiest way : Here's the code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Your Page Title</title> <meta http-equiv="REFRESH" content="0;url=http://www.target-redirect-domain.com"></HEAD> <BODY> Optional page text here. </BODY> </HTML> Code Description: <meta http-equiv="REFRESH" content="0;url=http://www.target-redirect-domain.com"> is the part that actually does the redirecting. The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new url. You ... Read more..

January 14th, 2010 admin Posted in Programing and Coding 1 Comment »

AddThis Social Bookmark Button

Disable right mouse click on your site or pictures

This is Perfect for stoping people copying your site content and pictures If you want to disable the right click mouse button on your pages , please read the following JavaScript Code to Disable Right Mouse Click <SCRIPT LANGUAGE="JavaScript"> function noRightClick(buttonClicked) { if (navigator.appName == 'Netscape' && (buttonClicked.which == 2 || buttonClicked.which == 3)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 3 || event.button == 2)) { alert("Your Message Goes Here"); return false; } return true; } document.onmousedown=noRightClick; document.onmouseup=noRightClick; if (document.layers) window.captureEvents(Event.MOUSEDOWN); if (document.layers) window.captureEvents(Event.MOUSEUP); window.onmousedown=noRightClick; window.onmouseup=noRightClick; </script> Please note A message will appear when anyone clicks the ... Read more..

December 26th, 2009 admin Posted in Misc Tips, Programing and Coding No Comments »

AddThis Social Bookmark Button

ASP.NET pages exhibit unexpected behavior because the server-side code is not processed

Symptoms that are exhibited at run time When you view an .aspx page in a Microsoft ASP.NET Web application, you may experience the following symptoms: A blank page may appear in the browser. You may receive an instruction to download the .aspx page. The typical behavior is that the server-side code for the .aspx page is processed, and then the code is not sent to the Web browser in its raw form. Symptoms that are exhibited when you use Visual Studio .NET to debug ASP.NET When ... Read more..

October 9th, 2009 admin Posted in ASP - Code No Comments »

AddThis Social Bookmark Button

ASP.NET 2.0 Web application does not send actual values to the parameters of the Update method of the data source

In an ASP.NET 2.0 Web application, you use data binding to update data. However, the application does not send actual values to the parameters of the data source Update method. Instead, the application sends 0 values or null values to the data source. This problem occurs if the following conditions are true: The control that is used to update data is nested in another control. These two controls are in a templated control. Note This problem does not occur when you use ... Read more..

September 16th, 2009 admin Posted in ASP - Code No Comments »

AddThis Social Bookmark Button

How to save an address book to a CSV file by using the UTF-8 encoding format so that the CSV file can be imported to Windows Mail

How to save an address book to a CSV file by using the UTF-8 encoding format so that the CSV file can be imported to Windows MailView products that this article applies to.Article ID:933855Last Review:March 15, 2007Revision:1.1SUMMARYIn Microsoft Windows Mail, you can only use the UTF-8 encoding format to import an address book. For example, if you want to export the address book from Microsoft Outlook Express 6.0, and then import the exported address book ... Read more..

August 23rd, 2009 admin Posted in Programing and Coding, Windows Defender, Windows Server 2008, Windows Server 2008 - HowTo, Windows Server 2008 - Tips No Comments »

AddThis Social Bookmark Button

Error message when you run an ASP.NET 2.0 application on a Windows Server 2003: “Server unavailable”

When you try to run a Microsoft ASP.NET 2.0 application on a Microsoft Windows Server 2003-based computer, you may receive the following error message: Server Unavailable Additionally, an error message that resembles following is logged in the Application log: Event Type: Error Event Source: ASP.NET 2.0 Event Category: None Event ID: 1088 Date: Date Time: Time User: N/A Computer: ComputerName Description: Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied. CAUSE This issue may occur if you try to run the ASP.NET 2.0 application after you ... Read more..

May 12th, 2009 admin Posted in ASP - Code No Comments »

AddThis Social Bookmark Button

Bug:MutiByteToWideChar returns incorrect Unicode characters using code page 50225

Article ID: 960293 - Last Review: November 19, 2008 - Revision: 1.0Bug:MutiByteToWideChar returns incorrect Unicode characters using code page 50225View products that this article applies to.Expand all | Collapse allSource: Microsoft SupportBack to the topRAPID PUBLISHINGRAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.Back to the topMutiByteToWideChar can return incorrect Unicode characters using code page ... Read more..

March 25th, 2009 admin Posted in Apple Products, MS Office Visio, Microsoft .NET Framework, Microsoft Exchange Server, Microsoft SQL Server, Programing and Coding, Vista Center, Vista Easter Eggs, Vista HowTo, Vista Tips, Windows Defender, Windows Server 2008, Windows Server 2008 - HowTo, Windows Server 2008 - Tips No Comments »

AddThis Social Bookmark Button

How to repair IIS mapping after you remove and reinstall IIS

After you install the Microsoft .NET Framework Software Development Kit (SDK), Microsoft Visual Studio .NET 2002, Visual Studio .NET 2003, or Visual Studio 2005, Microsoft Internet Information Service (IIS) mappings are created to associate the new file extensions and settings for ASP.NET. If you did not have IIS installed when you ran the SDK or Visual Studio Setup, or if you uninstalled and reinstalled IIS after you ran the SDK or Visual Studio Setup, those settings will not be in ... Read more..

January 13th, 2009 admin Posted in ASP - Code No Comments »

AddThis Social Bookmark Button