Perjalanan seorang Herli

"because writing is, like death, a lonely business." – Neil Gaiman

IIS dan ASP.Net

sori ya, blog kali ini, technical banget..

tadi aku install IIS, dan ketemu error kayak gini :

XML Parsing Error: not well-formed.

penyebabnya, karena urutan install nya, Visual Studio 2005 dulu baru IIS. Jadi sintaks ASP.Net gak dikenalin sebagai sintaks .Net oleh si IIS, tapi dianggap XML. (http://inoex135.wordpress.com)

Untuk ngakalinnya, install ulang DotNet frameworknya (biasanya disertakan di CD installasi Visual Studio 2005).

OK, error yang XML parsing error, gak error lagi, tapi muncul error baru:

Failed to map the path App GlobalResources

Halah, kelar 1 error, muncul error baru..

Solusi, yang diambil dari http://www.thejoyofcode.com adalah :

I recently had a tricky situation trying to run ASP.NET 2.0 on a Windows 2000 server and ran into the following error: Failed to map the path ‘/YourApplication/App_GlobalResources’.

I struggled with this for a while so thought I’d post the solution that worked for me here. I spent hours searching the groups but mostly found unanswered posts. A couple did hint that the nature of the problem lies in the permissions of the ASP.NET user account. Eventually I turned to the big brains at Microsoft Support – here’s what we came up with.

First step was to delete the ASPNET user account and then run the aspnet_regiis utility in the framework folder:

c:\WINNT\Microsoft.NET\framework\v2.0.50727\aspnet_regiis -i

This will re-register ASP.NET with IIS and re-create the ASPNET account.

Next you need to give permissions to the (nicely refreshed) ASPNET user account to access this folder with Modify permissions:

C:\Documents and Settings\All Users.WINNT\Application Data\Microsoft\Crypto\RSA\MachineKeys

A quick restart of IIS (quick-tip: simply type iisreset in a run dialog to restart your IIS) and you should be away. It worked for us anyway 🙂

This post is provided “AS IS” with no warranties, and confers no rights. Thanks Aurélien at Microsoft!

Jadi, setelah langkah-langkah yang sedemikian njelimet *behubung salah urutan install*, IIS di komputerku, bisa jalan !! HOREEEEEE !!

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>