Hi
Were developing an distributed system running on Windows 2003 server with
.Net framework 2.0 Beta 2. We have an asp.net 2.0 client. Our components are
installed as an com+ library application. Everything works fine for hours and
then suddenly we get the message below. After this error everyone whos using
the system receives this error. Sometimes its enough to just resetting iis
(iisreset) sometimes we have to remove the com+ application to get up and
running. The path mentioned is always the same except the value after colon
(:) Any suggestions? Is it a bug in .Net 2.0? We didn’t have this problem on
.Net framework 1.1.
System.Exception: System.TypeInitializationException: The type initializer
for 'System.Transactions.Oletx.OletxTransactionManager' threw an exception.
---> System.UnauthorizedAccessException: Access to the path
'a91802d6-fbb2-40a2-a548-b64ad705566c:1484' is denied. at
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at
System.Threading.Mutex.<>c__DisplayClass4.<.ctor>b__0(Object userData) at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode
code, CleanupCode backoutCode, Object userData) at
System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean&
createdNew, MutexSecurity mutexSecurity) at
System.Threading.Mutex..ctor(Boolean initiallyOwned, String name) at
System.Transactions.Oletx.OletxTransactionManager..cctor() at
System.Transactions.Oletx.OletxTransactionManager..cctor() --- End of inner
exception stack trace --- at
System.Transactions.Oletx.OletxTransactionManager..ctor(String nodeName) at
…… etc ……
Thanks
/Stefan
Miguel Gasca - 15 Sep 2005 20:17 GMT
Hey Stefan,
This is fixed in 2.0 RTM. Are you planning on migrating your application to
2.0 RTM when it is released?
To help me better understand why you hit this, would you mind answering a
few question?
You say this is on Win2k3. Is IIS running under the IIS version 6 process
model (default), or is it running under IIS 5.0 Isolation Mode?
Does your ASP.NET application Impersonate on the request?
Are there other ASP.NET applications that would be in the same process
(based on things like process model and other config, e.g. how Application
Pools are setup)?
If so, do the other applications also do transactional work, and do they use
Impersonation?
Are you using the System.Transactions namespace explicitly in you code?
Thanks,
Miguel
> Hi
>
[quoted text clipped - 36 lines]
>
> /Stefan