28 December 2009

The application failed to initialize properly (0xc0000142) when you try to open the Windows Command Prompt.

You might encounter the following error message when you try to open the Windows Command Prompt:
 
The application failed to initialize properly (0xc0000142)
According to my investigations done by using Google search, this error might be caused by Microsoft ISA Server or bugs inside the Command Prompt itself.
 
If you are very sure that your problem is not related to Microsoft ISA Server (please check from "Add/ Remove Programs", see whether you got installed this Microsoft ISA Server or not), then you can try to use the following hotfix. What I can tell you is, this fix resolved my problem:
 

10 December 2009

The procedure entry point could not be located in the dynamic link library oranl10.dll

You might encounter the following error when you trying to connect to the Oracle database by using SQL PLUS:

The procedure entry point could not be located in the dynamic link library oranl10.dll


The solution is as below:

a). Go to the Oracle Universal Installer.

b). Click the "Installed Products...".

c). System will prompt you a new screen called "Inventory".

d). Now, click the "Environment" tab.

e). In the "Home Name", please move up the original service name by using the arrow.

f). After that, click the "Apply" button and then "Close" button.

g). Exit the Oracle Universal Installer.

h). Try to connect to the Oracle database by using SQL PLUS now.

The request failed with HTTP status 400: Bad Request.

This problem occurred because of the URL consists of special character or space.

If the URL is hard-coded in your web.config, then you have to open your web.config and make sure the URL is OK.

05 December 2009

Wrap in Oracle

You are going to deploy a new package to your client. But you do not want to disclose the codes in that package, so what you need to do?

a). Go to the Windows command prompt.

b). Type the following command:

wrap iname=<input file> oname=<output file> edebug=wrap_new_sql

How to quick search in Package_Body?

You might have hundreds of packages in your Oracle database.

Now, you need to check a syntax in those package bodies. But you are not sure which packages are related.

Thus, you will need this command:

Select * From user_source Where text Like '%What_You_Want_To_Find%';

10 November 2009

Windows 7 in Malaysia

Reference: http://www.win7.com.my/







Finally, Microsoft's Windows 7 launched in Malaysia.
If you are ready with your money, it's time for you to contact the vendors for new laptops, PC and etc. Do make sure it is come with Windows 7.


For newbies:
What is Windows 7?

03 November 2009

Acer neoTouch released

Reference: neoTouch Details http://mobile.acer.com/en/phones/neotouch/



Running on Windows Mobile 6.5, powered by Qualcomm® 8250 1 GHz CPU with 512 MB ROM 256 MB RAM.
This device also provides Micro-SD™ slot that support up to 32 GB and Mini-USB.

Below are the main features:

* Clear and easy-to-use virtual keyboard
* 3.8" High-definition touch screen display
* 5 Megapixel autofocus camera with LED flash and VGA video recording
* Direct link to social networks (Facebook, YouTube, Flickr, Blogger)
* 3G+ high speed connectivity and integrated Wi-Fi
* Assisted GPS and Google Maps with Latitude, Street View, Traffic, POI Search
* Complete set of productivity applications
* Automatic wireless and web-based device synchronization

For more details, please click the link at the Reference.

Set debug file before tracing SPL routines. (-687)

You may encounter the below error message from the application that access to your Informix database:

Set debug file before tracing SPL routines. (-687)

According to Informix finderr, the possible reason is:

A TRACE statement was executed before a SET DEBUG FILE statement. The destination of the output of the TRACE statement is unknown.
This error can also apply to the TRACE OFF statement.


But from our experience, you may need to check the following items if the above does not help:

a). Make sure the Informix user id is created as Windows user.

b). Assign that user to access the related folder or drive.

02 November 2009

Query Engine Error

Visual Studio Version = 2005

Crystal Report Version = 9.2

Effect of the error message = The report viewer is fully blank. You cannot see the Crystal Report logo.

Error message from the exception = Query engine error.

Solution:

a). Install the following files:

cr90dbexwin_en.exe

CRRedist2005_x86.msi

CTL Crystal Reports 9.2 Distribution.msi

If you installed the above files before, please choose to repair them.

