32-bit executable does not run in Windows Server 2008

Hi,
Sorry if this question has been asked already. I am having trouble finding a solution in the NI knowledge base and here in the forums.
I just created a simple UI standalone application in Labwindows/CVI with UI. It runs perfectly in XP when it was developed. When I ported this over to the Windows Server 2000 target and tried to run it, it is stuck in a Windows console and will not spawn main(). I tried both rebuilding it on the 64-bit machine as well as just running the exe as is, yielding the same results. I also tried running corflags against the exe on both the 32-bit dev machine and the 64-bit target but both output says "The specified file does no thave a valid managed header", which seems to be true for all CVI exe files.
Through some troubleshooting, I was able to narrow it down to a call to a function in a dll (that apparently has already been working all along). If I comment out the two calls, main() would start and life is good again. I tried visually looking through the code in the project producing the dll and things are fine.
Can someone provide me with some insight into how to proceed on this? Was it a bad build? Did I not configure the build environment correctly (I already tried changing the stack/heap usage)? Could this be caused by a bug in the software that the compiler didn't catch? What typically causes a freeze in the console that spawns main()?
Please help! Thanks in advance!
EDIT: BTW, I'm running LabWindows/CVI 2009 on both machines.

One other possibility is having sufficient rights, especially if you are invoking it via some other app, rather than manually as a logged in user. If you are not logged in and instead invoke it via a web site action, I believe you will have problems reading the registry, accessing a desktop, writing to disk, etc.
Sorry I can't be more definitive, but perhaps it will help.
Please post your conclusion, if you find it.
--Ian

