Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / September 2005

Tip: Looking for answers? Try searching our database.

Transactions in .Net Beta 2

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
moguls - 06 Sep 2005 17:04 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.