.NET Error running Application from IIS on Vista

Discussion in 'ASP .Net' started by John Kotuby, Dec 17, 2007.

  1. John Kotuby

    John Kotuby Guest

    Hi all,
    I have tried looking up this error and all hits are from way back in 2002
    when .NET was in its infancy. All the answers point to a corrupt install of
    the .NET framework. I started getting this error shortly after uninstalling
    the AJAX extensions for .NET.
    I have not yet found a simple way to try a .NET repair on Vista, if that is
    actually the problem...and I am not yet sure about that. I can run the same
    application from IIS on my XP machine at the office and it still runs fine
    from the Windows Server 2003 where it is deployed. Thank goodness for that.

    Anyone have a suggestion?

    Server Error in '/' Application.
    Compilation Error
    Description: An error occurred during the compilation of a resource required
    to service this request. Please review the following specific error details
    and modify your source code appropriately.

    Compiler Error Message: BC32400: Class 'CLSID_CorSymWriter' could not be
    created: Access is denied.

    Source Error:

    [No relevant source lines]

    Source File: vbc : Line: 0

    Show Detailed Compiler Output:

    "C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library
    /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    Files\root\3cc65474\f5d3d848\App_Code.qfxjksud.dll" /D:DEBUG=1 /debug+
    "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET

    Microsoft (R) Visual Basic Compiler version 8.0.50727.312
    for Microsoft (R) .NET Framework version 2.0.50727.312
    Copyright (c) Microsoft Corporation. All rights reserved.

    vbc : error BC32400: Class 'CLSID_CorSymWriter' could not be created: Access
    is denied.
    vbc : error BC31019: Unable to write to output file
    'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    Files\root\3cc65474\f5d3d848\App_Code.qfxjksud.pdb': Access is denied.
    John Kotuby, Dec 17, 2007
    1. Advertisements

  2. Presumably, you are running Vista on your development workstation, and
    Visual Studio.NET 2005 or 2008? Earlier versions of Visual Studio.NET aren't
    supported at all on Vista...

    If so, have you installed the Vista Update for VS.NET?

    And are you running VS.NET as administrator?
    Mark Rae [MVP], Dec 17, 2007
    1. Advertisements

  3. John Kotuby

    John Kotuby Guest

    Hi Mark,
    Yes I am running 2005 and have installed the latest service packs and
    updates. It was working fine until recently.
    I have the shortcut to VS set up to run as Administrator, but I still get
    warning prompts from Vista upon startup.
    I noticed that I now see an access denied error in the error message I
    posted. There was a different error before about not being able to open or
    create a framework related file. That was the error that showed up in the
    old postings.

    I run Vista on my development machine at home and XP Pro on my development
    machine at the office. Normally when working from home I connect to my Dev
    machine in the office via RDP. But I carry the latest copy of my project
    with me on a USB FLash Drive just in case I lose connectivity to the office.
    So I do want to solve the problem on my Vista development machine.

    John Kotuby, Dec 17, 2007
  4. If you create a brand new web application project on your Vista machine, are
    you able to debug that...?
    Mark Rae [MVP], Dec 17, 2007
  5. John Kotuby

    John Kotuby Guest

    I will try that as soon as I get back home this evening. A very good
    approach indeed, to indicate a fundamental problem rather than something
    project related.

    John Kotuby, Dec 17, 2007
  6. Generally speaking, errors of this type arise because the Framework running
    the ASPNET account (if that's how your app is configured) doesn't have read
    or write
    access to the ASP.NET Temporary Files folder.
    -- Peter
    Site: http://www.eggheadcafe.com
    UnBlog: http://petesbloggerama.blogspot.com
    MetaFinder: http://www.blogmetafinder.com

    Peter Bromberg [C# MVP], Dec 17, 2007
  7. John Kotuby

    John Kotuby Guest


    Sounds like it might be the case. I will try to find the ASP.NET Temporary
    Files folder and give rights to the Network Service or whoever is "running"
    the app in IIS. Wait, you said the Account that the Framework itself is
    running under is the one without rights. You would think that the default
    Framework account would have rights to its own temporary folder, wouldn't

    That leaves me wondering why it runs on XP and Win2003. Maybe UAC is getting
    in the way, or the fact that I orginally developed the application on XP and
    then tried moving it for further developent to a Vista machine. WinXP and
    2003 have similar architectures.

    If that's the case, God help us when Windows Server 2008 starts getting
    deployed :)


    John Kotuby, Dec 17, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.