Compiler Error Message: CS0234: The type or namespace name 'Http' does not
exist in the class or namespace 'System.Runtime .Remoting.Chann els' (are you
missing an assembly reference?)
Source Error:
Line 2: <%@ Import Namespace="Syst em.Runtime.Remo ting" %>
Line 3: <%@ Import Namespace="Syst em.Runtime.Remo ting.Channels" %>
Line 4: <%@ Import Namespace="Syst em.Runtime.Remo ting.Channels.H ttp" %>
Line 5:
Line 6: <%@ Page Language="C#" AutoEventWireup ="True" %>
Any ideas?
10x, Sharon. 5 2031
Hi Sharon,
Make sure you have added reference to the System.Runtime. Remoting.dll.
If you have added and still getting this error i suggest you to remove the
reference and then add it again.
Hope this helps you.
Thanks
Raghavendra
"Sharon Tal" <ta*******@hotm ail.com> wrote in message
news:O%******** *******@TK2MSFT NGP09.phx.gbl.. . Compiler Error Message: CS0234: The type or namespace name 'Http' does not exist in the class or namespace 'System.Runtime .Remoting.Chann els' (are
you missing an assembly reference?)
Source Error:
Line 2: <%@ Import Namespace="Syst em.Runtime.Remo ting" %> Line 3: <%@ Import Namespace="Syst em.Runtime.Remo ting.Channels" %> Line 4: <%@ Import Namespace="Syst em.Runtime.Remo ting.Channels.H ttp" %> Line 5: Line 6: <%@ Page Language="C#" AutoEventWireup ="True" %>
Any ideas? 10x, Sharon.
Hi Raghavendra and thanks for your reply.
How do i add a reference to aspx page.
I know how to do it with csc.exe, but this is a web page.
I'm not working with Visual Studio.
Thanks.
"Raghavendr a T V" <ra*****@hotmai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Hi Sharon,
Make sure you have added reference to the System.Runtime. Remoting.dll. If you have added and still getting this error i suggest you to remove the reference and then add it again.
Hope this helps you.
Thanks Raghavendra
"Sharon Tal" <ta*******@hotm ail.com> wrote in message news:O%******** *******@TK2MSFT NGP09.phx.gbl.. . Compiler Error Message: CS0234: The type or namespace name 'Http' does
not exist in the class or namespace 'System.Runtime .Remoting.Chann els' (are you missing an assembly reference?)
Source Error:
Line 2: <%@ Import Namespace="Syst em.Runtime.Remo ting" %> Line 3: <%@ Import Namespace="Syst em.Runtime.Remo ting.Channels" %> Line 4: <%@ Import Namespace="Syst em.Runtime.Remo ting.Channels.H ttp" %> Line 5: Line 6: <%@ Page Language="C#" AutoEventWireup ="True" %>
Any ideas? 10x, Sharon.
Hi,
Use the <%@ Assembly %> directive.
"Sharon Tal" <ta*******@hotm ail.com> wrote in message
news:OM******** ******@TK2MSFTN GP11.phx.gbl...
Hi Raghavendra and thanks for your reply.
How do i add a reference to aspx page.
I know how to do it with csc.exe, but this is a web page.
I'm not working with Visual Studio.
Thanks.
"Raghavendr a T V" <ra*****@hotmai l.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Hi Sharon,
Make sure you have added reference to the System.Runtime. Remoting.dll. If you have added and still getting this error i suggest you to remove the reference and then add it again.
Hope this helps you.
Thanks Raghavendra
"Sharon Tal" <ta*******@hotm ail.com> wrote in message news:O%******** *******@TK2MSFT NGP09.phx.gbl.. . Compiler Error Message: CS0234: The type or namespace name 'Http' does
not exist in the class or namespace 'System.Runtime .Remoting.Chann els' (are you missing an assembly reference?)
Source Error:
Line 2: <%@ Import Namespace="Syst em.Runtime.Remo ting" %> Line 3: <%@ Import Namespace="Syst em.Runtime.Remo ting.Channels" %> Line 4: <%@ Import Namespace="Syst em.Runtime.Remo ting.Channels.H ttp" %> Line 5: Line 6: <%@ Page Language="C#" AutoEventWireup ="True" %>
Any ideas? 10x, Sharon.
How do you add an "assembly reference" in a *.aspx file?
<%@ Assembly %> does not solve the problem.
"Shiva" wrote: Hi, Use the <%@ Assembly %> directive.
"Sharon Tal" <ta*******@hotm ail.com> wrote in message news:OM******** ******@TK2MSFTN GP11.phx.gbl... Hi Raghavendra and thanks for your reply. How do i add a reference to aspx page. I know how to do it with csc.exe, but this is a web page. I'm not working with Visual Studio. Thanks.
"Raghavendr a T V" <ra*****@hotmai l.com> wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Hi Sharon,
Make sure you have added reference to the System.Runtime. Remoting.dll. If you have added and still getting this error i suggest you to remove the reference and then add it again.
Hope this helps you.
Thanks Raghavendra
"Sharon Tal" <ta*******@hotm ail.com> wrote in message news:O%******** *******@TK2MSFT NGP09.phx.gbl.. . Compiler Error Message: CS0234: The type or namespace name 'Http' does not exist in the class or namespace 'System.Runtime .Remoting.Chann els' (are you missing an assembly reference?)
Source Error:
Line 2: <%@ Import Namespace="Syst em.Runtime.Remo ting" %> Line 3: <%@ Import Namespace="Syst em.Runtime.Remo ting.Channels" %> Line 4: <%@ Import Namespace="Syst em.Runtime.Remo ting.Channels.H ttp" %> Line 5: Line 6: <%@ Page Language="C#" AutoEventWireup ="True" %>
Any ideas? 10x, Sharon.
Help :
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003 FEB.1033/cpgenref/html/cpconassembly.h
tm
<%@ Assembly Name="MyAssembl y" %>
Or, you can use the web.config to add the directive as well.See MSDN for
more help.
--
Girish Bharadwaj http://msmvps.com/gbvb
"amallik" <am*****@discus sions.microsoft .com> wrote in message
news:46******** *************** ***********@mic rosoft.com... How do you add an "assembly reference" in a *.aspx file? <%@ Assembly %> does not solve the problem.
"Shiva" wrote:
Hi, Use the <%@ Assembly %> directive.
"Sharon Tal" <ta*******@hotm ail.com> wrote in message news:OM******** ******@TK2MSFTN GP11.phx.gbl... Hi Raghavendra and thanks for your reply. How do i add a reference to aspx page. I know how to do it with csc.exe, but this is a web page. I'm not working with Visual Studio. Thanks.
"Raghavendr a T V" <ra*****@hotmai l.com> wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Hi Sharon,
Make sure you have added reference to the System.Runtime. Remoting.dll. If you have added and still getting this error i suggest you to remove
the reference and then add it again.
Hope this helps you.
Thanks Raghavendra
"Sharon Tal" <ta*******@hotm ail.com> wrote in message news:O%******** *******@TK2MSFT NGP09.phx.gbl.. . > Compiler Error Message: CS0234: The type or namespace name 'Http'
does not > exist in the class or namespace 'System.Runtime .Remoting.Chann els'
(are you > missing an assembly reference?) > > Source Error: > > > Line 2: <%@ Import Namespace="Syst em.Runtime.Remo ting" %> > Line 3: <%@ Import Namespace="Syst em.Runtime.Remo ting.Channels" %> > Line 4: <%@ Import
Namespace="Syst em.Runtime.Remo ting.Channels.H ttp" %> > Line 5: > Line 6: <%@ Page Language="C#" AutoEventWireup ="True" %> > > > Any ideas? > 10x, Sharon. > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dirk |
last post by:
Hello
I use the #import directive to get the type information and smart pointers
for a com object. To enable the event_receiver attribute on classes in the
client I have to use the embedded_idl attribute on the #import directive.
However it seems that now I can only use raw property accessors with get_
prefix and with exceptions. I can reproduce the problem with a wizard
generated win32 console application in vs.net 2003.
In stdafx.h I...
|
by: autoEx |
last post by:
I am using #import directive to import the excel library to make excel files but the excel object is not recognized by my application. Here is what I do: I have simple dialog based MFC application in VC 6.00 In the dialog .cpp file, I add the following
#import "D:\\Program Files\\Microsoft Office\\Office\\MSO9.DLL" no_namespac
#import "C:\\Program Files\\Common Files\\Microsoft Shared\\VBA\\VBA6\\VBE6EXT.OLB" no_namespac
#import...
|
by: Jim Heavey |
last post by:
Is the Page directive only go on ".aspx" pages? I think the answer is yes,
but I am not positive. I am trying to figure out why a called class can not
be found and I was wondering if I should place a page directive on the class
which I am trying to call.
In my situation I have "MyPage.aspx" which has code behind page called
"MyPage.aspx.vb" and "MyPage.aspx.vb" instatiates "Myclass.vb" and the
"MyClass.vb" can not be found. All my...
|
by: Jena |
last post by:
Hi all,
i've an example where in the page.aspx there are two strings like these:
<% @Import Namespace="System.Data" %>
<% @Import Namespace="System.Data.OleDb" %>
in the page_load sub, using this declarations I Can declare:
Dim objCommand As New OleDbCommand(strSQL, objConn)
|
by: s.hong |
last post by:
Hello?
On the ASP.NET, I can use the class by import declation on the top of page.
<%@ page language="vb" explicit="true" aspcompat="false" debug="true"%>
<%@ import namespace="System.Data" %>
<%@ import namespace="System.Data.SqlClient" %>
It's work well for the compiled class files in /bin folder.
| |
by: Bruce W. Roeser |
last post by:
All,
I'm reading a book by Charles Petzold (Programming VS.Net). Pretty good
content but am confused about the difference. From the text:
----------------------------------------------------------------------------------------------------------------------------------------------------------
The @ Import Directive
Next to @ Page, the directive that ASP.NET programmers use the most is @
Import. The @ Import directive is ASP.NET's...
|
by: Andy Fish |
last post by:
Hi,
I have a single-file aspx file (no codebehind). when I try to do this:
<%@ Import Namespace="MySql.Data.MySqlClient" %>
I get this:
CS0246: The type or namespace name 'MySql' could not be found (are you
missing a using directive or an assembly reference?)
|
by: Mark |
last post by:
Hello
I made a site with validated XHTML and CSS. It works fine also.
Only in IE i see the site build up without CSS (very fast though) and
then the CSS is used to build the page.
When i use this it works fine:
<link href="styles/site.css" rel="stylesheet" type="text/css" />
|
by: Johnson545236 |
last post by:
I need some serious help. I'm extremely new to vs 2003 .net and I have to work with CRM, sigh. I am trying my first program and I get this error:
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'workingwithcrm' could not be found...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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,...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |