473,761 Members | 9,379 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CS0433: The type 'ProfileCommon' exists in both...

I'm trying to use a custom profile provider and I'm receiving this error
message after I deploy a published version of the app. The app works fine
when it is run in source code mode. It works fine if I run the published
version on the same machine it is developed on, but not when I copy the
published version to a different machine. The error goes away if I remove
all of the profile properties from the web config.

CS0433: The type 'ProfileCommon' exists in both
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\root\dc8c bf9e\f05d928b\a ssembly\dl3\2f0 caf74\881e5468_ eec7c601\App_Co de.DLL'
and 'c:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\root\dc8c bf9e\f05d928b\A pp_Code.r_z1bmq m.dll'

Thanks,
Phil
Aug 25 '06 #1
2 9321
Hi Phil,
I am facing the same error. I had 20 such errors while Publishing the
project.
I tried hard to overcome but it didn't worked. I tried things told by
peter (eggheadcafe), but still not working.
please tell me any solution u found.
Thanks
harshal

Phil wrote:
I'm trying to use a custom profile provider and I'm receiving this error
message after I deploy a published version of the app. The app works fine
when it is run in source code mode. It works fine if I run the published
version on the same machine it is developed on, but not when I copy the
published version to a different machine. The error goes away if I remove
all of the profile properties from the web config.

CS0433: The type 'ProfileCommon' exists in both
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\root\dc8c bf9e\f05d928b\a ssembly\dl3\2f0 caf74\881e5468_ eec7c601\App_Co de.DLL'
and 'c:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\root\dc8c bf9e\f05d928b\A pp_Code.r_z1bmq m.dll'

Thanks,
Phil
Aug 31 '06 #2
Hello Harsh,

Sorry for the slow reply, I missed the notification of your posting.

For me the issue was because I was deleting the PrecompiledApp. config file
when I deployed the app. Apparently that file tells the .Net runtime that
the app is already compiled and not to recompile it again. Without the file
the runtime tries to compile the app again conflicts arise.

Once I put the file back in and redeployed everything worked fine.

Hope this helps!
-Phil

"Harsh" wrote:
Hi Phil,
I am facing the same error. I had 20 such errors while Publishing the
project.
I tried hard to overcome but it didn't worked. I tried things told by
peter (eggheadcafe), but still not working.
please tell me any solution u found.
Thanks
harshal

Phil wrote:
I'm trying to use a custom profile provider and I'm receiving this error
message after I deploy a published version of the app. The app works fine
when it is run in source code mode. It works fine if I run the published
version on the same machine it is developed on, but not when I copy the
published version to a different machine. The error goes away if I remove
all of the profile properties from the web config.

CS0433: The type 'ProfileCommon' exists in both
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\root\dc8c bf9e\f05d928b\a ssembly\dl3\2f0 caf74\881e5468_ eec7c601\App_Co de.DLL'
and 'c:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\root\dc8c bf9e\f05d928b\A pp_Code.r_z1bmq m.dll'

Thanks,
Phil

Sep 5 '06 #3

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

Similar topics

2
11464
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: CS0433: The type '_Default' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET Files\testpopoff\90b00d8e\4772ca2f\assembly\dl3\a9d383b3\5a6f804f_a7ebc501\App_Web_5n48zyrm.DLL' and...
1
5248
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 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\710cd38c\3f7cccae\assembly\dl3\6f3dd963\8a8c5aef_2e00c601\App_Code.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\710cd38c\3f7cccae\App_Code.kjsrfjio.dll' Every...
1
2503
by: mlcy | last post by:
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\Temporary ASP.NET Files\newsearch\0d2e701c\83b0a639\assembly\dl3\167b1fd7\e5dc9ac8_ea6ec601\FrontEnd.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET...
7
13359
by: Phil | last post by:
I've started getting this message after doing a publish of an Asp.Net 2.0 (c#) web site. The site uses a custom profile provider - I'm sure there is a relation here, but I can't find it. Everything worked before, and the same code is working on another site. I've gone as far as completely starting the app over from scratch, and copying the working code for the other app into this one. It will work for a few publishes, then just stop. ...
1
3097
by: AMP | last post by:
Hello, I have enabled Profiles in the web.config and seems to be working fine (I can see the auto generated ProfileCommon class including my custom properties in my \Temporary ASP.NET Files directory and I can see my Provider in the ProfileManager.Providers ProfileProviderCollection). BUT when I try to reference the ProfileCommon class in my VS project I get "ProfileCommon could not be found". Any ideas??
3
2402
by: lodatokab | last post by:
I'm have problem to run crystal report (VS 2005) on my computer with Windows 2000 Server. I run the solution in my dev envroiment (Windows XP) and no problems. When I try to run in on IIS 5.0 on Windows 2000 Server I got the following error: Compiler Error Message: CS0433: The type 'CrystalDecisions.Shared.ExportOptions' exists in both ...
21
8547
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 now, but today after a recompilation, the app is throwing the error below when accessing a certain page, although there are no errors in the compilation process. Compilation Error Description: An error occurred during the compilation of a...
0
3658
by: Guy Cohen | last post by:
Hi all I have this line: Dim P As New ProfileCommon() Which worked until I added more profile items (It worked when I had a single profile item) Error = Type 'ProfileCommon' is not defined.
3
7485
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 all the ..aspx files. I run the application in IIS and got the following error: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error...
0
9522
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9336
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9902
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9765
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8770
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7327
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3866
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.