LoadLibrary fails with error code 5 after cloning project files and cws to another directory.

I have a project that communicates to an instrument over a USB UART.   The telemetry packets from the instrument are defined in DLL's which the main application loads using LoadLibrary with a relative path input.  The plugin DLL's are two directories below the application executable  All has been working fine for months untill I needed to clone the project (using Hg).  The cloned project will no longer load the DLL's.  The DLL's are not corrupted as I can hard code their paths in my original project to them and load them just fine.  The cloned project finds the files (using GetFirstFile), so I know that the path string is corect, but is unable to load the DLL's using LoadLibrary.  The returned error code is 5.  Has anybody seen similar behavior when trying to copy or clone a project?
Thanks for any help you can give!
Solved!
Go to Solution.

When moving or copying projects from one location to another I simply copy the entire folder+subfolders and never had problems: CVI warns that paths need to be fixed al corrects everything by itself. Nevertheless, error 5 should be "Access denied" so you could check properties and security of the cloned files in order to guarantee that your code can access them properly.
Alternatively, couldn't you place the DLLs in some of the standard search-paths? This will avoid problems in cases like yours.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Similar Messages

  • Calendaring agent failed with error code 0x8000ffff Event id 8206 and 8207

    Hi to all
    We have an Exchange 2007 SP3 with Update Rollup 11 and all the user use Outlook 2003 with SP3.
    Suddenly in our Exchange Server we have start to receive a lot of 8206 and 8207 EXCDO errors in the Application.
    Event Type: Error
    Event Source: EXCDO
    Event Category: General
    Event ID: 8206
    Date:  5/2/2015
    Time:  11:17:41 πμ
    User:  N/A
    Computer: EXCHANGESRV1
    Description:
    Calendaring agent failed with error code 0x8000ffff while saving appointment.
    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 48 72 53 61 76 69 6e 67   HrSaving
    0008: 41 70 70 74 3a 3a 48 72   Appt::Hr
    0010: 43 68 65 63 6b 50 61 74   CheckPat
    0018: 74 65 72 6e 20 66 61 69   tern fai
    0020: 6c 65 64 2e 20 4d 61 69   led. Mai
    0028: 6c 62 6f 78 3a 56 61 73   lbox:x
    0030: 73 69 6c 69 73 2e 4b 6f   xxxx.xxx
    0038: 6e 74 6f 67 69 61 6e 6e   xxxxxxx
    0040: 69 73 40 45 55 52 4f 43   xx@xxxx
    0048: 48 41 52 54 49 4b 49 2e   xxxxxxx.
    0050: 47 52                     GR     
    Event Type: Error
    Event Source: EXCDO
    Event Category: General
    Event ID: 8207
    Date:  5/2/2015
    Time:  11:19:41 πμ
    User:  N/A
    Computer: EXCHANGESRV1
    Description:
    Calendaring agent failed with error code 0x8000ffff while deleting appointment.
    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 48 72 44 65 6c 65 74 69   HrDeleti
    0008: 6e 67 41 70 70 74 3a 3a   ngAppt::
    0010: 5f 48 72 47 65 74 42 75   _HrGetBu
    0018: 73 79 49 6e 66 6f 20 66   syInfo f
    0020: 61 69 6c 65 64 2e 20 4d   ailed. M
    0028: 61 69 6c 62 6f 78 3a 56   ailbox:x
    0030: 61 73 73 69 6c 69 73 2e   xxxx.xxx
    0038: 4b 6f 6e 74 6f 67 69 61   xxxxxxxxx
    0040: 6e 6e 69 73 40 45 55 52   xxx@xxx
    0048: 4f 43 48 41 52 54 49 4b   xxxxxxxx
    0050: 49 2e 47 52               I.GR   
    All the errors come ONLY FROM 1 USER. 
    How can i fix this errors?
    If you require any further information do not
    hesitate to let me know
    Thanks and regards.

    You must ask in Exchange forum
    https://social.technet.microsoft.com/Forums/office/en-US/home?category=exchangeserver

  • LoadLibrary fails with error code 8

    Hello all,
    I'm trying to load an external DLL module using the LoadLibrary function and when I do this the LoadLibrary function returns 0x8  Error: Not enough storage is available to process this command.
    Does anyone knows something regarding this error, looks like it is related to the windows heap, but after several changes in the windows registry all looks like the same.
    I'll appreciate all you comments.

    Hey Martin,
    I'm looking into this a bit from the TestStand side, but I'm having some trouble reproducing the issue with the code you attached. Specifically, it seems like I'm missing a few components. One of these is the GLManProtocol DLL; while I have the source project for it, I was unable to build it into a DLL. Would you be able to send your DLL so I can be sure that my version is the same as yours? 
    Another one I didn't have was the PreSteps.dll, which looks like a code module used in one of your custom step types. I'm hoping you have a folder of common shared DLLs that you could include--if so, it'd help us make sure we have everything we need to run the sequence.
    Finally, as a troubleshooting step, I noticed that there were several steps in the sequence calling into other DLLs. It sounds like this issue is related only to the two DLLs you mentioned (the one TestStand calls, and the DLL that the first DLL calls). Could you try creating a test sequence that only contains these steps to see if the problem still occurs? If we can create a very simple file exhibiting the same behavior, it will help us reproduce the issue and narrow down what could be causing it.
    I will continue to look into it, and will look forward to your reply!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • CC app manager update  failed with error code 50 after reaching about 35%

    Trying to update the CC app manager. The update is always very slow  (I have ATT DSL, lowest level) and I usually terminate it after an hour or so. Today I let it run and it failed with error code 50 after reaching about 35%. Any ideas?

    Update to my original post. I read through some of the suggestions that I found in other threads for fixing this problem, and it appears that this has been an ongoing issue. Numerous fixes have been suggested, some very convoluted, difficult, and involved, including those that came from the customer support folks.  I passed on those as this should be something simple. How Adobe manages to let updating of their own software turn into an ongoing problem is beyond me and sort of defeats the purpose of subscribing. I then noticed that a simple fix had been suggested a few times, so I tried that.
    The user suggested fix that worked for me was:
    1) Restarted computer (Asus Windows 7 i3 machine for me) in Safe Mode with Networking. Logged into my separate Admin account just in case.
    2) Started the creative cloud desktop app.
    3) The app said it needed to be updated. I hit the update button.
    4) Update started and proceeded slowly as it had in many previous failed attempts (I have ATT DSL at the slowest level, but it is not dial-up). Within about 30 min, the update succeeded.
    5) Restarted computer in normal mode.
    6) The creative cloud desktop app now did not say it needs to be updated, and I can update my other apps normally. Have not updated LR or PS yet, but plan to try. If that fails, I may try doing it in the Safe Mode with Networking.
    So, that was relatively painless and much much simpler than many of the other suggestions I saw. Do not know if it will work for everyone, but I wanted to post the fix that worked for me. Thank you very much to the 2 or 3 users who had suggested this fix earlier (sorry, I did not write down your IDs, but the threads can be found by searching for creative cloud desktop update fail error code 50). Hope this saves some people a lot of time.

  • SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has be

    Hello, I have a sql 2005 server, and I am a developer, with the database on my own machine.  It alwayws works for me but after some minutes the other developer cant work in the application
    He got this error
    Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: 192.168.1.140]
    and When I see the log event after that error, it comes with another error.
    SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: 192.168.1.140]
    He has IIS5 and me too.
    I created a user on the domain called ASPSYS with password, then in the IIS on anonymous authentication I put that user with that password, and it works, on both machines.
    and in the connection string I have.
    <add key="sqlconn" value="Data Source=ESTACION15;Initial Catalog=GescomDefinitiva;Integrated Security=SSPI; Trusted_Connection=true"/>
    I go to the profiler, and I see that when he browses a page, the database is accesed with user ASPSYS, but when I browse a page, the database is accesed with user SE\levalencia.
    Thats strange.
    The only way that the other developer can work again on the project is to restart the whole machine. He has windows xp profession, I have windows 2000.
    If you want me to send logs please tellme

    Well here's my problem, maybe you can help. Intermittenly I get a login failed when connecting to a db engine through Server Management Studio using Windows authentication. When this happens the following entries are generated on the server's application event log:
    Event Type:        Error
    Event Source:    MSSQLSERVER
    Event Category:                (4)
    Event ID:              17806
    Date:                     1/14/2009
    Time:                     10:41:31 AM
    User:                     N/A
    Computer:          <server name>
    Description:
    SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: <ip address>]
    Event Type:        Failure Audit
    Event Source:    MSSQLSERVER
    Event Category:                (4)
    Event ID:              18452
    Date:                     1/14/2009
    Time:                     10:41:31 AM
    User:                     N/A
    Computer:          <server name>
    Description:
    Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: <ip address>]
    I've already ensured that the server is set to mixed authentication mode. Oddly enough, the workaround that I've found is that if I remote desktop into the server, log in and then log back out, Management Studio is suddenly able to connect again. No idea why it works. 
    As I said before, it is intermitten. Some days it errors on login, other days it doesn't and there are no configuration changes between them. Also, both client and server are in the same domain and same site so there is no VPN or anything in between. I'm really quite stumped. Any help would be great, or if you can point me in the right direction of where to look. Thank you in advance!

  • Installation of Photoshop update 13.1.2 for creative cloud fails with error code U44M1P7 I need help

    I need help installing update 13.1.2 for Photoshop creative cloud, installation fails with error code: U44M1P7. Could someone please help?

    Sorry to bother you.
    I could find the answer after searching previous posts about this language problem.
    Had to change my language in AAM profile and then download PS CS6 again ( english version ).
    Then open the actual Photoshop and in preferences > interface you can besides the Dutch also option for English.
    restart application and Voila.
    Greetz, Jeroen

  • SSIS 2012: SSIS Error Code "Excel Connection Manager" failed with error code 0xC0202009.

    Hi,
    This is kind of weird issue that I am experiencing with excel connection manager in SSIS 2012. This issue occurs sometimes but when I close and re-open SSDT (SQL Server Data Tools - newer BIDS) then this issues goes off temporarily.
    Just FYI, through SSDT environment I executed the package successfully with both settings Run64bit runtime setting to Yes and No when error does not occur.
    So far I have installed
    http://www.microsoft.com/en-us/download/details.aspx?id=13255 (Microsoft Access Database Engine 2010 Redistributable).
    I still remember for older versions of SQL Server (2005 & 2008) that I have executed Excel connection SSIS packages with Run64bit runtime = false i.e. in 32-bit mode. As far as I know I think Excel 64-bit issue has been resolved with SQL Server
    2012 release.
    Here is the detail of error message:
    TITLE: Package Validation Error
    Package Validation Error
    ADDITIONAL INFORMATION:
    Error at Data Flow Task [Excel Source [2]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection
    Manager" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    Error at Data Flow Task [SSIS.Pipeline]: Excel Source failed validation and returned error code 0xC020801C.
    Error at Data Flow Task [SSIS.Pipeline]: One or more component failed validation.
    Error at Data Flow Task: There were errors during task validation.
    Error at Package [Connection manager "Excel Connection Manager"]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft Access Database Engine"  Hresult: 0x80004005  Description: "Unspecified error".
     (Microsoft.DataTransformationServices.VsIntegration)
    Here are my environment details:
    SQL Server 2012 {Microsoft SQL Server 2012 (SP1) - 11.0.3368.0 (X64) } , Excel 2010 (32-bit). I am developing SSIS code on Virtual desktops with Windows 7 32-bit OS.
    Also it occurred to me that since Virtual Desktops are on Shared Infrastructure, the source files and SSIS packages (code) can be on Shared drives for e.g. \\<Corpnet>\userdata\<Corp_Users_Grp>\<Username>\Visual Studio 2010\Projects\Integration
    Services Project2\Integration Services Project2\Package.dtsx.
    Does this kind of Shared drives have any impact to give this issue?
    Thanks in advance!
    Ketan
    P.S.: I had look at this forum question -->
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/903bbe1d-e070-4c43-9d3b-0a5193550029/64bit-error-in-excel-connection-manager-in-ssis

    Hi Arthur,
    Thanks for your response.
    Yes, it looks like SSIS still has bunch of issues with Excel files like as follows:
    1) Some times excel source files cannot be parsed by excel source connection manager.
    2) For derive column conversion, we can't replace the existing column. rather, we have to add the derived column as " add as new column" which is tough to manage  while destination mapping.
    3) If an column in excel contains a data which is not of the data type assigned for the column in excel, the excel source reads that data as "null". For the same, we can't validate the data and redirect the erroneous data in reject file.  <-- For
    this we tried IMEX setting also
    4) In multi-tab/sheet excel file, excel source is unable to detect a tab and identify the metadata of the excel.
    I am also checking Microsoft connect for Excel issues with SSIS 2012(https://connect.microsoft.com/SQLServer/SearchResults.aspx?SearchQuery=excel#&&PageIndex=22
    As worst case scenario, I am thinking of converting Excel to CSV file or Flat text file. (http://www.mssqltips.com/sqlservertip/2772/importing-data-from-excel-using-ssis--part-2/).
    Do you think it is advisable to convert Excel into CSV or Flat file.
    Thanks,
    Ketan

  • Premiere elements 12, new installation, serial no. accepted, installation completed and new started, but does not run. I get following msg-box: "LoadLibrary failed with error 126: Das angegebene Modul wurde nicht gefunden."

    premiere elements 12, new installation, serial no. accepted, installation completed and new started, but does not run. I get following msg-box: "LoadLibrary failed with error 126: Das angegebene Modul wurde nicht gefunden."   Installation in German Language on WIN7 professional 64bit, Samsung SSD. What can I do to run that program?

    Jurgen Freund
    Premiere Elements 12 on Window 7 64 bit. What video card/graphics card does your computer use - AMD Radeon?
    I have found this YouTube video on the subject of Error 126 with details for resolving the problem.
    How to fix the ERROR 126 when you open OpenGL programs - YouTube
    The link was contributed in an old 2013 thread here by the ID danneomarre (see post 6 of the following thread)
    LoadLibrary failed with error 126: cant find the required
    Please let us know if that worked for you.
    Thank you.
    ATR
    Add On...When all is OK and working, please update 12 to 12.1 Update using an opened project's Help Menu/Update.

  • The user '*' preference item in the 'User - 6th Form Students Policy {E03166E7-A848-48B5-AA93-97B848AA9C13}' Group Policy object did not apply because it failed with error code '0x80070003 The system cannot find the path specified.' This error was suppres

    I am looking at an issue with users not getting specific group policies. 
    After searching a number of client computers I found that the following error
    The user '*' preference item in the 'User - 6th Form Students Policy {E03166E7-A848-48B5-AA93-97B848AA9C13}' Group Policy object did not apply because it failed with error code '0x80070003 The system cannot find the path specified.' This error was suppressed.
    I can find the folder in the Sysvol folder on all of the domain controllers. 
    The issue with end users seems to be that the proxy settings for internet explorer is not being applied. 
    Potential problems?
    one folder in sysvol entry is empty 
    \\<server>\SYSVOL\<domain.name>\Policies\{E03166E7-A848-48B5-AA93-97B848AA9C13}\User\microsoft\IEAK\LOCK
    or is this our issue
    The old method of configuring proxy settings  to Internet Explorer 9 has changed?
    https://support2.microsoft.com/kb/2530309?wa=wsignin1.0 
    http://thommck.wordpress.com/2013/11/08/the-new-way-to-configure-internet-explorer-proxy-settings-with-group-policy/

    Hi all 
    In administering this policy I am a little confused. 
    We have a policy that distributes proxy settings in the internet explorer maintenance settings section - however when opening this policy up in GPO editor the internet explorer maintenance section is not present.
    I plan to apply the settings via User/preferences/control panel settings/ internet settings (or registry settings from article) however I am unable to edit the settings for internet explorer maintenance and these will persist. Ideas????

  • SCCM 2012 CU2 OSD forest trust: ReleaseRequest failed with error code 0x87d00317

    Hello,
    Actually i have a difficult Problem with my SCCM 2012 R2 CU2 Windows 7 x64 SP1 Tasksequence:
    I get the folowing error in smsts.log:
    ::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,811) TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    GetTsRegValue() is unsuccessful. 0x80070002. TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    End program:  TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Finalize logging request ignored from process 1736 TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Waiting for CcmExec service to be fully operational TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    CcmExec service is up and fully operational TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Access handle will be read from _SMSTSActiveRequestHandle TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Access handle: {B699D570-B2BF-4874-8CB7-3B208B380969} TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Attempting to release request using {B699D570-B2BF-4874-8CB7-3B208B380969} TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    CoCreateInstance succeeded TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    pISoftwareExecutionRequestMgr->ReleaseRequest(ActiveRequestGUID), HRESULT=87d00317 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanagerutils.cpp,136) TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    ReleaseRequest failed with error code 0x87d00317 TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Task Sequence Manager could not release active TS request. code 87D00317 TSManager 9/5/2014 1:20:35 PM 1740 (0x06CC)
    Here is the complete smsts.log: http://1drv.ms/1pwTEBf
    To explain the Problem in Detail:
    The SCCM Primary Site Server and the Clients are in different trusted (bidirectional) forests!
    Everythings working fine in this Scenario, I can install SCCM Agent on the Clients with Manual ccmsetup and with Client Push Installation. Additionally i can deploy Software Updates and so on... only OSD is crashing in the releaserequest step.
    During my Tasksequence new Clients are joined to Domain A while SCCM Primary Site Server is installed in Domain B
    If I change my TS and let the Clients also join Domain B everything works without any Problems and the Tasksequence finish without any Errors.
    My Problem must be related to the different Domains and the forest trust.
    My Setup:
    MP published to DNS in both domains
    Schema Extended in both domains
    System Management Container published and verified in both domains
    ccmsetup Parameters in TS: ccmsetup SMSMP=sccm.domain.b FSP=sccm.domain.b DNSSUFFIX=Domain.b
    Network Access account configured with Domain B account
    Domain Join account has create Computer rights on the OU in Domain A (Domain join is successful)
    DNs conditional forwarders configured in both Domains and DNS resolutin is working in both directions
    Any suggestions?
    Many thanks.
    regards,
    Christian

    Hi Christian,
    So do you actual get an error message in your TS or is it just failing to join Domain B?  (Could be both if the machines fails to join the domain).
    Can you review netsetup.log on the machines after the issue and see what error message you might be getting during the domain join process?
    Also, if it a domain join issue, can you try manually joining to domain B using the same service account?

  • Error: The AcquireConnection method call to the connection manager failed with error code 0xC0202009 using DB2 connection

    I have a SSIS project that I am newly running on the SQL server (2005) .  It was previously run on my PC.  I am importing data from a DB2 server to the SQL server.
    I am in the SA group on the server
    My connection to DB2 works
    When open the package and run it in preview mode, I can retrieve the data.
    When I execute the package I get the below errors:
    [MIDAS OLE DB Source [1]] Error: The AcquireConnection method call to the connection manager "NGMDSPA.alharris" failed with error code 0xC0202009.
    [DTS.Pipeline] Error: component "MIDAS OLE DB Source" (1) failed validation and returned error code 0xC020801C.
    What I have already done that has not worked:
    The original Protection level was set to EncryptSensitiveWithPassword. 
    I have reset the Package Password.
    I have set the protection level to DontSaveSensitive
    I saved the package on the server and set a Package Password.
    I created a new package, set the Protection level to DontSaveSensitive, set a package password in a configuration file using the Package Configuration Wizard.
    Error continues

    Yes.  The Drivers are installed and I have a successfull connection.  I am trouble shooting the issue on the server in BIDS.  I can connect to the DB2 server via the Connectionmanager.  I can also preview the data in the OLE
    DB source connection.  Therefore I know that I have a proper connection
    If you're setting option as DontSaveSensitive then you need to pass the connection information from configuration file/ config table. Otherwise it wont be able to use it for connecting to your source/destination servers. This is the recommended way as it
    will enable you to change connection info at runtime.
    If you want connection info to persist you need to use protection level as EncryptSensitiveUsingUserKey or EncryptSensitiveUsingPassword and set a password.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Execution failed with error code 1

    I am developing a simple Hello Server Application using the latest Netbeans 7.0 (Full Version that includes J2SE, J2ME,...etc). The code compiles fine and runs great on a Windows 7 SP1 (32-bit) just fine. but when trying to run it on a Windows 7 SP1 (64-bit) Windows, I get the following error:
    Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/E%3A/Development/NetBeansProjects/HelloServer/dist//HelloServer.jad
    Starting emulator in execution mode
    E:\Development\NetBeansProjects\HelloServer\nbproject\build-impl.xml:915: Execution failed with error code 1.
    BUILD FAILED (total time: 0 seconds)
    the content of build-impl.xml:915 is:
    <nb-run jadfile="${dist.dir}/${dist.jad}" jarfile="${dist.dir}/${dist.jar}" jadurl="${dist.jad.url}" device="${platform.device}" platformhome="${platform.home}" platformtype="${platform.type}" execmethod="${run.method}" securitydomain="${evaluated.run.security.domain}" commandline="${platform.runcommandline}" classpath="${platform.bootclasspath}:${dist.dir}/${dist.jar}" cmdoptions="${run.cmd.options}"/>
    This makes me believe that it is something related to 32/64 bit Java Platform for Windows. I have searched the net, and some posts suggest uninstalling Java 64-bit version for Windows and use 32-bit version instead? Is this true? if it is then we have a serious JAVA bug problem if not, I would like to get pointers on how to solve this problem. Thanks.

    It seems that indeed this has to do with the 64-bit JAVA platform version as well as the DEP protection on Windows 7. I will try to reproduce the error systematically and see how it goes.

  • What is this? Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE._

    hi    This event is logged in SharePoint 2010 logs often please help trace the issue also it precedes with Project server WCF code execution which alos is quite slow in execution, means PWA site runing slow. why does status read
    provisioning while i am not running anything.
    please help!!!
    10/03/2011 14:39:23.46 w3wp.exe (0x306C)                      
    0x2FC4
    SharePoint Foundation         Topology                      
    e5mc Medium  
    WcfSendRequest: RemoteAddress: 'http://moss:32843/a667a0a96d314e5e9e6c8fe4866c5db4/PSI/PWA.svc' Channel: 'Microsoft.Office.Project.Server.Interfaces.IPWA' Action: 'http://schemas.microsoft.com/office/project/server/webservices/PWA/AdminReadSiteMapTyped'
    MessageId: 'urn:uuid:0751dbdd-76c0-4410-ac73-2f1782e1513b'
    91b87b3b-e9ad-43b9-9e8c-e553ba7e2f6c
    10/03/2011 14:39:23.46 w3wp.exe (0x1B58)                      
    0x1BA0
    SharePoint Foundation         Topology                      
    e5mb Medium  
    WcfReceiveRequest: LocalAddress: 'http://moss.ccl.local:32843/a247f7273c09486999c9f111798cab59/ProfilePropertyService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://Microsoft.Office.Server.UserProfiles/GetProfileProperties'
    MessageId: 'urn:uuid:772a5c58-c0e4-4b0f-9142-f634fee413a9'
    3cd5bfa5-2e40-458e-9718-788887b44dbe
    10/03/2011 14:39:23.46 w3wp.exe (0x1B58)                      
    0x1BA0
    SharePoint Foundation         Monitoring                    
    nasq Medium  
    Entering monitored scope (ExecuteWcfServerOperation)
    3cd5bfa5-2e40-458e-9718-788887b44dbe
    10/03/2011 14:39:23.64 w3wp.exe (0x1B58)                      
    0x1BA0
    SharePoint Foundation         Monitoring                    
    b4ly Medium  
    Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=179.589584709789
    3cd5bfa5-2e40-458e-9718-788887b44dbe
    10/03/2011 14:39:23.64 w3wp.exe (0x306C)                      
    0x3170
    SharePoint Foundation         Monitoring                    
    b4ly High    
    Leaving Monitored Scope (ExecuteWcfOperation:http://Microsoft.Office.Server.UserProfiles/GetProfileProperties). Execution Time=205.109867315539
    10/03/2011 14:39:23.64 w3wp.exe (0x306C)                      
    0x3170
    SharePoint Foundation         Monitoring                    
    b4ly High    
    Leaving Monitored Scope (ExecuteOnChannel:GetProfileProperties). Execution Time=206.500546857212
    10/03/2011 14:39:23.74 Microsoft.Office.Project.Server (0x0DAC)
    0x0FA8 Project Server                
    Provisioning                  
    8zdn Medium  
    [SERVICE] ProjectQueueService14: Getting list of Sites for ServiceApp: a667a0a9-6d31-4e5e-9e6c-8fe4866c5db4
    10/03/2011 14:39:23.74 Microsoft.Office.Project.Server (0x0DAC)
    0x0FA8 Project Server                
    Provisioning                  
    128v Medium  
    [SERVICE] ProjectQueueService14: Adding Site: ef3acaf4-3e7a-4819-80e0-8e7a85ca417b to sitelist for ServiceApp: a667a0a9-6d31-4e5e-9e6c-8fe4866c5db4
    10/03/2011 14:39:23.77 Microsoft.Office.Project.Server (0x0CD4)
    0x0FA4 Project Server                
    Provisioning                  
    8zdn Medium  
    [SERVICE] ProjectEventService14: Getting list of Sites for ServiceApp: a667a0a9-6d31-4e5e-9e6c-8fe4866c5db4
    10/03/2011 14:39:23.77 Microsoft.Office.Project.Server (0x0CD4)
    0x0FA4 Project Server                
    Provisioning                  
    128v Medium  
    [SERVICE] ProjectEventService14: Adding Site: ef3acaf4-3e7a-4819-80e0-8e7a85ca417b to sitelist for ServiceApp: a667a0a9-6d31-4e5e-9e6c-8fe4866c5db4
    10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)            
    0x300C SharePoint Foundation        
    General                      
    84yj Medium  
    Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)            
    0x300C SharePoint Foundation        
    Sandboxed Code Service        
    ei0p Monitorable
    - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc)     at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError)     at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32
    retry, Int32 retryInterval)     at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading perf counters for process "SPUCWorkerProcess".
    10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)            
    0x300C SharePoint Foundation        
    General                      
    84yj Medium  
    Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)            
    0x300C SharePoint Foundation        
    Sandboxed Code Service        
    ei0p Monitorable
    - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc)     at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError)     at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32
    retry, Int32 retryInterval)     at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading perf counters for process "SPUCWorkerProcess".
    10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)            
    0x300C SharePoint Foundation        
    General                      
    84yj Medium  
    Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.

    Hi there,
    A quick search showed the result on fourm thread:
    It's related to SHarePoint foundation error & this issue occurs when the account under which SPUserCodeService is configured to run does not have the necessary permissions to access the performance counters on the server.
    http://social.technet.microsoft.com/Forums/eu/sharepoint2010setup/thread/9fbcf2a3-1b1f-4fd8-a9b4-dc63ed753973
    To read in support article.
    http://support.microsoft.com/kb/983081Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

  • Preverification failed with error code 1. BUILD FAILED

    Hallo Oracle,
    Am learning my first J2me application and when i build it am getting this error. can some one help me understand what it means
    Created dir: C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverifysrc
    Copying 1957 files to C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverifysrc
    Created dir: C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverified
    Preverifying 1957 file(s) into C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverified directory.
    Error preverifying class com.sun.activation.registries.MailcapFile
        VERIFIER ERROR com/sun/activation/registries/MailcapFile
    .<init>(Ljava/lang/String;)V:
    Cannot find class java/util/Map
    C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\nbproject\build-impl.xml:431: Preverification failed with error code 1.
    BUILD FAILED (total time: 25 seconds)
    this is the contents of build-impx.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** -->
    <project name="watsdownapp-impl" default="jar" basedir="..">
        <!--load-properties-->
        <target name="pre-load-properties">
            <property file="nbproject/private/private.properties"/>
            <property name="user.properties.file" location="${netbeans.user}/build.properties"/>
            <available property="user.properties.file.exists" file="${user.properties.file}"/>
        </target>
        <target name="exists.config.active" unless="config.active">
            <echo level="warning" message="Active configuration (config.active property) is not set - using default."/>
            <property value="" name="config.active"/>
        </target>
        <target name="exists.netbeans.user" unless="netbeans.user">
            <echo level="warning" message="NetBeans IDE user directory (netbeans.user property) is not set. By specifying this property many properties required by the project will be automatically evaluated (e.g.: ant-ext library home, ...). You could also open this project in the NetBeans IDE - in this case this property would be set automatically."/>
        </target>
        <target name="exists.user.properties.file" unless="user.properties.file.exists">
            <echo level="warning" message="User properties file (user.properties.file) property is not set. By specifying this property many properties required by the project will be automatically evaluated (e.g.: libraries, platforms, ...)."/>
        </target>
        <target name="load-properties" depends="pre-load-properties,exists.config.active,exists.netbeans.user,exists.user.properties.file">
            <loadproperties srcfile="nbproject/project.properties">
                <filterchain>
                    <containsregex pattern="^configs\.${config.active}\.(.*)" replace="\1"/>
                    <concatfilter prepend="nbproject/project.properties"/>
                    <containsregex pattern="^platform.active=|^deployment.method=|^deployment.instance="/>
                </filterchain>
            </loadproperties>
            <property name="deployment.instance" value="default"/>
            <loadproperties srcfile="${user.properties.file}">
                <filterchain>
                    <replaceregex pattern="^platforms\.${platform.active}\." replace="platform."/>
                    <replaceregex pattern="^deployment\.${deployment.method}\.scriptfile=" replace="deployment.scriptfile="/>
                    <replaceregex pattern="^deployments\.${deployment.method}\.${deployment.instance}\.([^=]+)=" replace="\1="/>
                </filterchain>
            </loadproperties>
            <loadproperties srcfile="nbproject/project.properties">
                <filterchain>
                    <containsregex pattern="^configs\.${config.active}\.(.*)" replace="\1"/>
                    <concatfilter prepend="nbproject/project.properties"/>
                </filterchain>
            </loadproperties>
        </target>
        <!--basic-init-->
        <target name="exists.platform.active" unless="platform.active">
            <echo level="warning" message="Active platform (platform.active property) in not set. If you set this and user.properties.file property, many properties required by the project will be automatically evaluated (e.g.: platform home, platform classpath, ...)."/>
        </target>
        <target name="exists.platform.configuration" unless="platform.configuration">
            <echo level="warning" message="Platform configuration (platform.configuration) is not set. Using default (CLDC-1.0) configuration."/>
            <property name="platform.configuration" value="CLDC-1.0"/>
        </target>
        <target name="exists.platform.profile" unless="platform.profile">
            <echo level="warning" message="Platform profile (platform.profile) is not set. Using default (MIDP-1.0) profile."/>
            <property name="platform.profile" value="MIDP-1.0"/>
        </target>
        <target name="basic-init" depends="exists.platform.active,exists.platform.configuration,exists.platform.profile">
            <fail unless="libs.j2me_ant_ext.classpath">Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set. For example: location of mobility/modules/org-netbeans-mobility-antext.jar file in the IDE installation directory.</fail>
            <fail unless="platform.home">Platform home (platform.home property) is not set. Value of this property should be ${platform.active.description} emulator home directory location.</fail>
            <fail unless="platform.bootclasspath">Platform boot classpath (platform.bootclasspath property) is not set. Value of this property should be ${platform.active.description} emulator boot classpath containing all J2ME classes provided by emulator.</fail>
            <fail unless="src.dir">Must set src.dir</fail>
            <fail unless="build.dir">Must set build.dir</fail>
            <fail unless="dist.dir">Must set dist.dir</fail>
            <fail unless="dist.jar">Must set dist.jar</fail>
            <property name="javac.source" value="1.3"/>
            <property name="javac.target" value="1.1"/>
            <property name="javac.encoding" value="${file.encoding}"/>
            <property name="deployment.number" value="0.0.1"/>
            <property name="deployment.counter" value="000002"/>
            <condition property="no.deps">
                <istrue value="${no.dependencies}"/>
            </condition>
            <condition property="no.preprocess">
                <isfalse value="${use.preprocessor}"/>
            </condition>
            <condition property="no.javadoc.preview">
                <isfalse value="${javadoc.preview}"/>
            </condition>
            <condition property="filter.excludes.evaluated" value="${filter.excludes},${filter.more.excludes},**/*Test.java,**/test,**/test/**">
                <istrue value="${filter.exclude.tests}"/>
            </condition>
            <property name="filter.excludes.evaluated" value="${filter.excludes},${filter.more.excludes}"/>
            <condition property="deployment.do.override.jarurl" value="">
                <istrue value="${deployment.override.jarurl}"/>
            </condition>
            <condition property="config.active.name" value="DefaultConfiguration">
                <length string="${config.active}" trim="true" length="0"/>
            </condition>
            <property name="config.active.name" value="${config.active}"/>
            <taskdef resource="org/netbeans/mobility/antext/defs.properties">
                <classpath>
                    <pathelement path="${libs.j2me_ant_ext.classpath}"/>
                </classpath>
            </taskdef>
            <condition property="skip.deployment">
                <equals arg1="${deployment.method}" arg2="NONE" casesensitive="false" trim="true"/>
            </condition>
            <condition property="app-version.autoincrement.trigger">
                <istrue value="${app-version.autoincrement}"/>
            </condition>
            <condition property="debug.timeout" value="30000">
                <or>
                    <equals arg1="${debugger.timeout}" arg2="" trim="true"/>
                    <not>
                        <isset property="debugger.timeout"/>
                    </not>
                </or>
            </condition>
            <property name="debug.timeout" value="${debugger.timeout}"/>
            <nb-overrideproperty name="buildsystem.baton" value="${src.dir}"/>
        </target>
        <!--cldc-init-->
        <target name="cldc-pre-init">
            <condition property="cldc-platform.trigger">
                <equals arg1="CLDC" arg2="${platform.trigger}" casesensitive="false"/>
            </condition>
        </target>
        <target name="cldc-init" depends="cldc-pre-init" if="cldc-platform.trigger">
            <property name="preverify.sources.dir" location="${build.dir}/preverifysrc"/>
            <property name="manifest.build.file" location="${build.dir}/manifest.mf"/>
            <property name="platform.device" value=""/>
            <property name="dist.jad.url" value="file://"/>
            <property name="run.cmd.options" value=""/>
            <condition property="evaluated.run.security.domain" value="">
                <isfalse value="${run.use.security.domain}"/>
            </condition>
            <property name="evaluated.run.security.domain" value="${run.security.domain}"/>
            <condition property="override.jarurl.trigger">
                <and>
                    <istrue value="${cldc-platform.trigger}"/>
                    <istrue value="${deployment.override.jarurl}"/>
                </and>
            </condition>
            <property name="deployment.jad" location="${dist.dir}/${dist.jad}"/>
            <property name="deployment.jar" location="${dist.dir}/${dist.jar}"/>
            <property name="deployment.dir" location="${dist.dir}"/>
            <patternset id="deployment.patternset">
                <include name="${dist.jad}"/>
                <include name="${dist.jar}"/>
            </patternset>
        </target>
        <!--cdc-init-->
        <target name="cdc-init">
            <condition property="cdc-platform.trigger">
                <equals arg1="CDC" arg2="${platform.trigger}" casesensitive="false"/>
            </condition>
            <available file="${manifest.file}" property="manifest.available"/>
            <condition property="main.class.applet">
                <equals arg1="${main.class.class}" arg2="applet" casesensitive="false"/>
            </condition>
            <condition property="main.class.xlet">
                <equals arg1="${main.class.class}" arg2="xlet" casesensitive="false"/>
            </condition>
            <condition property="manifest.available+main.class+fat.jar">
                <and>
                    <isset property="manifest.available"/>
                    <isset property="main.class"/>
                    <istrue value="${platform.fat.jar}"/>
                    <not>
                        <equals arg1="${main.class}" arg2="" trim="true"/>
                    </not>
                </and>
            </condition>
            <condition property="manifest.available+main.class">
                <and>
                    <isset property="manifest.available"/>
                    <isset property="main.class"/>
                    <isfalse value="${platform.fat.jar}"/>
                    <not>
                        <equals arg1="${main.class}" arg2="" trim="true"/>
                    </not>
                </and>
            </condition>
            <condition property="application.version.invalid" value="true">
                <equals arg1="${deployment.number}" arg2="" trim="true"/>
            </condition>
            <fail if="application.version.invalid" message="Property deployment.number must not be empty and must contain version in format %d.%d.%d!"/>
            <condition property="sign.jar.trigger" value="true">
                <and>
                    <isset property="cdc-platform.trigger"/>
                    <istrue value="${sign.enabled}"/>
                </and>
            </condition>
        </target>
        <!--semc-init-->
        <target name="semc-pre-init" if="cdc-platform.trigger">
            <condition property="semc-platform.trigger">
                <equals arg1="semc" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="semc-init" depends="semc-pre-init" if="semc-platform.trigger">
            <condition property="semc.icon.invalid" value="true">
                <or>
                    <contains string="${semc.application.icon}" substring="$${"/>
                    <equals arg1="${semc.application.icon}" arg2="" trim="true"/>
                </or>
            </condition>
            <condition property="no.certificateorkey" value="true">
                <or>
                    <isset property="no.application.uid"/>
                    <equals arg1="${semc.certificate.path}" arg2="" trim="true"/>
                    <contains string="${semc.certificate.path}" substring="$${semc.certificate.path"/>
                    <equals arg1="${semc.private.key.path}" arg2="" trim="true"/>
                    <contains string="${semc.private.key.path}" substring="$${semc.private.key.path"/>
                </or>
            </condition>
            <property name="j9.dist" location="${build.dir}/j9/${semc.application.uid}.j9"/>
            <taskdef resource="org/netbeans/modules/j2me/cdc/project/defs.properties">
                <classpath>
                    <pathelement path="${libs.cdc-ant-utils.classpath}"/>
                </classpath>
            </taskdef>
            <taskdef resource="org/netbeans/modules/j2me/cdc/project/semc/defs.properties">
                <classpath>
                    <pathelement path="${libs.semc-ant-utils.classpath}"/>
                </classpath>
            </taskdef>
            <property name="deployment.dir" location="${dist.dir}"/>
            <patternset id="deployment.patternset">
                <include name="*.sis"/>
                <include name="*.SIS"/>
            </patternset>
        </target>
        <!--savaje-init-->
        <target name="savaje-pre-init" if="cdc-platform.trigger">
            <condition property="savaje-platform.trigger">
                <equals arg1="savaje" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="savaje-init" depends="savaje-pre-init" if="savaje-platform.trigger">
            <property name="savaje.application.uid" value="TBD"/>
            <condition property="savaje.bundle.base.invalid" value="true">
                <or>
                    <equals arg1="${savaje.bundle.base}" arg2="" trim="true"/>
                    <contains string="${savaje.bundle.base}" substring="$${savaje.bundle.base"/>
                </or>
            </condition>
            <condition property="savaje.unsupported.main" value="true">
                <or>
                    <equals arg1="${main.class.applet}" arg2="true"/>
                </or>
            </condition>
            <condition property="savaje.icon.invalid" value="true">
                <or>
                    <isset property="no.application.uid"/>
                    <contains string="${savaje.application.icon}" substring="$${"/>
                    <equals arg1="${savaje.application.icon}" arg2="" trim="true"/>
                </or>
            </condition>
            <property name="jnlp.dist" value="${build.dir}/jnlp/bundle.jnlp"/>
            <property name="deployment.dir" location="${dist.dir}"/>
            <patternset id="deployment.patternset">
                <include name="bundle.jnlp"/>
                <include name="bundle.policy"/>
                <include name="lib/*"/>
            </patternset>
        </target>
        <!--sjmc-init-->
        <target name="sjmc-pre-init" if="cdc-platform.trigger">
            <condition property="sjmc-platform.trigger">
                <equals arg1="sjmc" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="sjmc-init" depends="sjmc-pre-init" if="sjmc-platform.trigger"/>
        <!--ojec-init-->
        <target name="ojec-pre-init" if="cdc-platform.trigger">
            <condition property="ojec-platform.trigger">
                <equals arg1="ojec" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="ojec-init" depends="ojec-pre-init" if="ojec-platform.trigger"/>
        <!--cdc-hi-init-->
        <target name="cdc-hi-pre-init" if="cdc-platform.trigger">
            <condition property="cdc-hi-platform.trigger">
                <equals arg1="cdc-hi" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="cdc-hi-init" depends="cdc-hi-pre-init" if="cdc-hi-platform.trigger"/>
        <!--nokiaS80-init-->
        <target name="nokiaS80-pre-init" if="cdc-platform.trigger">
            <condition property="nokiaS80-platform.trigger">
                <equals arg1="nokiaS80" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="nokiaS80-init" depends="nokiaS80-pre-init" if="nokiaS80-platform.trigger">
            <property name="j9.dist" location="${build.dir}/j9/NOKIA.j9"/>
            <property name="manifest.build.file" location="${build.dir}/manifest.mf"/>
            <condition property="nokia.icon.invalid">
                <or>
                    <contains string="${nokiaS80.application.icon}" substring="$${"/>
                    <equals arg1="${nokiaS80.application.icon}" arg2="" trim="true"/>
                </or>
            </condition>
            <property name="deployment.dir" location="${dist.dir}"/>
            <patternset id="deployment.patternset">
                <include name="${dist.jar}"/>
            </patternset>
        </target>
        <!--init-->
        <target name="pre-init"/>
        <target name="post-init"/>
        <target name="init" depends="pre-init,load-properties,basic-init,cldc-init,cdc-init,semc-init,savaje-init,sjmc-init,ojec-init,cdc-hi-init,nokiaS80-init,post-init"/>
        <!--conditional clean-->
        <target name="conditional-clean-init">
            <uptodate property="no.clean.before.build" targetfile="${build.dir}/.timestamp">
                <srcfiles dir="nbproject">
                    <include name="project.properties"/>
                    <include name="build-impl.xml"/>
                </srcfiles>
            </uptodate>
        </target>
        <target name="conditional-clean" depends="init,conditional-clean-init" unless="no.clean.before.build" description="Clean project in case its meta information has changed.">
            <antcall target="do-clean" inheritall="true" inheritrefs="true"/>
        </target>
        <!--deps-jar-->
        <target name="deps-jar" depends="conditional-clean" unless="no.deps"/>
        <!--preprocess-->
        <target name="pre-preprocess"/>
        <target name="do-preprocess" unless="no.preprocess">
            <fail unless="preprocessed.dir">Must set preprocessed.dir</fail>
            <property name="abilities" value=""/>
            <property name="debug.level" value="debug"/>
            <mkdir dir="${preprocessed.dir}"/>
            <echo message="ignore me" file="${build.dir}/.timestamp"/>
            <nb-prep destdir="${preprocessed.dir}" preprocessfor="${config.active.name},${abilities},DebugLevel=${debug.level}" encoding="${javac.encoding}">
                <fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated}"/>
            </nb-prep>
            <copy todir="${preprocessed.dir}">
                <fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated},${build.classes.excludes}"/>
            </copy>
            <nb-overrideproperty name="buildsystem.baton" value="${preprocessed.dir}"/>
        </target>
        <target name="post-preprocess"/>
        <target name="preprocess" depends="deps-jar,pre-preprocess,do-preprocess,post-preprocess" description="Preprocess project sources."/>
        <!--compile-->
        <target name="pre-compile"/>
        <target name="do-compile">
            <fail unless="build.classes.dir">Must set build.classes.dir</fail>
            <mkdir dir="${build.classes.dir}"/>
            <javac includeantruntime="false" source="${javac.source}" target="${javac.target}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" debug="${javac.debug}" destdir="${build.classes.dir}" srcdir="${buildsystem.baton}" bootclasspath="${platform.bootclasspath}" encoding="${javac.encoding}">
                <classpath>
                    <path path="${libs.classpath}"/>
                </classpath>
            </javac>
            <copy todir="${build.classes.dir}">
                <fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated},${build.classes.excludes}"/>
            </copy>
            <nb-overrideproperty name="buildsystem.baton" value="${build.classes.dir}"/>
        </target>
        <target name="extract-libs" description="Extracts all bundled libraries.">
            <mkdir dir="${build.classes.dir}"/>
            <nb-extract dir="${build.classes.dir}" excludeManifest="true" classpath="${libs.classpath}" excludeclasspath="${extra.classpath}"/>
        </target>
        <target name="post-compile"/>
        <target name="compile" depends="preprocess,pre-compile,extract-libs,do-compile,post-compile" description="Compile project classes."/>
        <!--compile-single-->
        <target name="pre-compile-single"/>
        <target name="do-compile-single">
            <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
            <mkdir dir="${build.classes.dir}"/>
            <javac includeantruntime="false" source="${javac.source}" target="${javac.target}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" debug="${javac.debug}" srcdir="${buildsystem.baton}" destdir="${build.classes.dir}" bootclasspath="${platform.bootclasspath}" includes="${javac.includes}" encoding="${javac.encoding}">
                <classpath>
                    <path path="${libs.classpath}"/>
                </classpath>
            </javac>
        </target>
        <target name="post-compile-single"/>
        <target name="compile-single" depends="preprocess,pre-compile-single,do-compile-single,post-compile-single" description="Compile selected project classes."/>
        <!--proguard-->
        <target name="proguard-init" description="Up-to-date check before obfuscation.">
            <property name="obfuscation.level" value="0"/>
            <condition property="no.obfusc">
                <or>
                    <equals arg1="${obfuscation.level}" arg2="0"/>
                    <uptodate targetfile="${obfuscator.destjar}">
                        <srcfiles dir="${buildsystem.baton}"/>
                    </uptodate>
                </or>
            </condition>
            <uptodate property="obfuscation.up-to-date" targetfile="${obfuscator.destjar}">
                <srcfiles dir="${buildsystem.baton}"/>
            </uptodate>
        </target>
        <target name="skip-obfuscation" depends="proguard-init" if="obfuscation.up-to-date">
            <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
            <nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
        </target>
        <target name="proguard" depends="skip-obfuscation" description="Obfuscate project classes." unless="no.obfusc">
            <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
            <fail unless="obfuscator.srcjar">Must set obfuscator.srcjar</fail>
            <fail unless="obfuscator.destjar">Must set obfuscator.destjar</fail>
            <property name="obfuscator.classpath" value=""/>
            <dirname file="${obfuscator.srcjar}" property="obfuscator.srcjar.dir"/>
            <dirname file="${obfuscator.destjar}" property="obfuscator.destjar.dir"/>
            <mkdir dir="${obfuscator.srcjar.dir}"/>
            <mkdir dir="${obfuscator.destjar.dir}"/>
            <jar jarfile="${obfuscator.srcjar}" basedir="${buildsystem.baton}"/>
            <property name="obfuscation.custom" value=""/>
            <nb-obfuscate srcjar="${obfuscator.srcjar}" destjar="${obfuscator.destjar}" obfuscatorclasspath="${obfuscator.classpath}" classpath="${platform.bootclasspath}:${extra.classpath}" obfuscationLevel="${obfuscation.level}" extraScript="${obfuscation.custom}"/>
            <mkdir dir="${obfuscated.classes.dir}"/>
            <unjar src="${obfuscator.destjar}" dest="${obfuscated.classes.dir}"/>
            <nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
        </target>
        <!--obfuscate-->
        <target name="pre-obfuscate"/>
        <target name="post-obfuscate"/>
        <target name="obfuscate" depends="compile,pre-obfuscate,proguard,post-obfuscate" description="Obfuscate project classes."/>
        <!--lwuit-build-->
        <import file="lwuit.xml" optional="true"/>
        <target name="-lwuit-check">
            <condition property="lwuit.allowed">
                <and>
                    <available file="nbproject/lwuit.xml"/>
                    <isset property="is.mesdk_lwuit"/>
                </and>
            </condition>
        </target>
        <target name="-pre-lwuit-build" depends="-lwuit-check" if="lwuit.allowed"/>
        <target name="-lwuit-build" depends="-lwuit-check" if="lwuit.allowed">
            <antcall target="lwuit_build"/>
        </target>
        <target name="-post-lwuit-build" depends="-lwuit-check" if="lwuit.allowed"/>
        <target name="lwuit-build" depends="-lwuit-check,-pre-lwuit-build, -lwuit-build, -post-lwuit-build" if="lwuit.allowed"/>
        <!--preverify-->
        <target name="pre-preverify"/>
        <target name="do-preverify" if="cldc-platform.trigger">
            <fail unless="preverify.classes.dir">Must set preverify.classes.dir</fail>
            <mkdir dir="${preverify.sources.dir}"/>
            <copy todir="${preverify.sources.dir}">
                <fileset dir="${buildsystem.baton}" includes="**/*.class"/>
            </copy>
            <mkdir dir="${preverify.classes.dir}"/>
            <nb-preverify srcdir="${preverify.sources.dir}" destdir="${preverify.classes.dir}" classpath="${platform.bootclasspath}:${extra.classpath}" configuration="${platform.configuration}" platformhome="${platform.home}" platformtype="${platform.type}" commandline="${platform.preverifycommandline}"/>
            <copy todir="${preverify.classes.dir}">
                <fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated},${build.classes.excludes}"/>
            </copy>
            <nb-overrideproperty name="buildsystem.baton" value="${preverify.classes.dir}"/>
        </target>
        <target name="post-preverify"/>
        <target name="preverify" depends="obfuscate,lwuit-build,pre-preverify,do-preverify,post-preverify" description="Preverify project classes."/>
        <!--set-password-->
        <target name="set-password-init">
            <property name="sign.enabled" value="false"/>
            <condition property="skip-sign-keystore-password-input">
                <or>
                    <isfalse value="${sign.enabled}"/>
                    <and>
                        <isset property="sign.keystore"/>
                        <isset property="sign.keystore.password"/>
                        <not>
                            <equals arg1="${sign.keystore}" arg2="" trim="true"/>
                        </not>
                        <not>
                            <equals arg1="${sign.keystore.password}" arg2="" trim="true"/>
                        </not>
                    </and>
                </or>
            </condition>
            <condition property="skip-sign-alias-password-input">
                <or>
                    <isfalse value="${sign.enabled}"/>
                    <and>
                        <isset property="sign.keystore"/>
                        <isset property="sign.alias"/>
                        <isset property="sign.alias.password"/>
                        <not>
                            <equals arg1="${sign.keystore}" arg2="" trim="true"/>
                        </not>
                        <not>
                            <equals arg1="${sign.alias}" arg2="" trim="true"/>
                        </not>
                        <not>
                            <equals arg1="${sign.alias.password}" arg2="" trim="true"/>
                        </not>
                    </and>
                </or>
            </condition>
        </target>
        <target name="set-keystore-password" if="netbeans.home" unless="skip-sign-keystore-password-input">
            <nb-enter-password keystore="${sign.keystore}" passwordproperty="sign.keystore.password"/>
        </target>
        <target name="set-alias-password" if="netbeans.home" unless="skip-sign-alias-password-input">
            <nb-enter-password keystore="${sign.keystore}" keyalias="${sign.alias}" passwordproperty="sign.alias.password"/>
        </target>
        <target name="set-password" depends="set-password-init,set-keystore-password,set-alias-password"/>
        <!--create JAD-->
        <target name="add-configuration" unless="contains.manifest.configuration">
            <nb-output file="${dist.dir}/${dist.jad}" encoding="UTF-8" append="true">MicroEdition-Configuration: ${platform.configuration}
    </nb-output>
            <nb-output file="${manifest.build.file}" encoding="UTF-8" append="true">MicroEdition-Configuration: ${platform.configuration}
    </nb-output>
        </target>
        <target name="add-profile" unless="contains.manifest.profile">
            <nb-output file="${dist.dir}/${dist.jad}" encoding="UTF-8" append="true">MicroEdition-Profile: ${platform.profile}
    </nb-output>
            <nb-output file="${manifest.build.file}" encoding="UTF-8" append="true">MicroEdition-Profile: ${platform.profile}
    </nb-output>
        </target>
        <target name="create-jad" if="cldc-platform.trigger">
            <fail unless="dist.jad">Must set dist.jad</fail>
            <mkdir dir="${build.dir}"/>
            <dirname file="${dist.dir}/${dist.jad}" property="dist.jad.dir"/>
            <mkdir dir="${dist.jad.dir}"/>
            <condition property="evaluated.manifest.apipermissions" value="${manifest.apipermissions}">
                <not>
                    <equals arg1="${platform.profile}" arg2="MIDP-1.0"/>
                </not>
            </condition>
            <condition property="evaluated.manifest.pushregistry" value="${manifest.pushregistry}">
                <not>
                    <equals arg1="${platform.profile}" arg2="MIDP-1.0"/>
                </not>
            </condition>
            <condition property="contains.manifest.configuration">
                <contains substring="MicroEdition-Configuration: " string="${manifest.others}"/>
            </condition>
            <condition property="contains.manifest.profile">
                <contains substring="MicroEdition-Profile: " string="${manifest.others}"/>
            </condition>
            <property value="" name="evaluated.manifest.apipermissions"/>
            <property value="" name="evaluated.manifest.pushregistry"/>
            <property name="manifest.jad" value=""/>
            <property name="manifest.manifest" value=""/>
            <nb-output file="${dist.dir}/${dist.jad}" encoding="UTF-8">${manifest.midlets}${evaluated.manifest.apipermissions}${evaluated.manifest.pushregistry}${manifest.others}${manifest.jad}</nb-output>
            <nb-output file="${manifest.build.file}" encoding="UTF-8">${manifest.midlets}${evaluated.manifest.apipermissions}${evaluated.manifest.pushregistry}${manifest.others}${manifest.manifest}</nb-output>
            <antcall target="add-configuration" inheritall="true" inheritrefs="true"/>
            <antcall target="add-profile" inheritall="true" inheritrefs="true"/>
            <property name="manifest.available" value="true"/>
        </target>
        <!--do-extra-libs-->
        <target name="do-extra-libs" if="extra.classpath">
            <property name="dist.lib.dir" value="${dist.dir}/lib"/>
            <mkdir dir="${dist.lib.dir}"/>
            <copy todir="${dist.lib.dir}">
                <path path="${extra.classpath}"/>
                <flattenmapper/>
            </copy>
        </target>
        <!--nokiaS80-manifest-->
        <target name="nokiaS80-prepare-j9" if="nokiaS80-platform.trigger">
            <fail message="Main class is not set!">
                <condition>
                    <equals arg1="${main.class}" arg2="" trim="true"/>
                </condition>
            </fail>
            <mkdir dir="${build.dir}/j9"/>
            <taskdef name="j9builder" classname="org.netbeans.modules.j2me.cdc.project.J9Builder" classpath="${libs.cdc-ant-utils.classpath}"/>
            <j9builder jvmargs="${run.jvmargs}" mainclass="${main.class}" args="${application.args}" home="${platform.home}" dist="${j9.dist}" id="NOKIA" platform="${platform.type}" xlet="${main.class.xlet}" applet="${main.class.applet}" jarname="${dist.jar}"/>
            <copy file="${manifest.file}" tofile="${manifest.build.file}" failonerror="false"/>
            <property name="manifest.available" value="true"/>
            <loadfile property="nokia.manifest.j9" srcFile="${j9.dist}"/>
        </target>
        <target name="nokiaS80-prepare-manifest" depends="nokiaS80-prepare-j9" if="nokiaS80-platform.trigger" unless="nokia.icon.invalid">
            <pathconvert property="logo.icon.name" pathsep=" ">
                <path path="${nokiaS80.application.icon}"/>
                <chainedmapper>
                    <flattenmapper/>
                    <globmapper from="*" to="*"/>
                </chainedmapper>
        

    The error says class file is missing, you can try to clean and build.

  • Loadlibrary failed with error 126 the specified module could not be found

    Hello i get this error message at random when am using oracle sql developer, sometimes it comes right after startup, and some times after 5 mins.
    the error closes down the program
    please help

    Searching the web for "loadlibrary failed with error 126 java" seems to point to issues with OpenGL and certain video drivers and/or environments with multiple monitors. Here are several discussions...
    https://netbeans.org/bugzilla/show_bug.cgi?id=243153
    Error "LoadLibrary failed with error 126: The module could not - Microsoft Community
    [SOLVED] Issue with Technic Launcher: Load Library failed with Error 126 - Technic Launcher - Technic Forums
    So it seems this issue is not specific to SQL Developer. The last discussion includes a video link in its last post saying that ".dll" is searched for rather than "atioglxx.dll" on 32-bit systems or "atio6axx.dll" on 64-bit system (in the C:\Windows\system32 folder), so a workaround is to copy one of those to ".dll".

