Project: VS2010 C# Class Library. Local machine: Win 7 64bit
Following items changed in the project:
Properties/AssemblyInfo.cs [assembly: ComVisible(true)]
Project/Properties/Build tab: Register Com for Interop: checked Generate Seralization assembly: auto
I have setup the test classes per following post with interfaces, comvisible=true and guids etc: Building a COM interop library for ASP Classic using 4.0 framework and Visual Studio 2010
I was able to register this dll on my local machine via regasm. C:\windows\Microsoft.Net\Framework\v4.0.30319>regasm NrccuaComFileSystem.dll
Types registered successfully.
On the server regsvr, regasm, regasm with tlb all fail with the following message:
RegAsm : error RA0000 : Could not load file or assembly 'file:///c:\Windows\Micr osoft.NET\Framework\v4.0.30319\NrccuaComFileSystem.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
What am i doing wrong here?
Is it looking for an entry point, if yes then totally lost as how to provide that.
Looked at the following post also... Classic ASP using COM+ .Net Interop 64 Bit Windows Server 2008 IIS 7 Server.CreateObject Fails
You can download the test project from here: http://bit.ly/wt5iJz
Thanks.