Question : Open Sharepoint server's pdf file in asp.net...

Hi,

Want to Open a pdf file in asp.net  which is in the sharepoint server..
I 've used the code below...


            System.Net.WebClient client = new System.Net.WebClient();

            string path = "http://hawaii:9999/Functions/HumanResource/HR/Employee%20Handbook/GE%20Emp%20Handbook.pdf";

            Byte[] buffer = client.DownloadData(path);

            if (buffer != null)
            {
                Response.ContentType = "application/pdf";
                Response.AddHeader("content-length", buffer.Length.ToString());
                Response.BinaryWrite(buffer);
            }
Then its giving exception like

The remote server returned an error: (401) Unauthorized.

what to do to solve this problem..

Answer : Open Sharepoint server's pdf file in asp.net...

In this set up, I would not expect the platinum wire to degrade significantly.  
if the water is not pure, deposits may form on the wire which reduce its efficiency.
The same water could be used over, but you may have to replace water lost to evaporation or escaped bubbles of H and O.
The reaction would probably proceed much more slowly without a platinum catalyst.
perhaps so slowly that the bubbles would dissipate before you got much current back
Random Solutions  
 
programming4us programming4us