Unhandled exception at 0x779a385b in Acrobat.exe: 0xC0000374: A heap has been corrupted

Hi,
In our project, we are getting all book marks from PDF file for display purpose.
We are getting “Unhandled exception at 0x779a385b in Acrobat.exe: 0xC0000374: A heap has been corrupted” exception while getting Action from particular bookmark. But this is working fine for all other bookmarks, Please find the code we used below:
CString CPGRBookMarkMC::GetBookMarkDetails(PDBookmark bmObj)
       CString csBookmarkDetails;
       //Ensure that the bookmark is valid
       char * bmName = NULL;
       ASInt32 bufSize = PDBookmarkGetTitle(bmObj, NULL, 0) + 1;
       //Allocate the size of bufSize to the character pointer
       bmName = (char*)ASmalloc((os_size_t)bufSize);
       //Populate bmBuf with the bookmark's title
       PDBookmarkGetTitle(bmObj, bmName, bufSize);
       DURING
              if (!PDBookmarkIsValid(bmObj))
                     E_RETURN(csBookmarkDetails);
       PDAction objAction = PDBookmarkGetAction(bmObj);
       if(PDActionIsValid(objAction))
              PDViewDestination objDest = PDActionGetDest(objAction);
              ASInt32 bmPageNum = 0;
              ASAtom fitType = ASAtomNull;
              ASFixedRectP destRect = NULL;
              ASFixed zoom = NULL;
              PDViewDestGetAttr (objDest, &bmPageNum, &fitType, destRect, &zoom);
              char *tempPagenum = NULL;
              tempPagenum = (char*)ASmalloc((os_size_t)bufSize);
              itoa(bmPageNum, tempPagenum, 10);
              strcat(bmName ,",");
              strcat(bmName, tempPagenum);
              csBookmarkDetails = bmName;
       HANDLER
       END_HANDLER
       return csBookmarkDetails;
This unhandled exception is not handled in DURING/HANDLER block also. Please help us to resolve the issue.

It looks like you are filling a buffer here
PDBookmarkGetTitle(bmObj, bmName, bufSize);
and overflowing that buffer here
strcat(bmName ,",");
strcat(bmName, tesmpPagenum);
If that is the case, you will have problems which could appear at anytime after code execution.
Also, in the code below, the connection between  bufSize and the alphanumeric string size of bmPageNum is not obvious.
              tempPagenum = (char*)ASmalloc((os_size_t)bufSize);
              itoa(bmPageNum, tempPagenum, 10);

Similar Messages

  • Unhandled exception at 0x380ef547 in crw32.exe: 0xC0000005:

    Hi,
    I have a report, with basic data in the page header, 3 fields ( name, number, status).  Then in the details section I have an OLE DB object, where the graphic location is a formula, combining the urlroot and urloffset.  The formula is correct because it works for other images (other reports) in the same imagestore.  Each image has a different code.
    When I try to preview the report Crystal report crashes, Error msg.
    crw32.exe has encountered a problem and needs to close.  We are sorry for the inconvenience.
    When I click the debug button, It opens up Visual Studio Just-in-time-debugger, and it gives me the following error:
    An unhandled win32 exception occured in crw32.exe(5588). I then choose a new instance of Visual Studio to debug with, and it opens Visual Studio.
    I then get the following error message:
    Unhandled exception at 0x380ef547 in crw32.exe: 0xC0000005: Access violation reading location 0x7f9ef002.
    When I stop debugging, and close Visual Studio, I get the following error: 
    Crystal Reports - [reportname]:  crw32.exe - Application Error
    The instruction at "0x5ad71531" referenced memory at "0x00000014".  The memory could not be "read".
    Click on OK to terminate the program.
    I can run all my other reports with no problem.
    Please advise.
    Edited by: Larita de Swardt on Aug 27, 2008 10:52 AM

    I am having much the same issue.  I am using Crystal Reports XI and it has never worked well.  I have removed the program from the PC and reloaded the program several times.  I am running it on XP SP3 machine with all of the latest updates.  Everytime I simply drag a field from the Field Explorer onto the report design area I get the following message:
    crw32.exe has encountered a proble and needs to close...
    Then I get a secondary Application Error message:
    The instruction at "0x5ad71531" referenced memory at "0x00000014".  The memory could not be "read"...
    I have tried installing the program on another PC with the same results.
    I also have VS2008 loaded on the machine along with Office 2007 and various other development tools.
    I have been able to alter some aspects of a report but it will not let me add a field from the field explorer.  I am using an OLE DB connection to a SQL Server 2005 table.
    What gives?

  • I have acrobat 8 and my digital signature has been corrupted. How do I fix that?

    I have acrobat 8 and my digital signature has been corrupted. How do I fix that?

    Make a new one.

  • Trying to download adobe acrobat, it says "this installer has been mis-configured"

    Trying to download a trail for adobe acrobat on my mac and it keeps saying theres an error and "This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance." I want to try it ASAP so quick assistance needed, thanks Appreciate it

    Phillip please remove your previous installation of the Adobe Download Assistant.  Once removed you should be able to download and install the Adobe Download Assistant. 
    You may have some difficulty locating a page which offers it though as most of our trials are now offered through the Adobe Application Manager.  You can use the same link for Photoshop Elements which is offered in the discussion referenced by Rave in message #5 to obtain a copy of the Adobe Download Assistant from there.
    Alternately you can try the direct download option as offered by Rave and bypass the use of the Adobe Download Assistant.

  • Can you specify ink trapping for a PDF document within Acrobat Professional, after a PDF has been cr

    (File > Properties > Advanced > Trapped)
    In other words, does this specification really change the ink trapping of the PDF, or does it just change a document information metadata tag?
    Or, does ink trapping have to be specified when the PDF is created, in the application that creates the PDF?

    Your assumption is correct. That field entry will not affect or perform trapping.
    Trapping does not have to be performed by the authoring program. Better results are obtained via the RIP/software/system processing the image data.

  • When editing a PDF document with fillable forms, I get an unhandled exception error when scrolling past the first page

    The first error is "An unhandled Win32 exception occurred in Acrobat.exe [4644]"
    A debug window comes up after this and I open Visual Studio (not my area of expertise), and a couple more messages come up that may be helpful.
    Unhandled exception at 0x625628db in Acrobat.exe: 0xC0000005: Access violation reading location 0x00000044.
    Then
    [Frames below may be incorrect and/or missing, no symbols loaded for AcroForm.api]
    This is on Windows 7, running Acrobat Pro version 9.5.5
    No new updates are available either.
    Any ideas where to start? This happens with a couple of documents, but not all that are being edited.

    I am also getting the same error for fill-able PDFs. Were you able to find an answer/solution for this problem?
    I am using Acrobat X Pro on Windows 7
    Any help would be appreciated..

  • ITunes 6.0.3.5 installer crashed - IDriver.exe Unhandled exception

    Just downloaded and attempted to install iTunes 6.0.3.5 on Windows XP Media Center Edition. installer crashed, IDriver.exe. Anyone else seeing this. Some details below.
    Unhandled exception at 0x77511029 in IDriver.exe: 0xC0000005: Access violation reading location 0x0000005c.
    ole32.dll!77511029()
    ole32.dll!77511002()
    ole32.dll!7751138f()
    ole32.dll!77510052()
    ole32.dll!7750fe4b()
    ole32.dll!7750d878()
    ole32.dll!7750d7e5()
    ole32.dll!7750d95f()
    rpcrt4.dll!77ef3ae8()
    ole32.dll!77510332()
    ole32.dll!775101c3()
    rpcrt4.dll!77e9d4e5()
    ntdll.dll!7c91056d()
    ole32.dll!774fd3d0()
    ole32.dll!774fe39c()
    ole32.dll!7752962e()
    ole32.dll!77601a25()
    ole32.dll!7752fd56()
    ole32.dll!7752fee4()
    ole32.dll!774fee88()
    user32.dll!77d51042()
    IDriver.exe!0044b476()
    IDriver.exe!00468ed1()
    IDriver.exe!004699c8()
    kernel32.dll!7c816d4f()
    kernel32.dll!7c8399f3()

    hi Madam!
    hmmm. i couldn't turn up anything specific at event ID:
    http://www.eventid.net/display.asp?eventid=26&eventno=2271&source=Application%20 Popup&phase=1
    (i'm not a subscriber, so i can't follow up their "M" links ... not that there was anything specific to the IDriver.exe anyway.)
    hmmmm. if you
    b do
    start running into problems, and you've got the time, it may be worth getting an install log to the moderators:
    Gayle B, "If you are experiencing installation issues...", 06:20pm Oct 12, 2005 CDT
    still at the early stage of troubleshooting these, i'm afraid, so i can't give you much more feedback than this. maybe keep checking in every day or so to check on any developments?
    love, b

  • CR XI Unhandled exception in crw32.exe Access violation switching printers

    I'm running Crystal Reports Developer 11.0.0.2495. On any report, when I go to page setup and attempt to change the printer to my Dymo 400 Turbo label writer, I get an "unhandled win32 exception occured in crw32.exe [8420]" error. When I go into the debugger it tells me :
    Unhandled exception at 0x6a901e35 in crw32.exe: 0xC0000005: Access violation writing location 0x42747570.
    I have made an exception in the DEP. Any ideas?

    Are you using dual monitor?
    Regards,
    Shweta

  • Unhandled exception in crw32.exe when dragging field onto report

    I support a Crystal Reports Designer XI user who is receiving an error:
    Unhandled exception at 0x00891ff3 in crw32.exe: 0xC0000005: Access violation reading location 0x00000020.
    So far, this only appears to happen when she drags a field from Field Explorer onto a new or existing report.  The data connection to the database appears not to be the issue, as she accesses that DB from different applications with no problem.
    DEP is set with Crystal as an exception, I have uninstalled and reinstalled along with deleting temp files and leftover registry keys, I have closed all other applications, I have granted her admin rights, disabled VirusScan, and nothing seems to fix this issue.  She had this issue once before on a different computer (with the same software installed) and we ended up getting her a new computer at around the same time so the issue never needed to be resolved.  On the current computer she was working problem-free for about 3-4 months, and a few days ago it started showing up on her new computer.  I could rebuild her Windows profile but that is a huge hassle and I don't think of that as a permanent fix.
    Thanks for any help... I'm racking my brain on this one!
    Nick H

    Hi Nick,
    CR XI is NOT DEP aware and will never be. Only option is to upgrade to XI R2 and SP 6 for free or disable DEP. DEP was released after XI and XI is past it's end of life so no new patches to fix the problem.
    Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    Thank you
    Don

  • Ai::UnicodeString.as_Platform throwing Unhandled exception

    Hi
    I'm trying to read layer titles from an AI file using the following code, but the application keeps on throwing an Unhandled exception Access violation reading location error.
    Here's the code. This code populates a list box with the layers in the AI file, the line with throws an error is in bold.
         ADMItemRef objLayersLB = sADMDialog->GetItem(dlg, kLayersListBox);
        ADMListRef objLayersListRef = sADMItem->GetList(objLayersLB);
        long count = 0;
        int intLayerIndex;
        int intTempSize;
        AILayerHandle currentLayer;
        ai::UnicodeString layerTitle;
        //Set the list box to be multi select
        sADMItem->SetItemStyle(objLayersLB, kADMMultiSelectListBoxStyle);
        // add each layer to the list
        sAILayer->CountLayers (&count);
        //Firstly we need to clear the list
        while(sADMList->NumberOfEntries(objLayersListRef)>0)
            sADMList->RemoveEntry(objLayersListRef, 0); //Remove the first entry
        for (intLayerIndex = 0; intLayerIndex < count; intLayerIndex++)
            IADMEntry objListEntry(sADMList->InsertEntry(objLayersListRef, intLayerIndex));
            sAILayer->GetNthLayer (intLayerIndex, &currentLayer);
            sAILayer->GetLayerTitle(currentLayer, layerTitle);
            // calling this function with NULL as the second param gets you the length of the name
            char buffer[255];
            char * temp = &buffer[0];
            intTempSize = layerTitle.as_Platform(temp, NULL); //error thrown on this call
            // using the above we can make sure we only copy the correct num of chars
            //layerTitle.as_Platform(temp, intTempSize);
            objListEntry.SetID(intLayerIndex);
            objListEntry.SetText(temp);
    This code works correctly against the CS4 SDK, but not against the CS3 SDK.
    Is the ai::UnicodeString a valid parameter type for the CS3 SDK; I've seen some examples of char arrays being passed in, however I've not been able to get that working as it expects a UnicodeString type.
    This is the error that is thrown after executing that line of code:
    Unhandled exception at 0x5e887a5e in Illustrator.exe: 0xC0000005: Access violation reading location 0x5e887a5e.
    The error is thown if I use the CS3 SDK compliled plug-in against Illustrator CS3 and CS4, however the CS4 SDK compiled plug-in works without error against Illustrator CS4 (it does not load at all against Illustrator CS3 which is understandable).
    Any help would be appreciated.
    Thank you.

    Hi
    After hours of digging about, I finally tracked down the problem. In my aquiring of the suites, i had:
    kAILayerSuite, kAILayerSuiteVersion9, &sAILayer,
    The normal kAILayerSuiteVersion in CS3 SDK refers to kAILayerSuiteVersion10. Seems I was referencing an older suite version. Changing it to:
    kAILayerSuite, kAILayerSuiteVersion, &sAILayer,
    has solved the problem.

  • Unhandled exception at 0x000F1C0F

    When i run my project i get this message from VS express:
    Unhandled exception at 0x000F1C0F in The_Seed_.exe: 0xC0000005: Access violation writing location 0x00000000.
    when i try to press continue i pop-up again and is still on the samme exception and when i press break, i stops loading the rest of the project, but when i go over to the solution explore and say rebuild on my project the following warning comes:
    Warning
    1
    warning C4316: 'D3DClass' : object allocated on the heap may not be aligned 16
    E:\TheSeed\The Seed Engine\The_Seed_\The_Seed_\The_Seed_\Graphicsclass.cpp
    23
    1
    The_Seed_
    Does any1 have an idea why, or know what it is?

    The "Access violation writing location 0x00000000" is probably because a null pointer. Null pointers are just like that... they don't point to anything, so attempt to refer thru them causes crash. Better don't do this, check your pointers.
    The warning "Object allocated on the heap may not be aligned 16" means that some special operation requires that data be aligned on 16 bytes. Normally, VC++ aligns variables on 8 bytes for 32-bit code, which is enough for most normal
    programs. To get things aligned on 16 bytes, use __declspec(align(16))  or _aligned_malloc.
    -- pa

  • InDesign CS4 - Unhandled Exception in Visual Studio

    Hi.
    I'm in the process of creating a long Technical Manual (book) with several chapters and witihn one of the Chapters, I've been creating a table with alternating shading to the rows.
    All works ok for a time, then after adding text into the table, this particular chapter crashes with a "Visual Studio Just-In-Time Debugger" popup containing...
    "An unhandled win32 exception occurred in InDesign.exe [5540].
    Clicking on the Yes option to debug, the resultant screen shows...
    "Unhandled exception at 0x0b324dd in InDesign.exe: 0xC0000005:
    Access violation reading location 0x00000000."
    All has been working ok creating several documents, brochures, etc but it seems that adding in a table creates this problem.
    Any assistance would be appreciated, as I'm wary of it crashing again just as I've fully populated the table, as there are many, many tables in this Technical Manual.
    Regards
    Dave Shields.

    Hi Peter.
    Yes I'm using the same font in the table as used throughout my document: Palatino Linotype
    The only slight difference is that in one column, I've set it to a different swatch colour - Pantone 276C and the first row of the table is also set to bold type.
    Thanks
    Dave.

  • Unhandled Exception thrown

    hi,
    running on W2003 SP 2, CRXI's java and activex viewers throw an exception (over the obligatory white screen). First time running on this particular box.  The activex add-in does show as enabled in IE6.
    Actual error:
    Unhandled exception at 0x33dbf8e7 in iexplore.exe: 0xC0000005
    access violation reading location 0x0000004c.
    this appears when VS2005 is allowed to attempt a debug.
    Tried the same routine on a different W2003 SP2 machine earlier this week without incident.
    Any ideas on what gives?
    thanks.

    If you're using the CR Java SDK, post your query to the Java Development - Crystal Reports forum:
    SAP Crystal Reports, version for Eclipse
    Else, provide more info on what CR SDK you are using
    Also, exact version of CR (Help | About)?
    Ludek

  • Windows Server Essentials Email Service Won't Start SharedServiceHost.exe Unhandled exception from operation

    Gday Everyone,
    Two weeks ago we installed a new Server 2012 R2 with the Essentials Experience role. It was fully patched at time of deployment. We enabled O365 integration and password sync was working fine last week. This morning I went to the Dash Board to add a new
    user and after clicking the O365 tab all fields show "Not available".
    The system event log shows
    "The Windows Server Essentials Email Service service terminated unexpectedly.  It has done this 3 time(s)."
    The application event log shows the following.
    System.InvalidOperationException: Nullable object must have a value.
       at Microsoft.WindowsServerSolutions.O365Integration.BecWebServiceAdapter.<GetSubscriptions>b__37(Subscription sub)
       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
       at Microsoft.WindowsServerSolutions.O365Integration.BecWebServiceAdapter.<>c__DisplayClass32.<GetCompanyInfo>b__30(AccountSkuDetails s)
       at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
       at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
       at Microsoft.WindowsServerSolutions.O365Integration.BecWebServiceAdapter.GetCompanyInfo()
       at Microsoft.WindowsServerSolutions.O365Integration.O365ManagementCore.QueryO365Information()
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderBase`1.InvokeOperation[TResult](String operationName, Func`1 func)
       at Microsoft.WindowsServerSolutions.O365Integration.O365ManagementProvider.InvokeOperationWrapperAsyncWithLocalAdminPrivilege[TResult](String operationName, Func`1 func)
       at SyncInvokeQueryO365Information(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.ExceptionScreener._ScreenForExceptions(GeneralInvoker invokeMe, Object instance, Object[] inputs, Object[]& outputs)
    Stack:
       at System.Environment.FailFast(System.String, System.Exception)
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.ExceptionScreener._ScreenForExceptions(GeneralInvoker, System.Object, System.Object[], System.Object[] ByRef)
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.ExceptionScreener.Invoke(System.Object, System.Object[], System.Object[] ByRef)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(System.ServiceModel.Dispatcher.MessageRpc ByRef)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(System.ServiceModel.Dispatcher.MessageRpc ByRef)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(System.ServiceModel.Dispatcher.MessageRpc ByRef)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean)
       at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(System.ServiceModel.Channels.RequestContext, Boolean, System.ServiceModel.OperationContext)
       at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(System.ServiceModel.Channels.RequestContext, System.ServiceModel.OperationContext)
       at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(System.IAsyncResult)
       at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.AsyncResult`1[[Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.InputChannelRequeuer`1+TryReceiveResult[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral,
    PublicKeyToken=b77a5c561934e089]], Sku, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].Complete(Boolean, System.Func`1<TryReceiveResult<System.__Canon>>)
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.CoalescingAsyncResult`1[[Microsoft.WindowsServerSolutions.Common.ProviderFramework.Internal.InputChannelRequeuer`1+TryReceiveResult[[System.__Canon, mscorlib, Version=4.0.0.0,
    Culture=neutral, PublicKeyToken=b77a5c561934e089]], Sku, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]._MyCallback(System.IAsyncResult)
       at System.Runtime.AsyncResult.Complete(Boolean)
       at System.ServiceModel.Channels.TransportDuplexSessionChannel+TryReceiveAsyncResult.OnReceive(System.IAsyncResult)
       at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
       at System.Runtime.AsyncResult.Complete(Boolean)
       at System.ServiceModel.Channels.SynchronizedMessageSource+ReceiveAsyncResult.OnReceiveComplete(System.Object)
       at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(System.Object)
       at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
       at System.Net.LazyAsyncResult.Complete(IntPtr)
       at System.Net.Security.NegotiateStream.ProcessFrameBody(Int32, Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)
       at System.Net.Security.NegotiateStream.ReadCallback(System.Net.AsyncProtocolRequest)
       at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32)
       at System.Net.FixedSizeReader.ReadCallback(System.IAsyncResult)
       at System.Runtime.AsyncResult.Complete(Boolean)
       at System.ServiceModel.Channels.ConnectionStream+IOAsyncResult.OnAsyncIOComplete(System.Object)
       at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(System.Object, System.Net.Sockets.SocketAsyncEventArgs)
       at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(System.Net.Sockets.SocketError, Int32, System.Net.Sockets.SocketFlags)
       at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
       at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
    The only thing we did a few days ago was enable the Azure Backup integration. I am not sure if this broke the O365 integration as I didn't go back to the O365 tab in the dashboard after installing the Azure backup.
    I have spent a considerable amount of time on google, however, majority of the posts talk about Update 1 which disables the password sync service. I have checked and all services are started with exception of Windows Server Essentials Email Service (WseEmailSvc).
    The Azure Backup module is working fine and the registry location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Server\Productivity seems to hold the correct configuration information throughout the various keys.
    I am at a loss as to how to proceed with this issue? I have checked but there are no pending updates and I have attempted a server reboot numerous times.
    Would appreciate external input if you have seen this issue before or know where we can look to further establish what is going on.
    Cheers,
    Chiper

    I have a similar if not identical situation - I'm currently migrating from WS2012 Essentials to WS2012 R2 Standard w/Essentials role installed. The 'wseemailsvc' service continues to fail over and over, and I am unable to manage O365 accounts from within
    the Essentials dashboard on the R2 server. 
    System Event Log:
    Error 7031 - The Windows Server Essentials Email Service service terminated unexpectedly ... [repeats twice]
    Error 7034 - The Windows Server Essentials Email Service service terminated unexpectedly. It has done this 3 time(s)
    Application Event Log:
    Source:        .NET Runtime
    Date:          2015-04-20 08:27:28
    Event ID:      1026
    Task Category: None
    Level:         Error
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-04-20T14:27:28.000000000Z" />
    <EventRecordID>21137</EventRecordID>
    <Channel>Application</Channel>
    <Computer>redacted</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Application: SharedServiceHost.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.UnauthorizedAccessException
    Stack:
    at System.DirectoryServices.Interop.UnsafeNativeMethods+IAds.SetInfo()
    at System.DirectoryServices.DirectoryEntry.CommitChanges()
    at Microsoft.WindowsServerSolutions.MailService.ActiveDirectoryHelper+&lt;&gt;c__DisplayClass3.&lt;SetLocalUserPrincipleName&gt;b__1()
    at Microsoft.WindowsServerSolutions.MailService.ActiveDirectoryHelper.InvokeOperationImpersonateWrapper(System.Action)
    at Microsoft.WindowsServerSolutions.O365Integration.UpdateO365IntegrationDataTask.CleanUpMappingData(Microsoft.WindowsServerSolutions.O365Integration.O365User[])
    at Microsoft.WindowsServerSolutions.O365Integration.UpdateO365IntegrationDataTask.Run()
    at Microsoft.WindowsServerSolutions.O365Integration.BackgroundTask.TimerCallback(System.Object)
    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.TimerQueueTimer.CallCallback()
    at System.Threading.TimerQueueTimer.Fire()
    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()
    </Data>
    </EventData>
    </Event>
    This error is followed immediately by:
    Source:        Application Error
    Date:          2015-04-20 08:27:28
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-04-20T14:27:28.000000000Z" />
    <EventRecordID>21138</EventRecordID>
    <Channel>Application</Channel>
    <Computer>redacted</Computer>
    <Security />
    </System>
    <EventData>
    <Data>SharedServiceHost.exe</Data>
    <Data>6.3.9600.16384</Data>
    <Data>5215ca62</Data>
    <Data>KERNELBASE.dll</Data>
    <Data>6.3.9600.17415</Data>
    <Data>54505737</Data>
    <Data>e0434352</Data>
    <Data>0000000000008b9c</Data>
    <Data>20e4</Data>
    <Data>01d07b761ad593b2</Data>
    <Data>C:\Windows\System32\Essentials\SharedServiceHost.exe</Data>
    <Data>C:\Windows\system32\KERNELBASE.dll</Data>
    <Data>5f028783-e769-11e4-80c4-00155d10040b</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    </EventData>
    </Event>
    Any assistance with this would be greatly appreciated!
    mcbundus

  • InitCVIRTE generates error message "Unhandled exception in "MyApp.exe": 0xC0000005: Access violation reading location 0x00000000."

    Hi,
    I have converted a LabWindows CVI project to Visual Studio 2005. When I start the application i debug mode I get the message "Unhandled exception at 0x685662ba in EE352-500V.exe: 0xC0000005: Access violation reading location 0x00000000."
    It comes when the application calls:  InitCVIRTE in this context:
    int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
    // Initialize LabWindows/CVI run-time library
    if (InitCVIRTE (hInstance, 0, 0) == 0)
    return -1; /* out of memory */
    The debugger indicates that value of hInstance is 0x00400000 {unused=9460301} 
    Can someone give me a solution to this problem. I have done some search on the Web without success.
    Thanks!

    I think that exception might be coming from the data execution prevention service that is part of Win XP SP2.  The OS thinks that you're somehow trying to execute in the data segment and kills the process.  It's intended to catch worms and viruses.
    You can turn this service off for non-Microsoft programs using the control panel.
    Many pointer handling errors now report as this exception instead of as a memory violation exception.  That looks like a null pointer derefence to me.
    Menchar
    Message Edited by menchar on 11-09-2007 07:12 PM

Maybe you are looking for