PC Review


Reply
Thread Tools Rate Thread

CS0433: The type 'ProfileCommon' exists in both

 
 
Phil
Guest
Posts: n/a
 
      28th Aug 2006
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 tried deleting temp asp.net files and
rebuilding/redeploying the app. I've also completely rebuilt the custom
profile provider class three times. And 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.

CS0433: The type 'ProfileCommon' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\root\129feac9\da507a71\App_Code.vjxkdy9e.dll' and
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\root\129feac9\da507a71\assembly\dl3\a2f93da4\881e5468_eec7c601\App_Code.DLL'


Thanks,
Phil


 
Reply With Quote
 
 
 
 
Walter Wang [MSFT]
Guest
Posts: n/a
 
      29th Aug 2006
Hi Phil,

I notice you've posted similar issue before and you mentioned that even
using the default Profile provider will cause this problem? Is this still
the case this time?

I've done some simple test using the default Profile provider: publish
several times and the problem didn't occur.

I think a repro project will be required to diagnose this issue. Thanks for
your understanding.

Sincerely,
Walter Wang ((E-Mail Removed), remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
=?Utf-8?B?UGhpbA==?=
Guest
Posts: n/a
 
      29th Aug 2006
Hello Walter,

Thanks for the reply. Sorry about the multiple posts, I didn't realize I
was posting under a the wrong alias, which prevented me from getting
responses. I reposted when I found out.

Using the default provider still works fine, it's just the custom profile
provider.

I built the first custom profile provider form this example:
http://www.theserverside.net/tt/arti...rofileProvider

I have a live site running with it right now (http://www.stringobjj.com). I
started a new project and brought the class I have running on the stringobjj
site over and everything worked for a while. The new project is still under
development so I have builds and preview uploads for the client every few
days. At one point about three months ago I just started getting that error
out of the blue. I took the stringobjj site that was a known good site,
opened the project and did a build with no changes. When I deployed that
site I started receiving the error on the stringobjj site as well (I put back
the working version).

About two weeks ago I downloaded the Microsoft released custom profile
provider (http://www.asp.net/sandbox/samp_profiles.aspx?tabid=62). I
adjusted it to use my database layout. It worked for a few days fine, over
several builds and publishes. But eventually it started showing the same
error.

The error only occurs after a new build and publish. If the site is
working, it stays working. Once it errors after a new build and publish and
will not come back up.

That's pretty much where I'm at now. If necessary I can build a small
solution using the custom profile provider and post it for download or email
if it would help to look at it.

Thanks for the help!

-Phil

PS - Forgive me if this is something I should know, but what is a "repro
project"

"Walter Wang [MSFT]" wrote:

> Hi Phil,
>
> I notice you've posted similar issue before and you mentioned that even
> using the default Profile provider will cause this problem? Is this still
> the case this time?
>
> I've done some simple test using the default Profile provider: publish
> several times and the problem didn't occur.
>
> I think a repro project will be required to diagnose this issue. Thanks for
> your understanding.
>
> Sincerely,
> Walter Wang ((E-Mail Removed), remove 'online.')
> Microsoft Online Community Support
>
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscripti...ult.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscripti...t/default.aspx.
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>

 
Reply With Quote
 
Walter Wang [MSFT]
Guest
Posts: n/a
 
      30th Aug 2006
Hi Phil,

It would be great if you could build a small solution using the custom
profile provider and upload it here or email it to me. Thanks.


Regards,
Walter Wang ((E-Mail Removed), remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
Walter Wang [MSFT]
Guest
Posts: n/a
 
      30th Aug 2006
"repro" means "reproducible", I mean a project that can reproduce the
issue. Sorry for the confusion.

Regards,
Walter Wang ((E-Mail Removed), remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
Walter Wang [MSFT]
Guest
Posts: n/a
 
      31st Aug 2006
Hi Phil,

Thank you for sharing your findings.

Regards,
Walter Wang ((E-Mail Removed), remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Error = Type 'ProfileCommon' is not defined. Guy Cohen Microsoft ASP .NET 0 5th Dec 2006 12:11 PM
CS0433: The type 'ProfileCommon' exists in both... =?Utf-8?B?UGhpbA==?= Microsoft ASP .NET 2 5th Sep 2006 01:41 PM
CS0433: The type 'ProfileCommon' exists in both =?Utf-8?B?UGhpbA==?= Microsoft ASP .NET 0 28th Aug 2006 02:55 PM
type or namespace name does not exists, but it does. =?Utf-8?B?QnJpYW4gTXllcnM=?= Microsoft C# .NET 3 28th Jun 2006 06:25 PM
CS0433: The type 'ProfileCommon' exists in both =?Utf-8?B?UGhpbA==?= Microsoft ASP .NET 7 30th May 2006 10:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:46 AM.