Author: shravaniraj | Posted on: 1/19/2010 7:13:28 AM | Views : 334

Hi all,
I exporting a gridview report to Word using asp.net.
I put the export code in the App_Code in a class file  for reusuability.
I am using --
string strUrl = string.Format("http://{0}{1}", HttpContext.Current.Request.Url.Host, "/Images/logo.gif");
System.Text.StringBuilder sb = new System.Text.StringBuilder();

            sb.Append("<img alt='' src='" + strUrl + "' /><br><br>");
HttpContext.Current.Response.Write(sb.ToString());
when i run the application under local system's IIS ..that is on giving the path--
http://localhost/report1.aspx and hitting the Word Export button, i am able to get the logo image in the word document.


But when i publish the application into another server. And on trying to access that server's application f ...

Go to the complete details ...