Syntax error in this code:
<asp:Image id="b1" runat="server" Alt="Pic" width="300" height="400" ImageUrl="q:/newfolder/1.jpg />"
correction is:
<asp:Image id="b1" runat="server" Alt="Pic" width="300" height="400" ImageUrl="q:/newfolder/1.jpg" />
Quote:
q:/newfolder/1.jpg
Is not an URL, thus can't be used to access a file on server.
From client side point of view, this try to access a file on client computer, which is forbidden.
read link provided by Karthik Bangalore for more details.