473,386 Members | 1,958 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,386 software developers and data experts.

Compiler Error Message: CS0433:

hi there,

i got this Compiler Error Message when i tried to access my site. all
files were built in vs2005 without error.
Compiler Error Message: CS0433: The type 'FrontEnd.AppConfig' exists
in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary
ASP.NET
Files\newsearch\0d2e701c\83b0a639\assembly\dl3\167 b1fd7\e5dc9ac8_ea6ec601\FrontEnd.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\newsearch\0d2e701c\83b0a639\App_Code.xakiif6 8.dll'

i have tried to deleting site folder from Temporary ASP.NET Files
directory, but no help. i have tried renaming the namespace to
AppConfig, but no help. i have checked that i didn't include extra
files contain same class in the project. really don't know where the
conflit came from. does anyone have any idea what happened and how to
fix it?

thanks alot!

May 3 '06 #1
1 2464
found this article:

Re: The type '<class>' exists in both '<dll location>' and '<dll
location 2>'

With Web Applcation Project you want to make sure that you don't use a
app_code directory, since classes within that directory will indeed get
compiled twice (once in the code-behind and once at runtime) unless you
explictly exclude the file from WAP project. Try renaming the app_code
directory to something else to fix it.

BTW - this tutorial walksthrough how to migrate an existing VS 2005 Web
Site Project to a VS 2005 Web Application Project:
http://webproject.scottgu.com/CSharp...igration2.aspx

Big help!

May 3 '06 #2

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

Similar topics

8
by: jon morgan | last post by:
OK, I'm going to be brave. There is a bug in VS.Net 1.1 that causes random compiler errors. I have raised this issue in posts at least three time in the past couple of months without attracting...
3
by: Mark Rockman | last post by:
------ Build started: Project: USDAver2, Configuration: Debug .NET ------ Preparing resources... Updating references... Performing main compilation... error CS0583: Internal Compiler Error...
4
by: David Sworder | last post by:
Consider the following line of code (it's not important what it does): resp.DocItem=Relations.SelectDocItems_BySearchString(req.SearchPhrase); It turns out that this line is in error. The...
2
by: Matt | last post by:
Get this wierd compiler error on my production machine after publishing the site in VS 2005, have no idea what it is..removed the temp files and it just remakes them. Compiler Error Message:...
1
by: paps | last post by:
I've published my website into IIS and i receive this error when i call the default page Compiler Error Message: CS0433: The type 'ProfileCommon' exists in both...
21
by: Mark Rae | last post by:
Hi, I have an ASP.NET 2 web application (not web site) project and am using a web deployment project to deploy to the testing, then the production server. All has been working well for months...
3
by: ningjun.wang | last post by:
I crate a new asp.net 2.0 web site using Visual Studio 2005. It run fine in visual studio. I then click Build Publish Website to build the dll and copy them to the IIS virtual directory along with...
0
by: Anonieko | last post by:
1. I created a web application project 2. I created web deployment project 3. When I build the deploy, it seems it is duplication the object in assembly. Sample error is.... ...
0
by: Claudia Fong | last post by:
After I publish my website I got this error: Compiler Error Message: CS0433: The type 'DetentStatus' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
jinu1996
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...

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.