1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Error: ASP.NET on PLesk 9.3

Discussion in 'Plesk 9.x for Windows Issue, Fixes, How-To' started by SergioL, Jan 25, 2010.

  1. SergioL

    SergioL Guest

    0
     
    I install windows 2008 server r2 x64 (Spanish), and plesk 9.3 (With Spanish Lenguage pack), with sql server 2008 and Framework 2

    When i try access to aplication ASP.NET the sistem show me a error,
    By Example i trying to access to WEBADMIN (Sql web manager)

    and don't know how solve, you can help me?

    Every else works perfect!

     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  3. YasinA

    YasinA New Pleskian

    20
     
    Joined:
    Sep 11, 2009
    Messages:
    17
    Likes Received:
    0
    same problem here but this topic is not really user friendly is there a step by step fix for this that paralels support can make us follow ?
     
  4. jamesfsafdsaf

    jamesfsafdsaf Guest

    0
     
    I had to add the following to my disksecurity.xml

    <Entry AccounType="1" Account="Psacln" Path="C:\Windows\assembly" AceFlags="FilesOnly" AccessMask="Read" EntryFlags="0x0" />

    Then run "%plesk_bin%\applysecurity" --apply
     
  5. YasinA

    YasinA New Pleskian

    20
     
    Joined:
    Sep 11, 2009
    Messages:
    17
    Likes Received:
    0
  6. Diamatrix

    Diamatrix Guest

    0
     


    I can confirm that this solution works.
     
  7. Ernesto

    Ernesto Guest

    0
     
    With the same error and configuration, I confirm that this solution works great.

    Thanks
     
  8. IceaTronic

    IceaTronic Guest

    0
     
    THANK YOU THANK YOU THANK YOU!!!!

    I have just spent the last 3 hours ripping my hair out trying to figure this out and the solution you have here has worked flawlessly, thank you!

    Cheers,

    IceaTronic
     
  9. Corsoft

    Corsoft Guest

    0
     
    The problem you all resolved in March is still haunting me today in November. I am unable to find disksecurity.xml and am not sure what permissions I need to add to which assembly folder.

    Considering the time elapsed, Plesk should have stepwise instructions on this problem. Please help!
     
  10. jpark61567

    jpark61567 Guest

    0
     
    I hope that I'm not too late to help. I ran into the same problem with .NET pages and Plesk.

    The disksecurity solution didn't work for me. BTW, on my W2K8 R2 box, the disksecurity.xml file is located at C:\PROGRAM FILES (X86)\PARALLELS\PLESK\ETC\DISKSECURITY\DISKSECURITY.XML

    Here's the step-by-step that worked for me:

    * Click START
    * Click ACCESSORIES
    * Right-click COMMAND PROMPT, then click RUN AS ADMINISTRATOR
    * Highlight and copy this command:
    cacls C:\Windows\assembly\GAC_MSIL /E /R psacln /T /C
    * Paste the command into the command prompt and hit ENTER (then watch lots of PROCESSED messages)
    * Highlight and copy this command:
    cacls C:\Windows\assembly\GAC_MSIL /E /R psaadm /T /C
    * Paste the command into the command prompt and hit ENTER (then watch lots of PROCESSED messages)
    * Close the command prompt

    I rebooted after this, and my .NET ASPX pages finally worked.

    Hope this helps!
     
  11. VignesA

    VignesA Guest

    0
     
    jpark61567's Steps worked perfectly.
    Thanks a lot
     
  12. AdminT

    AdminT New Pleskian

    15
    60%
    Joined:
    Mar 28, 2011
    Messages:
    2
    Likes Received:
    0
    Location:
    Goiania/GO - Brazil
    Amazing!

    I followed the steps form jpark61567 and it worked perfectly!
    Many thanks!
     
  13. Marquinho69

    Marquinho69 Guest

    0
     
    Great !!!!!!

    5 days wasted, trying to find a solution...
    Thanks a lot !! It's working !!
     
  14. figjam

    figjam New Pleskian

    22
    57%
    Joined:
    Mar 28, 2007
    Messages:
    19
    Likes Received:
    0
    This thread saved me from a nasty situation last night after upgrading from 9.3 to 9.5.5, but I had to apply both fixes from jamesfsafdsaf and jpark61567, or I got permission errors when running the cacls command. So the process that resolved everything for me was to add:

    <Entry AccounType="1" Account="Psacln" Path="C:\Windows\assembly" AceFlags="FilesOnly" AccessMask="Read" EntryFlags="0x0" />

    to C:\Program Files (x86)\Parallels\Plesk\etc\DiskSecurity\DiskSecurity.xml (it doesn't seem to matter where you add it) and run:

    "%plesk_bin%\applysecurity" --apply

    as per jamesfsafdsaf's post. Then I followed jpark61567's post and the sites started working again.

    When I was telling a workmate about this he laughed and asked why didn't I just use the "Plesk Reconfigurator"? It looks like it might have worked. Did anyone try this?

    Cheers,


    Andrew
     
    Last edited: Sep 21, 2011
Loading...