visual studio 2010 - vb.net (4.0 framework) form not loading -


hoping might able shine light on issue.

i have form in vb.net (using vs2010, .net 4.0 framework) not load, instead errors out in variable declarations. have following 2 lines in declarations

    dim rprbuilders new rprbuilder_2010.rp_rbuilder     public cr new reportdocument 

now, when place breakpoints on each line, breaks @ first line, errors out upon processing "public cr new reportdocument" , receive generic error screen:

error screen

i have downloaded , imported crystal report libraries vs2010, , using versions 13.0.2000.0 in project.

the exception detail provided isn't helpful me, 1 of may able understand better i:

    system.invalidoperationexception unhandled     message=an error occurred creating form. see exception.innerexception     details. error is: invalid servicedcomponent-derived classes found in     assembly.     (classes must public, concrete, have public default constructor, , meet      other comvisibility requirements)     source=reportbuilder2010     stacktrace:     @ reportbuilder2010.my.myproject.myforms.create__instance__[t](t instance) in      17d14f5c-a337-4978-8281-53493378c1071.vb:line 190     @ reportbuilder2010.my.myproject.myforms.get_frmreports()     @ reportbuilder2010.frmreports.main() in c:\to up\repository\report builder       2010\reportbuilder2010\reportbuilder2010\frmreports.designer.vb:line 0     @ system.appdomain._nexecuteassembly(runtimeassembly assembly, string[] args)     @ system.appdomain.executeassembly(string assemblyfile, evidence      assemblysecurity, string[] args)     @ microsoft.visualstudio.hostingprocess.hostproc.runusersassembly()     @ system.threading.threadhelper.threadstart_context(object state)     @ system.threading.executioncontext.run(executioncontext executioncontext,      contextcallback callback, object state, boolean ignoresyncctx)     @ system.threading.executioncontext.run(executioncontext executioncontext,       contextcallback callback, object state)     @ system.threading.threadhelper.threadstart()     innerexception: system.enterpriseservices.registrationexception     message=invalid servicedcomponent-derived classes found in assembly.     (classes must public, concrete, have public default constructor, , meet      other comvisibility requirements)     source=system.enterpriseservices     stacktrace:         @ system.enterpriseservices.registrationthreadwrapper.propinstallresult()         @             system.enterpriseservices.registrationhelper.installassemblyfromconfig     (registrationconfig& regconfig)         @ system.enterpriseservices.registrationhelper.installassembly(string      assembly, string& application, string partition, string& tlb, installationflags      installflags)         @    system.enterpriseservices.registrationhelper.system.enterpriseservices.      thunk.ithunkinstallation.defaultinstall(string asm)         @ system.enterpriseservices.thunk.proxy.registerassembly(assembly assembly)         @ system.enterpriseservices.thunk.proxy.lazyregister(guid id, type      servertype, boolean checkcache)         @ system.enterpriseservices.thunk.proxy.cocreateobject(type servertype,      boolean bqueryscinfo, boolean& bisanotherprocess, string& uri)         @ system.enterpriseservices.servicedcomponentproxyattribute.     createinstance(type servertype)         @ system.runtime.remoting.activation.activationservices.iscurrentcontextok     (runtimetype servertype, object[] props, boolean bnewobj)         @ reportbuilder2010.frmreports..ctor() in c:\to up\repository\report      builder 2010\reportbuilder2010\reportbuilder2010\frmreports.vb:line 27 

thank in advance help, can provide more details if needed.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -