Rendering to PNG error

A problem cropped up after switching to After Effect CC 2014; grabbing a frame as a PNG file fails with this error message: "AEGP Plugin PNGIO support: PNGIO library error: known incorrect sRGB profile ( 5027 :: 12 )"
So, what the heck is that supposed to mean and how do I fix it?
Thanks

I'm having the same problem, and I'm not amused.
AE CC 2014 (13.0)
2012 MacPro running OS 10.9.5
Working in 16-bit sRGB color space
Outputting a 36-frame 1080x1080 PNG image sequence as client specified.
Error message "AEGP Plugin PNGIO support: PNGIO library error: known incorrect sRGB profile ( 5027 :: 12 )" followed by "AEGP Plugin PNGIO support: Unable to create PNGIO. ( 5027 :: 12 ) appears regardless of whether I'm rendering millions of colors+ or trillions of colors+ or no alpha.
Tiff sequence with same settings outputs fine.
The same PNG settings output fine in AE CS6 (11.0.4).
The same PNG settings output fine in AE CC (12.2)
Since we're spending $50/month for this stupid cloud subscription I thought we might as well start using these CC versions.  Installed Premiere Pro CC 2014 for a simple editing job, but it wasn't compatible with Lion, so I upgraded to Mavericks (after cloning my system drive, of course).  AE CS6 then wouldn't open, so I moved my project to AE CC 2014 (not the most recent buggy one).  Got these PNG errors, so I've updated CS6 which now will open on Mavericks and has no problem outputting my PNG sequence.
Weak.  Guess I'll submit a bug report.
Shawn Marshall
Marshall Arts Motion Graphics

