<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Getting Started</title><link>http://forums.silverlight.net/forums/14.aspx</link><description>The perfect forum for asking the basic questions. No question too simple!</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Re: Re: Re: Re: 4001 Image Error ImageError</title><link>http://forums.silverlight.net/forums/thread/211388.aspx</link><pubDate>Fri, 24 Apr 2009 09:53:29 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:211388</guid><dc:creator>gamlefar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/211388.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=211388</wfw:commentRss><description>&lt;p&gt;I had the problem to. After viewing the xaml code, I found that i had a image source&amp;nbsp;reference in the xaml code. After removing the source attribute from image in xaml code the error is gone.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Hope this info may solve your issue&lt;/p&gt;
&lt;p&gt;Anders Samnøy&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://www.samnoy.net/"&gt;Http://www.samnoy.net&lt;/a&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Re: Re: 4001 Image Error ImageError</title><link>http://forums.silverlight.net/forums/thread/183983.aspx</link><pubDate>Fri, 06 Mar 2009 19:52:55 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:183983</guid><dc:creator>atconway</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/183983.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=183983</wfw:commentRss><description>&lt;p&gt;zenluiz:&lt;/p&gt;
&lt;p&gt;This may have had to do with the format of the .png not being supported, and the GIMP converted it to a Silverlight acceptable format inadvertently.&amp;nbsp; This is from the MSDN (&lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapimage(VS.95).aspx"&gt;http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapimage(VS.95).aspx&lt;/a&gt;): &lt;/p&gt;
&lt;p&gt;&lt;em&gt;Silverlight does not support all possible color depths that are included in the PNG specification. The following are the PNG color depths supported in Silverlight:&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;Indexed color: 1-bit, 4-bit, or 8-bit color depth (per channel).&lt;/em&gt;&lt;/p&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;Truecolor: 24-bit color depth, or 32-bit color depth (per channel) for truecolor plus alpha.&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;Notably, gray scale (with or without alpha), and 64-bit truecolor, are &lt;span&gt;&lt;span class="input"&gt;&lt;strong&gt;not&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt; supported in Silverlight.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>4001 Image Error ImageError</title><link>http://forums.silverlight.net/forums/thread/183859.aspx</link><pubDate>Fri, 06 Mar 2009 14:44:08 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:183859</guid><dc:creator>dewde</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/183859.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=183859</wfw:commentRss><description>Zenluiz:


Very good critical thinking. Thanks for sharing!


peace|dewde
http://dewde.com</description></item><item><title>Re: Re: Re: Re: 4001 Image Error ImageError</title><link>http://forums.silverlight.net/forums/thread/183847.aspx</link><pubDate>Fri, 06 Mar 2009 14:20:31 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:183847</guid><dc:creator>zenluiz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/183847.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=183847</wfw:commentRss><description>&lt;p&gt;Hi guys!&lt;/p&gt;&lt;p&gt;I know that some of you have solved this problem.&lt;/p&gt;&lt;p&gt;However, I&amp;#39;d like to share with you another reason why this problem can happen.&lt;/p&gt;&lt;p&gt;I faced this problem today with a simple XAML page with just one simple PNG image inside it.The image file was generated by 3D Studio Max.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;When I run the project, I got an &amp;quot;ImageError AG_E_NETWORK_ERROR&amp;quot;. Some attempts after, I tried something unusual: I opened the image with GIMP, saved it and run the project again... AND... VOILAAA! Now it worked!! :-)&lt;/p&gt;&lt;p&gt;The conclusion I came to is that sometimes the image file has something in it that Silverlight doesn&amp;#39;t understand, may be the format, depth, palette color, etc.&lt;/p&gt;&lt;p&gt;Hope this info helps someone! ;-) &lt;/p&gt;&lt;p&gt;Cheers! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Re: 4001 Image Error ImageError</title><link>http://forums.silverlight.net/forums/thread/23966.aspx</link><pubDate>Mon, 17 Dec 2007 23:06:18 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:23966</guid><dc:creator>alexdg</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/23966.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=23966</wfw:commentRss><description>sad... i guess we&amp;#39;ll put it together with missing align text feature.</description></item><item><title>Re: Re: 4001 Image Error ImageError</title><link>http://forums.silverlight.net/forums/thread/23935.aspx</link><pubDate>Mon, 17 Dec 2007 18:00:00 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:23935</guid><dc:creator>dewde</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/23935.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=23935</wfw:commentRss><description>&lt;p&gt;The work-around for me was to just remove those images from the ZIP and reference them directly from the directory on the web server. Kind of sucks because now when a page loads and displays it may or may not show the logo right then. In some cases the logo won&amp;#39;t pop until after the user has been viewing the page for a couple of seconds.&lt;/p&gt;&lt;p&gt;This is the only work-around I know of.&lt;/p&gt;&lt;p&gt;peace|dewde&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: 4001 Image Error ImageError</title><link>http://forums.silverlight.net/forums/thread/23934.aspx</link><pubDate>Mon, 17 Dec 2007 17:56:14 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:23934</guid><dc:creator>Jeff Paries</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/23934.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=23934</wfw:commentRss><description>&lt;p&gt;I didn&amp;#39;t get an error thrown, but I did get some unexpected behavior when the XAML had placeholder references in it. I had to make certain the Source of the XAML element was &amp;quot;&amp;quot; - I typically use something for positioning or spacing before adding the dynamic content in.&lt;/p&gt;&lt;p&gt;Jeff&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: 4001 Image Error ImageError</title><link>http://forums.silverlight.net/forums/thread/23932.aspx</link><pubDate>Mon, 17 Dec 2007 17:22:25 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:23932</guid><dc:creator>alexdg</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/23932.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=23932</wfw:commentRss><description>I&amp;#39;m having the same problem as dewde with a more than one SetSource on the same image inside ZIP file. I hope this isn&amp;#39;t the core of the problem and there&amp;#39;s a workaround.</description></item><item><title>Re: Re: 4001 Image Error ImageError</title><link>http://forums.silverlight.net/forums/thread/21935.aspx</link><pubDate>Tue, 27 Nov 2007 20:28:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:21935</guid><dc:creator>ilPadrino</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/21935.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=21935</wfw:commentRss><description>&lt;p&gt;I had the same problem, only you need change the file Page.xaml&lt;/p&gt;
&lt;p&gt;and be careful to change&amp;nbsp;the image source tag of others files, for example &lt;/p&gt;
&lt;p&gt;&amp;lt;ImageBrush&lt;strong&gt; ImageSource=&amp;quot;images/shadow.png&amp;quot;&lt;/strong&gt; Stretch=&amp;quot;None&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;done!&lt;/p&gt;</description></item><item><title>Re: 4001 Image Error ImageError</title><link>http://forums.silverlight.net/forums/thread/21787.aspx</link><pubDate>Mon, 26 Nov 2007 06:44:50 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:21787</guid><dc:creator>dewde</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/21787.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=21787</wfw:commentRss><description>&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;Silverlight error message&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;ErrorCode: 4001&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;ErrorType: ImageError&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;Message: AG_E_NETWORK_ERROR&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I know this was answered, but I was getting this same error message and I resolved it a different way. My project was Silverlight 1.0 - javascript. I was downloading all my assets (XAMLs, images, etc) in a ZIP and using the downloader to access them. I had 3 secondary &amp;quot;screens&amp;quot; that would popup with a mouse click. Each of these screens was a separate XAML file in the ZIP package. On download complete I was grabbing each XAML and adding it to the root canvas of my Page.xaml. Then I wired up each asset on each page.&lt;/p&gt;&lt;p&gt;Here was my issue. One of my assets was logo_small.png, which was referenced on every &amp;quot;secondary screen&amp;quot;. When I opened secondary screen #1 it would work fine. But after closing it (Collapse), I would get the 4001 ImageError on the subsequent screens #2 and #3.&lt;/p&gt;&lt;p&gt;Kind of stinks, it appears you can only have a 1-to-1 relationship between Image elements and assets in a ZIP package.&amp;nbsp;&lt;/p&gt;


&lt;p&gt;peace|dewde&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Re: 4001 Image Error</title><link>http://forums.silverlight.net/forums/thread/21563.aspx</link><pubDate>Thu, 22 Nov 2007 22:22:58 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:21563</guid><dc:creator>Jeff Paries</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/21563.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=21563</wfw:commentRss><description>&lt;p&gt;Glad to hear you got it working.&lt;/p&gt;&lt;p&gt;Yes, definitely steer clear of GIFs. PNG or JPG only.&lt;/p&gt;&lt;p&gt;Jeff&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Re: 4001 Image Error</title><link>http://forums.silverlight.net/forums/thread/21561.aspx</link><pubDate>Thu, 22 Nov 2007 21:41:31 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:21561</guid><dc:creator>mwrand12</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/21561.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=21561</wfw:commentRss><description>&lt;p&gt;Jeff,&lt;/p&gt;
&lt;p&gt;Okay, now I am really confused!&lt;/p&gt;
&lt;p&gt;Here are the steps I think I took place:&lt;/p&gt;
&lt;p&gt;1)In my first Silverlight app, I used a gif file&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; This caused my 4001 error (I just&amp;nbsp;confirmed this)&lt;/p&gt;
&lt;p&gt;2) The code I posted showed I was using a png file, and I swear I tried that before my first post.&lt;/p&gt;
&lt;p&gt;3) Then still using &amp;nbsp;the png file, I tried Cass&amp;#39;s recommentation (based on his assumption that I using 1.1, not 1.0) of adding the assembly references.&amp;nbsp; After I few dozen more tries I went back to using my gif file. And then followed a few more back and forth posts.&lt;/p&gt;
&lt;p&gt;4) While cleaning up my project to send you, I removed&amp;nbsp;the the references, and punt the png file back in, bacause that is what you said you tested with.&lt;/p&gt;
&lt;p&gt;5) Voila!&amp;nbsp; All is working!&amp;nbsp; Talk about wasting 4-5 hours!&amp;nbsp; &lt;/p&gt;
&lt;p&gt;We definitely need to put in big red letters somewhere that you cannot import gifs onto your canvas.&amp;nbsp; Within Blend there is a question mark over the gif icon, but when you add the gif to the canvas it allows you to preview it.?!?!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Happy Thanksgiving!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: 4001 Image Error</title><link>http://forums.silverlight.net/forums/thread/21560.aspx</link><pubDate>Thu, 22 Nov 2007 21:23:48 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:21560</guid><dc:creator>Jeff Paries</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/21560.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=21560</wfw:commentRss><description>&lt;p&gt;Michael,&lt;/p&gt;&lt;p&gt;If you want to zip up your project and email it to me, I can look at it for you. Your XAML worked fine for me when I dumped a PNG file named 1.png in the project folder, so without seeing it, I&amp;#39;m not really sure what else may cause it.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;My email address is my full name (above my avatar, no spaces) at Yahoo dot com.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Jeff&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Re: 4001 Image Error</title><link>http://forums.silverlight.net/forums/thread/21559.aspx</link><pubDate>Thu, 22 Nov 2007 21:12:29 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:21559</guid><dc:creator>mwrand12</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/21559.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=21559</wfw:commentRss><description>&lt;p&gt;Cass, &lt;/p&gt;
&lt;p&gt;Straight from the horses mouth:&amp;nbsp; &lt;font size="1"&gt;Version: 1.0.21115.0 &lt;/p&gt;&lt;/font&gt;
&lt;p&gt;I am using Expression Blend 2 Sept Preview.&lt;/p&gt;
&lt;p&gt;And yes, I can preview the image on the canvas within Blend.&amp;nbsp; However, if I try to test the solution (F5), I get the same error.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: 4001 Image Error</title><link>http://forums.silverlight.net/forums/thread/21557.aspx</link><pubDate>Thu, 22 Nov 2007 20:55:55 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:21557</guid><dc:creator>Cass</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/21557.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=21557</wfw:commentRss><description>&lt;p&gt;I asked you to add assembly info as I thought you were using Silverlight 1.1, you dont need them for Silverlight 1.0. What is the Silverlight version installed on your computer (right click on Silverlight page in Browser and select Silverlight Configration)? &lt;/p&gt;
&lt;p&gt;Are you using Expression Blend 2 Sept Preview to add the image on your canvas? If not then try to just drag and drop the image on the Canvas in Expression Blend from the&amp;nbsp;project tab. Can you see the preview of the image in&amp;nbsp;Design section of Expression Blend? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>