How I know the problem is fixed?

1). The report viewer should at least display the Crystal Report logo now. If you still encounter no record printed, please check your dataset row count.

23 October 2009

The request could not be submitted for background processing.

If you hit the above error message when trying to load the Crystal Report in Visual Studio .NET 2005, then you may try to follow the steps below to resolve the problem:

a). Add the NETWORK SERVICE user into the security of the following folders:

C:\WINDOWS\Microsoft.NET
C:\WINDOWS\Microsoft.NET\Framework
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

b). End the asp_net process in the Task Manager.

c). Recompile your source code.

14 October 2009

Cannot open Oracle 10g OEM in the internet browser?

If you cannot open the Oracle 10g OEM in the internet browser, and Windows is giving you this error:

The OracleDBConsole<SID> service terminated with service-specific error 2 (0x2).

Then, the following details might be able to resolve your problem.

    1. Make sure the PATH, ORACLE_HOME and ORACLE_SID are defined correctly in Control Panel -> System -> Advanced -> Environment Variables -> User variables for Administrator.

    2. Make sure the following folders are exist in D:\oracle\product\10.2.0\db_1\oc4j\j2ee

        OC4J_DBConsole_<COMPUTER_IP>_<SID>
        OC4J_DBConsole_<COMPUTER_NAME>_<SID>

    3. Make sure the following folders are exist in D:\oracle\product\10.2.0\db_1

        <COMPUTER_IP>_<SID>
        <COMPUTER_NAME>_<SID>

    4. You might need to restart your Windows after the above changes.


For more information, please refer to http://forums.oracle.com/forums/thread.jspa?threadID=309223

01 October 2009

DataSource in ListBox and ComboBox

In VB.NET, both ComboBox and ListBox controls allow the software developer to define the DataSource.

However, there might be some errors occur if the way to define the DataSource is not correct.

Sequence to define DataSource and columns name

You are recommended to define the DataSource by the following sequence.

.DisplayMember = mstrDisplayMember
.ValueMember = mstrValueMember
.DataSource = objDS.Tables(0)

Beside that, always make sure that the value for .DisplayMember and .ValueMember are pointing to the correct columns name.


What happen if the sequence is wrong and the ValueMember is pointing to incorrect column name?

Some software developers prefer to put ".DataSource = objDS.Tables(0)" at the first line. If the value of the .ValueMember is incorrect, then VB.NET will prompt you an error message.

Example:

.DataSource = objDS.Tables(0)
.DisplayMember = mstrDisplayMember
.ValueMember = "Incorrect Column Name"

Error message = "Cannot bind to the new value member. Parameter name: value"


What happen if the sequence is correct but DisplayMember and ValueMember are pointing to incorrect columns name?

VB.NET will not prompt you any error message but the result in the controls will be displayed as "System.Data.DataRowView".

Example:

.DisplayMember = mstrDisplayMember
.ValueMember = "Incorrect Column Name"
.DataSource = objDS.Tables(0)

Result = System.Data.DataRowView (if the result returned 3 records, then VB.NET will show you 3 "System.Data.DataRowView")

02 September 2009

Visual Studio 2003 Setup faild

There might be a lot of reasons why Visual Studio 2003 setup failed on your machine.

So, the best practice to trace the error is always refer to the "Installation_Log.txt".

If you found something like the following error message:

RunMSI.exe exited with return value 1601.
Error code 1601 for this component means "The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the Windows Installer is not correctly installed. Contact your support personnel for assistance.



Then, you must do the following to resolve this error:

a). Install the Windows Installer 3.1 or Windows Installer 4.5

b). Redo the Visual Studio 2003 setup

09 July 2009

Microsoft Security Advisory: Vulnerability in Microsoft Video ActiveX control could allow remote code execution

