472,371 Members | 1,587 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,371 software developers and data experts.

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 1879
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

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

Similar topics

by: ptdaw | last post by:
After spending a little time reading the documentation, I attempted to add some messaging code to my VB.Net project, only to discover that I couldn't get past my Imports System.Messaging ...
by: Dave | last post by:
Compilier will not recognize DataSet object. As you can see below is from a test simple form with no other code. I'm just trying to get any Aspx form to recognize the DataSet object. You can...
by: PeterW | last post by:
On my machine I developed a WebService on localhost and if I browse the asmx file I get the usual page that defines the webmethods exposed by the webservice and the opportunity to get the wsdl file...
by: Ulan | last post by:
Hi, Sometimes I have a DimeFormatException raised when the client is trying to upload file to my web services. It's not happening all the times which makes this bug unreproducable. Here is...
by: Ido Flatow | last post by:
Here's the scenario: - Created a web service project - Added 2 services (asmx files) - Created a custom entity ("Customer") - Created a method in each service which returns/receives the above...
by: John Hamilton | last post by:
I am writing a client app that communicates with a legacy system via email. The legacy system uses very primative mail messaging and thus doesn't support MIME or Base64 Encoded attachments. ...
by: =?Utf-8?B?a3Jpcw==?= | last post by:
Hi, I created a web service application using ASP. My question is : When i try to create an extra class in the same asmx file,At the time of consuming the web service,its showing me only the...
by: dankyy1 | last post by:
hi ,i have an asp.net project runs on local intranet ,i use global.asax's onerror section to catch errors.so i got a simpleauth service does not exists error from some network clients .Error details...
by: =?Utf-8?B?TWlndWVsIElzaWRvcm8=?= | last post by:
Hi, I've built an ASP.NET 1.1 web service and an ASP.NET 1.1 application that calls it is throwing the following exception: System.Web.Services.Protocols.SoapException: Server did not...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.