8 Replies Latest reply: Mar 8, 2012 3:42 AM by Upen@Roul RSS

    Class not found in the specified assembly list.

    Upen@Roul Community Member

      Hi All,

       

      I am creating a .dll object from ColdFusion but I am getting the following error message.

       

      "Class GenerateSQLReport not found in the specified assembly list. The assembly that contains the class must be provided to the assembly attribute."

       

      The Process I have followed:

       

      - Updated the ColdFusion 9.0.1

      - Uninstall the  .NET Integration Service

      - Install the .NET Integration Service for 9.0.1

      - Run the code.

       

      My Code is : "<cfobject type="dotnet" name="MDBDTable" class="GenerateSQLReport" assembly="#expandPath('./GenerateSQLReportDLL.dll')#">"

       

       

      I got the following StackStrace:

       

      __________________________________________________________________________________________ ______________________________________________________________________________

      coldfusion.runtime.dotnet.Assembly$DotNetClassNotFoundException: Class GenerateSQLReport not found in the specified assembly list.

          at coldfusion.runtime.dotnet.Assembly.generateProxy(Assembly.java:272)

          at coldfusion.runtime.dotnet.Assembly.loadClass(Assembly.java:248)

          at coldfusion.runtime.dotnet.Assembly.loadClass(Assembly.java:223)

          at coldfusion.runtime.dotnet.DotNetProxyFactory.getProxy(DotNetProxyFactory.java:78)

          at coldfusion.runtime.ProxyFactory.getProxy(ProxyFactory.java:65)

          at coldfusion.runtime.CFPage.createObjectProxy(CFPage.java:4949)

          at coldfusion.tagext.lang.ObjectTag.doStartTag(ObjectTag.java:427)

          at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)

          at cfDotNetDll2ecfm375138657.runPage(D:\Projects_Upendra\CodeForTesting\DotNetDll.cfm:2)

          at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)

          at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)

          at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)

          at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:363)

          at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)

          at coldfusion.filter.PathFilter.invoke(PathFilter.java:87)

          at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)

          at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)

          at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)

          at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)

          at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)

          at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)

          at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)

          at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)

          at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53)

          at coldfusion.CfmServlet.service(CfmServlet.java:200)

          at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

          at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)

          at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )

          at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

          at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

          at jrun.servlet.FilterChain.service(FilterChain.java:101)

          at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)

          at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

          at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)

          at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

          at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)

          at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)

          at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)

          at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)

          at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

      __________________________________________________________________________________________ ___________________________

       

       

      Please help.