I've written a C# DLL that performs some data gathering and manipulation using Entity Framework. The DLL is COM compatible and is designed to be called by a legacy VB6 application. It is using .NET 3.5 using Visual Studio 2010
THe DLL works perfectly in the development environment and in the staging environment, both Windows 2003 Server. However when it was deployed to the Live environment (also Windows Server 2003) the DLL threw an error when it was being RegAsm'd. The error was
RA0000 Binary format of the specified custom attribute was invalid
The DLL compiles fine and the Live environment has other .NET 3.5 components we have written installed on it as well (although nothing that uses Entity Framework). Deployment files are the same on Live and Staging.
I'm struggling to find any reason for this. I was hoping someone else out here had any suggestions or ideas?
Thanks in advance