Images work fine with while debugging but do not work on Internet

Dear Forum,

I have a simple problem that plagues my website. Every time I want to put in an image I can't get it to display on the internet. It looks fine on the Intranent and I believe the files are in the right spot any ideas? I am using VWD, and VB code. IO have tried jpeg, gif, and all sorts of other images and still nothing.

 

Thank You,

TIM 

0
Tim
7/30/2007 7:37:08 PM
asp.net.web-forms 93655 articles. 6 followers. Follow

2 Replies
757 Views

Similar Articles

[PageSpeed] 41

Did you reference the images correctly? Do your images display if you open the path which is specified in <img src="path" /> ???

You can use the Tilde-Operator for application realtive paths: <asp:Image runat="server" ID="image1" ImageUrl="~/images/image1.png" /> will work wherevery your application is placed ...


Jan-Cornelius Molnar

“Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
0
devjcvb
7/30/2007 7:54:30 PM

It might be that your site is omitting permissions from that directory you got your images on. Try on your Web.config placing the following authorization to your images folder

 

	<location path="ImgFolder/">
		<system.web>
			<authorization>
				<allow users="*"/>
			</authorization>
		</system.web>
	</location>
  
Victor A. Palma
0
vicpal25
7/30/2007 11:57:45 PM
Reply:

Similar Artilces:

Shell not working in web form but working with windows forms.
Hi! I want to run some exe files (Exa: Internet explorer) using shell command in asp.net. Its not working if its a web form. But working fine with a windows form. Pls. extend ur help. Thanx. What are you expecting to happen? How are you trying to run the exe files? Where do you expect it to run? Anything run through server side code will run on the server, and in an invisible window, at that. The program will run under the security context of the ASPNET user by default, and so likely will not have the proper authority to do much of what you want, unless you midify its rights...

I am trying to access links off of the web page at the bottom of this email. They work in Internet Explorer just fine. I have tried this on 2 different computers and the links do not work. Why? Tha
I am trying to access links off of the web page at the bottom of this = email. They work in Internet Explorer just fine. I have tried this on 2 = different computers and the links do not work. Why? Thanks. =20 =20 =20 Brenda Sharpmack Watson Chapel School District Technology Coordinator 870 - 879 - 7206 (office) 870 - 556 - 0640 (cell) 870 - 879 - 1710 (fax) ( http://wc-web.k12.ar.us/school%20sites/WC%20SCHOOL%20SITES%20INDEX.htm = ) Brenda Sharpmack said this on 4/3/2009 11:30 AM: > I am trying to access links off of the web page at the bottom of this email. They w...

openSuse 11.3: internet stopped working (was working fine)
Hi, I installed OS 11.3; was working fine with Internet since yesterdad; I have been having problems with my ISP / DSL; the cablemodem went down several times yesterday. Yet, when it begun to work, the PC could not have access to internet any more, not even to the Thompson web config page (192.168.1.254). I setup an old laptop with Win XP and it could access Internet; following some posts here, I deleted the eth0 configuration in Yast, and have it creted again... didn't work. Any help please? -- alquimista ---------------------------------------------------------------...

Working
I have two servers running NW65sp4A (different trees). I initially installed BM3.8 patched to sp4 with VPN services ( Firewall services to follow after I know I have VPN working). My problem is that it appears to be working but its not working. I can open my Windows Explorer (from the SLAVE side network) and reach the MASTER, authenticate and open files. The MASTER NRM VPN monitor shows 1 (one) Active Connections 0 (zero) Packets Received and lots of Packets Sent. The VPN Member List Status shows both servers as �Being Configured�. The Audit Log has two recurring RED entrie...

Form-Methode Get works fine but Post doesn't work
Hallo,i'm trying to write a login for my application. i need to get the username and password from a form. so i tryed this:<%using (Html.Form("Login", "Login", FormMethod.Post)) { %> User name: <%=Html.TextBox("userName", new {type="text", value = ""}) %> Password: <%=Html.TextBox("password", new {type="text", value = ""}) %> <%=Html.Hidden("returnUrl", new {value ="test.url"} )%> <%=Html.SubmitButton("submit", "Login")%> &...

Internet works, pauses, then works again
So I made the switch to OpenSuSE from Ubuntu about....3 days ago, so everything is new to me again, specially KDE 3.5.9. Well I noticed today while browsing the web that when I'm wired or wireless the internet works fine for a while, then seems to pause and doesn't load websites then all of a sudden it works great again.:eek: Not a huge deal, but kinda annoying. Anyone have any ideas? -- CCBalla10 ------------------------------------------------------------------------ Is it possible that this is non-network related, such as a scheduled job happening at the t...

Forms Authorization Not Working in Website URL but works in VS's Web Server
   Hi,I want to protect files in 'admin' folder using Forms Authorization. My environment is VS 2005. When I try to access protected files in the Admin folder using VS's built in web-server the appropriate login page shows up fine. But directly accessing those files using the website/IIS brings up a 404 error; in this case, it looks like IIS is putting 'admin' folder under the root's 'admin' folder.Here is the code from my current web.config file:Any ideas?Thanks. --------------------------------------------<system.web>    <!-...

aspnetdb membership security working fine on client, won't work on web server
When I deploy to the web server, I get this error: remotely and local from the web server. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)  My web config contains this:<connectionStrings> <remove name="LocalSqlServer"/><add name="LocalSqlServer" connectionString="Data Source=.\SQLEXPR...