The following products are required to apply the latest fix from Microsoft in order to patch the security issue for video activex control:
  • Microsoft Windows Server 2003 Service Pack 2, when used with:
    • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
    • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
    • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
    • Microsoft Windows Server 2003, Web Edition
    • Microsoft Windows Server 2003, Datacenter x64 Edition
    • Microsoft Windows Server 2003, Enterprise x64 Edition
    • Microsoft Windows Server 2003, Standard x64 Edition
    • Microsoft Windows XP Professional x64 Edition
    • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
    • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows XP Service Pack 2, when used with:
    • Microsoft Windows XP Home Edition
    • Microsoft Windows XP Professional
  • Microsoft Windows XP Service Pack 3, when used with:
    • Microsoft Windows XP Home Edition
    • Microsoft Windows XP Professional
How Do I Apply This Fix?

1. Go to http://support.microsoft.com/kb/972890

2. Click the "Enabled Workaround - Fix It" button. You will required to download a msi file.

3. After complete the download, just run the msi file to install the fix in your computer.

4. After that, restart your computer (even the fix does not asking for it).

26 June 2009

How to dbImport in Informix?

1. dbimport <database_name> -d <dbspace_name> -l buffered

NOTE: l = small L

2. ontape -s -B <database_name>

3. Go to the folder <database_name>.exp

4. dbaccess <database_name> pp.sql

23 June 2009

PLS-00123: Program Too Large when compile invalid objects in PL/ SQL ?

Go to PL/ SQL -> Tools -> Preferences -> Oracle Debugger:

a). Un-check the "Add debug information when compiling".

b). Click the "Apply" button.

c). Click the "OK" button.

d). Compile invalid objects now.

NOTE: In case you want to debug your package in PL/ SQL, you will need to check the "Add debug information when compiling" checkbox.

05 June 2009

Set Define Off in Oracle

Oracle will ask you to enter the value if your UPDATE statement is written as below:

Update my_table Set my_field = 'You & I are good boy';

At the end, the value for my_field will not be updated even you have entered something.

To overcome this problem, you just need to add one more statement before the UPDATE statement:

Set Define Off;
Update my_table Set my_field = 'You & I are good boy';


NOTE: This topic also related to DELETE or INSERT INTO statement.

20 May 2009

Shared memory not intialized for INFORMIXSERVER

The solution is:

a). Get the latest backup of the database. We assume there is ontape backup.

b). Do a ontape restore.

c). Load in the data until up-to-date.

oninit in Informix

oninit

The command is to start up the Informix database, in case it is in shut down mode.

oninit -iy

Take not that oninit -iy will clear all of the existing data in your Informix database. This is called "disk space initialisation".

It uses the values that are stored in the onconfig file to create the initial space on disk for storing data.

When you initialize disk space, the database server automatically initializes shared memory as part of the process.

When you initialize disk space, you overwrite whatever is on that disk space.

If you re-initialize disk space for an existing database server, all of the data in the earlier database server becomes inaccessible and destroyed.

16 May 2009

Recall : HP Notebook PC Battery Pack

Original News: http://bpr.hpordercenter.com/hbpr/M14.aspx







In cooperation with the U.S. Consumer Product Safety Commission, on May 14, 2009. HP announced a worldwide voluntary recall and replacement program for battery packs used in certain HP notebook PCs. HP customers with a battery pack affected by this program will be eligible to receive a replacement battery pack for each verified and recalled battery pack at no cost.

We are taking this action as part of our commitment to provide the highest quality of service to our notebook customers. We are proactively notifying you of this issue and are prepared to replace all verified battery packs.

Note: This recall is unrelated to any previous battery pack recalls.

HP and the battery cell manufacturer believe that certain battery packs shipped in HP notebook PC products manufactured between August 2007and January 2008 may pose a potential safety hazard to customers. The batteries can overheat, posing a fire and burn hazard.

Click here for full announcement from HP official site

24 April 2009

FWD: KDDI & Sharp : To Release Solar-Powered Mobile Device


Reference: http://www.au.kddi.com/english/au_design_project/models/2008/solar/



News Picked From The Tech Herald:

f you’re keen on hitting the beach for extended periods during the summer months, but want to be properly equipped and always available when it comes to mobile communication, then perhaps you should raise an eyebrow at the new solar-powered phone being developed by KDDI and Sharp.

While they perhaps can’t offer you advanced factor sunscreen or a sculpted body, the Japanese boffins at KDDI Corporation are presently hard at work on waterproof mobile phone technology that relies completely on the absorption of sunlight for continual usage while out and about.

