Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# - File access

Status
Not open for further replies.

tb

Programmer
May 27, 2003
328
Hi all,

Need some help ...
Have a system (glorified telephone directory) that will display a person's photo with some contact information.
The photos, currently, reside on the same server and is displayed via an Image control (std Web Control).

imgPhoto.ImageUrl =
The directory is shared to everyone (read access) and has a WebShare with everyone (read access) permissions.

This is great and works like a charm on production, but my QA box cannot see this image. To top things off they introduced another server / pc with shared photos - again does not work from my QA box. Local host works perfectly.

What am I missing here ???

I was standing in the park, wondering why frisbees got bigger as they came closer... then it hit me!
 
Type the URL into your Start->Run box and see what you get. There may be a permissions issue from your computer. Some companies I've worked with in the past had QA boxes seperated from the domain completely so that they could emulate a customers PC. You may have something similar to that going on.

If that doesn't work, pull the assignment out of the try block so the error doesn't get caught...that'll give you more information.
 
Yes, it's most likely a permissions issue. You can also make sure that this is the case by checking the "view source" of the page and copy the address from the image element into the run box like was suggested above (this will just make sure that the URL you think is being output is actually correct as well).


-------------------------------------------------------

Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
[URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions
[URL unfurl="true"]http://weblogs.asp.net/marksmith[/url]
 
Thnx for the input, will get my head around it tomorrow.

I was standing in the park, wondering why frisbees got bigger as they came closer... then it hit me!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top