COM +:NotImplementedException
-
04-10-2019 - |
题
??instaniate????COM +??(????????)??????
???????NotImplementedException????????
dim myComponent As New MyComponent()
???????????:
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri)
at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
at MyApp.MyMethod() in D:\blabla\MyService.asmx.vb:line 66 (this line have been modified by me)
?COM +?????? “AnyCPU” ?webbservice??ASP.Net 4?????64?
HRResult:-2147467263
解决方案
I had not removed the old .tlb files (for a previous version). Removing them helped.
不隶属于 StackOverflow