Missing Assembly Reference

W

Wannabe

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.
 
G

George Ter-Saakov

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
 
B

bruce barker

you failed to include windowsbase.dll in your bin folder.

-- bruce (sqlwork.com)
 
W

Wannabe

Thank you very much...I forgot that I had added a reference to the web.config
file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,470
Messages
2,571,809
Members
48,797
Latest member
PeterSimpson
Top