Why is there an error when activating custom wsp's (timer job) via SharePointUI?

We have created a Timer Job Project.
Before packaging wsp and deploying via PowerShell:- 
1. If I set scope to Web and go to site features then I hit on Activate it gives error
(sayin to enable debug for error msg in web.config).
2. Similarly, if I set scope to Site, then if I go into site collection features and activate,
it give same error.
3. If scope is set to Web Application then the feature is activated by default (under
web app features), but cannot see the job under job definitions.
4. If scope is set to farm, then (under farm features) similar to above point no. 3
There is also error when deactivating features which are already activated when a package
is deployed. for example: web applicaiton feature. 
Further, I cannot see the timer job under job defn unless it is scoped to SITE..
Why is this?
I donot get the issues when activating the features via PowerShell. Why is this?

Hi Nachiket Kamat,
When you are using web scoped or site scoped features to install the timer jobs, the account that does the scheduling must have write permissions to the configuration database of the server farm, usually, the identity of the application pool that is hosting
the SharePoint site does not have permissions on the configuration database, this is the account that is used when you activate the feature through the browser interface, this may cause the feature activated failed.
Another scenario that you met when you change the feature scope to web application, job definition cannot be seen, this may be caused by the feature receiver code, like if scope to web application, then get the web application from properties.Feature.Parent
as SPWebApplication, if you change the feature scope, then this also need to change to get the proper object.
Thanks,
Qiao Wei
TechNet Community Support

