• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 882
  • Last Modified:

Asp.net error loading web page

I get the following error when I try loading an aspx page.

Compilation Error
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 'ASP.global_asax' exists in both 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\cmcdemo\0e57b994\d2bf795e\assembly\dl3\5aaf49c8\33ad31a4_700ecc01\CMPayFlowPro_deploy.DLL' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\cmcdemo\0e57b994\d2bf795e\App_global.asax.l9mrvegs.dll'

Any thoughts on fixing this error ?
Thanks,
Aditya
0
pmac38CDS
Asked:
pmac38CDS
  • 2
  • 2
1 Solution
 
Pratima PharandeCommented:
0
 
Pratima PharandeCommented:
Check your references in web.config of the application, or machine.config/web.config of the machine. You have references to two versions of the dll, so remove the one you are not going to use.
0
 
pmac38CDSAuthor Commented:
Nevermind I figured it out. I just created a website project.
0
 
pmac38CDSAuthor Commented:
I just created a website project rather than a web application project.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now