Thursday, August 26, 2010

IE Browser crashes while running Webtrends or SmartView 8.x

source:

103553 - Internet Explorer crashes when viewing the Webtrends user interface and Java 1.6.0 Update 17 (or later) is installed

For products:
Webtrends Analytics 8.x
Webtrends On Demand

Last modified: 7/22/2010

Situation:
Internet Explorer crashes when viewing the Webtrends user interface on a machine with Java 1.6.0 Update 18 or later installed.

Solution:
In Java 1.6.0 Update 18 and later, a new plug-in process has been introduced which causes Internet Explorer browsers to crash.

This can be disabled by performing the following steps:
1. Open the java control panel.
2. Select the "Advanced" tab
3. Under the "Java Plug-in" section, uncheck "Enable the next-generation Java Plug-in"
4. Restart the browser.

Further information:

This issue can also be avoided by uninstalling any version of Java 1.6.0 Update 18 or later and using an earlier version in its place. 1.6_17 is the version of JRE webtrends currently recommends for version 8.0, 8.1x, 8.5x, and 8.7d.

Wednesday, August 18, 2010

ORA-12541: TNS no listener

Source: http://www.dba-oracle.com/t_ora_12541_tns_no_listener.htm

ORA-12541: TNS no listener


Cause: Listener for the source repository has not been started.

Action: Start the Listener on the machine where the source repository resides.

Basically the Forms server could not find the listener. First check the tnsnames.ora file and ensure that it points to the correct server and port. If the Forms server is on another machine, test the TNS resolve with tnsping from the command prompt. Finally, check the listener.

First, ensure that your listener service is running.
C:\Documents and Settings\ME>lsnrctl stat

This should show the status of the listener and the services it is listening for. Remember that when you run SQL*Plus on the database server, it does not need the listener to connect unless you specify the database tnsnames.ora entry.

Try to start the listener service using lsnrctl from DOS prompt.
set ORACLE_HOME= cd %ORACLE_HOME%/bin

lsnrctl start LISTENER

If the listener service is not running, re-start the listener service using the Windows task manager or use the DOS command line utility to re-start the Windows service with the "net start" command:

C:\Documents and Settings\ME>net start OracleOraDb10g_home1TNSListener

You can use the lsnrctl status command to verify that the listener is down, and lsnrctl start to start your listener. If you are on Windows, also verify that the listener service is running.

Wednesday, August 11, 2010

ASP LDAP authentication and retrieve details

strUser = "xxx"

strDN = "cn=" & sUser & ",ou=people,dc=company,dc=com"
strRoot = "LDAP://servername.com/dc=company,dc=com"
Dim objDS: Set objDS= GetObject("LDAP:")
Dim objAuth: Set objAuth = objDS.OpenDSObject(strRoot , strDN , "password", &H0200)
Dim objConn: Set objConn= CreateObject("ADODB.Connection")
objConn.Provider = "ADSDSOObject"
objConn.Open "Ads Provider", strDN , "password"

Dim rs
Set rs = oConn.Execute("<" & sRoot & ">;(uid=" & strUser & ");cn,mail,telephoneNumber;subtree")
Response.write rs("cn").value
Response.write rs("mail").value
Response.write rs("telephoneNumber").value
rs.Close

objConn.Close
Set objConn = nothing
...

Monday, August 9, 2010

uncle zack by the beach - park royal penang

Last weekend we had some spare time and decided to check out Uncle Zack by-the-beach, a fairly new dining place in Park Royal hotel. Earlier we had came across a bunch of glowing reviews so... we'll get to that later.

The ambience is first rate if 1) you arrived early around 6-ish, and 2) you've never dined by the beach before. However, given the vast number of insect stings I accumulated, perhaps some insect repellent would be a nice addition :)

From food pics

Although I do not lay claim to being a foodie expert, I have had sufficient dining experience to be able to point out that the food is mediocre. Not too bad and not too good. Not feeling particularly adventurous, we started out with the gazpacho, continued with the tapas platter, and shared the 800g beef ribs.
I personally felt that the tapas platter was a mixmash of nasi kandar leftovers. But then again, to view it in a sliggggghtly more favorable light - it kinda reminded me of 1Malaysia spirit..

From food pics

The beef ribs came in a huge serving so sharing is advisable. I prefer my meat to be succulent and juicy - it fell a bit short of my expectations.

Now here is some humble opinion from yours truly: I could only make the deduction that being professional food blogs the floggers had the special TLC and attention from the good hotel folks...

- Serving was real slow although there were about maximum 8 tables occupied (maximum capacity is around 12-16 tables).
- By the time the food arrived at our table it was cold :( gazpacho excluded!
- The serving attendant was very attentive and friendly so I guess this is the silver lining..

Nuff said.

Friday, August 6, 2010

SQL 2000 change the owner of a table

For SQL 2000 change the owner on a table:


use DB

EXEC sp_changeobjectowner 'UserName.TableName', 'dbo'
Related Posts Plugin for WordPress, Blogger...