Expected to be ready for retail this coming June via a handset being manufactured by Sharp Corporation (which has not yet been detailed or priced), the phone will convert a 10-minute solar charge into around one minute of actual talk time, or provide some two hours of standby time.

Tokyo-based telecommunications specialist KDDI also claims that by utilising the power of the sun through storage technology embedded within the handset’s front face, Sharp’s pool and beach-friendly device will be able to gather enough power to charge up to 80 percent of its internal battery.

The joint collaboration between KDDI and Sharp, which is part of the ‘Green Road Project’, has presently only been earmarked for release in Japan. It remains to be seen whether any resulting success sees the solar-powered handset granted a more global roll out.

While likely to be the first such solar-powered handset to reach market, news of the KDDI/Sharp device comes in the wake of similar environmentally friendly solar phones unveiled recently by the likes of Samsung and LG.


Where ASP.NET Logging...?

The following folder is the place where ASP.NET projects store the system log:

C:\WINDOWS\system32\Logfiles\W3SVC1

FWD: Yahoo's Cuts Fall on GeoCities; Service Will Shut Down

Original news: http://tech.yahoo.com/news/zd/20090423/tc_zd/239596





It's the end of an era.

Yahoo announced Thursday that it will shut down GeoCities, the Web site building business it acquired a decade ago.

"We have decided to discontinue the process of allowing new customers to sign up for GeoCities accounts as we focus on helping our customers explore and build new relationships online in other ways," Yahoo said in a statement. "We will be closing GeoCities later this year."

The closure is part of an effort to streamline operations at Yahoo, a plan that chief executive Carol Bartz outlined in more detail during the company's Tuesday earnings call.

"We are increasing investment in some areas while scaling back in others," according to a spokeswoman. "For example, after careful consideration, we recently discontinued products such as Yahoo Briefcase, Farechase, My Web, Yahoo Audio Search, RSS ads, Yahoo Pets, Yahoo Live, Kickstart and Yahoo For Teachers, and outsourced Launchcast radio to CBS. We continue to evaluate our portfolio of products and services on a regular basis, and plan to share details of further changes with our consumers and partners in the months ahead."

People with existing Geocities Web sites can still access and add content to their sites, but they will be shut down by the end of the year. "You don't need to change a thing right now — we just wanted you to let you know about the closure as soon as possible," Yahoo said in a FAQ on the Geocities site. "We'll provide more details about closing GeoCities and how to save your site data this summer, and we will update the help center with more details at that time."

The company urged users to upgrade to Yahoo Web Hosting service.

Yahoo purchased GeoCities in January 1999 for $5 billion.

07 April 2009

Solution for View State error in ASP.NET

In the IIS, go to the Default Web Server property, make sure that you are using the correct TCPIP Port.

17 February 2009

FWD : Microsoft offers $250,000 reward for Conficker arrest and conviction.

Reference : http://www.microsoft.com/Presspass/press/2009/feb09/02-12ConfickerPR.mspx?rss_fdn=Press%20Releases

REDMOND, Wash. — Feb. 12, 2009 — Today, Microsoft Corp. announced a
partnership with technology industry leaders and academia to implement
a coordinated, global response to the Conficker (aka Downadup) worm.
Together with security researchers, Internet Corporation for Assigned
Names and Numbers (ICANN) and operators within the Domain Name System,
Microsoft coordinated a response designed to disable domains targeted
by Conficker. Microsoft also announced a $250,000 reward for
information that results in the arrest and conviction of those
responsible for illegally launching the Conficker malicious code on
the Internet.

"As part of Microsoft's ongoing security efforts, we constantly look
for ways to use a diverse set of tools and develop methodologies to
protect our customers," said George Stathakopoulos, general manager of
the Trustworthy Computing Group at Microsoft. "By combining our
expertise with that of the broader community we can expand the
boundaries of defense to better protect people worldwide."

