0

I need to develop a module for IIS. It's compiled as Strong Named and signed. 'gacutil.exe' placed it into the GAC succesfully. But if I'm trying to visit localhost IIS throws exception:

Could not load type 'NameSpace.Name'.
Exception Details: System.Web.HttpException: Could not load type 'NameSpace.Name'.

where NameSpace and Name are from my module's sourcecode.
I believe IIS looks for modules at C:\Windows\assembly (where modules are for .Net 2.0), but I can see my module at C:\Windows\Microsoft.NET\assembly\GAC_32.
How should I tell IIS to use another GAC folder?

Stamper
  • 21
  • 3
  • You can't unless you run IIS using a .NET 4 application pool. Your dll is targeting the wrong version of the framework if you need it to use it with .NET 2.0. – Mike Zboray Aug 20 '14 at 07:16
  • Thank you, Mike. I need to use my module with .Net v.4.5 – Stamper Aug 20 '14 at 07:30

0 Answers0