Similar Messages

  • Why is there an error when I try to use Keychain Access?

    Hi,
    I'm having this error when I reveal a password.
    Any suggestions?

    Try Keychain Access/First Aid. If that doesn't work, reset the Keychain.
    Keychain Reset

  • Why is there an error when connecting to the Itunes store?

    When I try to connect to my Itunes, it says there is an error and to try back later? I have never had an issue with this and am unsure what to do to fix it. Also, when I try to download the newest version of Itunes it says it can't find the file with the Itunes "installationpackage.msi"? I have never had any issues connecting to my Itunes store or downloading a newer version..

    Hi gymtrainger55,
    When having iTunes Store connectivity issues, the following articles provide the best solutions:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Thanks,
    Matt M.

  • Why is there no error when checkpointing after db log files are removed?

    I would like to test a scenario when an application's embedded database is corrupted somehow. The simplest test I could think of was removing the database log files while the application is running. However, I can't seem to get any failure. To demonstrate, below is a code snippet that demonstrates what I am trying to do. (I am using JE 3.3.75 on Mac OS 10.5.6):
    public class FileRemovalTest {
    public static void main(String[] args) throws Exception
    // Setup the DB Environment
    EnvironmentConfig ec = new EnvironmentConfig();
    ec.setAllowCreate(true);
    ec.setTransactional(true);
    ec.setConfigParam(EnvironmentConfig.ENV_RUN_CLEANER, "false");
    ec.setConfigParam(EnvironmentConfig.ENV_RUN_CHECKPOINTER, "false");
    ec.setConfigParam(EnvironmentConfig.CLEANER_EXPUNGE, "true");
    ec.setConfigParam("java.util.logging.FileHandler.on", "true");
    ec.setConfigParam("java.util.logging.level", "FINEST");
    Environment env = new Environment(new File("."), ec);
    // Create a database
    DatabaseConfig dbConfig = new DatabaseConfig();
    dbConfig.setAllowCreate(true);
    dbConfig.setTransactional(true);
    Database db = env.openDatabase(null, "test", dbConfig);
    // Insert an entry and checkpoint the database
    db.put(
    null,
    new DatabaseEntry("key".getBytes()),
    new DatabaseEntry("value".getBytes()));
    CheckpointConfig checkpointConfig = new CheckpointConfig();
    checkpointConfig.setForce(true);
    env.checkpoint(checkpointConfig);
    // Delete the DB log files
    File[] dbFiles = new File(".").listFiles(new DbFilenameFilter());
    if (dbFiles != null)
    for (File file : dbFiles)
    file.delete();
    // Add another entry and checkpoint the database again.
    db.put(
    null,
    new DatabaseEntry("key2".getBytes()),
    new DatabaseEntry("value2".getBytes())
    {color:#ff0000} *// Q: Why does this 'put' succeed?*
    {color}
    env.checkpoint(checkpointConfig);
    {color:#ff0000}*// Q: Why does this checkpoint succeed?*{color}
    // Close the database and the environment
    db.close();
    env.close();
    private static class DbFilenameFilter implements FilenameFilter
    public boolean accept(File dir, String name) {
    return name.endsWith(".jdb");
    This is what I see in the logs:
    2009-03-05 12:53:30:631:CST CONFIG Recovery w/no files.
    2009-03-05 12:53:30:677:CST FINER Ins: bin=2 ln=1 lnLsn=0x0/0xe9 index=0
    2009-03-05 12:53:30:678:CST FINER Ins: bin=5 ln=4 lnLsn=0x0/0x193 index=0
    2009-03-05 12:53:30:688:CST FINE Commit:id = 1 numWriteLocks=1 numReadLocks = 0
    2009-03-05 12:53:30:690:CST FINEST size interval=0 lastCkpt=0x0/0x0 time interval=0 force=true runnable=true
    2009-03-05 12:53:30:703:CST FINER Ins: bin=8 ln=7 lnLsn=0x0/0x48b index=0
    2009-03-05 12:53:30:704:CST CONFIG Checkpoint 1: source=recovery success=true nFullINFlushThisRun=4 nDeltaINFlushThisRun=0
    2009-03-05 12:53:30:705:CST CONFIG Recovery finished: Recovery Infonull> useMinReplicatedNodeId=0 useMaxNodeId=0 useMinReplicatedDbId=0 useMaxDbId=0 useMinReplicatedTxnId=0 useMaxTxnId=0 numMapINs=0 numOtherINs=0 numBinDeltas=0 numDuplicateINs=0 lnFound=0 lnNotFound=0 lnInserted=0 lnReplaced=0 nRepeatIteratorReads=0
    2009-03-05 12:53:30:709:CST FINEST Environment.open: name=test dbConfig=allowCreate=true
    exclusiveCreate=false
    transactional=true
    readOnly=false
    duplicatesAllowed=false
    deferredWrite=false
    temporary=false
    keyPrefixingEnabled=false
    2009-03-05 12:53:30:713:CST FINER Ins: bin=2 ln=10 lnLsn=0x0/0x7be index=1
    2009-03-05 12:53:30:714:CST FINER Ins: bin=5 ln=11 lnLsn=0x0/0x820 index=1
    2009-03-05 12:53:30:718:CST FINE Commit:id = 2 numWriteLocks=0 numReadLocks = 0
    2009-03-05 12:53:30:722:CST FINEST Database.put key=107 101 121 data=118 97 108 117 101
    2009-03-05 12:53:30:728:CST FINER Ins: bin=13 ln=12 lnLsn=0x0/0x973 index=0
    2009-03-05 12:53:30:729:CST FINE Commit:id = 3 numWriteLocks=1 numReadLocks = 0
    2009-03-05 12:53:30:729:CST FINEST size interval=0 lastCkpt=0x0/0x581 time interval=0 force=true runnable=true
    2009-03-05 12:53:30:735:CST FINER Mod: bin=5 ln=4 lnIdx=0 oldLnLsn=0x0/0x193 newLnLsn=0x0/0xb61
    2009-03-05 12:53:30:736:CST FINER Mod: bin=5 ln=11 lnIdx=1 oldLnLsn=0x0/0x820 newLnLsn=0x0/0xc3a
    2009-03-05 12:53:30:737:CST FINER Ins: bin=8 ln=15 lnLsn=0x0/0xd38 index=0
    2009-03-05 12:53:30:738:CST CONFIG Checkpoint 2: source=api success=true nFullINFlushThisRun=6 nDeltaINFlushThisRun=0
    2009-03-05 12:53:30:741:CST FINEST Database.put key=107 101 121 50 data=118 97 108 117 101 50
    2009-03-05 12:53:30:742:CST FINER Ins: bin=13 ln=16 lnLsn=0x0/0xeaf index=1
    2009-03-05 12:53:30:743:CST FINE Commit:id = 4 numWriteLocks=1 numReadLocks = 0
    2009-03-05 12:53:30:744:CST FINEST size interval=0 lastCkpt=0x0/0xe32 time interval=0 force=true runnable=true
    2009-03-05 12:53:30:746:CST FINER Mod: bin=5 ln=4 lnIdx=0 oldLnLsn=0x0/0xb61 newLnLsn=0x0/0x1166
    2009-03-05 12:53:30:747:CST FINER Mod: bin=5 ln=11 lnIdx=1 oldLnLsn=0x0/0xc3a newLnLsn=0x0/0x11e9
    2009-03-05 12:53:30:748:CST FINER Ins: bin=8 ln=17 lnLsn=0x0/0x126c index=0
    2009-03-05 12:53:30:748:CST CONFIG Checkpoint 3: source=api success=true nFullINFlushThisRun=4 nDeltaINFlushThisRun=0
    2009-03-05 12:53:30:750:CST FINEST Database.close: name=test
    2009-03-05 12:53:30:751:CST FINE Close of environment . started
    2009-03-05 12:53:30:751:CST FINEST size interval=0 lastCkpt=0x0/0x1363 time interval=0 force=true runnable=true
    2009-03-05 12:53:30:754:CST FINER Mod: bin=5 ln=4 lnIdx=0 oldLnLsn=0x0/0x1166 newLnLsn=0x0/0x14f8
    2009-03-05 12:53:30:755:CST FINER Mod: bin=5 ln=11 lnIdx=1 oldLnLsn=0x0/0x11e9 newLnLsn=0x0/0x15a9
    2009-03-05 12:53:30:756:CST FINER Ins: bin=8 ln=18 lnLsn=0x0/0x16ab index=0
    2009-03-05 12:53:30:757:CST CONFIG Checkpoint 4: source=close success=true nFullINFlushThisRun=4 nDeltaINFlushThisRun=0
    2009-03-05 12:53:30:757:CST FINE About to shutdown daemons for Env .

    Hi,
    OS X, being Unix-like, probably isn't actually deleting file 00000000.jdb since JE still has it open -- the file deletion is deferred until it is closed. JE keeps N files open, where N is configurable.
    We do corruption testing ourselves, in the following test by overwriting a file and then attempting to read back the entire database:
    test/com/sleepycat/je/util/DbScavengerTest.java
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • HT201210 why is there an error occurring when trying to do a software update ios6 on iphone 4s

    why is there an error occurring when trying to do a software update ios6 on iphone 4s??

    You might find this article helpful: http://support.apple.com/kb/TS3694
    It has the error range of 3000's which states
    Errors 3000-3999 (3002, 3004, 3013, 3014, 3018, 3164, 3194, and so on): Error codes in the 3000 range generally mean that iTunes cannot contact the gs.apple.com server on ports 80 or 443. This may be because out-of-date or incorrectly configured security or firewall software is interfering, an old version of iTunes is installed, an entry in your hosts file redirecting requests to gs.apple.com (see error 1004 above), or because of your Internet proxy settings. If you are using a proxy, try without using one or with a known-good network. If that does not resolve the issue, follow iTunes for Windows: Troubleshooting security software issues. Error 3014 may indicate that you need to free up more disk space on the computer before trying to restore again. Error 3194 most likely indicates you do not have the latest version of iTunes installed Update to the latest version of iTunes. 

  • Error when activating DTP for InfoCube

    Hi
    I encountered an error '**** Error from PSA ****' 'Error when activating Data Transfer Process DTP_436DF8XYKE2Y97CUX9W7FM0JH' while trying to activate the DTP for an infocube.  Does anyone know why this happens and how to fix it ?
    I'm on support pack 9 at this moment.
    Many thanks,
    Anthony

    Hi Gnana
    Thanks for your reply.  Yes, I had already created the transformation for the bespoke cube, checked, saved and activated it without any error.  Next, I created the DTP for this cube.  Checked it and there wasn't any error.  However when I activated it, I received that error message.  I didn't get this error when I activated DTP for DSO and master data infoobject.
    I have deleted and created the DTP like 5-6 times and still faced the same error message.
    Prior to applying support pack 9, I didn't get this error message.  Now that I did and also applied the collective OSS note 978148 (BI in SAP NetWeaver 2004s: OSS notes after SPS9), I received this error message.
    Regards,
    Anthony

  • Error when activating update rule

    HI BI Expert,
    The original transfer rule for 2LIS_11_VAITM was deleted accidently and I created new one and mapped with the existing infosource. The system always generates the following error at the time of transport to another client.
    Error when activating update rule D1GOAPD9O0P9CFOY8KBSOUDFA
    Activation of the update rules for ZO_SOP_1 ZT_SOP_SALO_ITM
    IC=ZO_SOP_1 IS=ZT_SOP_SALO_ITM error when checking the update rules.
    Would you kindly be able to suggest me what steps I need to take so as to correct this issue?
    Thanks.

    Hi,
    When you say that update rule was accidently deleted, was that attached to transport request and transported to your QA & PRD at that time.
    Because it may happen that, your old rules are still there in QA & PRD and the new rules are failing to overwrite that.
    If it is the case, then you may have to open the client for QA & PRD and delete the existing update rule (doesnt sound good practice though), and then create a fresh update rule and transport.
    Rgds,
    Vikram.
    Rgds,
    Vikram.

  • Error when activating update rule after transporting to QA

    Hi,
    When we transport Info cubes and update rules along with Process chains. There are the following errors in Transport request(XXXXXXXX).
    1. Error when activating update rule 22HSFD3ZMALU46LS0R8PRF2MW
    IC=ZSDPCXY2 IS=2LIS_11_VAITM error when checking the update rules
    2. Error when activating update rule 7NT4WIDPDCN2ERFDRXIGH95PM
    IC=ZSDPCXY2 IS=2LIS_12_VCHDR error when checking the update rules
    and etc.
    Then we activated and saved all the erroneous update rules in another tranport request(YYYYYYYY) and again we transported alongwith the previous transport request(XXXXXXXX).
    The last request(YYYYYYYY)was successfully tranported and still there are same errors in TR(XXXXXXXX).
    Quick answers will be highly appreciated.
    Regards,
    Vijay

    Hi Vijay,
    Next time you would have transport only (YYYYYYYY). Transport Request (XXXXXXX) was not required to be moved.
    Normally Update Rule gets deactivated in QA when any changes to the CUbe/ODS are moved.
    Thus either you can transport transport request for only active update rule to QA or activate your UR directly in QA system in case you have authorization to do that.
    Regards,
    Rohini

  • Error when activating DataStore Object

    Hello,
    We have an ODS object which is in avtive stage in ECC DEV system. When
    we transport it to ECC QA system it can not be activated and shows
    follwoing errors :
    1) Internal error occurred when writing
    Message no. D0054
    2) Error while saving change log for DataStore object DSO_PL
    Message no. RSDODSO196
    3) Error during creation of DDIC sources of DataStore Object DSO_PL
    Message no. RSO435
    4) Error when activating DataStore Object DSO_PL
    Message no. RSO404
    We also observe that even we create new ODS object in ECC QA system,
    still it give the same errors while activating.
    Note - ECC QA is a system copy of ECC PROD.
    Please suggest.

    Hi,
    I believe the problem is with the Myself connection (the BW source system connection to itself) in the QA system.
    Please goto RSA1, 'source systems', right click on the myself system and click on 'check', if there are errors you
    maybe able to correct them by right clicking on the myself connection and click on 'restore'. If there are no
    errors for the myself connection you should go to sm59 and do the connection and authorization test for the
    RFC connection for the myself connection.
    Best Regards,
    Des.

  • Error when saving custom Datasource on R/3

    Hi,
    I'm creating a transaction datasource using Extraction by Function Module.
    I've created & activated the required extract struct (using Tcode: SE11) and the function module.
    However after populating these 2 fields in the datasource screen, when i try to save the DS. I get the following error.
    Error message : Units field MEINS for field GWERT of DataSource Z_PURCH_SMI_DATA is hidden
    Here GWERT is the field of the structure used in DS definition and in it's property i've mentioned MARA.MEINS as reference fields (it is obligatory  else  error when activating structure).   
    The structure got activated successfully, but is giving problem in Datasource.
    Fyi, similar message is appearing for other fields of the structure.
    Any input would be appreciated.
    Regards,
    Nagendra.

    Hi there,
    In SE11 where you are creating View or table for Datasource, Just add MEINS field in that as new entry
    and for field GWERT in reference fields table, give this MEINS field and reference table should be same table/ View name where you are adding this field.
    Regards,
    Rajdeep Rane.

  • Error when activating the master data

    Hi
    I am getting the following error when activating the master data. when using IDOC as transfer method in transfer rules
    <b>Error while creating table 'EDISEGMENT' entry '/BIC/CIRB0CLASS_NUM_TEXT'</b>
    If anyone came across this kind of problem plz share the solution.
    Regards
    Annie

    Hi
    I solved the problem. AFter changing from PSA to IDOC, i just saved first and activated. it got activated. But thanks for the response.
    There are no short dumps in ST22
    Regards
    Annie

  • Error when activating Datasource in Source System

    Dear All,
    I am gettting this error when activating data source in source system(RSA5).
    1)DataSource 0NETWORK_CUST_ATTR; switch to package PS_IS_EHP3_SFWS_SC is off.
    2) The extract structure DTTV_REC_53 of the DataSource 0TV_REC_531 is invalid
    Message no. R8444
    Diagnosis
    An invalid extract structure has been assigned to the DataSource. An extract structure has to be active in the DDIC. It cannot be a view, since the customer is not able to add append fields for filling in the customer exits to a view.

    Hi
    To use this datasource, you need to install EHP3 package.
    http://help.sap.com/saphelp_nw70/helpdata/EN/b0/7b6c759c494ffcbf821d2442687888/frameset.htm
    Chandu.

  • Runtime Error when activating Comp Records

    When trying to activate IT 0759 records in Comp to update Basic Pay, some employees received a Runtime Error. It states, "The exception CX_HRPA_VIOLATED_POSTCONDITION was raised, but it was not caught anywhere along the call hierarchy."
    It says it was not caught in 'HR_ECM_INSERT_INFOTYPE' function.
    Has anyone else seen this problem? It didn't happen for all employees.
    Thanks!

    Hi guys,
    Another reason for locked SPO's is:
    The terrible attribute-change-run (ACR). When you try to activate  a locked SPO, you only get a message like this:
    Runtime Lock: Activity ACTIVATE_SPO, Object DATATARGET ZZZ
    Unable to lock the semantically partitioned object
    Error when activating Semantically Partitioned Object ZZZ
    NO DTP request is running, so you can take all the day trying to find the error.
    So  in my case, there was an incomplete ACR (cancelled with error - red).
    It's like a curse. It is not easy to find the relation between ACR an SPO activation process (SAP error message is not useful to identify the reason)
    Finally, keep in mind:
    Check any DTP request running or cancelled that affect your SPO model and
    Check if you have an ACR (running or cancelled). This can lock your SPO object
    regards!

  • Error when activating Business Content

    Hi Ladies/Gents
    I get this error when activating BC: "Element 4EHBH4SLF21UQ1UFOHVN4SZVJ is missing in version D"
    I have successfully activated HR: Personnel Admin Data Targets and ETL structures. I also loaded master data to all I/O's and transaction data to the Cubes. I am now activating the queries and when I activate just the first query I get this error. I have searched everywhere for this element that is missing but can not find it. The query that I am trying to install is: "Number of entries". Note that some of the other queries were installed successfully.
    Thanks!

    Hi,
    This element is not available in "Number of entries" query. Try to check in query designer where this element is there in query or not.
    Also try to reinstall this query from Business content
    Regards
    Sangita

  • Error when activating DTP

    Hello,
    I hv a ZCube which contains some data..now due to some requirement I changed the Transformation activated it & transported Transformation & cube from Development to Production server..
    I tried activatingf DTP on production itself but it is giving following errors:
    -> &
    -> Error when activating Data Transfer Process DTP_4CGR11XLGUTZDF62I40GFEJE3
    plz tell how to activate??
    Thanks
    -Shilpi

    Hi Shilpi,
    there are several correction notes regarding DTP on this SP level, please try note 1151263.
    Please also look into the transport log, expand it, and to see if there should be any other information.
    please also try RSDG_AFTER_IMPORT_FOR_CORR according to 411574 to try re-import.
    There might be some inconsistency for PSA table, please run RSAR_PSA_CLEANUP_DIRECTORY to check.
    Thanks & B.R.
    Vince