dropdowndw properties not working on .net web forms 11.5
Hi. I am using a datawindow that has many dropdownDW, where i would like the dropdown portion show more data then when something is selected. I would use the width percentage in of the dropdown to set this in a application. But when i set this property or any other size properties, on the web it dosn't listen and just defaults and will only show the dropdown data the width of the dropdown. Stuff like size dosn't work either. I could under stand that since it is on the web it cannot do these things. But we also have datawindow.net and have a .net application us...

Same code works in web service, but not working when I call it from web page
Any idea about the following?   Error msg: The specified domain either does not exist or could not be contacted.   1. in the web service, I have such code working fine when I debug it:             <WebMethod()> _Public Function SetUserPassword(ByVal userid As String, ByVal oldpwd As String, ByVal newpwd As String) As StringTry     Dim searcher As New System.DirectoryServices.DirectorySearcher()     searcher.Filter = "(&(objectClass=user)(objectCategory=person)(sAMAcco...

images are not displayed when approached via internet. On local network it works fine
 Hello,,I have posted this topic before but for some reason the post is vaporized.. I am not able to find it back here.. I have an ajax enabled asp website, on which I display pictures. On my internal network i can view this site and everything works great. But when approached via internet it shows red crosses only instead of pictures...When when i type the imageurl directly in the browser adresbar it shows the image... but via my site.. it just doesn't work... Any advise would be appreciated! Anton  hi,  check the properties of the images folder and see if the...

Image Not shown when watched via internet.. locally it works fine HELP
Hello, I have a website that shows pictures that are stored on my server hd.  When I run my site locally or even on the local network (via other pc) It works fine, my pictures are displayed properly. But when deployed.. and my site is approached via the internet, the images appear as red crosses. (i like te work of the red cross, but not in this area). I have the image tooltip display the image url and when I enter that url directly in my browser adressbar, the image pops up.. no problem. SO it is only when my Ajaxenabledwebsite is trying to display the images that they don't show...

System.web.UI doesn't work in VB.Net Form?
 Hi, I downloaded a little example recently and tried converting it to VB.Net.  Surprisingly I found that while my VB Web projects and CSharp Windows Form projects work with System.web.UI, VB Windows Forms don't seem to. Is there any way I can use System.web.UI features with a windows form? This is the code I'm trying to convert to VB:   using System.IO;using System.Web.UI.WebControls;using System.Web.UI;// render the DataGrid control to a fileusing(StreamWriter sw = new StreamWriter(textBox1.Text)){ using(HtmlTextWriter hw = new HtmlTextWriter(sw)) { g...

Internet working. Package management not working
Hello all, I use an internet connection with a proxy. I have set the proxy in Firefox and systemsettings so now I can browse the web and I can ping Google from Console. But when I start Software Management, it says "Cannot access installation media". Whats wrong? -- wirate ------------------------------------------------------------------------ Did you setup the proxy on YaST2? Network Serveces -> Proxy -- VampirD Microsoft Windows is like air conditioning Stops working when you open a window. ------------------------------------------------------...

Web resources about - Images work fine with while debugging but do not work on Internet - asp.net.web-forms

Debugging - Wikipedia, the free encyclopedia
... here. For the shell command, see debug (command) . For the German magazine, see Debug (magazine) . For the 2014 film, see Debug (film) . Debugging ...

Debugging - Wikipedia, the free encyclopedia
... here. For the shell command, see debug (command) . For the German magazine, see Debug (magazine) . For the 2014 film, see Debug (film) . Debugging ...


The Remote Agent Experiment: Debugging Code from 60 Million Miles Away - YouTube
Google Tech Talk February 14, 2012 Presented by Ron Garret. ABSTRACT The Remote Agent Experiment: Debugging Code from 60 Million Miles Away The ...

Taking the pain out of debugging with live programming
"Everyone knows that debugging is twice as hard as writing a program in the first place," Brian Kernighan once wrote (adding: "So if you're as ...

Microsoft acquires software for debugging Unity games
... Visual Studio's capabilities for game builders, Microsoft is acquiring SyntaxTree, creator of a widely used Visual Studio plug-in for debugging ...

Agile Learning, Debugging and Mikado Method in Methods & Tools Fall 2013 issue
Methods & Tools – the free e-magazine for software developers, testers and project managers – has just published its Fall 2013 issue with the ...

Apple releases Xcode 7.1.1 w/ fixes for critical Interface builder, debugging, and UI testing issues
... of the app, making for an improved developer experience. Apple also says the update fixes “critical issues” in the Interface Builder, debugging, ...

Chrome Beta for Android brings debugging tools to mobile web developers
YouTube link for mobile viewing Chrome Beta for Android brings a lot of cool features for users like you and me, but it also has a handy one ...


Resources last updated: 12/15/2015 6:57:36 AM