This was working fine for us @ 9.3.1; however, upon upgrading to AGS 10 it will not print if we use our aerials layer. I am getting a 500 internal server error when the aerials are printed. All other layers (basemap, etc) print fine.Here is the error output (via Firebug): [NullReferenceException]: Object reference not set to an instance of an object. at MergeAndOutput.BlendNoSave(Graphics baseGraphics, Bitmap topimg, Double transparency) in d:\Inetpub\mPrint\printing\dotnet\MergeAndOutput.ashx:line 303 at MergeAndOutput.Blend(Bitmap baseimg, Bitmap topimg, Double transparency, String output, Int32 width, Int32 height) in d:\Inetpub\mPrint\printing\dotnet\MergeAndOutput.ashx:line 250 at MergeAndOutput.Blend(Dictionary`2 dict) in d:\Inetpub\mPrint\printing\dotnet\MergeAndOutput.ashx:line 208 at MergeAndOutput.ProcessRequest(HttpContext context) in d:\Inetpub\mPrint\printing\dotnet\MergeAndOutput.ashx:line 28 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Any ideas?
[NullReferenceException]: Object reference not set to an instance of an object. at MergeAndOutput.BlendNoSave(Graphics baseGraphics, Bitmap topimg, Double transparency) in d:\Inetpub\mPrint\printing\dotnet\MergeAndOutput.ashx:line 303 at MergeAndOutput.Blend(Bitmap baseimg, Bitmap topimg, Double transparency, String output, Int32 width, Int32 height) in d:\Inetpub\mPrint\printing\dotnet\MergeAndOutput.ashx:line 250 at MergeAndOutput.Blend(Dictionary`2 dict) in d:\Inetpub\mPrint\printing\dotnet\MergeAndOutput.ashx:line 208 at MergeAndOutput.ProcessRequest(HttpContext context) in d:\Inetpub\mPrint\printing\dotnet\MergeAndOutput.ashx:line 28 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
<appSettings> <add key="OutputPath" value="C:\\arcgisserver\\arcgisoutput\\" /> <add key="OutputUrl" value="http://www.[your domain]/arcgisoutput/" /> </appSettings>
//configure custom PrintableLayer esri.config.defaults.io.proxyUrl = "http://www.maps.ccgisc.org/proxy.ashx"; var layer = new my.PrintableLayer("http://www.maps.ccgisc.org/MergeAndOutput.ashx", { layers:appState.map.layers, extent: new esri.geometry.Extent(appState.map.extent) });
printingHiddenFrame.src = "../hiddenframe.html";
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.