Following Up; although I am still trying to get a read out of the page error (unsuccessful so far), I thought of switching to a Google Docs reader to see if the error might be with the Adobe reader (not uncommon). Again, it works perfectly in the VS 2010 environment, but it still throws a runtime error of some kind since it is now referring to an error page that I have put in to the web.config file. I'll show the new code below, buy I do not think it is a coding problem (this coming from someone that obviously cannot fix it!). I feel it has something to do with the web.config file (just a hunch if you will). PLEASE, as I continue to try to get an error readout, someone MUST have seen an issue like this before. Any idea's are welcome. Thank you, Pat.
if (Session["Document"].ToString() != string.Empty)
{
string document = Session["Document"].ToString();
string pdfPage = "http://docs.google.com/gview?url=" + document + "&embedded=true";
pdfFrame.Attributes.Add("src", pdfPage);
}
else
{
ClientScriptManager script = Page.ClientScript;
if (!script.IsClientScriptBlockRegistered(this.GetType(), "Alert"))
{
script.RegisterClientScriptBlock(this.GetType(), "Alert", "alert('Sorry, this document cannot be found. ')", true);
return;
}
}