Similar Messages

  • Add does not run with sql server 2008

    Hi all,
    My add on in the development environment does not run with SQL SERVER 2008. It ran well with SQL Server 2005 and sap b1 2207 B.
    On executing the project file system throws an error "YOU ARE NOT CONNECTED TO THE COMPANY"
    we are trying this scenario on a test machine where SAP B1 2007B with temporary license for one month and SQL server 2008
    is installed.
    Help needed.
    Thanking you
    Pradnya

    Hi Use this
    Dim i as integer
    i=oCompany.Connect()
    if i<> 0 Then
    msgbox(ocompany.GetLastErrorDescription ())
    end if
    the you will get the error description also use try catch wherever necessary
    Alternatively you can use
    Dim SboGuiApi As SAPbouiCOM.SboGuiApi
    Dim sConnectionString As String
    Set SboGuiApi = New SAPbouiCOM.SboGuiApi
    sConnectionString = Command
    SboGuiApi.Connect sConnectionString
    Set SBO_Application = SboGuiApi.GetApplication()
    Set ocompany = New SAPbobsCOM.Company 'initialate DI company object
      ocompany = SBO_Application.Company.GetDICompany
    HTH,
    Atul

  • Does Safari run in Windows Server 2008 R2 (Terminal Services)?

    does Safari run in Windows Server 2008 R2 (Terminal Services)?

    Hi Jess,
    Here are two things I suggest you check:
    The Monitoring interval is set to 900 minutes, would the profile size get reduced after 15 hours and run
    gpupdate/force?
    Since the Sessenv.dll version is higher than the ones described in KB 2575946, the issue is supposed to be fixed. I suggest you run System File Checker to scan all protected system files.
    In addition, you can also collect Gpsvc.log to determine if policies are applied successfully.
    More information for you:
    System File Checker (sfc)
    http://technet.microsoft.com/en-us/library/bb491008.aspx
    Group Policy not being applied
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/9884d06d-b5f8-44c9-a703-7b5211f1e0ba/group-policy-not-being-applied?forum=winserverGP
    Best Regards,
    Amy

  • Group Chat feature in Office Communications Server 2007 R2 does not work in Windows Server 2008 R2 domains

       Hello to all, there are two confliting articles about this topic:
       1-
    http://technet.microsoft.com/en-us/library/upgrade-domain-controllers-to-windows-server-2008-r2(v=ws.10).aspx#BKMK_Whatsnew : this one says that it does not work "The Group Chat feature in Office Communications Server 2007 R2 does not work in Windows
    Server 2008 R2 domains". This article was updated in 2013.
       2-
    http://technet.microsoft.com/en-us/library/ee692314(office.13).aspx: this other article says that it will function "Office Communications Server 2007 R2 Group Chat will function in a Windows Server 2008 R2 forest". This article was updated in
    2010 and was refered by the first one.
       What is the correct support position for Group Chat feature in Office Communications Server 2007 R2 and Windows Server 2008 R2 domains?
       Regards, EEOC.

    Hi,
    I notice the following sentence in the link below “Office Communications Server 2007 R2, Group Chat will not function in a Windows Server 2008 R2 forest or when Group Chat member servers are joined to a Windows Server 2008 R2 domain.
    We know of an issue with changes in Windows 2008 R2 that requires a Group Chat Client and Group Chat Admin Tools hotfix. The Group Chat Client and Group Chat Admin Tools hotfixes are currently scheduled for mid-April 2010.”
    http://blogs.technet.com/b/nexthop/archive/2010/11/06/supportability-for-office-communications-server-2007-r2-and-windows-server-2008-r2.aspx
    So in my opinion, if you update to the latest version of Windows Server 2008 R2, OCS Server 2007 R2 and Group Chat Client, Group Chat Admin Tools to the latest version, it should work.
    However, the best method for you is make a lab to test the problem firstly.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • [CS4 Server Win]: Plugin does not run on Windows Server 2003?

    Hi,
    can anybody help?
    My plugin is running on Windows XP and Windows Vista.
    On both operation systems the scripting methods are visible in ExtendScript Toolkit and can be called by javascript.
    On Windows Server 2003 my plugin is not running, the scripting methods are not visible in ExtendScript Toolkit!
    What is missing?
    Thanks,
    Alois Blaimer

    > I am using Visual Studio 2008 with the VC++ 9.0 compiler.
    > Could this be a problem?
    Yes.
    CS4: use VC2005 + SP1
    CS3: use VC2005 without SP1
    CS2: use VC2003
    In my previous post I described one of the problems I found out the hard way - walking around in disassembler is a pain, even more Intel and Windows, comparing to Mac, and PowerPC. Since then I only use the official tools even if others tell it worked for them, and I keep the InDesign installations for final build and test on the earliest supported operating system.
    Dirk

  • Safari does not run at Windows Server 2003

    Any page I try to open at Safari, it just crashes (I mean, just closes) without any technical information.
    The most intersting fact is that when I go to preferences, just in the appearance tab make Safari close.
    And the most important fact is that I use Microsoft Windows Server 2003 R2 en-us. I NEVER was able to use Safari in any 2003 (since first Safari beta). I've tryed Safari in several of my 2003 machines (at least 4 very different ones). I got better in new versions (first Safari ones didn't even openup)
    I'v tryed so many things. Rename several folders, like safari.resources, run Microsoft Application Verifier to fool it as Windows XP, startup some services (like themes or Bonjour -- wich I use to disable), no solution at all. My sixt sense tells me that is is anything to do with some graphics rendering conflict, since it closes in the appearance and Safari have a different look from a regular Windows app window.
    Bottom line: any help ?

    The kinda answer I like: download, copy, mesh, hack. Looks very nice, must work in most cases, but not this time for me. Behavior was exactly the same, running the nightly build.
    Just for the records:
    Safari prefs in my Windows live happy in:
    C:\Documents and Settings\Administrator\Application Data\Apple Computer\Safari
    C:\Documents and Settings\Administrator\Local Settings\Application Data\Apple Computer\Safari
    These days I installed an Safari in a brand new 2003 and worked nice. Bug 4 x 1 Safari. Bug still winning.
    So, it must be some stuff, some little tricky service or software I install in my usual Windows.
    Anyway, thank you very much...
    If someone have some clue, I'll apreciate

  • I m working in an organization where web-sense is installed to block all irrelevant sites, i have installed itunes but it does not run a window pops up with message 'itunes is not connected to the network' can anyone help me out?

    i m working in an organization where web-sense is installed to block all irrelevant sites, i have installed itunes but it does not run a window pops up with message 'itunes is not connected to the network' can anyone help me out?

    There's a whole lot to read in your post, and frankly I have not read it all.
    Having said that, this troubleshooting guide should help:
    http://support.apple.com/kb/TS1538
    In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it.

  • How to restrict users working on Windows 7 clients from accessing Windows Explorer and other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2

    Dear All,
    We are having an infrastructure setup of around 500 client computers managed through group policy.
    Recently the domain controllers have been migrated from Windows Server 2003 to Server 2008 R2.
    Since this account requires extremely strict environment, we need to figure the solution for restricting the users from access anything locally.
    It would be great if you can assist me with the following query.
    How to restrict users logged on Windows 7 clients from accessing Windows Explorer and browsing other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2 ?
    Can we disable Network Tab on the left hand pane ?
    explorer.exe is blocked already, but users are able to enter the Windows Explorer by clicking on the name which is visible on the Start Menu.

    >   * explorer.exe is blocked already, but users are able to enter the
    >     Windows Explorer by clicking on the name which is visible on the
    >     Start Menu.
    You cannot block explorer.exe when you do not replace the shell - the
    desktop you see effectively IS explorer.exe...
    Your requirement sounds like you need a custom shell:
    http://gpsearch.azurewebsites.net/#2812
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Hp deskjet 2545 printer driver not supporting on windows server 2008 r2

    I have purchased a 3 in 1 hp deskjet 2545 printer. I am trying to configure in on my home laptop (HCL) operating system: windows server 2008 R2, but unable to configure it. customer support executive told me hp deskjet 2545 printer driver is not compatible on windows server 2008 R2.  but I have checked in my office and it is working fine on my office 2008 server. Please help.

    Hello Arvindk,
    Welcome to the HP Support Forums! I understand you are trying to use your HP Deskjet 2545 with your Windows Server 2008 R2. Because you are using a server your question will be best answered on the Commercial Forums: http://h30499.www3.hp.com/hpeb/ 
    I was able to find this document for Installing the Printer Software on Windows Server 2003 or 2008, which may be helpful for you.
    Thanks,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Web Service Client(Console App) not working on Windows Server 2008 R2 Standard Edition

    I am trying to consume an ASMX Web Service in a console app, its working fine in Windows 7,Windows Server 2012 Standard,Windows Server 2008 R2 DataCenter,Windows Server 2008 R2 Enterprise, But its not working in Windows Server 2008 R2 Standard Edition which
    is the deployment server.
    I tried consuming the ASMX web service using Web Reference and Service Reference as well but its not helping. Its throwing up the following error,
    Message:There is an error in XML document (1, 331491).
    Inner Exception : System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 331491.
    The scenario is that i call the web service and it returns me an XML i am not able to receive the XML on Windows Server 2008 R2 Standard Edition.
    Please provide suggestions on this I need to resolve this ASAP.

    Hi,
    This question is better asked here:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=asmxandxml
    Experts here are more familiar about it and they can give you more efficient suggestion.
    Thank you.

  • Hard drive not recognized during windows server 2008 setup

    hard drive not recognized during windows server 2008 setup

    Hi,
    Whether the hard disk is recognized in BIOS?
    Connect it to another computer to see if it could be recognzied incase the cause is the disk itself. Also please check if it is really a RAID instead of a single hard disk - a single disk should be recognized directly while RAID cannot be recognized until
    a suitable driver is installed.
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Addon not working on Windows Server 2008 OS

    Dear Friends,
    I have developed an addon in XP and its working fine with XP operating system but it is not working on Windows Server 2008 Standard. Error is "An Attempt was made to load a program with an incorrect format.(Exception from HRESULT: 0x8007000B)".
    Regards,
    Mahesh.
    Edited by: mahesh A on Sep 19, 2009 9:26 AM

    Hi,
    Since only Windows 2008 SBS is supported with SAP Business One and that Server is available for 64bit Hardware as defined by Microsoft, I guess you should look into that direction.
    Regards
    Mario

  • Labview 2011 executable does not run on AMD Quad Core

    I have recently bought a brand new Toshiba Satellite with AMD Quad Core- A8-4500M 1.9GHz processor and Windows 7 OS. It does not run any labview executables. It runs on all my Intel machines without any problem. This is the first AMD ever bought (and the last). I need help in resolving this problem.
    When I run an exe on the AMD, under Task Manager\Processes, I do see *.exe process running, but the Memory usage goes up and tops off at 100% and then it returns to 0. It's like a saw tooth waveform of memory usage, as if it's looking for some missing files. I have cleaned up the computer twice now and even a simple Add Two Numbers.exe does not work on this AMD.
    Any clue, anyone? please?

    I believe you are running into the problem described in this KB.
    http://digital.ni.com/public.nsf/allkb/4734A6405B123FA58625799900813593
    Regards,
    Jon S.
    National Instruments
    LabVIEW R&D

  • My JavaApplets does not run in WINDOWS XP

    Java Applets do not run in windows xp internet explorer. Even I have downloaded and installed the latest version of JVM from Sun site but it does not work. Please help me in getting rid of this probelm.

    do you get an error message? what happens?

  • NWBC 3.0 PL3 (PL4) does not run on windows 2008 R2 64BIT

    Hey,
    we installed 5102369_04 which is the NWBC 3.0 PL4 , on a platform patched with the latest windows patches, for windows server 2008 R2 64bit. Gui 720
    Result : when the NWBC-icon is clicked, fastly a screen is popped (like starting a program)
    But furthermore absolutely nothing happens.
    Is NWBC 3.0 supported on windows 2008 R2  ?
    thx,
    B.

    .net framework 3.5 is a feature that comes with windows 2008 R2. But what is different from previous versions it is that the feature has to be initialized.
    Now the NWBC is running locally on the server perfectly, but when pushing it to citrix-clients, you cannot maximize the NWBC-window, resulting in the thread below :-((
    NWBC 3.0 PL4 and WIndows 2008 R2 Citrix.

Maybe you are looking for