----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Soumitra2105 Message 9 in Discussion Hi , Actually I am working in C# .I would like to thank you for the solution first. I have converted the VB code into C# ,but I am still getting errors. I have used System.Thread.Monitor.Enter() for synhronization since 'SyncLock' is not supported in C# Unhandled Exception: System.Runtime.InteropServices.COMException (0x80080005): S erver execution failed at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode , IntPtr errorInfo) at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Bool ean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri) at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(T ype serverType) at System.Runtime.Remoting.Activation.ActivationServices.CreateInstanceWithLi nkDemand(ProxyAttribute pa, Type serverType) at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(T ype serverType, Object[] props) at ConsoleApplication2.Class1.Main(String[] args) in d:\misc\enterprise\conso leapplication2\class1.cs:line 16 Warm Regards, Soumitra ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
