Announcement

Collapse
No announcement yet.

Access is denied: / .net / IIS

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Access is denied: / .net / IIS

    Hallo zusammen,

    ich werde noch irre bei diesem Problem ! Mittlerweile habe ich seit heute Mittag Foren durchsucht - kein Erfolg. Vielleicht könnt ihr mir helfen:

    - In Delphi (V2005, Enterp.)
    - Eine neue .net Webapplikation erstellt ("LCM_Analyzer")
    - Läuft ... manchmal !

    Und da liegt das Problem: Teilweise läuft alles ohne ein Problem, beim nächsten Start erscheint dann:

    <b>Server Error in '/LCM_Analyzer' Application.
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Access is denied: 'LCM_Analyzer'.

    Source Error:

    Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    <font color="red">Line 198: <add assembly="*"/></font>
    Line 199: </assemblies>
    Line 200: </compilation>

    Source File: c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config Line: 198

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'LCM_Analyzer' could not be loaded.

    === Pre-bind state information ===
    LOG: DisplayName = LCM_Analyzer
    (Partial)
    LOG: Appbase = file:///c:/inetpub/wwwroot/LCM_Analyzer
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===

    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Post-policy reference: LCM_Analyzer
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/lcm_analyzer/aa16bcb8/a1ae9707/LCM_Analyzer.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/lcm_analyzer/aa16bcb8/a1ae9707/LCM_Analyzer/LCM_Analyzer.DLL.
    LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/LCM_Analyzer/bin/LCM_Analyzer.DLL.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Post-policy reference: LCM_Analyzer, Version=1.0.2491.35152, Culture=neutral, PublicKeyToken=null</b>

    Manchmal kann ich dann einfach den Browser schließen und den Start wiederholen und alles klappt. In anderen Momenten kann ich das endlos lange versuchen und nichts ändert sich.

    Das Problem tritt auf dem Firmen PC und dem PC zuhause auf.

    Delphi, .net Framework etc. alles von Null nochmal installiert. Problem bleibt.

    Irgendwelche Idees ? Freue mich über alles ;-/

    Gruß,
    Malte

  • #2
    Ich kenne den Effekt, wenn dem IIS eine neue DLL-Version eingespielt wird. Bei Delphi.dll's scheint er sich dabei regelmäßig zu verhauen. Helfen tut: IIS neustarten.<p>
    Grüße, Mario Noac
    Schöne Grüße, Mario

    Comment

    Working...
    X