Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problem instantiating .net component on new CF 9.02 install

New Here ,
Jun 13, 2012 Jun 13, 2012

I have a brand new server which I installed the latest CF 9.02 installer on, am having a probelm instantiating .net component, this line:

<cfobject type = ".NET"

                  name = "TK"

                  class = "APToolkitNET.Toolkit"

                  assembly = "C:\Program Files\activePDF\Toolkit\DotNetComponent\2.0\APToolkitNET.dll">

Results in this error:

coldfusion.runtime.dotnet.ProxyGenerationException

at coldfusion.runtime.dotnet.ProxyGenerator._executeProxyGen(ProxyGenerator.java:192)

at coldfusion.runtime.dotnet.ProxyGenerator.executeProxyGen(ProxyGenerator.java:149)

at coldfusion.runtime.dotnet.ProxyGenerator.generateProxy(ProxyGenerator.java:118)

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

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

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

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

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

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

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

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

at cfact_transcript_generate2ecfm6901589._factor33(D:\websites\mystudentprogress\MSP\fusebox\circuits\Admin\Action\act_transcript_generate.cfm:66)

at cfact_transcript_generate2ecfm6901589.runPage(D:\websites\mystudentprogress\MSP\fusebox\circuits\Admin\Action\act_transcript_generate.cfm:1)

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

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

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

at cfswitch2eadmin2ecfm1017879416._factor11(D:\websites\mystudentprogress\MSP\fusebox\switches\switch.admin.cfm:306)

at cfswitch2eadmin2ecfm1017879416.runPage(D:\websites\mystudentprogress\MSP\fusebox\switches\switch.admin.cfm:1)

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

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

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

at cffbx_fusebox40_MX2ecfm1628116628.runPage(D:\websites\mystudentprogress\MSP\fusebox\fbx_fusebox40_MX.cfm:102)

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

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

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

at cfindex2ecfm78131311.runPage(D:\websites\mystudentprogress\MSP\index.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:381)

at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)

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

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

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

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

at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)

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:62)

at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)

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)

10.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 13, 2012 Jun 13, 2012

Moving this discussion to the ColdFusion forum.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 19, 2012 Jun 19, 2012

I have figuered this out, wierd fix, but basically you need to try and instantiaite a .net compoment, you get the above error, then you turn off the .net and main cf service go to the ../WEB-INF/cfclasses/dotNetProxy subdirectoty and delete all but the file dotNetCoreProxy.js ...restart .net and main cf services, rerun your script and viola works like a champ. Here's a "simple script" to use:

<cfset x = GetDotNetVersion()>

<cfoutput>#x#</cfoutput>

<cffunction name="GetDotNetVersion" returntype="string">

<cfset var seClass="">

<cfobject type=".NET" name="seClass" class="System.Environment">

<cfreturn seClass.Get_Version().ToString()>

</cffunction

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 12, 2015 May 12, 2015
LATEST

Moderator please delete this thread.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources