Try our conversational search powered by Generative AI!

Image not display after hosting the application

Vote:
 

Image not display after hosting the application.

I have copied the App_data folder and given IIS_IUSRS full permission  and restore the latest database but i can not see the image after hosting.

I could not found globalassets/extranet-images folder in my App_data folder also.

App_Data folder contains only Blobs,Index and log files

http://XXXXX/globalassets/extranet-images/econ.png---------- no data found

http://XXXXXX/globalassets/slideblock/zain600.jpg?w=0&h=357 ---------- no data found

http://XXXXX/bundles/EPi.Carousel.Bootstrap---------- no data found

webconfig file

 
   
   
   

Please let me know i need to change anythings in database for displaying the images

 

#150391
Jun 17, 2016 8:05
Vote:
 

Need IUSR access rights as well. Other than that it's just to double check paths of appData folder. Also try to upload new images in edit mode. Take copy of appData folder and database at same time. Otherwise you will get some 404s.

#150393
Jun 17, 2016 8:14
Vote:
 

I have given IUSR access rights also and APP data folder path is also correct.I have placed APPData folder under root folder of application.

http://XXXXX/globalassets/extranet-images/econ.png--- not found

Physically "globalassets/extranet-images/econ.png" this image fille will be present in which location. I can not find econ.png image file in App_data folder.

#150395
Jun 17, 2016 8:21
Vote:
 

Normally you have appdata folder outside of web root folder like

---site1

------www

------appData

------logs

#150405
Jun 17, 2016 9:32
Vote:
 

Hi,

I have two ideas what might be wrong

Configuration and blobs

Please verify that your configuration is correct.

Look at the configuration section <episerver.config> (if you can't find it in your web.config, check if there is a episerverframework.config), what is the values of <appData basePath="..." />?

If you also have a configuration section under <episerver.framework> called <blob>, there should be a structure similar to this

<blob defaultProvider="blobFiles">
	<providers>
		<add name="blobFiles"
				 path="[appDataPath]\blobs"
					 type="EPiServer.Framework.Blobs.FileBlobProvider, EPiServer.Framework">
		</add>
	</providers>
</blob>

Look at the node called <add>.

The Path attribute usually contains an absolute path on your drive or network file share such as "c:\mywebsite\appdata\blobs" or "\\anotherserver\blobs".

In my example you can also see the text "[appDataPath]" which will be replaced with the value from <appData basePath="..." />.

So given this example

<appData basePath="c:\mywebsite" />

<blob defaultProvider="blobFiles">
  <providers>
    <add name="blobFiles"
         path="[appDataPath]\blobs"
           type="EPiServer.Framework.Blobs.FileBlobProvider, EPiServer.Framework">
    </add>
  </providers>
</blob>

Your files should be placed in c:\mywebsite\blobs.

Episerver website configuration

Go to the Admin mode and the tab "Config". Click "Manage Websites" and in the right frame your current Website.

Confirm your production environment host name in the URL and Host Names fields.

#150408
Jun 17, 2016 10:16
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.