Maybe you are looking for

  • Updated iTunes and now can't remove songs from my iPod - please help

    I've updated iTunes to version 11.0.0.163 and have an iPod Nano 16gb 5th generation. In iTunes, I'm no longer able to manually select songs to remove them from my iPod - I can't even see the list of music that's on my iPod. The only option it gives m

  • How can i sync my work calendar from my iPhone 5 to my iMac using iCloud?

    We just updated to the Mountain Lion software on the iMac and now i would like to be able to look and even create new appointments on my caldendar on the iMac and see them on my iPhone. Is this possible??

  • ITunes not connecting to store - tried everything - here are my diagnostics

    Hi All I have looked through this forum to find answers as to why my iTunes 10 wasn't connecting to the store. So I uninstalled and installed older version. Here are my diagnostics Microsoft Windows 7 Home Premium Edition Service Pack 1 (Build 7601)

  • DW vs BC

    Are there templates in Dreamweaver for Privacy or Terms & conditions? Just bought CS5 to build my site. While looking for templates I found Business Catalyst. Should I have built my site in BC? Whats the difference in a sentence or two? Thanks for yo

  • Desicion table with duplicates entries BRFPlus

    Hi, I'm Trying in BRFPlus to make an expresion which could returns me as a result a table. I've choosen a Desicion table to determine this. Example: For one parameter I need the expresion to returns me a table. So I created several lines with the sam