Access Denied System.Data/System.Transaction

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rick

    Access Denied System.Data/System.Transaction

    I've migrated a web site from VS 2003 to VS 2005. After pushing the a
    Windows Server 2003 web server. The Framework 2.0 web site works when I go
    to test it. I'll start working on something else come back later and I start
    getting Access Denied errors on System.Data or System.Transact ion, these
    files are set up as assemblies in the machine.config and set to the correct
    version. The only way to fix it is to restart ASP.NET.

    Any suggestions?

    [UnauthorizedAcc essException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED ))]

    [FileLoadExcepti on: Could not load file or assembly 'System.Data,
    Version=2.0.0.0 , Culture=neutral , PublicKeyToken= b77a5c561934e08 9' or one of
    its dependencies. Access is denied.]


  • Walter Wang [MSFT]

    #2
    RE: Access Denied System.Data/System.Transact ion

    Hi Rick,

    Can you reproduce it with some reliable steps? You may use Process Monitor
    (http://www.microsoft.com/technet/sys...eads/processmo
    nitor.mspx) to trace the IIS worker process w3wp.exe to see when the error
    occurs, what's some related files are being accessed by it. This may give
    us some idea on the actual causes.

    I've also searched in our internal support database, there're some similar
    records which are related some user code that's calling some changed APIs
    in .NET 2.0. Therefore if you could provide the call stack and some related
    code when the exception is occured, this would be of great help.

    Regards,
    Walter Wang (wawang@online. microsoft.com, remove 'online.')
    Microsoft Online Community Support

    =============== =============== =============== =====
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =============== =============== =============== =====

    This posting is provided "AS IS" with no warranties, and confers no rights.

    Comment

    Working...