I developed, and ran successfully, a web application on my development box,
but cannot get it to run on the server. The error I am getting is:
Compiler Error Message: CS0234: The type or namespace name 'Packaging' does
not exist in the namespace 'System.IO' (are you missing an assembly
reference?)
I have installed .Net framework 3.5 and 2007 Office System: Microsoft SDK
for Open XML Formats, but that has not resolved the problem.
Can someone please help me get this reference problem fixed? Thank you. 4 14614
Very often Production box and Development boxes have different web.config
files.
Take a look at your production box in web.config file.
Is it referencing System.IO.Packa ging ?
also you might want to clear out the folder before you move new version. May
be there is an old forgotten dll or aspx page there
George
"Wannabe" <Wa*****@discus sions.microsoft .comwrote in message
news:FC******** *************** ***********@mic rosoft.com...
>I developed, and ran successfully, a web application on my development box,
but cannot get it to run on the server. The error I am getting is:
Compiler Error Message: CS0234: The type or namespace name 'Packaging'
does
not exist in the namespace 'System.IO' (are you missing an assembly
reference?)
I have installed .Net framework 3.5 and 2007 Office System: Microsoft SDK
for Open XML Formats, but that has not resolved the problem.
Can someone please help me get this reference problem fixed? Thank you.
you failed to include windowsbase.dll in your bin folder.
-- bruce (sqlwork.com)
"Wannabe" wrote:
I developed, and ran successfully, a web application on my development box,
but cannot get it to run on the server. The error I am getting is:
Compiler Error Message: CS0234: The type or namespace name 'Packaging' does
not exist in the namespace 'System.IO' (are you missing an assembly
reference?)
I have installed .Net framework 3.5 and 2007 Office System: Microsoft SDK
for Open XML Formats, but that has not resolved the problem.
Can someone please help me get this reference problem fixed? Thank you.
Thank you very much...I forgot that I had added a reference to the web.config
file.
"George Ter-Saakov" wrote:
Very often Production box and Development boxes have different web.config
files.
Take a look at your production box in web.config file.
Is it referencing System.IO.Packa ging ?
also you might want to clear out the folder before you move new version. May
be there is an old forgotten dll or aspx page there
George
"Wannabe" <Wa*****@discus sions.microsoft .comwrote in message
news:FC******** *************** ***********@mic rosoft.com...
I developed, and ran successfully, a web application on my development box,
but cannot get it to run on the server. The error I am getting is:
Compiler Error Message: CS0234: The type or namespace name 'Packaging'
does
not exist in the namespace 'System.IO' (are you missing an assembly
reference?)
I have installed .Net framework 3.5 and 2007 Office System: Microsoft SDK
for Open XML Formats, but that has not resolved the problem.
Can someone please help me get this reference problem fixed? Thank you.
been there.... done that :)
George.
"Wannabe" <Wa*****@discus sions.microsoft .comwrote in message
news:33******** *************** ***********@mic rosoft.com...
Thank you very much...I forgot that I had added a reference to the
web.config
file.
"George Ter-Saakov" wrote:
>Very often Production box and Development boxes have different web.config files. Take a look at your production box in web.config file. Is it referencing System.IO.Packa ging ?
also you might want to clear out the folder before you move new version. May be there is an old forgotten dll or aspx page there
George
"Wannabe" <Wa*****@discus sions.microsoft .comwrote in message news:FC******* *************** ************@mi crosoft.com...
>I developed, and ran successfully, a web application on my development box,
but cannot get it to run on the server. The error I am getting is:
Compiler Error Message: CS0234: The type or namespace name 'Packaging'
does
not exist in the namespace 'System.IO' (are you missing an assembly
reference?)
I have installed .Net framework 3.5 and 2007 Office System: Microsoft
SDK
for Open XML Formats, but that has not resolved the problem.
Can someone please help me get this reference problem fixed? Thank you.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: serge calderara |
last post by:
Dear all,
I have a really strange beaviour in my application.
First of all I have a single plugin interface named
IPlugIn which as been build in a separate project library
named PLugin.dll (this contains only the interface)
Then I have a PlugInManager project which has as reference
the library Plugin.dll and implements the IPlugIn
interface. In addition to that PluginManager project has
|
by: dimension |
last post by:
Hi,
in visual studio 2005 beta, when i type "using System.Web." no code complete
helper pops up. Similarly, when typing "using System.Net." i do not see an
HttpWebRequest in the list that pops up. According to the documentation,
HttpWebRequest should be a part of the System.Web namespace.
I am not sure why this is happening? Can anyone assist?
|
by: Jeff Green |
last post by:
Hello all,
Can anyone explain why I keep getting the following error?
C:\Project\CalcServer\CalcServer.cs(4): The type or namespace name
'Http' does not exist in the class or namespace
'System.Runtime.Remoting.Channels' (are you missing an assembly
reference?)
I have the following using statements at the begining of the file.
|
by: Boris |
last post by:
I notice the following strange behavior of the applications running under
..NET Framework.
Let say I have application MyApp.exe which reference assembly MyAssembly.dll.
The MyAssembly.dll is strong named assembly, which is installed in the GAC.
I notice that if MyAssembly.dll is not installed in GAC or the different
version
of MyAssembly.dll is installed in GAC then MyApp.exe starts OK. But as soon as
the MyApp.exe app tries to call...
|
by: RSB |
last post by:
Hi every one,
all of a sudden my project has started giving me the errors about the
Reference. here is one example.
C:\Projects\myMainFile.ascx.cs(3): A using namespace directive can only be
applied to
namespaces; 'System' is a class not a namespace
or this Message..
| |
by: Victor Hadianto |
last post by:
Hi,
Everytime I change my code and hit the start debug button on the ASP.Net
WebApp project I often get a very annoying message saying such and such dll
is missing from ASP.Net temporary directory.
This is really strange it seems that there is a problem with Visual
Studio.Net compiler because to fix this I had to stop the webserver,
recompile (VS.Net rebuild), restart IIS and then start debugging.
|
by: tshad |
last post by:
I am trying to set up a reusable library (business component) that I can use
in a bunch of my pages.
I built the file and it almost compiles, but I am not sure what I am
missing.
The vbc command and results are:
************************************************************************
C:\Inetpub\wwwroot\Development>vbc /t:library emailClass.vb
|
by: rcoco |
last post by:
Hi,
I have this program that I'm trying to compile and it flags this error:
The type or namespace name 'src' could not be found(are you missing a
using directive or an assembly reference?) I've tryed to look for a
..dll called src I can't find it. It's only a folder called src that I
find. Am I missing something?
thank you
|
by: m.a |
last post by:
Hello,
I have the following code which is an entity for a table in my database.
but I am getting several errors such as:
The type or namespace name 'ColumnAttribute' could not be found (are you
missing a using directive or an assembly reference?)
Using the generic type 'System.Data.Linq.Table<TEntity>' requires '1' type
arguments
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: 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...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |