Assembler ddx issue

Hi,
I'm trying to merge two pdf files, using the ddx assembler:
<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="out2.pdf">
       <PDF source="inDoc1"/> 
       <PDF source="inDoc2"/>
</PDF>
</DDX>
I have two ddx keys
inDoc1 --> /process_data/@outData
inDoc2 --> /process_data/@inDocument
but I have the following issue
com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.
at com.adobe.livecycle.assembler.AssemblerServiceImpl.makeResult(AssemblerServiceImpl.java:8 28)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.execute(AssemblerServiceImpl.java:467)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.invokeDDX(AssemblerServiceImpl.java:29 6)
at sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionCMTAdapter_ caf58c4f.doSupports(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:132)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:91)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 5)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:724)
at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:346)
at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:157)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:284)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionCMTAdapter_ caf58c4f.doRequiresNew(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:102)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:315)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:138)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:524)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.jav a:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:751)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink .java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConn ectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitia lReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionLi stener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
Caused by: java.lang.NullPointerException
at com.adobe.internal.pdftoolkit.pdf.interchange.structure.PDFStructureRoot.getNextParentKey (PDFStructureRoot.java:235)
at com.adobe.internal.pdftoolkit.pdf.interchange.structure.PDFStructureRoot.addParentTree(PD FStructureRoot.java:172)
at com.adobe.internal.pdftoolkit.services.manipulations.PMMStructure.fixStructParents(PMMStr ucture.java:740)
at com.adobe.internal.pdftoolkit.services.manipulations.PMMStructure.appendStructure(PMMStru cture.java:183)
at com.adobe.internal.pdftoolkit.services.manipulations.PMMService.insertPagesinRange(PMMSer vice.java:1532)
at com.adobe.internal.pdftoolkit.services.manipulations.PMMService.insertPages(PMMService.ja va:514)
at com.adobe.internal.pdftoolkit.services.manipulations.PMMService.insertPages(PMMService.ja va:459)
at com.adobe.internal.pdfm.assembly.PageAssembler.insertPages(PageAssembler.java:367)
at com.adobe.internal.pdfm.assembly.DocAssembler.insertDocument(DocAssembler.java:942)
at com.adobe.internal.pdfm.assembly.DocAssembler.assemble(DocAssembler.java:181)
at com.adobe.internal.ddxm.task.pdf.AssemblePDF.execute(AssemblePDF.java:130)
at com.adobe.internal.ddxm.blueprint.BluePrint.execute(BluePrint.java:275)
at com.adobe.internal.ddxm.ddx.Node.execute(Node.java:373)
at com.adobe.internal.ddxm.Executive.execute(Executive.java:270)
at com.adobe.internal.ddxm.Executive.execute(Executive.java:221)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.execute(AssemblerServiceImpl.java:465)
... 96 more
thanks in advance
Giucip

Thanks for your answer...I checked it and they were set.
I did a more simple test, one assembler block with this ddx command
<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/" >
    <PDF result="out.pdf">
        <PDF source="in1.pdf"/>
        <PDF source="in1.pdf"/>
    </PDF>
</DDX>
in1.pdf is a ddx key -->/process_data/@inDocument
where inDocument is a document input variable
same error

