[ASP Net] Server Error: Access denied to.......

Pagina: 1
Acties:

  • MrCaBLeGuY
  • Registratie: Februari 2002
  • Niet online

MrCaBLeGuY

powered by yellow bird

Topicstarter
Ik heb op mijn win2k server (build 2195, sp3, iis 5.0) ASP.Net geinstalleerd om een forum te draaien van http://www.asp.net. Alles gaat prima, installatie e.d. Zowel van .net als van het forum zelf. De data moet hij halen uit de SQL database (draait SQL 2000 op, database is correct aangemaakt). Bij het aanroepen van het forum (hij heeft een virtual dir naar het installpath gemaakt op de default website) krijg ik de volgende error:

---
Server Error in '/AspNetForums' Application.
--------------------------------------------------------------------------------

Access denied to 'e:\AspNetForums\AspNetForums\' directory. Failed to start monitoring directory changes.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Access denied to 'e:\AspNetForums\AspNetForums\' directory. Failed to start monitoring directory changes.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpException (0x80004005): Access denied to 'e:\AspNetForums\AspNetForums\' directory. Failed to start monitoring directory changes.]
System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirectory(String dir, FileChangeEventHandler callback) +446
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +324

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +926
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0
---


Access Denied. Wat heb ik geprobeerd?

1. Rechten op map ('e:\AspNetForums\AspNetForums\ later ook 'e:\AspNetForums\) eerst de ASPNET user toegevoegd. Daarna Everyone full control. Bood geen oplossing.

2. De user waarop de site draaide van "IUSR_ZEUS" naar het "ASPNET" account gewijzigd (met de optie "allow iis to administrate the password" aan. Daarna een iisreset nog steeds zelfde probleem. User van de website gewijzigd naar het Administrator account met juiste password. Weer reset, weer zelfde probleem.

Weet iemand de juiste oplossing?

mochten hier al 10 topics over lopen mijn nederige excuces maar search doet het ff niet

[ Voor 3% gewijzigd door Koffie op 25-02-2003 08:42 . Reden: Code tags geplaatst ;) ]


  • MrCaBLeGuY
  • Registratie: Februari 2002
  • Niet online

MrCaBLeGuY

powered by yellow bird

Topicstarter
Ok probleem opgelost, mogelijkheid 3 geporbeerd. Die ASPNET user toegevoegd aan de groep Administrators en het .net forum werkt. Tsja, zo hoort het niet helemaal lijkt me. Iemand wel nog een passende oplossing ? M.a.w. files moeten worden voorzien van rechten (en welke) voor die aspnet user?

[ Voor 17% gewijzigd door MrCaBLeGuY op 25-02-2003 01:13 ]