|
-
May 6th, 2011, 01:51 AM
#1
Thread Starter
Addicted Member
Image is not displayed to take a path from web.config file
Hi,
I am using Asp.Net 3.5 application. I need to show the images when upload the file. So i saved the file in the application path and show it in the web browser. But when i publish the file the path is mismatched. Because i am using server.mappath. When publish the folder it is in different path. So i am using web.config now to put the path, and take a path from "AppSettings.ConfigurationManager". It take correct path and save it. But i load this file path to imgImage.ImageURL = filepath, it doesnt show or displaying in the browser. What is the problem here?
When using server map path it working fine. But if i take a path from web.config file it is not displaying. I wasted one day for this one. Help me experts. I am awaiting for your response.
Regards
Guvera
Failing to plan is Planning to fail 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|