[ https://issues.apache.org/jira/browse/AMQNET-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068082#comment-13068082 ]
Jim Gomes commented on AMQNET-337: ---------------------------------- This looks like a potential limitation of the Windows platform maximum path length. If so, the only resolution to the problem is to load from a shorter path. > Creating ConnectionFactory fails if ActiveMQ assembly has long path > ------------------------------------------------------------------- > > Key: AMQNET-337 > URL: https://issues.apache.org/jira/browse/AMQNET-337 > Project: ActiveMQ .Net > Issue Type: Bug > Affects Versions: 1.5.1 > Reporter: Simon Jackson > Assignee: Jim Gomes > > If the path of the directory containing Apache.NMS.DLL is long then creating > the NMSConnectionFactory can fail with > PathTooLongException. > ProviderUri: > "tcp://activemq.hq.opengamma.com:61616" > Path to the NMS dll was: > C:\Users\simon.HQ\AppData\Local\Temp\4e913663-806b-4885-a6a0-14568b865815\4e913663-806b-4885-a6a0-14568b865815\assembly\dl3\8719cfea\776f9635_4f3dcc01\Apache.NMS.DLL > Looks like the config document is being looked for when it would be too long. > Path was generated by Resharper's xunit test runner. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira