Error: 0x80131902

Failed to execute request because the App-Domain could not be created.
1. “Failed to initialize the AppDomain:/LM/W3SVC/1/ROOT”
2. “Failed to execute request because the App-Domain could not be created. Error: 0x80131902”

To fix it, try the following this step :

1. With a command window, get to the latest version of .net under
2. C:\Windows\Microsoft.Net\Framework\
3. Now run the following command: “net stop w3svc” to stop web services.
4. Then use “aspnet_regiis.exe -ua” to uninstall all instances of ASP.NET from IIS.
5. Follow with “aspnet_regiis.exe -i” to install ASP.NET into IIS.
6. Now restart web services with “net start w3svc”.

installing ant in windows

this is the simple ways, i think ๐Ÿ™‚

1. download ant from ant site.

2. extract all and locate in D:\antย  (sample).

3. add variable for ANT_HOME

my computer =>right click => properties => advance => environment variable => add variable “ANT_HOME” set value “D:\ant”.

4. add variable for JAVA_HOME

my computer =>right click => properties => advance => environment variable => add variable “JAVA_HOME” set value “C:\Program Files\Java\jdk1.6.0_06” <= location for javac.exe.

5. add variable for PATH.

my computer =>right click => properties => advance => environment variable => add variable “PATH” set value “C:\Program Files\Java\jdk1.6.0_06\bin; D:\ant\bin” .

cek your installation with typing “ant” in comment prompt.

Buildfile: build.xml does not exist!
Build failed

is ant was running, try to type “ant -version”

Apache Ant version 1.7.1 compiled on June 27 2008

Installing was successfull…..

get decimal for javascript

if you have a string and want convert to decimal, you can use this :
var dian = “12.05”;
var purnomo = (parseFloat(dian)).toFixed(2);

and the result is => 12.05

NB : parseFloat is convert from string to float value
and toFixed(2) is the precision for your decimal value.

this is a simple way….i thik’s… ๐Ÿ™‚

DWR Error

Kalau anda menemukan error seperti yang saya temukan seperti ini:

12:38:51,328 FATAL [DefaultServerContextBuilder] Error initializing ServerContext because this is not a DWR thread and there is more than one DWR servlet in the current classloader.
12:38:51,328 FATAL [DefaultServerContextBuilder] This probably means that either DWR has not been properly initialized (in which case you should delay the current action until it has)
12:38:51,328 FATAL [DefaultServerContextBuilder] or that there is more than 1 DWR servlet is configured in this classloader, in which case you should provide a ServletContext to the get() yourself.
12:38:51,328 WARN [CallCenter] Random event failure

Itu disebabkan adanya dua configurasi untuk dwr. Waktu itu saya membuat sebuah website dengan server jBoss dan mendeploy website yg q buat plus dwr sample project. Saat itu dwr sample saya letakkan di folder deploy jboss dan website q deploy dari myeclipse. dan ternyata muncullah error sprti diatas, solusinya tinggal undeploy(hapus) project dwr sample atau pindahkan ke application server yg berbeda agar tidak terdeteksi dua dwr configurasi.

editor for ctp file in netbeans 6.8

go to : tools -> option -> miscellaneous -> Files tab
associated file extenstion ctp with php extenstion file

« Older entries