Karthik K

Karthik K

  • 976
  • 479
  • 50k

ImagePath is not working after hosted in IIS IN asp.net ?

Feb 26 2020 3:36 AM
Hi All ,
 
I have an issue when i used datalist's imagePath Field to show the image in datalist. its was working in locally but after hosted in aws cloud server. It shows me error.
 
Access to the path 'C:\inetpub\wwwroot\Weborders\WebImage\TestBr' is denied.
 
I have given full Rights to those folders in hosted Application in iis. Still the same issue i am facing , Image not showing in datalist Control.
 
In Database i have saved the image path as like following . i have tried everything. If anyone knows regards this .suggest me with example codes .
 
~\C:\inetpub\wwwroot\Weborders\WebImage\da5\A02.jpg
 
Thanks in advance
Karthik k

Answers (1)