Maybe you are looking for

  • External Hard Drives for retina Macbook Pro - Thunderbolt vs. USB 3.0

    I already bought a G-Tech FireWire800/USB 3.0 external hard drive and just bought a second one. And I just found out that USB 3.0 does not daisy chain (and the G-Tech drives only have one port each), and I also read that USB 3.0 hubs are not working

  • GPS info in MobileMe Gallery pictures.  Google Map?

    I took pictures on my iPhone, downloaded them into iPhoto, and made sure the GPS info was in the files. I created a MobileMe gallery, uploaded it, and checked to discover that when you click on the "i" icon in the MobileMe gallery from a web browser

  • I downloaded an itunes update and lost my audiobook collection

    I updated iTunes yesterday and lost my audiobook collection. There are no audiobooks listed in iTunes for me to sync. If I attempt to sync it says that I'll lose the audiobooks on my iphone and ipad.

  • How to remove lead selection in table dynamically

    I have a table in webdynpro which allows multiple selections of row. I have a button which is supposed to be clicked after selecting single or multiple rows. After clicking on the button I want to remove the lead selection of the  selected rows (whic

  • Customized messages for Dashboad prompt

    Hi, Can we put some customized messages in the dashboard prompt[Edit box]?– like when the user enter the characters – alert ("Please enter numeric values only").