473,396 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Missing Assembly Reference

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.
Jan 11 '08 #1
4 14589
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.Packaging ?
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*****@discussions.microsoft.comwrote in message
news:FC**********************************@microsof t.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.

Jan 11 '08 #2
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.
Jan 11 '08 #3
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.Packaging ?
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*****@discussions.microsoft.comwrote in message
news:FC**********************************@microsof t.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.


Jan 11 '08 #4
been there.... done that :)

George.

"Wannabe" <Wa*****@discussions.microsoft.comwrote in message
news:33**********************************@microsof t.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.Packaging ?
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*****@discussions.microsoft.comwrote in message
news:FC**********************************@microso ft.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.



Jan 11 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
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...
2
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...
2
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...
3
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...
0
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...
8
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...
14
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...
5
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
isladogs
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...

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.