asp.net - Server Error in '/' Application. The resource cannot be found -
i uploaded orchard web-site on hosting. in "wwwroot" created new folder "slider" , uploaded jpg files it. when seek access them url "example.com/slider/1.jpg" maintain getting server error in '/' application. resource cannot found.
file there. can see on ftp. tried doing same thing on localhost , gives me same error.
i tried opening image "themes" folder. i've found file "theme.png" , able open in browser. added "1.jpg" same folder i've found theme.png , wasn't able open 1.jpg gave me same error message.
that's web.config file:
<?xml version="1.0"?> <configuration> <configsections> <sectiongroup name="system.web.webpages.razor" type="system.web.webpages.razor.configuration.razorwebsectiongroup, system.web.webpages.razor, version=1.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"> <remove name="host" /> <remove name="pages" /> <section name="host" type="system.web.webpages.razor.configuration.hostsection, system.web.webpages.razor, version=1.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35" requirepermission="false" /> <section name="pages" type="system.web.webpages.razor.configuration.razorpagessection, system.web.webpages.razor, version=1.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35" requirepermission="false" /> </sectiongroup> </configsections> <system.web.webpages.razor> <host factorytype="system.web.mvc.mvcwebrazorhostfactory, system.web.mvc, version=3.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35" /> <pages pagebasetype="orchard.mvc.viewengines.razor.webviewpage"> <namespaces> <add namespace="system.web.mvc" /> <add namespace="system.web.mvc.ajax" /> <add namespace="system.web.mvc.html" /> <add namespace="system.web.routing" /> <add namespace="system.web.webpages" /> <add namespace="system.linq"/> <add namespace="system.collections.generic"/> <add namespace="orchard.mvc.html"/> </namespaces> </pages> </system.web.webpages.razor> <system.web> <compilation targetframework="4.0"> <assemblies> <add assembly="system.web.abstractions, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> <add assembly="system.web.routing, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> <add assembly="system.data.linq, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089"/> <add assembly="system.web.mvc, version=3.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35" /> <add assembly="system.web.webpages, version=1.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> </assemblies> </compilation> </system.web> </configuration>
have added web.config file slider folder described in answer 404 javascript file.
asp.net .net http-status-code-404 orchardcms
No comments:
Post a Comment