Link to home
Start Free TrialLog in
Avatar of Grant Spiteri
Grant SpiteriFlag for Australia

asked on

Namespace Reference in inline aspx page issue

Afternoon all i was hoping someone would be able to help me with this issue:

I have an in-line aspx page that i have written to be a status page for an F5 Load Balancer which needs to reference the system.messaging namespace to do status checks on an MSMQ server i constantly receive the error: CS0234: The type or namespace name 'Messaging' does not exist in the namespace 'System' (are you missing an assembly reference?).

Would much appreciate any assistance if possible thanks.
Avatar of magicdlf
magicdlf

In your project, Add Reference, Find System.Messaging, add it, compile again.
The System.Messaging is not included for web application by default, that's why you need to add it.
Avatar of Grant Spiteri

ASKER

My apologies i didn't make it clear that this needs to be a stand alone web page
I have looked at the following also but still to no avail

http://authors.aspalliance.com/remas/ASP.NET/VFAQNET/ImportVsAssembly/
ASKER CERTIFIED SOLUTION
Avatar of Grant Spiteri
Grant Spiteri
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial