I am using visual studio 2010 Express. I have created a website in asp.net.It works in XP but not in Windows 7 premium(64-bit)
I am facing the same problem mentioned here.
I tried to register the DLL using regsvr32 but shows an error as
The Module "c:\MyProject\bin\MyDll.dll" was loaded but the entry-point
DllRegisterServer was not found.
Make sure that "c:\MyProject\bin\MyDll.dll" is a valid DLL or OCX and
then try again.
Also i didnt find any options under properties to set platform target or Target CPU so that i can convert my website to run for 32bit platform.
I am new to ASP.NET, Please help…
First notion would be that your app is running under a 64-bit application pool in IIS that does not have 32-bit apps enabled, and in that case 32-bit DLLs cannot be loaded into a 64-bit process space. Check that the application pool hosting your site allows 32-bit applications.
VS 2010 Express should be creating 32-bit executables by default; although I have not personally used it, I believe I have read that to build 64-bit executables in the 2010 Express versions you must download an additional SDK, so you’re likely building a 32-bit target, thus causing the problem described.