What I find weird is the source file path -- it includes "App_Code," which is a construct for Web SITE Projects, not Web APPLICATION Projects, which an EPiServer site should be.
Maybe I'm wrong here, but did you somehow get the project type changed in Visual Studio? I'm not sure why it would be throwing a compilation error because of that, but it still seems odd.
I think this is a very common problem when you clean and rebuild your solution. E.g. The episerver assembly files in the Bin folder is missing.
Copy the files from c:\Program Files\EPiServer\CMS\VERSION\bin to your site bin folder.
For more info see this thread at stackoverflow:
The missing files (and using correct versions) did the job, thanks!
I am upgrading the site from CMS 5 R2 to CMS 6. Upgradition was done with some hickups :)
but after upgradation site is compiling sucessfully but when we run the site we get this error "multiple custom attributes of the same type found". It is pointing to the temporary internet files. We cleared the folder but are still facing the same issue.
Any one know what this issue is and how to solve it.
Multiple custom attributes of the same type found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Reflection.AmbiguousMatchException: Multiple custom attributes of the same type found.
[No relevant source lines]
Source File: c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\c81ff62d\81134401\App_global.asax.6jq8svyw.0.cs
I am experiencing problems when trying to run my site after upgrading the it via EPiServer Deployment Center from EPiServer CMS 5 R2 SP2 to EPiServer CMS 6.
Before I started to upgrade, I was running a site with the following setup:
What I did:
Server Error in '/' Application.
Compilation ErrorDescription: 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: CS1519: Invalid token ',' in class, struct, or interface member declaration
Source File: c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\b9b392dd\aa57eec8\App_Code.vv6bfe-a.0.cs Line: 82
Have I missed out on some steps during the installation? Can anyone help me? :-)