asp.net - Am having an error message Could not load type 'Microsoft.Samples.Web.ImageOptimizationModule when using sprites -
i have error while using ap sprites.am not able it.
i have added following code in web.config
<system.webserver> <modules runallmanagedmodulesforallrequests="true"> <add type="microsoft.samples.web.imageoptimizationmodule" name ="microsoft.samples.web.imageoptimizationmodule"/> </modules> </system.webserver> <system.web> <pages> <controls> <add tagprefix="asp" namespace="microsoft.web.samples" assembly="microsoft.web.samples.imagesprite" /> </controls> </pages> <httpmodules> <add type="microsoft.samples.web.imageoptimizationmodule" name="microsoft.samples.web.imageoptimizationmodule" /> </httpmodules> <compilation debug="true" targetframework="4.0" /> </system.web>
and have created folder app_sprites.and added reference of imagesprite
, imageoptimizationframework
this guess, might have qualify type name in declarations assembly name.
i don't know assembly name microsoft.samples.web.imageoptimizationmodule
is, let's it's microsoft.web.samples.imagesprite
:
<add type="microsoft.web.samples.imageoptimizationmodule, microsoft.web.samples.imagesprite" name ="microsoft.web.samples.imageoptimizationmodule"/>
Comments
Post a Comment