473,790 Members | 2,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASMX does not recognize System.Messagin g namespace?

6 New Member
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.Messagin g 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.Messagin g from "Reference"

2. System.Messagin g does exist from the GAC.

3. Trial and Error, when I removed the System.Messagin g 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.Serv ices;
Line 8: using System.Messagin g;
Line 9:
Line 10: [WebService(Desc ription = "Web Service DB Query")]
Jan 26 '08 #1
2 2026
kenobewan
4,871 Recognized Expert Specialist
Here is a post that may help:
System.Messagin g namespace missing in VB.NET?
Jan 26 '08 #2
jparulan
6 New Member
i have remove and added the System.Messagin g.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

1
5988
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 statment because the System.Messaging namespace is missing. Did I fat finger it into oblivion without knowing it, or is this a known issue? Any suggestions on how to fix this, in any case?
9
2272
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 see from the code I am importing System.Data.SqlClient. I can get to DataReader, DataView and DataTable but Visual Studio won't even bring up DataSet on Intellisense, much less compile it. The message I get is: "Reference required to assembly...
1
3303
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 using the Service Description link. This is saved into SourceSafe and then another person in the team gets latest from sourceSafe onto his system to try to run the webService on his localhost, all of the solution builds properly, but any...
1
3601
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 message from trace: HTTP/ASMX Message Receive Failure: Microsoft.Web.Services2.Dime.DimeFormatException: WSE350: In the record uuid:8349a664-cc62-4041-8084-6b5a4e2f6a83, the number of bytes in the Data
1
1970
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 entity - Created a class library - Added 2 web references (one for each asmx) The created proxy contains the "Customer" class for each service (asmx) - each class with it's own namespace !! This, for example, prevents me from
1
3906
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. Since System.Web.Mail is supposed to be deprecated my client is using System.Net.Mail. I cannot for the life of me find a way to create a mail message without any MIME headers but most of all there is no way to select UUEncoding for Attachment...
6
2239
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 default class only. here is my code: namespace WebService1
0
4371
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 are below.on my iis i have no virtual file such like this and nothing is installed like that. so what this error means? thanks. Error in: /SimpleAuthWebService/SimpleAuth.asmx Url: /SimpleAuthWebService/SimpleAuth.asmx Error Message: The...
2
18133
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 recognize the value of HTTP Header SOAPAction: http://ipm.sitefactory.com/Authenticate. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at
0
9511
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10142
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9986
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9021
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5422
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3703
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.