How to resolve build error C1189: #error PS SDK CS6 VS2013 SampleCode/SimpleFormat plugin?

I have inherited a Photoshop CS6 format Plugin developed at my company.  This plugin was modeled after the SimpleFormat project found in the adobe_photoshop_cs6_sdk_win\pluginsdk\samplecode\format\simpleformat folder.
I believe the plugin was originally developed under Visual Studio 2010 and then ported to Visual Studio 2012 on the same machine.
The solution/project currently compiles in Visual Studio 2012 on the original machine.  The Project Properties General Platform toolset is set to Windows7.1SDK on the original machine.
I have a brand new laptop.  I have just installed Visual Studio 2013.  I pulled the solution from our repository and opened it in Visual Studio 2013.  When prompted if I wanted to port the 2012 project to 2013 I answered yes.  The Project Properties General Platform toolset is now set to Visual Studio 2013 (v120).
When I build the project, I get several C1189: #errors.
I also tried building the SimpleFormat example in 2013 and also get the C1189 errors.
Error
3
error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. (..\Common\SimpleFormatScripting.cpp)
c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h
250
1
SimpleFormat
Error
6
error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. (..\..\..\common\sources\PIWinUI.cpp)
c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h
250
1
SimpleFormat
1>------ Build started: Project: SimpleFormat, Configuration: Debug Win32 ------
1>  Compiling PiPL resource...
1>  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.21005.1 for x86
1>  Copyright (C) Microsoft Corporation.  All rights reserved.
1> 
1>  SimpleFormat.r
1>  CnvtPiPL. Release Version 13.0, Oct 25 2011 18:03:33.
1>  Copyright 1992-2010 Adobe Systems Incorporated.
1>  All rights reserved.
1>  SimpleFormat.cpp
1>  SimpleFormatScripting.cpp
1>  SimpleFormatUI.cpp
1>  FileUtilities.cpp
1>  FileUtilitiesWin.cpp
1>  PIDLLInstance.cpp
1>  PIUSuites.cpp
1>  PIWinUI.cpp
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h(197): warning C4005: 'false' : macro redefinition (..\Common\SimpleFormatScripting.cpp)
1>          c:\adobe_photoshop_cs6_sdk_win\pluginsdk\photoshopapi\photoshop\pitypes.h(224) : see previous definition of 'false'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h(232): warning C4005: 'true' : macro redefinition (..\Common\SimpleFormatScripting.cpp)
1>          c:\adobe_photoshop_cs6_sdk_win\pluginsdk\photoshopapi\photoshop\pitypes.h(220) : see previous definition of 'true'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h(250): fatal error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. (..\Common\SimpleFormatScripting.cpp)
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h(197): warning C4005: 'false' : macro redefinition (..\..\..\common\sources\PIWinUI.cpp)
1>          c:\adobe_photoshop_cs6_sdk_win\pluginsdk\photoshopapi\photoshop\pitypes.h(224) : see previous definition of 'false'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h(232): warning C4005: 'true' : macro redefinition (..\..\..\common\sources\PIWinUI.cpp)
1>          c:\adobe_photoshop_cs6_sdk_win\pluginsdk\photoshopapi\photoshop\pitypes.h(220) : see previous definition of 'true'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h(250): fatal error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. (..\..\..\common\sources\PIWinUI.cpp)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Thank you for responding ☺
The SimpleFormatScripting.cpp file seems to be failing due to the #include path.    SimpleFormatScripting.cpp includes 1 .h file, #include "SimpleFormat.h".   The SimpleFormat.h includes 5 .h files.  The 3rd file included is PIUtilities.h.   PIUtilities.h  #includes PITypes.h
If I comment out the section in PITypes.h that defines TRUE true FALSE false as shown below, then I no longer get compile errors for C1189 or the warnings for C4005 for redefinition of true, false.
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef true
#define true       TRUE
#endif
#ifndef false
#define false      FALSE
#endif
I do get several new warnings:
Warning                                                           2 warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:LBR' specification                                                                            C:\adobe_photoshop_cs6_sdk_win\pluginsdk\samplecode\format\simpleformat\win\SimpleFormat. obj                                                                            SimpleFormat
Warning                                                           1 warning LNK4075: ignoring '/INCREMENTAL' due to '/RELEASE' specification                                                                            C:\adobe_photoshop_cs6_sdk_win\pluginsdk\samplecode\format\simpleformat\win\LINK                                                                             SimpleFormat
Warning                                                           3 warning LNK4237: /SUBSYSTEM:NATIVE specified when importing from 'KERNEL32.DLL';  Use /SUBSYSTEM:CONSOLE or /SUBSYSTEM:WINDOWS.                                                                             C:\adobe_photoshop_cs6_sdk_win\pluginsdk\samplecode\format\simpleformat\win\kernel32.lib( KERNEL32.dll)                                                                            SimpleFormat
Warning                                                           4 warning LNK4237: /SUBSYSTEM:NATIVE specified when importing from 'USER32.DLL';  Use /SUBSYSTEM:CONSOLE or /SUBSYSTEM:WINDOWS.                                                                             C:\adobe_photoshop_cs6_sdk_win\pluginsdk\samplecode\format\simpleformat\win\user32.lib(US ER32.dll)                                                                            SimpleFormat

Similar Messages

  • Error C1189: #error : ERROR: You must use a GNU Compiler.

    Hi everyone!
    I have just ran into an error in which I don't know how to resolve. I'm trying to compile some code I have but it gives me the following : error C1189: #error :  ERROR: You must use a GNU Compiler.
    Before receiving this error I had received one stating that the header file "_mingw.h" was missing. I located that file and placed it in the correct folder. I also updated the project properties to locate the header file. The error itself says
    that I must use a GNU Compiler but I'm not exactly sure how to do this.I do have mingw installed on the PC though
    The error points to this part of the code :
    #define __MINGW32_VERSION           3.2
    #define __MINGW32_MAJOR_VERSION     3
    #define __MINGW32_MINOR_VERSION     20
    #define __MINGW32_PATCHLEVEL        0
    #ifndef __GNUC__
    #error ERROR: You must use a GNU Compiler.
    #endif
    #if (__GNUC__ < 3 || !defined(__GNUC_MINOR__) || (__GNUC__ == 3 && __GNUC_MINOR__ < 4) || (__GNUC__ == 3 && __GNUC_MINOR__ == 4 && __GNUC_PATCHLEVEL__ < 5))
    #error ERROR: You must use a GNU Compiler version >= 3.4.5.
    #endif
    Also to note, I have the most recent version 4.8.4.1 of the compiler.
    Any ideas on what I should so to fix this? Did placing the _mingw.h file in the folder have anything to do with it?
    I would appreciate any help!! :-)

    It appears that the author of the code you are compiling intended it to be compiled with the GNU compiler, not the Visual C++ compiler.  So they manually inserted an error message (guarded by the #ifndef __GNUC__ check) so that if you compiled it on
    Visual Studio, you'd be alerted to that fact.
    I'm afraid you are now faced with either porting this code or finding a Windows distribution of it that is compatible with Visual Studio.
    *NOT RECOMMENDED*, but to begin the process of porting it , simply delete the #error line from the source code and recompile with visual studio.  You can expect millions of specific issues will need further attention.  After all, it's probably
    there for a reason.  If you are new to this, that's probably NOT what you want to do.
    On the other hand, what were you trying to compile that needed _mingw.h?  That's the piece that needs to be configured correctly.  You are likely not building it as the author intended.

  • Afxwin.h(112): fatal error C1189: #error : MFC requires use of Winsock2.h

    I am trying to build libfreenect lib files.After,successfully making the solution file using Cmake (Following all the procedure as described in Openkinect); while I am trying to build the solution,I am getting the following error.
    afxwin.h(112): fatal error C1189: #error : MFC requires use of Winsock2.h
    Can anyone give me some ideas about resolving this? I am using visual studio 2010.

    Hi 07_SMAH,
    Thanks for posting in MSDN forum.
    But I suggest you ask this issue to Openkinect since people in here don't talk third party libraries or tools. Do you get any problem when you using vs 2010 compile and run your MFC project? If no, your post may off-top here.
    Best regards,
    Shu
    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.

  • Fatal error C1189: #error : WINDOWS.H already included.

    Hi,
    Can someone please explain why the following cpp file can get a compile error below?
    C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\afxv_w32.h(16) : fatal error C1189: #error :  WINDOWS.H already included.  MFC apps must not #include <windows.h>
    As you can see, there is only one include statement for afxwin.h.  I cannot think of any reason for this error.  Could you please help?  Thanks in advance.
    JD
    #include <afxwin.h>
    //#include "resource.h"
    //#include <atlbase.h>
    //#include "CAData_i.h"
    class CCADataModule : public CAtlDllModuleT< CCADataModule >
    public :
     DECLARE_LIBID(LIBID_CADataLib)
    CCADataModule _AtlModule;
    // Used to determine whether the DLL can be unloaded by OLE
    STDAPI DllCanUnloadNow(void)
        AFX_MANAGE_STATE(AfxGetStaticModuleState());
        return (AfxDllCanUnloadNow()==S_OK && _AtlModule.GetLockCount()==0) ? S_OK : S_FALSE;
    // Returns a class factory to create an object of the requested type
    STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
        return _AtlModule.DllGetClassObject(rclsid, riid, ppv);
    // DllRegisterServer - Adds entries to the system registry
    STDAPI DllRegisterServer(void)
        // registers object, typelib and all interfaces in typelib
        HRESULT hr = _AtlModule.DllRegisterServer();
     return hr;
    // DllUnregisterServer - Removes entries from the system registry
    STDAPI DllUnregisterServer(void)
     HRESULT hr = _AtlModule.DllUnregisterServer();
     return hr;

    Hi Rajesh,
    But, as you can see, I didn't include "stdafx.h" in the cpp file.  As I mentioned, there is only one include statement.  Another evidence is to add the 3 marco statements you recommended as below.  I get the same error.  The
    middle macro statement is de-highlighted.  It means _windows_ is not defined.  So, somehow, in this case, afxwin itself causes this error.  I really cannot explain.  Any thought?  Thanks.
    JD
    #ifdef __windows__
    #undef __windows__
    #endif
    #include <afxwin.h>
    //#include "resource.h"
    //#include <atlbase.h>
    //#include "CAData_i.h"

  • How to resolve Tuxedo 6.5 error  getting on the new HP-Itanium server

    Hi guys,
    We had tuxedo 6.5 installed on old server which is HP-PA Risc server and Os is HP-UX B11.11.
    Where as we cloned and migrated that file systems related to Tuxedo to new server which is Configured with HP_Itanium and Os HP-Ux B11.23.
    We freshly created Oracle instances with same naming conventions on Old server as Our server is HP-Itanium that oracle files created with .sh extensions.Where as in Old server they were created with .sl extension.While moving file systems from old server to new server we exclude the oracle part.But we moved the Pleopelsoft home location as it was on oldserver.
    But when we try to start application server we are getting the below error
    105549.uhrtest1!PSADMIN.25298: Begin boot attempt on domain UHRTST3APP
    105554.uhrtest1!BBL.25780: 02082010: TUXEDO Version 6.5 HP-UX B.11.00 U 9000/898 1623623321 unlimited-user license.
    105554.uhrtest1!BBL.25780: LIBTUX_CAT:262: INFO: Standard main starting
    105600.uhrtest1!PSAPPSRV.25783: 02082010: TUXEDO Version 6.5 HP-UX B.11.00 U 9000/898 1623623321 unlimited-user license.
    105600.uhrtest1!PSAPPSRV.25783: LIBTUX_CAT:262: INFO: Standard main starting
    105600.uhrtest1!PSAPPSRV.25783: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
    105600.uhrtest1!tmboot.25779: 02082010: TUXEDO Version 6.5 HP-UX B.11.00 U 9000/898 1623623321 unlimited-user license.
    105600.uhrtest1!tmboot.25779: tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
    105600.uhrtest1!tmboot.25779: NLS:6: Message not found, catalog CMDTUX_CAT, set 1, num 724
    105600.uhrtest1!PSADMIN.25298: End boot attempt on domain UHRTST3APP
    Please let us know the reason behind this and how we can resolve this issue.Your response would be highky appreciatied.
    Thanks,
    Yarli

    Hi,
    The processors are different archiectures and you can not use binaries from one architecture to work on the other.
    Library name suffix differences is an example of the importance of this. Tuxedo 6.5 was separately built for each of those architectures and
    is available on the PeopleSoft distribution as distinct binaries. If your migration was purely from HPUX11.11 to HPUX11.23 you might have
    succeeded but the processor difference will not work for you and a core dump would not be unexpected.
    Bob Finan
    FYI:
    Tuxedo 6.5 is end-of-lifed and, since it's EOL has passed the stage for extended support possibility, no new patches will
    be created for it by engineering. You should look to migrate to a newer version of Tuxedo/Peoplesoft at the earliest
    possiblity.

  • How to resolve the dump Syntax error in program /1BCWDY/824VCAJI0ED4WMLLJ7N

    I have created 4 components and I have linked them to a single web dynpro application component through an interface.
    This is working fine in development.
    When we moved all these objects to quality and when i run the application it is opening the default component. However when i try to call any other component it is giving the following dump.
    Syntax error in program /1BCWDY/824VCAJI0ED4WMLLJ7NV==CP.
    When we debugged we found that this dump is arising in the CREATE COMPONENT method.
    Please suggest how to resolve this issue.

    Hi,
    Using the method prepare_dynamic_navigation i am calling all the components.
    After this method i have written the following code for deleting the active and create the new component.
    Delete the active componet if any before bind the called component
      IF wa_cmp_usage-component_usage->has_active_component( ) IS NOT INITIAL.
        wa_cmp_usage-component_usage->delete_component( ).
      ENDIF.
    Bind the compont called to this main component
      wa_cmp_usage-component_usage->create_component( lv_target_comp ).     -
    > when i debug, inside this am getting dump.
    In ST22 the error is occuring in the following place.
      call method (l_gen_class_name)=>if_wdr_classloader~create_instance
        receiving
          component_instance = me->component_factory.
    I am actually 5 components. The default and the fifth components are only having tab and a text view. There are no other UI elements. These two components are working.
    The remaining components are having many UI elements and these components are giving the above said dumps.
    Edited by: Mohamed Aslam on May 13, 2010 12:11 PM

  • Could you please tell me how to resolve the following import error? Thanks.

    Hi,
    When run the following command to import two tables:SPSSDMRESPONSE_LOG and SPSSSCORE_LOG, there are some error in the log. Could you please tell me how to resolve these error? Thanks.
    Command:
    imp S3SLORL10/Pass1234@SPSS file=/yhan/subTables.dmp ignore=y tables=SPSSDMRESPONSE_LOG,SPSSSCORE_LOG
    There are some error in the log file.
    The log file is:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    export client uses WE8MSWIN1252 character set (possible charset conversion)
    . importing S3SLORL10's objects into S3SLORL10
    . importing S3SLORL10's objects into S3SLORL10
    IMP-00061: Warning: Object type "S3SLORL10"."Info224_T" already exists with a different identifier
    "CREATE TYPE "Info224_T" TIMESTAMP '2011-09-21:06:54:13' OID 'A1F8D176EF2949"
    "07882153DE7E4CC9F9' AS OBJECT ("SYS_XDBPD$" "XDB"."XDB$RAW_LI"
    "ST_T","Response" "Response225_COLL","Property" "ModelOutput223_COLL")FINAL "
    "INSTANTIABLE "
    IMP-00063: Warning: Skipping table "S3SLORL10"."SPSSDMRESPONSE_LOG" because object type "S3SLORL10"."Info224_T" cannot be created or has different identifier
    IMP-00061: Warning: Object type "S3SLORL10"."Metric214_COLL" already exists with a different identifier
    "CREATE TYPE "Metric214_COLL" TIMESTAMP '2011-09-20:09:56:02' OID '98999BF48"
    "84F4BAB81D391109E4BB823' AS VARRAY(2147483647) OF "nameValueT"
    "ype208_T""
    IMP-00063: Warning: Skipping table "S3SLORL10"."SPSSSCORE_LOG" because object type "S3SLORL10"."Metric214_COLL" cannot be created or has different identifier
    IMP-00017: following statement failed with ORACLE error 942:
    "ANALYZE TABLE "SPSSDMRESPONSE_LOG" ESTIMATE STATISTICS "
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    IMP-00017: following statement failed with ORACLE error 942:
    "ANALYZE TABLE "SPSSSCORE_LOG" ESTIMATE STATISTICS "
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    Import terminated successfully with warnings.

    *Import of table containing object type(s) fails with IMP-00061 IMP-00063 [ID 203822.1]*
    in short: search for the TOID_NOVALIDATE parameter

  • How to resolve the runtime portal error which occurs during entering a room

    Hi All
    I have created a room of type "Sap_Team_Room" and then assigned it to one role when i am trying to enter room it is giving me the following error
    "Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.ip.collaboration/Rooms/80dd2995-e186-2a10-c58f-d9411ca9c30e/workset/com.sap.netweaver.coll.DocumentsAndLinks_0_0/RoomQuickLaunch
    Component Name : null
    Page could not create the iView."
    Please Can anybody tell me how to resolve it.
    Thanks in Advance
    Thanks and Regards
    Nishita Salver

    Hi,
    Have you made any changes in  com.sap.portal.runtime.logon.par ?? because the error specifies error in authschemes computation, this means authschemes.xml file is not modified if you have modified logon par file. Is this correct??
    Regards,
    Ameya

  • How to resolve database PSU conflict errors

    Hello:
    I am in process of applying the database PSU Patch 18522512 for 11.2.0.3 and running into conflict issues with other patches, please take a look at the following conflict issues and let me know how to resolve these conflict issues and installed the PSU patch 18522512.
    /cherdb_1/oracle/VIS12/11.2.0/PATCHES/PSU/18522512
    cheron.aarcorp.com:(oracle):> opatch apply
    Oracle Interim Patch Installer version 11.2.0.3.6
    Copyright (c) 2013, Oracle Corporation.  All rights reserved.
    Oracle Home       : /cherdb_1/oracle/VIS12/11.2.0
    Central Inventory : /vol01/app/oraInventory
    from           : /cherdb_1/oracle/VIS12/11.2.0/oraInst.loc
    OPatch version    : 11.2.0.3.6
    OUI version       : 11.2.0.3.0
    Log file location : /cherdb_1/oracle/VIS12/11.2.0/cfgtoollogs/opatch/opatch2014-08-06_10-59-59AM_1.log
    Verifying environment and performing prerequisite checks...
    Composite Patch 18522512 is a bug superset of 16929165,16992075,17468141,13001379,14123213,13931044,9858539,8547978,14237793,14207902,13923995,13544396,13528551,13499128,13477790,13466801,13366202,13259364,13070939,13036331,12971775,12845115,12780983 in OH.
    Composite Patch 18522512 conflicts with installed patch(es) 17875948, 16040940, 19078951, 17693770, 17912217, 13004894, 14649883, 12942119, 16438289, 13040331, 17600719, 13146719, 18116376
    Conflict Description:
    Here are the specific sub-patches of composite patch 18522512 that conflict with 17875948, 16040940, 19078951, 17693770, 17912217, 13004894, 14649883, 12942119, 16438289, 13040331, 17600719, 13146719, 18116376
    Sub-Patch 13696216 conflicts with 19078951 conflicts with 18116376
    Sub-Patch 13923374 conflicts with 19078951
    Sub-Patch 16056266 conflicts with 19078951
    Sub-Patch 16619892 conflicts with 19078951 conflicts with 17912217 conflicts with 17875948 conflicts with 17600719 conflicts with 16438289 conflicts with 13004894
    Sub-Patch 16902043 conflicts with 19078951 conflicts with 17875948 conflicts with 12942119 conflicts with 13146719 conflicts with 13040331
    Sub-Patch 17540582 conflicts with 19078951 conflicts with 17693770 conflicts with 14649883
    Sub-Patch 18031683 conflicts with 19078951 conflicts with 17875948
    Sub-Patch 18522512 conflicts with 19078951 conflicts with 16040940
    Conflict Remedy:
    Refer to My Oracle Support Note 1299688.1 for instructions on resolving patch conflicts.
    UtilSession failed: Composite conflicts with existing oneoffs.
    Log file location: /cherdb_1/oracle/VIS12/11.2.0/cfgtoollogs/opatch/opatch2014-08-06_10-59-59AM_1.log
    OPatch failed with error code 73
    Thanks & appreciated for your help.
    Syed.

    Hi Syed,
    You can raise SR for merging the conflict patches and refer to the MOS document provided to resolve.
    Thanks,
    Uday

  • How to resolve SQLVDI and SQLWRITER errors

    I'm getting these errors whenever I run windows backup on I get these errors for each of the six SQL databases. Below are two examples of the errors that I get. This is causing my backups to fail. 
    Log Name: Application
    Source: SQLWRITER
    Date: 7/1/2014 1:18:05 PM
    Event ID: 24583
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Description:
    Sqllib error: OLEDB Error encountered calling ICommandText::Execute. hr = 0x80040e14. SQLSTATE: 42000, Native Error: 3013
    Error state: 1, Severity: 16
    Source: Microsoft SQL Server Native Client 10.0
    Error message: BACKUP DATABASE is terminating abnormally.
    SQLSTATE: 42000, Native Error: 3271
    Error state: 1, Severity: 16
    Source: Microsoft SQL Server Native Client 10.0
    Error message: A nonrecoverable I/O error occurred on file "{A29E5835-30A3-4DA2-89A3-8A9A80196C7E}3:" 995(The I/O operation has been aborted because of either a thread exit or an application request.).
    SQLSTATE: 01000, Native Error: 4035
    Error state: 1, Severity: 0
    Source: Microsoft SQL Server Native Client 10.0
    Error message: Processed 0 pages for database 'SharePoint_ConfigurationDatabase', file 'SharePoint_ConfigurationDatabase' on file 1.
    Log Name: Application
    Source: SQLVDI
    Date: 7/1/2014 1:18:05 PM
    Event ID: 1
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Description:
    SQLVDI: Loc=TriggerAbort. Desc=invoked. ErrorCode=(0). Process=2488. Thread=10456. Server. Instance=SHAREPOINT. VD=Global\{A29E5835-30A3-4DA2-89A3-8A9A80196C7E}7_SQLVDIMemoryName_0.
    Anybody knows what is causing this and how do I resolve these errors.

    Hi,
    What is Service pack of Your SQL Server. Is it patched to latest Service pack. Is your OS patched to latest Service pack. Did you also reffered to Microsoft links I posted in my first reply were they helpful
    >>
    Error message: A nonrecoverable I/O error occurred on file "{A29E5835-30A3-4DA2-89A3-8A9A80196C7E}3:" 995(The I/O operation has been aborted because of either a thread exit or an application request.).>>
    This message seems seems fatal to me and I have seen this when instance of SQL server or OS is not patched to latest SP. below are couple of related links to read
    http://support.microsoft.com/kb/2512352
    http://support.microsoft.com/kb/934396/en-us
    Can you please post errorlog messages  related to this error. Complete message please.If Service pack does not solves it you might as well consider opening case with Microsoft
    If Service pack does not
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • How to resolve illegal cross join error

    Can someone please tell me how can we avoid illegal cross join error in modeling? If someone has any reference document , please share it.
    I have 5 tables - Dim (A, B , C,E) and Fact( D). C is lookup table which is used to resolve the lookup code column in table E.
    The relationships between these are
    A--< B--< E >--C
    & A--<D
    My requirement is i have to expose Attributes of A,B ,C & E within Dimension.
    These attributes (from B,C,E) will be treated as property of A.
    Someone may query these attributes without selecting any column from fact table.
    Thanks & Regards,
    Ashish

    Hi Ashish,
    it's not the first time you come up with this kind of question and I'm wondering if you understand the principle of granularity when I read your questions.
    On physical level, a fact table must always join with the lowest level of detail of your dimension table. Let me explain, by giving an example which looks like your situation.
    Assume I have three tables:
    Table "E" contains products, which has attributes like: product_id and product_name
    Table "B" contains order line items, which has attributes like: order_line_item_id, order_id and product_id.
    Table "A" contains orders, which has attributes like: order_id and customer_name.
    Table "D" contains facts ("metrical data") about my order: which has attributes like: order_id, order_revenue.
    This will be the diagram on physical level: E--<B--<A--<D
    Here are my joins: E.product_id on B.produc_id, B.order_id on A.order_id, A.order_id--<D.order_id
    Now, my question to you is: will I be able to get the revenue of a certain product?
    The answer is: No, because I don't know what part of my order is spent on a certain product. The problem is thus that the data in the fact table isn't stored on that level of detail, or in other words the fact and dimension table don't share the same level of granularity.
    How it should be:
    If you want to get the revenue per product, you will need to have a second fact table "G", which has data which is stored on order line item level. This table contains the following attributes: order_line_item_id, product_id and order_line_item_revenue.
    This will become your diagram on physical level:
    B--<G>--E
    Joins: B.order_line_item_id on G.order_line_item_id and E.product_id on G.product_id
    Table E has become a dimension of fact table G.
    The first physical diagram should look like this:
    A--<D
    If you want you can model both physical diagrams into one logical diagram, assuming that A and D (order dimension and fact table) are aggregates of B and G (order line items dimension and fact table). In that case you should read this blog item: http://obiee101.blogspot.com/2008/11/obiee-making-it-aggregate-aware.html
    Regards,
    Stijn

  • How to resolve security sandbox violation (Error#2148) in Flex 3 on XP?

    Hi,
    When I tried to access an image on c:\ (on XP), I get the following error:
    *** Security Sandbox Violation ***
    Connection to file:///C:\DBFiles\3.jpg halted - not permitted from http://localhost/test-debug/test.swf
    -- Remote SWFs may not access local files.SecurityError: Error #2148: SWF file http://localhost/ullmanphp-debug/ullmanphp.swf cannot access local resource file:///C:\DBFiles\INDSprintOrgChart.pptx\3.jpg. Only local-with-filesystem and trusted local SWF files may access local resources.
    at flash.display::Loader/_load()
    at flash.display::Loader/load()
    It looks like some sort of mismatch on security settings. I have done the following so far (based on what I got by googling....)
    1. Flex comipler setting additional compiler arguments:  -use-network=false
    2. I have added a crossdomain.xml on the source directory with these lines...
    <site-control permitted-cross-domain-policies="master-only"/>
    <allow-access-from domain="*"/>
    <allow-http-request-headers-from domain="*" headers="SOAPAction"/>
    However, error is still appearing. How do I fix this for testing on my local machine. I cannot move to a webserver at this time.
    Thanks!.

    How do I set Security.sandboxType related to flash player? When I try to see it in my application through debugger it says "remote". I think I need to set it to one of the following from the adobe manual pages...
    Security.sandboxType has one of the following values:
    remote (Security.REMOTE)—This file is from an Internet URL and operates under domain-based sandbox rules.
    localWithFile (Security.LOCAL_WITH_FILE)—This file is a local file, has not been trusted by the user, and it is not a SWF file that was published with a networking designation. The file may read from local data sources but may not communicate with the Internet.
    localWithNetwork (Security.LOCAL_WITH_NETWORK)—This SWF file is a local file, has not been trusted by the user, and was published with a networking designation. The SWF file can communicate with the Internet but cannot read from local data sources.
    localTrusted (Security.LOCAL_TRUSTED)—This file is a local file and has been trusted by the user, using either the Flash Player Settings Manager or a FlashPlayerTrust configuration file. The file can read from local data sources and communicate with the Internet.
    application (Security.APPLICATION)—This file is running in an AIR application, and it was installed with the package (AIR file) for that application. By default, files in the AIR application sandbox can cross-script any file from any domain (although files outside the AIR application sandbox may not be permitted to cross-script the AIR file). By default, files in the AIR application sandbox can load content and data from any domain.
    Any input on how to set it would be greatly appreciated. Thanks!

  • How to Resolve a PDP authentication error on iPad mini

    What do I do if I get a PDP authentication failed error when I try to access data?

    Same issue.  Sitting here in Europe (Germany) trying to do some work.  From the Support technical discussions, there are numerous complaints like this.  Went by T-Mobile twiice already; they point the finger at Apple.   (I'm sure I could call back to the USA and sit on hold for an hour, with most likely Apple blaming the telco's.)  Not very impressed to say the least.  Wonder how Android is doing in this regard ...........?

  • How to resolve Invalid Classpath Entry error in Oracle Jdeveloper 11g

    I receive the following error in JDeveloper when I try to create a new JSF page in ViewController project -
    Dec 27, 2009 9:47:11 PM oracle.adfdt.library.loader.ProjectLibraryManager
    SEVERE: Invalid Classpath Entry: <unknown>
    Active Project: C:\JDeveloper\Ankur\Ankur_App\ViewController\ViewController.jprNo relevant jars in:
    C:\JDeveloper\Ankur\Ankur_App\ViewController\ViewController.jpr
    Dec 27, 2009 9:47:11 PM com.oracle.webapp
    SEVERE: Error calling onEntry oracle.adfdtinternal.view.rich.addin.plugin.ADFFacesJsfWizardExtension
    java.lang.NullPointerException
         at oracle.ide.net.AlikeStrings.packStringArray(AlikeStrings.java:192)
         at oracle.ide.net.AlikeStrings.<init>(AlikeStrings.java:445)
         at oracle.ide.net.JarIndex.buildFullIndex(JarIndex.java:982)
         at oracle.ide.net.JarIndex.run(JarIndex.java:1507)
         at oracle.ide.net.JarIndex.getEntries(JarIndex.java:478)
         at oracle.jdeveloper.java.locator.JarURLClassLocator.buildIndexImpl(JarURLClassLocator.java:318)
         at oracle.jdeveloper.java.locator.JarURLClassLocator.buildIndex(JarURLClassLocator.java:96)
         at oracle.jdeveloper.java.locator.JarURLClassLocator.getResourceURL(JarURLClassLocator.java:292)
         at oracle.jdeveloper.java.locator.BaseClassLocator.getResourceURLs(BaseClassLocator.java:59)
         at oracle.jdeveloper.java.locator.ArrayClassLocator.getResourceURLs(ArrayClassLocator.java:329)
         at oracle.jdeveloper.java.util.JRLClassLoader.findResources(JRLClassLoader.java:100)
         at java.lang.ClassLoader.getResources(ClassLoader.java:1016)
         at oracle.adf.share.services.ServicesFactory.findServiceRefs(ServicesFactory.java:67)
         at oracle.adf.share.services.ResourceService.getResourcesForType(ResourceService.java:68)
         at oracle.adfdt.library.JDevResourceService.getResourcesForType(JDevResourceService.java:79)
         at oracle.adf.share.services.ResourceService.getResourcesForType(ResourceService.java:133)
         at oracle.adfdtinternal.view.rich.pagelayout.provider.ResourceServicePageLayoutProvider.getPageLayoutInfos(ResourceServicePageLayoutProvider.java:38)
         at oracle.adfdtinternal.view.rich.pagelayout.registry.PageLayoutRegistry._recreateProjectPageLayoutInfos(PageLayoutRegistry.java:144)
         at oracle.adfdtinternal.view.rich.pagelayout.registry.PageLayoutRegistry.<init>(PageLayoutRegistry.java:111)
         at oracle.adfdtinternal.view.rich.pagelayout.registry.PageLayoutRegistry.getInstance(PageLayoutRegistry.java:32)
         at oracle.adfdtinternal.view.rich.pagelayout.quickstart.PageTemplateHookImpl.setup(PageTemplateHookImpl.java:48)
         at oracle.adfdtinternal.view.rich.addin.plugin.ADFFacesJsfWizardExtension.onEntry(ADFFacesJsfWizardExtension.java:281)
         at oracle.jdevimpl.webapp.jsp.wizards.panels.NewJspTraversablePanel.onEntry(NewJspTraversablePanel.java:125)
         at oracle.jdevimpl.webapp.fusion.wizards.ExpandoTraversable.onEntry(ExpandoTraversable.java:63)
         at oracle.jdevimpl.webapp.fusion.wizards.AbstractWebAppWizard.invoke(AbstractWebAppWizard.java:142)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:372)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:420)
         at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1079)
         at oracle.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
         at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:428)
         at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1079)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Kindly help me to resolve this error.

    If you create a new application and try to create a new JSF page there are you still getting this error?
    If you do then I think something in your installation went wrong - the first step would then be to delete the system directory at: C:\Documents and Settings\youruser\Application Data\JDeveloper and restart JDeveloper.

  • How to resolve Extended Systax check  Error..

    Hi All,
    In Syntax check i am not getting any errors,If  i have check Extended Syntax check I have got 2 error in SLIN ( Extended Syntax Check) Like
    ERRORS     :
    #Messages for MESSAGE(Error)
          Program:  ZMXXR600A  Row:    416
    No. of WITH fields of MESSAGE 021 for ID Z1: 1
    No. of placeholders in this message: 0
    Message: Non Statistical posting not allowed for Account 52979100
    No long text exists for this message
    (The message can be hidden with "#EC *)
          Program:  ZMXXR600A  Row:    418
    No. of WITH fields of MESSAGE 022 for ID Z1: 1
    No. of placeholders in this message: 0
    Message: Please use the same IO to credit and debit
    No long text exists for this message
    (The message can be hidden with "#EC *)
    The Code i write for this Eroors
    CASE SY-SUBRC.
              WHEN 0.
                MESSAGE S021 WITH P_FILE.     line :416
              WHEN 1.
                MESSAGE W022 WITH P_FILE.    line :418
              WHEN OTHERS.
            ENDCASE.
    P_FILE is declraed as;
    PARAMETERS: P_FILE   LIKE RLGRAP-FILENAME DEFAULT C_FILE.
    Can you give  some inputs to resolve the Errors ASAP.
    Thanks,
    Sridhar

    MESSAGE S021 WITH P_FILE. line :416
    WHEN 1.
    MESSAGE W022 WITH P_FILE. line :418
    in both messages & needed
    check 021 and 022 in both messages there is no <b>&</b> where you can place your actual value.
    for Ex: message 021
    Ex 1) hi print
    Ex 2) hi print <b>&</b>
    so now you can call this with
    1)MESSAGE S021 .
    2)MESSAGE S021 WITH P_FILE.
    as you not maintain & it is giving error for extended check so mention & where you want to print p_file
    or just call message with out passing P_file.
    Rewards if useful..........
            Minal Nampalliwar
    null

Maybe you are looking for

  • Question about Ram upgrade on a Satellite A200

    hi friends, i`ve a Satellite A200-13O with 120GB HDD, 1.8GHz Intel Centrino Duo, 1GB ram but it has 2 512 chips installed. if i upgrad 2 1 GB ram is there any chance of improvement in performance....?? and what if i upgrade to 2GB dual channel....??

  • Skin / Templates - JDeveloper 11.1.2.0

    Hi guys, I have a question I have a project in JDeveloper 11.1.1.4.0 this project didn't used oracle's skin and it has my own page template. I needed to change the project to JDeveloper 11.1.2.0 but when I changed to the new version of JDeveloper my

  • Error in MOpz while downloading EHP1 for Solman

    Hi, We are doing upgrade of Solman 7.0 to EHP1. We are getting error "Update product data in Solution Manager" while we are trying to download EHP1 through MOpz. This is even after implementing notes given in the note 1122966 (Maintenance Optimizer:

  • Multiple base maps problem(Mapview 11g)

    I add several MVMapTileLayer objects to MVMapView object and all set setVisible to true. When I zoom in the map, the problem is appear. In IE6.0, IE7.0 the map div will turn to black, if I click again the mapdiv, it will be ok. FireFox2.0 without thi

  • Invoke oracle report 10g from database pl/sql package

    Hi Is there a way that i can invoke an oracle report 10g from the database pl/sql package? I am working on a requirement that needs to generate a report when one of the criteria is not met. Please suggest me on this.