Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to give image path which located in other system in asp.net

How to give image path which located in other system in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netwindows-admintutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    ven753
    wrote on last edited by
    #1

    I have created asp.net web application to show slide show using SlideShowExtender. Here i need to add image path which is located in other system. i have give like string[] imagenames = System.IO.Directory.GetFiles(@"\\ipaddress\d$\WebSite\images\"); It is working fine if i run through application. If i host it in IIS and run. Image is blank. How to give image path. Anybody knows please reply me. Thanks in advance.

    B J 2 Replies Last reply
    0
    • V ven753

      I have created asp.net web application to show slide show using SlideShowExtender. Here i need to add image path which is located in other system. i have give like string[] imagenames = System.IO.Directory.GetFiles(@"\\ipaddress\d$\WebSite\images\"); It is working fine if i run through application. If i host it in IIS and run. Image is blank. How to give image path. Anybody knows please reply me. Thanks in advance.

      B Offline
      B Offline
      Brij
      wrote on last edited by
      #2

      Form which account, your web applications is running on IIS. Most probably that account does not have permission for accessing file system.

      Cheers!! Brij

      1 Reply Last reply
      0
      • V ven753

        I have created asp.net web application to show slide show using SlideShowExtender. Here i need to add image path which is located in other system. i have give like string[] imagenames = System.IO.Directory.GetFiles(@"\\ipaddress\d$\WebSite\images\"); It is working fine if i run through application. If i host it in IIS and run. Image is blank. How to give image path. Anybody knows please reply me. Thanks in advance.

        J Offline
        J Offline
        jkirkerx
        wrote on last edited by
        #3

        You'll have to make a network share to that location to use that code, or create a web service to get the list of image url's from the other box.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups