Link to home
Start Free TrialLog in
Avatar of pmac38CDS
pmac38CDS

asked on

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
Avatar of Pratima
Pratima
Flag of India image

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.
ASKER CERTIFIED SOLUTION
Avatar of pmac38CDS
pmac38CDS

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pmac38CDS
pmac38CDS

ASKER

I just created a website project rather than a web application project.