Similar Messages

  • Premiere Pro stops rendering and gives error message when encounters "RGB Color Corrector"

    Premiere Pro (and also Encore) stops rendering and gives error message when it encounters a clip containing the "RGB Color Corrector" in any clip.  It will process clips without RGBCC, but will stop when it gets to one with RGBCC activavted.  PP will render clips if other effects, such as "Fast Color Corrector", "Color Balance (HLS)", and "Three-Way Color Corrector" are selected. However, these do not have the capabilities that The other color correctors will not do what RGB color corrector does, so I need to have this working to finish a large product that is due to the client.  Please help me..... I am not using the Creative Cloud version, and can't find either a download for the new update from 2013, or a phone number to talk to anyone. 

    Using a Win7 computer with 2.8 quad core processor, 24 gig of ram, Nvidia Quadro 5000 video card.  Don't think I have any plugins.  I looked at one a while back for cleaning up grainy video, but I am not sure I paid for that.  Think I deleted it. 
    Incidentally, someone named Jim on another part of the forum mentioned that this problem has been fixed in the CC version of the program.  I am using the non-CC version because I am 68 years old and only do seminars and documentation video.  Don't need so many bells and whistles, and definitely don't need learning curves every few weeks.  CS6.0.3 works fine for me.  By the way, someone else said that maybe version 6.0.1 might work better and I should revert to that.  Not sure if it is the version i have on the disk upgrade to 5.5 that I purchased in December. 
    As it stands now, I have 7.5 hours of a seminar that is ready to go out the door.  If there is an upgrade I can get from Adobe, maybe you can tell me about it. If I have a setting incorrect in the video output format, maybe I can change that.  So far it just happens with clips in my video that have RGB color correction. 
    Rick

  • UPortal Error Sorry, but uPortal encountered an error that is preventing it from rendering. The error must be corrected by system administrators. Try again later.

    I get this error code when trying to sign into my college web site.
    I had a friend sign into hers from her computer and she did not have an issue.
    uPortal Error
    Sorry, but uPortal encountered an error that is preventing it from rendering. The error must be corrected by system administrators. Try again later.

    I get this error code when trying to sign into my college web site.
    I had a friend sign into hers from her computer and she did not have an issue.
    uPortal Error
    Sorry, but uPortal encountered an error that is preventing it from rendering. The error must be corrected by system administrators. Try again later.

  • Problems Rendering Jpg/Png

    I'm working on a project where we have tiff images and we break them into the individual pages, then we save those pages into memory streams in order to convert them into byte arrays so we can put that in a datatable column  and bind that table to a report that has a OLE blob field that renders the image.
    The problem I'm have is that in  less than 1% of images the report fails to render the image and throw the following error:
    Error in file tempReportPath.rpt: The request could not be submitted for background processing
    I have analyzed the error and it only happens when the image is saved in the memory Stream and byte array as a compressed format: JPG/PNG/ Etc. Saving the image as a bitmap does not produce this problem, but the bitmap memory footprint makes it unusable for this project.
    See code below.
    Public Shared Function GetPicturesBytes(ByVal FileFullName As String) As Byte()()
            If Not IO.File.Exists(FileFullName) Then Return Nothing
            Dim tiff As Image = Image.FromFile(FileFullName)
            Dim dimension As New Imaging.FrameDimension(tiff.FrameDimensionsList(0))
            Dim frames As Integer = tiff.GetFrameCount(dimension)
            Dim Result(frames - 1)() As Byte
            For index As Integer = 0 To frames - 1
                tiff.SelectActiveFrame(dimension, index)
                Dim ms As New MemoryStream()
                tiff.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg)
                Result(index) = ms.ToArray()
                ms.Dispose()
            Next
           'This way because the file remains locked until the Image is disposed!!!
            tiff.Dispose()
            Return Result
        End Function
       Private Shared Function GetImgTbl(ByVal doc As DataTable, ByVal MRN As String,  ByVal patienName As String, ByVal refId As Integer) As DataTable
            Dim imgTbl As New DSDocs.DocsDataTable()
            For Each rw As DataRow In doc.Rows 'wrap.Documents.Rows
                Dim docs()() As Byte = GetPicturesBytes(docFullName)
                If IsNothing(docs) Then
                    imgTbl.AddDocsRow(Nothing, (Doc not found!!!),more,Data)
                    Continue For
                Else
                    For index As Integer = 0 To docs.Length - 1
                        imgTbl.AddDocsRow(docs(index), other,table,data)
                    Next
                End If
            Next
            Return CType(imgTbl, DataTable)
        End Function
    The returned datable is used as report data source

    Hi;
    You don't mention which version of Crystal Reports you are using, or if you have installed the latest service packs.
    We saw a similar issue recently, and our findings were:
    - Crystal Reports 2008 with Service Pack 2 seems to handle images better than other versions
    - Bitmap (BMP) files seem to work better than JPGs
    Best Regards,
    Jonathan

  • Error message when saving a PDF to PNG: Error attempting to write file.

    I get an error message when saving a PDF to PNG. JPG and TIFF works, but no PNG.
    Disk space is sufficient! 100GB of 250
    A few weeks ago it was no problem to save as PNG. But now! (Perhaps from last update?)
    Messages:
    When clicking "Ignore":
    Adobe Acrobat XI Standard
    Version 11.0.09

    I have this issue too, but my colleagues do not have this issue(we have same Acrobat Pro 11.0.09). I am sure this issue happens only you updated to 11.0.09, because when you use Windows Restore back to 11.0.08, no issues.

  • Photoshop CS4 .png Error Message

    Hi,
    I was just browsing through some of my research folders, and came across an image that i wanted to open. The file is a .png and is 2048x1323, 7.75MB, and previews fine in Windows Fax Viewer. However, when i went to open this in Photoshop CS4 Extended 11.0.1, i got an error message shown below:
    http://i151.photobucket.com/albums/s133/rickyt_album/error.png
    "Could not complete your request because the file-format module cannot parse the file."
    Any help on what this means and how to sort it out? At first i wondered if somhow the image wasn't supposed to be a .png, so i changed it to .jpg, but then i had the expected error of it noticing it isn't a jpg, and .jpg is the only other file format it could possibly be.
    Thanks,
    Ricky

    Today I ran into a simular problem. It was a Tiff though and would not open in PS CS4 with the parse error. May sound weird but I could open it in Corel Paint shop pro X2 with no problems. So when I opened it in X2 I "saved as" the file as a PSD and closed out. Then I opened CS4 and the photo opened just fine. I am sure there is a better way but I didn't have the time to try it. I will mess around with the TIFF file tomorrow to see what is going on.

  • OEM app server interface - Renderer failed:  servlet error and NoClassDefFoundError

    Hello, I am having problems accessing my OEM (running on Sun Solaris) in an XSession/ssh terminal window on my Windows machine. It was working fine for months, and now I get the following errors on the OEM web browser interface page. I was wondering if anyone has had this problem, or if someone from Oracle can suggest a fix for us? We are currently unable to re-start our live app server while this connection option is not working.
    Thanks!
    -Eva
    11/11/02 12:50 PM emd: javax.servlet.ServletException: Renderer failed: java.lang.NoClassDefFoundError
    at oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(Unknown Source)
    at oracle.cabo.servlet.AbstractPageBroker.renderPage(Unknown Source)
    at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    at oracle.cabo.servlet.BajaServlet.doGet(Unknown Source)
    at oracle.sysman.emSDK.eml.svlt.EMServlet.doGet(EMServlet.java:240)
    at oracle.sysman.eml.app.ConsoleSN.doGet(ConsoleSN.java:71)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    11/11/02 12:50 PM emd: Servlet error
    javax.servlet.ServletException: Renderer failed: java.lang.NoClassDefFoundError
    at oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(Unknown Source)
    at oracle.cabo.servlet.AbstractPageBroker.renderPage(Unknown Source)
    at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    at oracle.cabo.servlet.BajaServlet.doGet(Unknown Source)
    at oracle.sysman.emSDK.eml.svlt.EMServlet.doGet(EMServlet.java:240)
    at oracle.sysman.eml.app.ConsoleSN.doGet(ConsoleSN.java:71)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.jav
    a:59)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispat
    cher.java:523)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequ
    estDispatcher.java:269)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler
    .java:735)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    11/11/02 12:50 PM emd: java.lang.NoClassDefFoundError
    at oracle.sysman.emSDK.eml.chart.ChartDataSource.setKey(ChartDataSource.java:720)
    at oracle.sysman.emSDK.eml.chart.ChartDataSource.setKey(ChartDataSource.java:702)
    at oracle.sysman.emSDK.eml.chart.EmChartDataSourceBean.addColumn(EmChartDataSourceBean.java:227)
    at oracle.sysman.emSDK.eml.chart.EmChartDataSourceBean.addColumn(EmChartDataSourceBean.java:171)
    at oracle.sysman.emSDK.eml.chart.EmChartBean.processChildren(EmChartBean.java:384)
    at oracle.sysman.emSDK.eml.chart.EmChartBean.setAttributes(EmChartBean.java:294)
    at oracle.sysman.emSDK.eml.chart.EmChartBean.initializeFromTag(EmChartBean.java:212)
    at oracle.sysman.emSDK.eml.chart.EmChartBean.<init>(EmChartBean.java:182)
    at oracle.sysman.emSDK.eml.chart.EMChartRenderer.getRenderingUINode(EMChartRenderer.java:65)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.laf.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)

    We also see this error message in the OEM webpage interface:
    Servlet error: Renderer failed: java.lang.InternalError: Can't connect to X11 window server using '64.52.70.36:0.0' as the value of the DISPLAY variable
    I am hoping this extra info might help someone who would like to give us a suggestion of how we can get the OEM to appear in our browser again. Thanks!!

  • 01_2008_Welcome_01.png error

    When using iWeb on my MacBook Pro, I get a...
    PUBLISH ERROR Can’t create the file “01_2008_Welcome_01.png.” The disk may be damaged or full, or you may not have sufficient access privileges.
    Any suggestions?  I've tried redoing all pages w/ no luck yet.  Thank You!

    Try the troubleshooting steps under "Fix iWeb" here...
    http://www.iwebformusicians.com/iWeb/iWeb-Tips.html

  • Rendering the timeline, error. iMac

    It´s rendering for a while but then this error message is coming up.
    The machine is not chrashing or anything. Except from that
    the machine is not able to complete the rendering.

    I'm having a similar issue - I can't find an answer - it doesn't keep me form working however; if i need to show my timeline or sequence to a client I have to export it then re-import if my sequence is too complex for playback...
    iMac 4 processors, Intel Core i7, 3.5 GHz, 32 GB SMC 2.15f2?
    Graphics: NVIDIA GeForce GTX 780M, NVIDIA GeForce GTX 780M, PCIe, 4096 MB
    also using a BlackMagic UltraStudio4K Thunderbolt I/O

  • Export PNG Error:

    I want to export my *.indd as PNG. I tried the following code:
    function ExportPNG("/c/test)
        try
            app.activeDocument.exportFile(ExportFormat.PNG_FORMAT, File(filePath + '.png'));
        catch(e)
            alert(e);
    However, I get the following error:
    Error: The specified object does not support the desired export format.
    How can I fix this?

    Hey!
    Maybe this will help you, just change export format.
    if(app.selection.length > 1){
        var myObj = app.activeWindow.activePage.groups.add(app.selection);
        myObj.exportFile(ExportFormat.JPG, myFile, false);
        app.activeDocument.undo();
    }else{
        app.selection[0].exportFile(ExportFormat.JPG, myFile, false);
    Hope it helps.
    tomaxxi
    http://indisnip.wordpress.com/

  • Problem saving png error (Hex 0xBFF604A5) File not found.

    Does anyone have some insight into how to correctly save a .png file that I grabbed from an IMAQ image?  I've been trying to use IMAQ write file 2.vi, but it doesn't seem to be able to create a file.  My code works fine if I pass it an existing .png file to write to, but it chokes once I tell it to save the image to a non-existing file.  I'm not very familiar with the IMAQ file I/O, but I assumed (wrongly) that it would work the same as the normal Open/Close file vi's that you can give write/replace/create permission to.  I attached my vi (sorry it's kind of a mess at this point).  Any suggestions?  Thanks,
    John
    Attachments:
    Grab and annotate pic.vi ‏127 KB
    graph and annotate pic.PNG ‏96 KB

    drummerguy-
    We have encountered this problem before. Typically the solution is checking the permissions.
    -The most common reason is if you don't have 'write' privileges in the folder you are trying to write to. 
    *If are unsure about this, you can check by trying to create a new file manually through windows explorer in the directory that LabVIEW is trying to write a file to. If you can create a file there, but LabVIEW cannot, then we can try something else. 
    -Another possible reason is if you have any illegal characters in your filename such as "%, /, \" 
    *A good filename would be something like "C:\test\test.png" for PNG files. If you are writing to a specific file type, could you try to write to a different type (JPEG, PNG, TIFF, BMP) and see if you get the same results?
    I would try these things first and see it your problem persists. I hope this works for you
    Sam S
    Applications Engineer
    National Instruments

  • Can't publish iWeb due to .png error

    can't publish iWeb due to .png error

    With as many people that have this same issue, I am very surprised that support is still sleeping at the wheel.  Some of the suggestions border on the absolute absurd (e.g. create new user account, check the system clock, etc.).  I've tried them all, including exclusion from AVAST, resetting router, etc etc etc.  iCloud status shows all green.
    As the owner of a software development company, I find it hard to believe Apple, of all support, has been unable to get this issue resolved once and for all.  It would certainly make sense, as well, to collate this issue into a single thread instead of bouncing users off the moon and back.
    I spent 1/2 day on the phone with Apple support trying to get iTunes to backup and was promised a call back from the next tier of support.  That was 4 months ago and I still haven't been able to backup my iphone 4S.  I've never seen software that is more kludgy and unreliable with every passing upgrade (sorry, but it's the truth)!
    After two years of not being able to back up my phone, I am considering going to a more reliable platform.  After 6 years on the Apple bus, maybe it's time to get off.
    Mike Maurer, [email protected]

  • The report cannot be rendered because of error when using a word template

    Hello
    When using a report done with a word's template I always get the same error when I try to view as HTML:
    String index out of range: -1
    The report is validate in word and the HTML preview is done correctly.
    Any idea of what can be wrong in the BI server?
    Regards and thank you in advance
    José Tirado

    Hi Jose
    Thats a tough error to diagnose ...
    Can you send me your template + XML data
    TimdotDexteratOracledotCom

  • Adobe Encore - Background Video Rendering & 'Photoshop File Error - 1'

    Hi, I am having serious problems with Adobe Encore at the moment, and really need help fast.
    I am currently making a DVD project where:
    I have used Photoshop to create the buttons (It's just the two buttons/options created in groups with the text and their highlights. There is no background).
    Once that was done, I created a spearate animation in After Effects that allowed images to change from one to the next.
    I exported this as an MPEG so that it could be inserted as a background video in Encore.
    So I went back to Encore, inserted the buttons and my background video, created the motion properties so that the video would play behind the buttons (and I did the same for audio). Then I went to preview it, and clicked 'render' and it wouldn't! It just pops up 'Photoshop File Error-1'.
    I read that other people have the same problem and have tried editing the psd with the buttons, but still nothing has helped!!!
    Can someone please help me??
    I would really appreciate it. Thank You
    By the way, I am using MAC OS X Version 10.9.2 (Mavericks), if that matters.

    >alert them to the problem, and fix it?
    Will never be fixed... CS6 is done
    CS6 is the final Encore http://www.adobe.com/products/encore/faq.html
    -see #8 here for why http://forums.adobe.com/thread/1337952?tstart=0
    >So how exactly do you 'create a small partition on my drive just for the old OS X'?
    That would be a question to ask Apple, or in an Apple forum

  • Follow document renders SPSocialException Internal error code 11

    I'm writing a method to programmatically follow or unfollow documents in SharePoint 2013. The idea is to call the method providing the path to the document, the user and a bool indicating if we're turning following on or off for the particular document and
    user.
    The problem is that when I call the Follow method (or StopFollowing) on my FollowManager, I get this execption:
    SPSocialException was caught
    "The operation failed because an internal error occurred. Internal type name: Microsoft.Office.Server.UserProfiles.FollowedContentException. Internal error code: 11."
    Here's my code. Everything works fine until the if (follow) clause. The user and document objects are valid, the path exists and is accessible.
    private static string FollowOrUnfollowDocument(string absouteEncodedPathDocument, SPUser user, bool follow)
    string retval = string.Empty;
    SPSecurity.RunWithElevatedPrivileges(delegate()
    try
    SPServiceContext serverContext = SPServiceContext.GetContext(SPContext.Current.Web.Site);
    UserProfileManager profileManager = new UserProfileManager(serverContext);
    UserProfile profile = profileManager.GetUserProfile(user.LoginName);
    if (profile != null)
    SPSocialFollowingManager followManager = new SPSocialFollowingManager(profile);
    SPSocialActorInfo newActor = new SPSocialActorInfo();
    Uri serverUri = new Uri(SPContext.Current.Web.Url);
    Uri relativeUri = new Uri(absouteEncodedPathDocument, UriKind.Absolute);
    newActor.ContentUri = new Uri(serverUri, relativeUri);
    newActor.AccountName = user.LoginName;
    newActor.ActorType = SPSocialActorType.Document;
    if (follow)
    followManager.Follow(newActor);
    else
    followManager.StopFollowing(newActor);
    catch (Exception ex)
    retval = ex.Message;
    return retval;
    Any ideas? What does internal error 11 mean?

    Hi Papageno,
    I faced same issue. Solution for this is Set HttpContext.Current to null inside
    RunWithElevatedPrivileges() and after processing re-assign it. SharePoint internally checks if HttpContext Identity is not null then it will pass same HttpContext UserToken to process the request. This causes issue though it is in
    RunWithElevatedPrivileges().
    So your code should look like -
    SPSecurity.RunWithElevatedPrivileges(delegate()
            try
    System.Web.HttpContext current = System.Web.HttpContext.Current;
    System.Web.HttpContext.Current = null;
               // Do your processing
          catch (Exception ex)
                // Error handle
           finally{
             // Re-assign your HttpContext.Current
            System.Web.HttpContext.Current = current;
    Happy Coding :)
    Mark as Answer if it solves your problem.

Maybe you are looking for