Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > compilation error only in published version (converted to asp.net 2.0)

Reply
Thread Tools

compilation error only in published version (converted to asp.net 2.0)

 
 
rsphere@gmail.com
Guest
Posts: n/a
 
      01-10-2006
my app is running just fine on my home dev box. no compilation errors
at all. when i move the whole file structure to my hosted site i get
the following error when opening the main page:

----------
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: CS0433: The type 'Subodei.Database.History'
exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary
ASP.NET
Files\spherop_globalphatness\e1f1b599\c5add1ce\App _Code.pqe5fcz6.dll'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\spherop_globalphatness\e1f1b599\c5add1ce\ass embly\dl3\c59b5d0c\f0c309bc_9f14c601\Subodei.DLL'

Source Error:



Line 55: private void DisplaySnapshot()
Line 56: {
Line 57: History history = new History();

......

any ideas on what's happening here?

 
Reply With Quote
 
 
 
 
Wouter van Vugt
Guest
Posts: n/a
 
      01-10-2006
Hi,

the Subodei.Database.History class is found in two assemblies. One
compiled from the app_code folder inside Visual Studio 2005. The other
might be left over from porting your application to ASP.NET 2.0. Is it
possible you reference the Subodei.Database DLL? If you do, and also
have the History class in app_code, it might be present two times at
runtime. Throw one away, probably the old one found in the
Subodei.Database dll (if that DLL actually exists, I am guessing here).
Clear the Temporary ASP.NET folder
(c:\windows\Microsoft.NET\Framework\v2.0\)

Grtz, Wouter van Vugt
www.infosupport.com

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation error with seperate compilation C__chp C++ 4 02-15-2008 03:57 PM
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM
Published code compilation error. =?Utf-8?B?aHlwbm90aWs=?= ASP .Net 0 04-06-2006 04:02 PM



Advertisments