Re: Unable to use ActiveMQ.NMS on Windows 7

2012-10-17 Thread Jim Gomes
Use the full .NET framework in your project, not the Client Profile.

Right-click on your Project in *Solution Explorer*, and select Properties.
 On the *Application* tab, set the *Target framework* to *.NET Framework 4*.

On Mon, Oct 15, 2012 at 5:44 PM, songu songu...@gmail.com wrote:

 Hi Guys,

 I have an issue with ActiveMQ.NMS as well. I added both
 Apache.NMS.ActiveMQ and Apache.NMS into my .Net C# solution. But they
 can not be resolved due to have a dependency on System.Web,
 Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, which is
 not the current target framework .NetFramework, Version=v4.0,
 Profile=Client. 

 My PC has .Net 4.0 installed and OS is WIN 7. Any suggestion what is the
 problem?

 Thanks!



 --
 View this message in context:
 http://activemq.2283324.n4.nabble.com/Unable-to-use-ActiveMQ-NMS-on-Windows-7-tp465p4657827.html
 Sent from the ActiveMQ - User mailing list archive at Nabble.com.



Re: Unable to use ActiveMQ.NMS on Windows 7

2012-10-15 Thread songu
Hi Guys,

I have an issue with ActiveMQ.NMS as well. I added both
Apache.NMS.ActiveMQ and Apache.NMS into my .Net C# solution. But they
can not be resolved due to have a dependency on System.Web,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, which is
not the current target framework .NetFramework, Version=v4.0,
Profile=Client.  

My PC has .Net 4.0 installed and OS is WIN 7. Any suggestion what is the
problem?

Thanks!



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Unable-to-use-ActiveMQ-NMS-on-Windows-7-tp465p4657827.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Unable to use ActiveMQ.NMS on Windows 7

2012-10-13 Thread Rohit Magazine
I have a solution that uses Apache.NMS.ActiveMQ ver 1.5.6. This solution
works fine on WindowsXP but when i port the same code to Windows7. 
It gives me {host not found} exception at 
Apache.NMS.ActiveMQ.ConnectionFactory.CreateActiveMQConnection ... in
C:\dev\NMS.ActiveMQ\src\csharp\ConnectionFactory.cs:line 151
  at Apache.NMS.ActiveMQ.ConnectionFactory.CreateConnection ... in   
C:\dev\NMS.ActiveMQ\src\csharp\ConnectionFactory.cs : line 107

Do i need to do anything specific for this code to work on Windows 7 ?

Please advice 




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Unable-to-use-ActiveMQ-NMS-on-Windows-7-tp465.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Unable to use ActiveMQ.NMS on Windows 7

2012-10-13 Thread Timothy Bish
On Fri, 2012-10-12 at 15:07 -0700, Rohit Magazine wrote: 
 I have a solution that uses Apache.NMS.ActiveMQ ver 1.5.6. This solution
 works fine on WindowsXP but when i port the same code to Windows7. 
 It gives me {host not found} exception at 
 Apache.NMS.ActiveMQ.ConnectionFactory.CreateActiveMQConnection ... in
 C:\dev\NMS.ActiveMQ\src\csharp\ConnectionFactory.cs:line 151
   at Apache.NMS.ActiveMQ.ConnectionFactory.CreateConnection ... in   
 C:\dev\NMS.ActiveMQ\src\csharp\ConnectionFactory.cs : line 107
 
 Do i need to do anything specific for this code to work on Windows 7 ?
 
 Please advice 

Are you sure that this Windows 7 machine can resolve that host name,
have you tried using the IP Address?  Is there a firewall issue?  

 
 
 
 
 --
 View this message in context: 
 http://activemq.2283324.n4.nabble.com/Unable-to-use-ActiveMQ-NMS-on-Windows-7-tp465.html
 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.b...@redhat.com | www.fusesource.com | www.redhat.com 
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/