refrence link is
WebResponse resp = hwr.EndGetResponse(asynchronousResult);
i am getting error i inserted
<system.web>
<httpRuntime maxRequestLength="2147483647"/>
in my webconfig
but problem is not solve and getting error inner exception is:
{System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.b__4(Object sendState) at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.b__1(Object sendState) --- End of inner exception stack trace --- at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state) at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at PrintToPDF.MainPage.PrintGetResponse(IAsyncResult asynchronousResult)}
if you want to see my code than download link is http://180.211.127.222:164/source/