469,599 Members | 2,587 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,599 developers. It's quick & easy.

ASMX does not recognize System.Messaging namespace?

Hi All,



I am developing web service that does not use IIS, I was successful on deploying a normal web service with System.Data and System.Web namespaces. BUT when I added the System.Messaging and deploy my windows service - I am getting this error while accessing the ASMX test form
* I have tried the following already.

1. Remove and Add the System.Messaging from "Reference"

2. System.Messaging does exist from the GAC.

3. Trial and Error, when I removed the System.Messaging from my ASMX file, the test form works fine.



I would appreciate your suggestion. I really have to use the System messaging DUE to I have to communicate with MSMQ using web services. Thanks!

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is from my ASMX file: http://localhost:9005/winapp/query.asmx



Compiler Error Message:
CS0234: The type or namespace name 'Messaging' does not exist in the namespace 'System' (are you missing an assembly reference?)

Source Error:


Line 6: using System.Web;
Line 7: using System.Web.Services;
Line 8: using System.Messaging;
Line 9:
Line 10: [WebService(Description = "Web Service DB Query")]
Jan 26 '08 #1
2 1720
kenobewan
4,871 Expert 4TB
Here is a post that may help:
System.Messaging namespace missing in VB.NET?
Jan 26 '08 #2
i have remove and added the System.Messaging.dll but still no luck. It COMPILES but it chokes when the ASMX test form is invoked.
Jan 26 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by PeterW | last post: by
1 post views Thread by Ulan | last post: by
1 post views Thread by John Hamilton | last post: by
6 posts views Thread by =?Utf-8?B?a3Jpcw==?= | last post: by
2 posts views Thread by =?Utf-8?B?TWlndWVsIElzaWRvcm8=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.