• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 875
  • 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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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