Similar Messages

  • XML Assembly Message Issue

    Hello,
    I'm sending the following Assembly XML message which is accepted and confirmed by the system (SAP ME 5.2. SP5).
    But the As-Built report is not showing anything assembled to the SFC.
    Request:
    <?xml version="1.0"?>
    <PRODUCTION_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ASSEMBLE_COMPONENTS>
        <USER>XML_USER</USER>
        <SITE>3000</SITE>
        <PARENT_SFC>TRM201118700029</PARENT_SFC>
        <OPERATION>ASSEMBLING</OPERATION>
        <RESOURCE>ASSEMBLING-01</RESOURCE>
        <CHECK_OPER>true</CHECK_OPER>
        <EVENT>baseFinished:AssemblyPoint</EVENT>
        <IDENTIFIER_LIST>
            <IDENTIFIER>GEAR_SHAFT_TYPE_B</IDENTIFIER>
            <REVISION>A</REVISION>
            <QTY>1</QTY>
            <ASSY_DATA_VALUES>
              <ASSY_DATA>
                <DATA_ATTR>GSB201118700029</DATA_ATTR>
                <DATA_FIELD>INVENTORY_ID</DATA_FIELD>
              </ASSY_DATA>
            </ASSY_DATA_VALUES>
        </IDENTIFIER_LIST>
      </ASSEMBLE_COMPONENTS>
    </PRODUCTION_REQUEST>
    Response:
    <PRODUCTION_RESPONSE><ASSEMBLE_COMPONENTS>DONE</ASSEMBLE_COMPONENTS></PRODUCTION_RESPONSE>
    Any idea on that? Is there something missing?
    Regards,
    Kai

    The problem was that the assembly operation on the BOM was different.
    The system accepted the assembly message without any problems but stored no data in the DB.
    Additionally TSM material is also confirmed via XML but not stored on the DB. If I do this via POD it is claiming that I need to check it out first. Therefore I asked a question on a different thread here.
    Regards,
    Kai

  • CLR proc assembly registration issue

    Have a .NET 3.5 Sql Clr SP that uses RabbitMQ nuget package. Apparently RabbitMQ has a dependency on system.servicemodel, version=3.0.0.0 as I get this error when trying to register my custom clr assembly with sql:
    Msg 10301, Level 16, State 1, Line 21
    Assembly 'SqlClrRabbitMq' references assembly 'system.servicemodel, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089.', which is not present in the current database. SQL Server attempted to locate and automatically load the referenced assembly
    from the same location where referring assembly came from, but that operation has failed (reason: 2(The system cannot find the file specified.)). Please load the referenced assembly into the current database and retry your request.
    Msg 6528, Level 16, State 1, Procedure PublishMessages, Line 26
    Assembly 'SqlClrRabbitMq' was not found in the SQL catalog of database 'FOTNConfig'.
    system.servicemodel is a GAC assembly so why is SQL complaining?
    scott

    Ricardo, I tried adding a reference to System.ServiceModel.dll and rebuilding, redeploying and re-registering assembly.  When registering my custom assembly, I get this error:
    Msg 10301, Level 16, State 1, Line 22
    Assembly 'SqlClrRabbitMq' references assembly 'system.servicemodel, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089.', which is not present in the current database. SQL Server attempted to locate and automatically load the referenced assembly
    from the same location where referring assembly came from, but that operation has failed (reason: 2(The system cannot find the file specified.)). Please load the referenced assembly into the current database and retry your request.
    Msg 6528, Level 16, State 1, Procedure PublishMessages, Line 27
    Assembly 'SqlClrRabbitMq' was not found in the SQL catalog of database 'FOTNConfig'.
    The assembly is targeting .NET 3.5.  SQL Server is 2014.
    I tried manually copying System.ServiceModel.dll to C:\SqlClr and I get a diff error message when registering my custom CLR assembly:
    Warning: The Microsoft .NET Framework assembly 'system.servicemodel, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported.
    In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Msg 6586, Level 16, State 1, Line 24
    Assembly 'System.ServiceModel' could not be installed because existing policy would keep it from being used.
    I guess the next question is how do you change the policy?

  • Error in CLR assembly after migrating to SQL server 2012

    We moved to SQL Server 2012 from 2008R2 and I am unable to get the CLR assembly working.  I have read several topics about trustworthy setting and a mismatch dbo SID. I checked the SID and everything looks good and the 2008R2 server works fine with
    Trustworthy set to OFF.  I'm starting to think it is a .NET issue.  2008R2 works with 2.0 and 2012 uses 4.0 and i'm wondering if just redeploying the assembly will fix the problem.  Any suggestions would be greatly appreciated. 
    Msg 10314, Level 16, State 11, Procedure MP_ExportXYToCSV2, Line 41
    An error occurred in the Microsoft .NET Framework while trying to load assembly id 65540. The server may be running out of resources, or the assembly may not be trusted with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE. Run the query again, or check documentation
    to see how to solve the assembly trust issues. For more information about this error:
    System.IO.FileLoadException: Could not load file or assembly 'exporttocsv, Version=1.0.4780.25878, Culture=neutral, PublicKeyToken=f5567e386ca8280d' or one of its dependencies. An error relating to security occurred. (Exception from HRESULT: 0x8013150A)
    System.IO.FileLoadException:
       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)

    It is not clear what you have done, for an assembly with a permission set beyond SAFE to work, one of these conditions must be set:
    1) The database is trustworthy and the database owner has EXTERNAL ACCESS ASSEMBLY or UNSAFE ASSEMBLY permission, depending on the permission set for the assembly.
    2) The assembly is a signed with a key, and that key exists in the master database. A login has been created from the key, and this login has been granted the matching assembly permission.
    Since you say that it worked on SQL 2008 R2 without trustworthy, I would assume that you had a key-login pair on the old server, but forgot to move them to the new server.
    Don't set the database trustworthy. This is a potential security risk.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Issue store location is not picking up automatically

    Dear Sir,
    I am in the process of backflushing.
    I have maintained Issue store location in production version of Header material.
    when components are backflushed with respect to production version It should have to pick up the store location automatically from production version.
    But it is found that each time backflushing ,manually we have to enter the store location on screen Goods movement in MFBF.

    Hi,
    If you are using MRP Group - then pls check in OPPR - Det Prod Stor Locn strategy.
    Set this to 2 and try MFBF again.
    Or else you can define for the component in BOM item details.By priority , system will look for this first and then only the strategy ......
    Issue Storage Location Selection
    Determines how the system finds the issue storage location (the production storage location from which the components are taken to produce an assembly)  for the component if no issue storage location is defined for the component in the BOM of the assembly. You have the following options:
    Strategy 2The system uses the default issue storage location specified in the material master record of the assembly in the production version. If no default issue storage location is specified in the production version, then the system uses the receiving storage location for the assembly as issue storage location for components.

  • After working for a while an SQLCLR assembly wont load

    I have a user defined aggregate function in an assembly called Watchdog.
    I use that function in a stored procedure.
    All the sudden after running just fine for a day it throws an error as soon as I try to execute the stored procedure with this error:
    Msg 10314, Level 16, State 12, Procedure spwdAutomaticAction, Line 70
    An error occurred in the Microsoft .NET Framework while trying to load assembly id 65541. The server may be running out of resources, or the assembly may not be trusted with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE. Run the query again, or check documentation to see how to solve the assembly trust issues. For more information about this error:
    System.IO.FileNotFoundException: Could not load file or assembly 'watchdog, Version=0.0.0.0, Culture=neutral, PublicKeyToken=fffbd94e193b6c65' or one of its dependencies. The system cannot find the file specified.
    System.IO.FileNotFoundException:
    at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
    at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
    at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
    at System.Reflection.Assembly.Load(String assemblyString)
    I have verified that the Watchdog assembly still has PERMISSION_SET = UNSAFE and that the only assembly it references also has it. Why would it say FileNotFoundException?

    If SQL Server is the only process (outside of OS) running on the box, and it's 2008 R2 64-bit, you should be able to free up memory for SQLCLR (and other things like OLE DB linked servers that use the multipage memory allocator) by lowering max_server_memory
    with sp_configure.
    Don't forget to follow that with a "reconfigure" or "reconfigure with override" statement too. You can see how much memory SQL Server is using by querying SQL Server: Memory Manager counters in perfmon. To see how much is  used for SQLCLR I believe
    that would be the SQLServer:CLR counter. You can also get an overview of what SQL Server is using for memory with DBCC MEMORYSTATUS. There's also a bunch of sys.dm_os* DMVs that report on memory listed here:
    http://technet.microsoft.com/en-us/library/ms176083(v=sql.100).aspx note that SQLCLR memory (in SQL Server 2008 R2) mostly uses the multipage memory allocator. In the sys.dm_os_memory_objects
    DMV you can use "where type like '%CLR%' to find memory allocated by SQL Server for SQLCLR.
    If SQL Server isn't the only process running outside the box, other processes (like SSIS or SQL Agent jobs) can deprive SQLCLR of memory also, because it's just using memory outside mem_to_reserve in pre-2012 64-bit.
    It sounds like (by your error messages here):
    10/02/2013 05:38:16,spid71,Unknown,AppDomain 8 (Watchdog.dbo[runtime].7) created.
    10/02/2013 05:36:02,spid16s,Unknown,AppDomain 4 (Watchdog.dbo[runtime].3) unloaded.
    10/02/2013 05:36:02,spid1s,Unknown,AppDomain 4 (Watchdog.dbo[runtime].3) is marked for unload due to memory pressure.
    that when SQLCLR tries to load your assembly (and all of its dependent assemblies) it's taking some large initial memory allocation that there isn't enough available memory for SQLCLR to handle. It may be that the available memory is too fragmented too obtain
    the allocation; at that point your only choice is to recycle SQL Server (and/or possibly the OS).
    Also, check to see if you have all of the dependent assemblies cataloged (in sys.assemblies) just in case, because the error message is "file not found".
    Hope this helps, Bob

  • Flatten PDF whit Assembler have NO form data ¿lose?

    Hello
    I using LC ES 8.2.1, and have licence for Forms ES and ReaderExtensions ES Services.
    I need flatten XFA based form generated with Adobe Designer, and saved as "Static PDF Form" (we no have Output Service).
    1) Have Static PDF Form + XML data.
    2) Forms ES: Load XML data on the form.
    3) Assembler: Form with data (generated on 2 point) flatten using <NoXFA /> or <NoForms />
    PROBLEM:
    The problem is in the flatten PDF generated by Assembler have NO DATA, if the Assembler DDX happened to get <NoXFA /> or <NoForms />, the resulting PDF does NOT show the form data that had previously preloaded with Forms ES.
    ¿Why PDF LOSE data? ...have any way to flatten PDF with data (without using OUTPUT Service)????
    Thx

    Hi,
    Well it did not work, we have updated the version from the ES 8.2.1 to 8.2.1.3 and still IS running incorrectly.
    We used two different mechanisms to place XML data in PDF:
      - Forms
      - FormDataIntegration
    None works, the imported data do not appear in the final flatten PDF.
    Where it works properly is with LC ES2, we have to update, because we rush to deliver this development.
    While we understand that should work with the ES version 8.2.x, all documentation is in your website says this, but the reality is that (at least to us) does not work, the static PDF preloaded (with DataIntegration or Forms) and then flattened with Assembler NOT show the latest data preloaded.
    Thx.

  • Could not load file or assembly 'Oracle.DataAccess, Version=2.111.6.20

    I have visual Studio 2008 and ODAC installed on Winows 7, my VS2008 application retrieves data from Oracle Db 10g xe. I get this error report wih every attempt to connect and interact wih the database:
    "Could not load file or assembly 'Oracle.DataAccess, Version=2.111.6.20,
    Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies.
    The system cannot find the file specified."
    What could be the issue? The same code that worked on Vista is the one returning this error report.

    I wonder if you could try the following command:
    gacutil.exe /l Oracle.DataAccess
    This should display the version number of the current assembly that it is GACed. In case that does not correspond to the version 2.111.6.20 then try:
    gacutil.exe /u Oracle.DataAccess
    and then find the path to the Oracle.DataAccess.dll assembly and issue the following command:
    gacutil.exe /i {path}/Oracle.DataAccess.dll
    The first command will display the version of the newly GACed assembly. If it still not what you are looking for please pass along the version that it is displayed.
    In case the version will match 2.111.6.20, then retry to use VS2008 to connect to your Oracle DB.

  • Removing Phantom assemblies from Demand (Ord Res/ Dep Req) & CO24

    Issue 1) I have the issue that I want to maintain Phantom Assemblies with sp procurement key 50 but I want the components in the Phantom assemblies to show as Ord Res / dep req directly to the Top level item and not to his Phantom?
    Is there any way of ignoring the phantoms in the stock requirements list.  The business wish to see demand for the procured items coming straight (or linked) to the Top level assembly.
    Issue 2) Can anyone show me how get the Sales order on the Missing parts list CO24? It is a field to be used but when I select and it comes on the layout the data is blank ?
    Cheers Milton

  • Net Framework assembly error 66536 when trying to deploy a project

    I'm getting the following when trying to deploy a project from SSDT to SQL Server 2012 SSISDB on an AlwaysOn primary replica. I tried removing SSISDB from the Availability databases but still had the same problem.
    TITLE: SQL Server Integration Services
    An error occurred in the Microsoft .NET Framework while trying to load assembly id 65536. The server may be running out of resources, or the assembly may not be trusted with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE. Run the query again, or check documentation
    to see how to solve the assembly trust issues. For more information about this error:
    System.IO.FileLoadException: Could not load file or assembly 'microsoft.sqlserver.integrationservices.server, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Exception from HRESULT: 0x80FC80F1
    System.IO.FileLoadException:
       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
     (Microsoft SQL Server, Error: 10314)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.3128&EvtSrc=MSSQLServer&EvtID=10314&LinkId=20476
    BUTTONS:
    OK

    Falls into the issue desribed in http://support.microsoft.com/kb/918040
    Try mitigatign using the workaround section
    Arthur My Blog

  • GI storage locatio issue.

    Hello SAP Guru's
    I have a problem with storage location determination I wonder if anyone can help.
    If I create a planned order the storage location for the component (TNKS) is determined correctly from the material master MRP2 screen "Prod. Stor. Location but when it is converted to a production order or if the production order is created without reference to a planned order it defaults in a different storage location (0001)
    I have tried adding the storage location into the BOM component item; Adding it into the production version; adding a determination strategy to an MRP group and adding to the material master but it is still picking up storage location 0001 instead of TNKS.
    The component is a purchased material.
    I am obviously missing something so would be grateful for any help received.
    I checked some notes and there is a mention of OM10, which I don't see as a transaction in 6.0

    check the custmising setting
    SPRO>Production>REM>Cross-Process Settings>Define Storage Location and Supply Area Determination in BOM Explosion-->Storage Location Determination For Component Withdrawal
    depending on the setting here, the storage loca determination varies,
    Issue Storage Location Selection
    Determines how the system finds the issue storage location (the production storage location from which the components are taken to produce an assembly)  for the component if no issue storage location is defined for the component in the BOM of the assembly. You have the following options:
    Strategy 1 (or blank)
    The system only checks for components whose issue storage location is defined in the material master record and copies it from there.
    Strategy 2
    The system uses the default issue storage location specified in the material master record of the assembly in the production version. If no default issue storage location is specified in the production version, then the system uses the receiving storage location for the assembly as issue storage location for components.
    Strategy 3
    The system proceeds according to strategy 1 first and then according to strategy 2.
    Strategy 4
    The system proceeds according to strategy 2 first and then according to strategy 1.

  • Assembly scrap in REM scenario

    Hi Experts,
    My scenario is relevant to REM, during back flush in transaction MFBF am posting the assembly scrap by selecting assembly scrap radio button and in the scrap posting screen with reason of variance, as per logic the quantity of the plan order should be reduced by scrap quantity, am able to see the goods issue document but the plan order quantity is not getting reduced.
    Are there any specific setting needs to be done for posting of assembly scrap?
    Please help to explain the complete process of assembly scrap in case of REM.
    Regards
    cs

    Hi Anupam,
    I have checked the process as per your advise and it is working fine, but here am having an issue as if am scraping through quality it is scrapped with movement type 553, which is booked as loss.
    But actually we are retrieving the components from these 5 units and reusing them in another FG.
    As we are working with REM we are using CO07 production order without material for rework purpose in that case the scrapped assembly is issued to production order and components are retrieved with 531.
    Is there any possibility that the scrapped assembly can be shown as stock and issuance can be done?
    Or how can we address this scenariou2026
    Regards
    Chandan

  • Problem with CLR Assemblies(Beginner)!!

    Hi,
    I'm trying to execute an sp which is calling a CLR assembly and on execution, i get the following error:
    An error occurred in the Microsoft .NET Framework while trying to load assembly id 65537. The server may be running out of resources, or the assembly may not be trusted with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE. Run the query again, or check documentation to see how to solve the assembly trust issues. For more information about this error:
    System.IO.FileLoadException: Could not load file or assembly 'emailserviceclr, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An error relating to security occurred. (Exception from HRESULT: 0x8013150A)
    System.IO.FileLoadException:
       at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
       at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
       at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
    Please let me know what can i do to fix this error as i'm using this CLR for the very first time.
    Please guide me on this.
    Thanks,
    Deepti

    Hi Jonathan,
    Thanks a lot for your help. I followed the guidelines provided by you. In SSMS, under the properties of assemblies, the "permission set" was set to UNSAFE, i tried setting it to EXTERNAL ACCESS. But when i try cicking "OK" after setting it, i get following error:
    ALTER Assembly for assembly "abc" failed because assembly "abc" is not authorized for PERMISSION_SET = EXTERNAL ACCESS. The assembly is authorized when either of the following condition is true: the database owner(DBO) has EXTERNAL ACCESS ASSEMBLY permission and the database has the TRUSTWORTHY Database property on; or the assembly is signed with the certificate; or an asymmetric key that has a corresponding login with EXTERNAL ACCESS  assembly permission.If you have restored or attached this database, make sure the database owner is mapped to the correct login on this server, if not then use sp_changedowner to fix the problem.
    Please tell me what can i do about this.
    Thanks,
    Deepti

  • Facing Problem while adding Azure Project to existing C# web application

    Hi,
    I have a web application with 5 projects under one Solution. I want to publish this web application on Windows Azure, for that I have tried to add Windows Azure Cloud Service Project but this option is not appear in option list. But when I create new web
    application add Windows Azure Cloud Service Project option appeared. I didn't understand why this happened. I have also tried to migrate old code to new project but having error
    " The type or namespace name 'DataAnnotations' does not exist in the namespace 'System.ComponentModel' (are you missing an assembly reference?)"
    If I add this dll then more than 18000 error occures like control not found(The name 'lnkbtnNew' does not exist in the current context).
    Please help me out, I am struggling since couple of days.
    Thanks in advance.

    Hi,
    Please try the following steps, see if it helps.
    1. create new azure cloud service project (it is better to choose the same version of .netframework with your web application );
    2. right click the solution, add your web application as Existing Project
    3. Right click on the “Roles” node in the Cloud Service project and select “Add | Web Role Project in solution…”
    Please try to set the “Copy Local” to “True” in order to avoid assembly missing issue, see more at:
    http://blogs.msdn.com/b/asiatech/archive/2013/01/09/how-to-resolve-the-could-not-load-file-or-assembly-issues-on-windows-azure-web-sites.aspx
    If this post doesn't give you help, please follow up with more detailed information.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • DQS Not working after SQL 2012 SP2 Applied

    Hi all,
    On Friday we had our service provider install SQL SERVER SP2 to our dev server from release 11.0.3000 to 11.0.5058 (Post SP deploy), so that we could test it, before rolling out to the production servers. However on this mornings scheduled job we received
    the following error from the DQS component : 
    =================================================
    The component has detected potential metadata corruption during validation.
    Error at DFT Maintain Riskcode [DQS Cleansing [61]]: System.Data.SqlClient.SqlException (0x80131904): An error occurred in the Microsoft .NET Framework while trying to load assembly id 65629. The server may be running out of resources, or the assembly may not
    be trusted with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE. Run the query again, or check documentation to see how to solve the assembly trust issues. For more information about this error:
    System.IO.FileLoadException: Could not load file or assembly 'microsoft.ssdqs, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Assembly in host store has a different signature than assembly in GAC. (Exception
    from HRESULT: 0x80131050) See Microsoft Knowledge Base article 949080 for more information.
    System.IO.FileLoadException:
       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.Ssdqs.Infra.Database.DBAccess.ExecCommand()
       at Microsoft.Ssdqs.Proxy.Database.DBAccessClient.Exec()
       at Microsoft.Ssdqs.Proxy.EntryPoint.BaseEntryPointClient.SetDataQualitySession(Nullable`1 clientId, Nullable`1 knowledgebaseId)
       at Microsoft.Ssdqs.Proxy.EntryPoint.BaseEntryPointClient..ctor(String serverName, String databaseName, Nullable`1 clientId, Nullable`1 knowledgebaseId)
       at Microsoft.Ssdqs.Proxy.EntryPoint.NotificationEntryPointClient..ctor(String serverName, String databaseName)
       at Microsoft.Ssdqs.Component.Common.Utilities.ComponentUtility.VerifyServer(String connectionString, String databaseName)
       at Microsoft.Ssdqs.Component.DataCorrection.Logic.DataCorrectionComponent.Validate()
       at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostValidate(IDTSManagedComponentWrapper100 wrapper)
    ClientConnectionId:4c673c65-aa29-43f9-89eb-41eba1aaea13I
    =============================
    Luckily we only had one component using the DQS as it was a PoC idea to show the business what could be done, without significant overheads to the underlying system, so it was easy to strip out, however I would like to know how to fix this for future reference,
    is there a separate SP for DQS or CU that needs to be applied.
    We are also seeing the same issue within BIDS, on the work stations that open the relevant package.
    Regards
    Jason.
    Jason

    Thanks Pau,
    Many thanks for this.
    I have been looking around during the day and it seems that its the local machines that are out of sync as well especially with the DQS component.
    Its a good job our prod server wasn't updated at the same time, thankfully we have separate DQS servers for dev and Prod, so the impact was limited to Dev alone.
    Regards
    Jason.
    Jason

Maybe you are looking for

  • Can I connect my 20" Cinema Display to my new mac mini?

    Is there a connector available for this? Cinema Display connector is not same size as DVI connection.

  • CS5 only defining a strip of an image as a pattern

    When I define a pattern from an ordinary colour image there is no problem - the full image is available as a pattern.  But when I try to define an image which is black and white only a strip of the BW image is available as a pattern.  When I add a st

  • Prestridge1

    Lightroom installation problem.  Have purchased and download CS6 using the Akami Download Manager.  Also purchased Lightroom 4.  But, when attempting to download Lightroom from the "My Orders" page, I get a "Not Applicable" message in the box beside

  • Altgr not working

    Hi! Having a problem with my alt gr button, works mostly like a usual alt-button xev says this when pressing alt gr: KeyPress event, serial 32, synthetic NO, window 0x1a00001, root 0x5c, subw 0x0, time 2826022020, (535,238), root:(719,445), state 0x0

  • Could not open firefox and tried to update newer version but could not with error msg "can not create temp folder archive"

    Tried to run firefox as usual but the the page could not connect the server. Thus, uninstalled the browser and tried to install a newer version. Could not run the program and error msg "can not create temp folder archive" popped up.