In my above mail i forgot to add Stock Trace info.
below is the Stock Trace info. Can anybody knows about
this problem.
Stock Trace
[UnauthorizedAccessException: Access to the registry key
is denied.]
Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode,
String str) +74
Microsoft.Win32.RegistryKey.SetValue(String name,
Object value) +1610
System.Runtime.InteropServices.RegistrationService s.Registe
rManagedType(Type type, String strAsmName, String
strAsmVersion, String strAsmCodeBase, String
strRuntimeVersion) +234
System.Runtime.InteropServices.RegistrationService s.Registe
rAssembly(Assembly assembly, AssemblyRegistrationFlags
flags) +261
System.EnterpriseServices.RegistrationDriver.Class icRegistr
ation(Assembly asm)
[RegistrationException: Failed to register
assembly 'DBUsingCom, Version=1.0.1341.10734,
Culture=neutral, PublicKeyToken=052b19da26fc8a9e'.]
System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessa
ge(IMessage reqMsg, IMessage retMsg) +264
System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke
(MessageData& msgData, Int32 type) +877
System.EnterpriseServices.RegistrationHelperTx.Ins tallAssem
blyFromConfig(RegistrationConfig& regConfig, Object sync)
System.EnterpriseServices.RegistrationHelper.TryTr ansactedI
nstall(RegistrationConfig regConfig)
System.EnterpriseServices.RegistrationHelper.Insta llAssembl
yFromConfig(RegistrationConfig& regConfig)
System.EnterpriseServices.RegistrationHelper.Insta llAssembl
y(String assembly, String& application, String partition,
String& tlb, InstallationFlags installFlags)
System.EnterpriseServices.RegistrationHelper.Insta llAssembl
y(String assembly, String& application, String& tlb,
InstallationFlags installFlags)
System.EnterpriseServices.RegistrationHelper.Syste m.Enterpr
iseServices.Thunk.IThunkInstallation.DefaultInstal l(String
asm)
System.EnterpriseServices.Thunk.Proxy.RegisterAsse mbly
(Assembly assembly) +95
System.EnterpriseServices.Thunk.Proxy.LazyRegister (Guid
id, Type serverType, Boolean checkCache) +188
System.EnterpriseServices.Thunk.Proxy.CoCreateObje ct
(Type serverType, Boolean bQuerySCInfo, Boolean&
bIsAnotherProcess, String& uri) +227
System.EnterpriseServices.ServicedComponentProxyAt tribute.C
reateInstance(Type serverType)
System.Runtime.Remoting.Activation.ActivationServi ces.IsCur
rentContextOK(Type serverType, Object[] props, Boolean
bNewObj) +74
BenchMarkUsingCom.WebForm1.cmdInsert_Click(Object
sender, EventArgs e) in
c:\inetpub\wwwroot\benchmarkusingcom\webform1.aspx .cs:108
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEve
ntHandler.RaisePostBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent
(IPostBackEventHandler sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent
(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()