c# - ASP.NET - Web application project's generated files are conflicting with classes -


we're trying convert 1 of our web site projects web application project. upon compilation, error:

compiler error message: cs0433: type 'profilecommon' exists in both 'c:\users\zdiemer\appdata\local\temp\temporary asp.net files\root\2cbd3103\74f6f60e\app_code.umlhohvl.dll' , 'c:\users\zdiemer\appdata\local\temp\temporary asp.net files\root\2cbd3103\74f6f60e\assembly\dl3\0a1b4881\881e27bf_c0b8d001\ratingdynamicswebapp.dll' 

i've tried following:

  • cleaning , rebuilding
  • creating new project , copying on old files
  • renaming app_code folder
  • removing app_code folder
  • renaming declared profilecommon class in web application proejct
  • adding "batch=false" compilation section of web.config

for reason, profilecommon still being generated @ compilation despite new project being web application project. can see httpcontext.current.profile of type profilecommon when stepping through code (renaming profilecommon different allows me make log in page, upon trying log in, encounter same error).

any clues?

i figured out. configuration issue. had forgotten add inherits="<namespace of custom profilecommon>" portion profile provider in web.config.


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -