ATL COM server error (0x800706C6 The array bounds are invalid) in Windows 2012 server

Hi,
We have a ATL  COM server application which was developed using Visual Studio 6.0. This was ported to Visual Studio 2003 later.
The application was running without any problems on Windows 2008 server. When we installed it on Windows 2012 server the services would not start at all. On contacting MS support we can to know that the code needs to be built using Visual Studio 2013. The
same was done wherein we ported the application to be built using Visual Studio 2013.
The application is still failing. On debugging I could trace it to CoResumeClassObjects() call. This call returns error "0x800706C6 The
array bounds are invalid.". The same works perfectly fine on windows 2008. 
Does anyone know what has changed between 2008 server and 2012 R2 server with respect to COM implementation.

Hi Amit,
Please try call CoResumeClassObjects to register classes in ServiceMain function.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • TMG Error Code 502 Proxy Error. The directory name is invalid. (267)

    Hi,
    I am having problem with a website in specific.
    Is showing the following error message.
    Error Code: 502 Proxy Error. The Directory name is invalid. (267)
    Server: TMG.personaldomain.local
    Source: web filter
    I have found no information in the logs to help identify the problem.
    I suspect that may be temporarily unavailable from the website. I enter the site without using the TMG and the same is responding.
    The problem is solved when I restart the service "Microsoft Forefront TMG Firewall"
    I suspect that may be cached in TMG that the site remains unavailable.
    Any idea?
    Tks.
    MCITP|Enterprise Administrator

    Hi,
    Thank you for the post.
    I did some research and found 267 error code may occur where the TMG tracing showed an issue accessing the Malware Temporary Storage directory which was resolved by changing the direction from C:\windows\temp directory
    to a custom directory. You could make this change as a pro-active step. Meanwhile, if you are running AV software on the TMG server, please also ensure you have reviewed the following article:
    http://technet.microsoft.com/library/cc707727.aspx
    Regards,
    Nick Gu - MSFT

  • HT1926 when i try to install update i get this error message  the feature you are trying to use is on a network resource that is unavailable   any ideas

    every time i try to update itunes i get this error message    The feature you are trying to use is on a network resource that is unavailable    then asks me to find the folder containing the instalation package ITunes.msi

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • I am trying to download itunes 10.6 and keep getting this error message, "The feature you are trying to use is on a network resource that is unavailable to a folder containing installation package itunes64.msi".  What do I need to do?

    I am trying to download itunes 10.6 and keep getting the error message "The feature you are trying to use in on a network resource that is unavailable. Enter alternate path to a folder containing the installation package itunes67.msi".  Where do I find this or how do I get it?

    "The feature you are trying to use in on a network resource that is unavailable. Enter alternate path to a folder containing the installation package itunes64.msi".
    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • HT1926 I am unable to update my Itunes version 10 to version 11 ,error message "the feature you are trying to use is on a network resource that is unavailable"

    Why can't I update my current version of iTunes 10 to version 11, keep getting error message "the feature you are trying to use is on a network resource that is un available"

    mine says itunes.msi
    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Ugh: Error [0x800700a1] The specified path is invalid.

    I'm having the following problem. 
    Our backups are failing with the following error:
    In the backup logs, I find:
    Error in backup of D:\ during write: Error [0x800700a1] The specified path is invalid.
    Error in backup of D:\Perforce\ during write: Error [0x800700a1] The specified path is invalid.
    Error in backup of D:\Perforce\Database\ during write: Error [0x800700a1] The specified path is invalid.
    Error in backup of D:\Perforce\Database\p4s.exe during write: Error [0x800700a1] The specified path is invalid.
    In the event viewer, I find:
    The backup operation that started at '?2010?-?05?-?24T21:51:56.331072200Z' has failed with following error code '2155347997' (The operation ended before completion.). Please review the event details for a solution, and then rerun
    the backup operation once the issue is resolved.
    And on the command line, wbadmin returns:
    Found (41) files.
    The backup operation stopped before completing.
    Summary of the backup operation:
    The backup operation stopped before completing.
    Detailed error: Element not found.
    The backup of the system state failed [5/24/2010 5:23 PM].
    Log of files successfully backed up:
    C:\Windows\Logs\WindowsServerBackup\Backup-24-05-2010_14-51-56.log
    Log of files for which backup failed:
    C:\Windows\Logs\WindowsServerBackup\Backup_Error-24-05-2010_14-51-56.log
    The operation ended before completion.
    Element not found.
    ERROR(-3): Backup failed!
    This is very frustrating. 
    The more I use Windows built-in backup the more fragile it seems to be. 
    The D drive is a local drive and the path is valid. 
    Running check disk finds no problems.  The drive is mostly empty. 
    I tried with and without the anti-virus software, same problem. 
     There are no other server errors to indicate a problem with the drive or the path. 
    I ran vssadmin list writers, and none of them returned any errors. 
     Why would the backup return an invalid path error, for a path that is valid? 
    Any help would be greatly appreciated.
    Thanks much,
    James.

    Hi Sriram,
    Thanks for getting back to me!
    I'll try to mail them to you before the end of the week.
    A quick question:
     if the backup failed to find and copy a single file or directory (for whatever reason), why does it abort the whole process? 
    The file in question was not critical, so having it missing from the backup would only have been a minor inconvenience. 
    Obviously, you want to log such an event very clearly, but it does not make sense to me for it to kill the whole process... 
    Will this be improved in future versions?  I have to admit, I've not seen much backup software stop because of such a trivial error, except maybe "copy" from the command prompt.
    I think the built-in Window Server 2008 R2 backup software is very promising, and overall, I like it better than the old NT Backup crud. 
    However, from my limited use, it still seems rough around the edges; too many glitches and problems, something you don't want to see from your backup software.
    Thanks much,
    James. 

  • Error message: the feature you are trying to use is on a network resource that is unavailable

    Please help. Trying to install iTunes 10.5.  Receive error message: the feature you are trying to use is on a network resource that is unavailable.  Cannot remove existing iTunes program, get same error. Running windows xp service pack 3.  

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • TS1718 I tried to update, did not work, unintstalled did not work.  Now when I try to install i get error message "The feature you are trying to use is on a network resource tha is unabailable.  Looking for itunes64.msi path.

    I tried to update, did not work, unintstalled did not work.  Now when I try to install i get error message "The feature you are trying to use is on a network resource tha is unabailable.  Looking for itunes64.msi path.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Everytime i try to update to 10.5.1 i get an error saying 'the feature you are trying to use is on a network resource that is unavailable'? its windows!

    everytime i try to update to 10.5.1 i get an error saying 'the feature you are trying to use is on a network resource that is unavailable'? its windows!

    Which particular .msi file does the message go on to say can't be found, seg?

  • How do I convert an excel (2008) document to Numbers?  When I drag the Excel document onto the Numbers icon I get, "Import error.  The file format is invalid"

    How can I convert an Excel (2008) document to Numbers.  When I drag the Excel document onto the Numbers icon I get, "Import error.  The file format is invalid.

    That extension identifies the most current Excel file format, a format that can be opened by Numbers '09 (and by Numbers '08).
    A check with Numbers '09 shows it capable of opening .xlsx files when right-clicked (and Numbers chose as the application to open, when double-clicked (if Numbers has been set as the default application to open this type of file, or when dragged to the Numbers icon in the dock.
    I see two possibilities for Numbers inability to open it and the message you receive:
    1. The file is not actually an Excel file, and the sender has added the .xlsx extension to the filename manually.
    2. The file is an Excel file, but has somehow been corrupted.
    Have you tried opening the file with a different application? The open source Office suites, OpenOffice.org, LibreOffice and NeoOffice can also open .xlsx files. If they're unable to open this one, that would point toward the file itself being faulty. You can download these applications from their rspective websites, linked in the names above. All request a donation to support future development, but only Neo requires one to have been made recently, and that only for the current release (which won't be necessary to open .xlsx files).
    Regards,
    Barry

  • I have recently started downloading video files. I have downloaded a season of a tv show. The season had 9 episodes. Three downloaded fine and the other 6 will not. When i try to download them i get a message saying error -34 The disk you are attempting t

    I have recently started downloading video files. I
    have downloaded a season of a tv show. The season had
    9 episodes. Three downloaded fine and the other 6
    will not. When i try to download them i get a message
    saying error
    -34 The disk you are attempting to use is full.
    Remove files and empty recycle bin to create space. I
    dont understand why it keeps doing this. I have lots
    of space on itunes and my computer is not full
    either.What can i do? How can i prevent this? Is
    there a problem with my computer?  Thank you!

    have a look at this support article.

  • IWeb 08 error message "The file format is invalid"

    I have been reading all of the problems regarding publishing iweb pages at the moment, I too cannot publish my site but I get a different error message
    "The file format is invalid"
    Can anyone help as to why I might be getting this message?
    My iDisk seems to have a very old version of my website stored and I don't know where to look to find the current versions files?
    Why hasn't iDisk got the most up to date version of my iWeb site and how do I get it to have?
    Which folder on the iDisk should your iWeb files be stored in?
    Sorry to ask so many questions but I am new to the publishing part after spending weeks building a site only to find it I get an error and my iDisk file structure holds old files.

    When I opened iWeb I could see the most up-to-date version of my site, I could edit it and save it (to where I don't know). When I opened the web and sites folder on my iDisk it contained only the files from a previous version of my website created months ago.
    I tried looking for the Domain file for my iWeb site and looked in my home folder, application support and then iWeb but the iWeb file in App support was empty.
    I believe the iWeb file in App support is where the Domain file should be located, correct?
    I have used Time machine to go back a week and have located the domain file and have restored it. The domain file now sits in the iWeb folder in App support in my Home, where it should be.
    Now when I load iWeb I see the version of my website that was created a week ago which is fine but iDisk still has the old file structure of my site from months ago.
    Can I delete the old file structure completely from the Sites folder on my iDisk? this should remove the old version of my website shouldn't it?
    How do I get the restored version of my website to appear in iDisk?
    Do I simply copy the Domain file into the sites folder on iDisk?
    My iWeb files on Mobile me are also the months old versions, how do I update these so my new site is all that I can see?
    Any answers to my 'File format' problem when trying to upload, is it because I don't have my iWeb files in the correct places?

  • Error in the specifications for area 01 in ch.of dep

    Hi,
    In our business scenario there are two different chart of depreciation which are Spain and Morocco. Spain has currency EUR and Morocco has MAD. Spain asset CWIP process has done successfully but Morocco has the problem found. While doing actual settlement through KO88 for CWIP asset settlment, one error is being occured as "There is an error in the specifications for area 01 in ch.of dep.
    Message no. AC385
    Diagnosis
    You specified that depreciation area 01 should take over values or depreciation terms from itself. This specification is incorrect.
    Procedure
    Correct the specifications for area 01.
    Best Regards,
    Samrat Roy

    It seems you have kept 01 as TTr in OABD for depreciation area 01
    If the 01 is real depreciation area, do as below
    Go to OABD
    Depreciation area - 01
    TTr should be 00    (You should not keep anything other than 00 here)
    Thanks
    Edited by: nkonnipati on Mar 2, 2012 5:59 AM
    Edited by: nkonnipati on Mar 2, 2012 5:59 AM

  • How to solve? RangeError: Error #1506: The specified range is invalid.

    I complie a c library with alchemy, there are some errors in a function, and the flash traces:
    "RangeError: Error #1506: The specified range is invalid."
    I have set the CLibInit as global, only call the init() function ONCE as other said, but it didn't work.
    I think that maybe the reason is out of heap/stack memory in some c functions???
    or..??
    Help me !!!
    How to solve it...!!!
    Thank you

    This error is result of accessing an invalid memory pointer.  You have likely corrupted alchemy, or are accessing an uninitialized or null pointer.
    I'm not sure if this also happens in the case of a link problem.  The linker does not complain if methods are missing.  But, I thought that was a different error.

  • Error during the attach of a Tabular model - SSAS 2012

    Hi,
    I've changed the DataDir for a SSAS Tabular instance by specifying another drive letter and a path like "E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data".
    After the restarting of the SSAS service I'm trying to attach the tabular model but when I select a folder I've an error about the specified folder is not valid because it doesn't correspond to the naming convention.
    How can I solve this issue, thanks?

    Hi pscorca,
    After you rename the "DataDir" path for SSAS Tabular instance, please copy Tabular database files to the new location(E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data). Then, please follow the steps below:
    Right-click on the Tabular model instance-> Properties, switch to "General" page.
    Select "Show Advanced(All) Properties" option, and then set the following value for "AllowedBrowsingFolders" property.
    C:\Program Files\Microsoft SQL Server\MSAS11.TABULAR2\OLAP\Backup\|C:\Program Files\Microsoft SQL Server\MSAS11.TABULAR2\OLAP\Log\|C:\Program Files\Microsoft SQL Server\MSAS11.TABULAR2\OLAP\Data\|E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data
    Restart SSAS Tabular instance.
    When you attach a Tabular database, please select the corresponding database which under "E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data" path.
    Please let me know if you have any questions.
    Regards,
    Elvis Long
    TechNet Community Support

Maybe you are looking for

  • Conditions in delivery

    Dear MM consultants, I am craeting STO between plants. I craeted fright condition and assigned to vendor in delivery stage. After GR in receiving plant when i try to do MIRO for fright vendor system show no planned cost in PO. My reqt is supply plant

  • Not fully loading

    iMovie starts up and then doesn't completely load the interface and clips, just hanging there. I have tons of Ram. Any ideas here?

  • Recipt or acknowledgement  for sucessfull or unsucessfull  integration?

    Hi I am integrating CRM service ticket to third  party system, I want receipt or acknowledgement ( Like integration sucessfull or Integration not sucessfull failed with xyz error....) , How can i do this...i Know alert can be used for error message s

  • Random Premiere Pro CC crashes ***Need help***

    Hiya, this is my first time posting here so excuse my scruffy postings. I am having some serious problems with my PP:CC and I can not find anything anywhere or anyone who has been struggling with the same crashes as myself. What seems to happen to me

  • AME Payables Invoice Approval

    Hi, I'm new to AP module and AME. Currently working on setting up a rule in AME for Payables Invoice approval. Here is the rule - If Invoice amount is greater than $50 it needs an approval from manager level1. I'm getting this Error : "This transacti