Class not found in the specified assembly lis
hi, have problem. upload production server , can not load there in testing server works perfectly.
class encryiptdescrypt.cryptoryng.encripdesencrip not found in specified assembly list.
the assembly contains class must provided assembly attribute.
the error occurred in c:/inetpub/wwwroot/sample/dell.cfm: line 12
10 : type="dotnet"
11 : class="encryiptdescrypt.cryptoryng.encripdesencrip"
12 : assembly="#expandpath('.\utileria\encryptacion.dll')#"
this code
<!------>
<cfobject
name="cypert"
type="dotnet"
class="encryiptdescrypt.cryptoryng.encripdesencrip"
assembly="#expandpath('.\utileria\encryptacion.dll')#"
/>
<cfdump var="#cypert#">
i test anocther dot net object , not works too.
i uninstall cf netintegration services , framework , reintall them again, , problem still there.
i have win 2008 r2 64bits , cf10.
these logs
cf server log
----------------------------------------
"error","ajp-bio-8012-exec-1","08/07/12","19:04:06",,"class encryiptdescrypt.cryptoryng.encripdesencrip not found in specified assembly list.the assembly contains class must provided assembly attribute. specific sequence of files included or processed is: c:\inetpub\wwwroot\sample\dell.cfm, line: 12 "
----------------------------------------
from c:\coldfusion10\dotnetservice\error.log
======================
8/7/2012 7:04:06 pm
.net exception = system.io.fileloadexception
.net exception message = not load file or assembly 'file:///c:\inetpub\wwwroot\sample\utileria\encryptacion.dll' or 1 of dependencies. operation not supported. (exception hresult: 0x80131515)
.net-side stack trace = @ system.reflection.runtimeassembly._nload(assemblyname filename, string codebase, evidence assemblysecurity, runtimeassembly locationhint, stackcrawlmark& stackmark, boolean throwonfilenotfound, boolean forintrospection, boolean suppresssecuritychecks)
@ system.reflection.runtimeassembly.internalloadassemblyname(assemblyname assemblyref, evidence assemblysecurity, stackcrawlmark& stackmark, boolean forintrospection, boolean suppresssecuritychecks)
@ system.reflection.runtimeassembly.internalloadfrom(string assemblyfile, evidence securityevidence, byte[] hashvalue, assemblyhashalgorithm hashalgorithm, boolean forintrospection, boolean suppresssecuritychecks, stackcrawlmark& stackmark)
@ system.reflection.assembly.loadfrom(string assemblyfile)
@ com.jnbridge.jnbcore.argconverter.loadoneassembly(string assemblyname)
@ com.jnbridge.jnbcore.argconverter.loadassemblies(string[] assemblynames)
@ com.jnbridge.jnbproxy.dotnetassemblies.loadassemblies(string[] assemblynames)
@ com.jnbridge.jnbproxy.dotnetassemblies.loadassemblies(string[] assemblynames)
@ com.jnbridge.jnbproxy.jnbproxy.main(string[] args)
.net inner exception = system.notsupportedexception
.net exception message = attempt made load assembly network location have caused assembly sandboxed in previous versions of .net framework. release of .net framework not enable cas policy default, load may dangerous. if load not intended sandbox assembly, please enable loadfromremotesources switch. see http://go.microsoft.com/fwlink/?linkid=155569 more information.
.net-side inner exception stack trace =
-------------------------------------------
do know if need permissions on production server? tell you, cfm page running on testing server.
i can't find solution.
regards
i found solution!!!
i able fix error finding assembly dll in windows explorer, right clicking, choosing properties, , pressing "unblock" button. dll has stream marking external file - , clicking unblock remove designation. |
More discussions in ColdFusion
adobe
Comments
Post a Comment