As cyberthreats have rapidly evolved, a greater level of industry
coordination and new tactics for communication and threat mitigation
are required. To optimize the multiple initiatives being employed
across the security industry and within academia, Microsoft helped
unify these broad efforts to implement a community-based defense to
disrupt the spread of Conficker.

Along with Microsoft, organizations involved in this collaborative
effort include ICANN, NeuStar, VeriSign, CNNIC, Afilias, Public
Internet Registry, Global Domains International Inc., M1D Global, AOL,
Symantec, F-Secure, ISC, researchers from Georgia Tech, the
Shadowserver Foundation, Arbor Networks and Support Intelligence.

"The best way to defeat potential botnets like Conficker/Downadup is
by the security and Domain Name System communities working together,"
said Greg Rattray, chief Internet security advisor at ICANN. "ICANN
represents a community that's all about coordinating those kinds of
efforts to keep the Internet globally secure and stable."

"Microsoft's approach combines technology innovation and effective
cross-sector partnerships to help protect people from cybercriminals,"
Stathakopoulos said. "We hope these efforts help to contain the threat
posed by Conficker, as well as hold those who illegally launch malware
accountable."

More information about how to protect yourself from Conficker can be
found at http://www.microsoft.com/conficker. Customers interested in
learning more about staying safe online can visit
http://www.microsoft.com/protect.

Microsoft's reward offer stems from the company's recognition that the
Conficker worm is a criminal attack. Microsoft wants to help the
authorities catch the criminals responsible for it. Residents of any
country are eligible for the reward, according to the laws of that
country, because Internet viruses affect the Internet community
worldwide. Individuals with information about the Conficker worm
should contact their international law enforcement agencies.

Founded in 1975, Microsoft (Nasdaq "MSFT") is the worldwide leader in
software, services and solutions that help people and businesses
realize their full potential.

Note to editors: If you are interested in viewing additional
information on Microsoft, please visit the Microsoft Web page at
http://www.microsoft.com/presspass on Microsoft's corporate
information pages. Web links, telephone numbers and titles were
correct at time of publication, but may since have changed. For
additional assistance, journalists and analysts may contact
Microsoft's Rapid Response Team or other appropriate contacts listed
at http://www.microsoft.com/presspass/contactpr.mspx.

21 January 2009

Update for Windows 7 Beta (KB961367)

Refer: http://www.microsoft.com/downloads/details.aspx?FamilyID=a754008b-d574-4e39-b4ba-67b859a242b7&displaylang=en

A new update patch for Windows 7 Beta is released on 08th January 2009.

Users are recommended to install this update to resolve live and recorded TV issues in Windows Media Center, recorded TV playback issues in Windows Media Player, and MP3 file corruption issues in Windows.

After you install this item, you may have to restart your computer. This update is provided to you and licensed under the Windows 7 Pre-Release License Terms.

How to unload package script from Oracle?

You do not have PL/ SQL with you, but you need to know the script of one of the packages inside your Oracle database.

So, I believe you will need the below sample codes:



Declare
     i Integer;
     fFileOpened utl_file.file_type;
     cClob Clob;
Begin
     For X In (Select u.Object_Name From User_Objects u Where upper(u.Object_name) = 'YOUR_PACKAGE_NAME') Loop
         fFileOpened := prime_files.Openf(aLocation => 'YOUR_ORACLE_DIRECTORY', aFilename => x.Object_Name || '.sql', aOpenMode => 'w');
         cClob := Dbms_Metadata.get_ddl('PACKAGE', x.Object_Name);
         i := prime_files.WriteClob2File(aClob_loc => cClob, aOutFile => fFileOpened);
         Prime_Files.Closef(aFile => fFileOpened);
     End Loop;
End;
/

13 January 2009

Windows 7 Beta Released

Finally Windows 7 shows its face, but only Beta version now.

The latest version of Microsoft's Windows operating system became popular since the first day of release, many people download the Beta version and tried, i believe more and more reviews will be available at Google.

Hope that Windows 7 will not repeat the same mistake of Vista.

Anyway, enjoy the experience with Windows 7 Beta.


Official page: http://www.microsoft.com/windows/windows-7/

Download page for Beta version: http://www.microsoft.com/windows/windows-7/beta-download.aspx