[ Milos Stojanovic @ 04.04.2007. 16:21 ] @
Imam WinXP SP2, IIS 5.1, Visual Studio 2005 Professional Edition (ASP.NET 2.0.50727)

Statičke html stranice se otvaraju bez problema.
Međutim, kada iz VS-a napravim nov projekat (New Web Site - ASP.NET Web Site) i uredno za njega novi Web Application unutar Local IISa, i kada probam da otvorim localhost/ime_aplikacije/Default.aspx , dobijem ovako nešto:
Citat:
Server Application Unavailable

The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.


Event Viewer (Application Log) kaže sledeće:
Citat:
aspnet_wp.exe could not be started. The error code for the failure is 80004005. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly installed and that the ACLs on the installation directory allow access to the configured account.


Probao sam i http://support.microsoft.com/kb/811320 , ali nije pomoglo.
napominjem da u osnovi IIS radi, tj. mogu da otvorim statičke html stranice tipa localhost/ime_aplikacije/index.html
Neke ideje?


edited:
naknadno sam uočio i ovo u Event Logu
Citat:
aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid.



probao i ovo http://support.microsoft.com/default.aspx?scid=kb;EN-US;q315158 ... i dalje sve isto

[Ovu poruku je menjao Milos Stojanovic dana 04.04.2007. u 17:47 GMT+1]
[ mmix @ 04.04.2007. 16:51 ] @
asp.net kad se instalira kreira account ASPNET, ili si promenio lozinku tom accountu ili si ga obrisao.

Kreiraj ponovo account ako si ga obrisao i nadju machine.config file u framwork folderu (npr C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\) i nadji processmodel tag i ubaci novi password tamo.
[ Milos Stojanovic @ 04.04.2007. 17:17 ] @
C:\WINDOWS\Microsoft.NET\Framework\2.0.50727\CONFIG\machine.config
Code:
 ...
<system.web>
    <processModel autoConfig="true" userName="ASPNET" password="test"/>
    <httpHandlers />
    <membership>
...
yup... i to sam probao. :(

[Ovu poruku je menjao Milos Stojanovic dana 04.04.2007. u 18:41 GMT+1]
[ Drasko M @ 09.04.2007. 19:08 ] @
Ako ti IIS otvara html strane , a ne i asp.net strane moguce je da nisi pokrenuo asp.net_regiis.exe.Nalazi se na C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
mislim da se IIS za asp.net pokrece sa asp.net_regiis - i , ili -p (pogledaj help za komandu)
[ Milos Stojanovic @ 12.04.2007. 11:20 ] @
Nope, ni to nije pomoglo.

Proradilo je nakon reinstalacije .NET Frameworka. Izgleda da je problem kada se instalira framework a tek nakon toga IIS. Mada više ni sam nisam siguran šta sam sve probao
[ mmix @ 12.04.2007. 13:51 ] @
Nije to bio problem sigurno. Da je to bio problem, IIS ne bi ni pokusavao da startuje worker proces, jednostavno bi ti servirao sors aspx stranice.

[ Milos Stojanovic @ 12.04.2007. 19:51 ] @
Ja mislim da je instalacija .net frameworka nešto uradila pravima pristupa ASPNET korisnika ili tako nešto
[ Drasko M @ 12.04.2007. 20:20 ] @
http://p2p.wrox.com/topic.asp?TOPIC_ID=4650

ima i drugih foruma pa ko hoce moze da googl-a. Inace copy/paste teksta greske u google moze da bude solidna strategija koja skracuje vreme pronalaska resenja.
Kada se asp.net aplikacije pokrecu na localhost-u mnogi ljudi ne znaju ili zaborave da prethodno pokrenu aspnet_regiis - i iz komand prompta.