Missing Assembly Reference
Missing Assembly Reference
am 11.01.2008 19:47:02 von 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.
Re: Missing Assembly Reference
am 11.01.2008 19:56:48 von 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
"Wannabe" wrote in message
news:FCF0FD81-7824-40DE-8605-79967942D2D4@microsoft.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.
RE: Missing Assembly Reference
am 11.01.2008 20:05:07 von brucebarker
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.
Re: Missing Assembly Reference
am 11.01.2008 20:09:32 von Wannabe
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" wrote in message
> news:FCF0FD81-7824-40DE-8605-79967942D2D4@microsoft.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.
>
>
>
Re: Missing Assembly Reference
am 11.01.2008 20:26:45 von George Ter-Saakov
been there.... done that :)
George.
"Wannabe" wrote in message
news:33BAB68A-0E29-471D-BDE2-D30641009DDE@microsoft.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" wrote in message
>> news:FCF0FD81-7824-40DE-8605-79967942D2D4@microsoft.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.
>>
>>
>>