Showing posts with label iis express error 500. Show all posts
Showing posts with label iis express error 500. Show all posts

Monday, June 3, 2013

Mengatasi Error 500.0 Pada IIS Express (could not load type)

Jika Anda bermaksud menjalankan sebuah web app berbasis ASP.NET dengan IIS Express lalu mengalami error:

Parsing error ... could not load type...

Maka yang harus Anda lakukan:

(1) Matikan IIS Express
(2) [ misalnya web app Anda berada di folder D:\mywebapp\firstapp\index.aspx ] jalankan IIS Express dari command prompt sbb: iisexpress /path:d:\mywebapp\firstapp\ /port:<isikan nomer port dg angka di atas 1000>

misalnya: iisexpress /path:d:\mywebapp\firstapp\ /port:9000

(3) Buka web app Anda dgn mengetikkan http://localhost:9000/index.aspx

Catatan:

1. IIS Express berada di folder C:\Program Files\IIS Express
2. Command Prompt dibuka dengan menekan tombol (logo windows) + R, lalu ketikkan cmd dan tekan Enter