Xp_cmdshell error, but not calling xp_cmdshell anywhere

I'm using SQL Server 2005.  My company uses a very large, complex legal services developed by an outside firm, with whom we work pretty closely.  I'm adapting a stored procedure that writes one record into a table which has several required columns
(NOT NULL)  The procedure also invokes another stored procedure and a user-defined function.
So far as I can tell, I'm passing in all of the required parameters; for any column that is not required, I'm passing in NULL.  I'm invoking the procedure as follows:
EXEC sp_WriteARecord <key value 1>, <key value 2>, <key value 3>, <key value 4>, NULL, NULL, NULL, NULL
When I make this call, I get the following error:
Msg 229, Level 14, State 5, Procedure xp_cmdshell, Line 1
The EXECUTE permission was denied on the object 'xp_cmdshell', database 'mssqlsystemresource', schema 'sys'.
The problem is, there is no call to xp_cmdshell in any of the procedures or the function.  I don't think I've ever seen this before, unless I was, for some reason, trying to see if I could actually call xp_cmdshell.  I'm not a DBA, and I know that
I have server-level Admin privileges, but I don't believe that's the problem.
I hope this is enough detail to adequately describe the problem.  I'd be very grateful if anyone can point me in the right direction.

The query that Sean gave you have a potential problem, the string xp_cmdshell may be split up over two lines in sys.comments. This is safer:
SELECT object_name(object_id) FROM sys.sql_modules WHERE definition LIKE '%xp_cmdshell%'
And you should have db_owner rights when you run this.
Note: if procedures have been created WITH ENCRYPTION, you will come back empty-handed.
But something is certainly calling xp_cmdshell. That we can tell from here.
Erland Sommarskog, SQL Server MVP, [email protected]

Similar Messages

  • Hi! I have a library of around 1000 songs on my iTunes, I recently synced my phone and all was lost, my partner has the same songs on hers with a different sign in, but not backed up anywhere, any suggestion on how I can store her tunes in my account ???

    Hi! I have a library of around 1000 songs on my iTunes, I recently synced my phone and all was lost, my partner has the same songs on hers with a different sign in, but not backed up anywhere, any suggestion on how I can store her tunes in my account ??? Then sync them to mine? When I sign her phone into her account I get a message warning that if I sync the dogs on her phone will be replaced by the ones in the library! But as there are no songs there I'm reluctant to continue!!! Please help this non techi guy.!!!!!

    Hello Solid Buck,
    Thank you so much for providing the details about the duplicate song issue you are experiencing.  It sounds like you would like to remove the duplicate songs that will not play on your iPhone, but when you connect it to iTunes, iTunes only shows you one copy of the song on your iPhone. 
    In this situation, I recommend deleting the individual songs that do not play directly from your iPhone.  I found the steps to do this on page 61 of the iPhone User Guide (http://manuals.info.apple.com/en_US/iphone_user_guide.pdf):
    Delete a song from iPhone: In Songs, swipe the song, then tap Delete.
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Error : URL not called due to an error

    Hi All,
             I developed a Web Dynpro ABAp application and tested it through a user with SAP_ALL Profile, and am getting the following error message:
    The URL http://sileccdev053.simondelhi.com:8000/sap/bc/webdynpro/sap/zadobe was not called due to an error.
    Note
    The following error text was processed in the system DEV : WebDynpro Exception:
    The error occurred on the application server SILECCDEV053_DEV_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CONSTRUCTOR of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/CADOBE==================CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/CADOBE==================CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
    Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C7STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program CL_WDR_VIEW_ADAPTER===========CP
    Method: IF_WDR_NW7_DELTA_RENDERER~CALCULATE_DELTA_BLOCKS of program CL_WDR_VIEW_ADAPTER===========CP
    Method: IF_WDR_NW7_DELTA_RENDERER~CALCULATE_DELTA_BLOCKS of program CL_WDR_WINDOW_CONTENT_ADAPTER=CP
    Method: SET_CONTENT of program CL_WDR_NW7_INT_WIN_ADAPTER====CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DEV in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server SILECCDEV053_DEV_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server SILECCDEV053_DEV_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 300 -u: PWCABAP -l: E -s: DEV -i: SILECCDEV053_DEV_00 -w: 0 -d: 20110215 -t: 111729 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    In ST22 we get the following:
    WHAT HAPPENED:
    The exception 'CX_WD_GENERAL' was raised, but it was not caught anywhere along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
      'CL_WD_ADOBE_SERVICES==========CP' has to be
    terminated.
    ERROR ANALYSIS:
    Error analysis
        An exception occurred which is explained in detail below.
        The exception, which is assigned to class 'CX_WD_GENERAL', was not caught and
        therefore caused a runtime error.
        The reason for the exception is:
        WebDynpro Exception:
        The occurrence of the exception is closely related to the occurrence of
        a previous exception "CX_FP_API_REPOSITORY", which was raised in the program
         "CL_FP_WB_HELPER===============CP",
        specifically in line 7 of the (include) program
         "CL_FP_WB_HELPER===============CM00V".
        The cause of the exception was:
        Object ZADOBE does not exist
    Please Suggest something.
    Cheers!!!
    Umang

    Hi Umnag,
    I think this application is using any Adobe Form and there is any issue wth the form interface.
    Please check syntax of the Adobe form as well as Form Interface. The Interface methods are throwing some exception which is not handled in the CL_WD_ADOBE_SERVICES.
    You can put a break-point in the costructor of above class and pin-point the issue yourself.
    Hope this helps!
    Reagrds
    Vineet

  • Camera tracker solving without errors but not showing result points

    hi
    I am trying the new camera tracker in AE cs6,
    im using very simple shots that can be tracked easily,
    and im having some strange behaviours,
    basically in many shots the analysis takes places with no errors but after the camera solve no result points appear, even if i use the advanced mode , changing all other parameters etc, and no errors are reported anywhere, also i select the effect on the panel and i also make sure the points size parameters are scaled up,
    but if i click on processing points (the unchecked box below 3d solve) i can see they are all there, and i can also create camera and the camera is created, so its as if all the process takes place correctly but for some reason the solve points are not shown on screen
    it has happened to me that with same shot sometimes they appeared and sometimes not, but most times they dont
    what can be happening in here?
    thanks so much

    will try to explain better my problem
    if i click on
    Render Track Points
    i can see there are great track points that follow all the movement perfectly,
    and yet without checking that box no solve points appear, even when i select the effect on effects panel
    or change any other parameter or do the advanced mode
    i can still click on create camera etc, but i cannot attach a text etc to a specific solve point because no solve points appear
    and yet as i say, if i click on the Render Track Points box i can see great tracking points all over the place following the action
    so the fact that selecting Render Track Points on effects panel shows great perfect points following all , does that confirm that camera solve was successful?
    i just cannot understand why i cannot see any solve points that i can interact with
    i have tried to scale sizes all the way up, select effect on panel and hundred other things
    thank you for any help

  • How to block text messages but not calls from a specific number

    I want to block text messages from my father but not his phone calls. Is there a way to do this? I have an iPhone 5, but don't want to upgrade to IOS7 yet.
    Thanks!

        You have a fantastic phone, joy3141. I double checked features for the iPhone 5 and confirmed there's not a way to block messages from a specific contact without blocking calls too. Our Call & Message Blocking http://vz.to/MqEgqB is a great way to block unwanted contact from specific numbers, but it would block both calls & messages. If your dad is on your account and you're hoping to block all of his text messages to or from anyone, there is a text message block available at www.vzw.com/serviceblocks you can add to his line.
    Thank you
    JenniferH_VZW
    Please follow us on Twitter @vzwsupport

  • Firefox Spry Error (but not  in IE)

    Hey Guys,
    Can anyone help me troubleshoot this error I'm receiving on
    my Spry page. It's this line of code:
    var selIndex = selObj.selectedIndex;
    It's happening in Firefox, but not in IE (works fine in IE).
    The page URL is:
    http://www.spearsenterprises.com/products.html
    Any suggestions would be appreciated.
    Thanks.

    Put an id="selectBike" on your select.
    --== Kin ==--

  • Can text but not call from abroad

    Hi I can text from both of my phones but cannot call from abroad please help xxxxxxxxxxx xxxxxxxxxxxx
    [Mod edit: Please do not include personal/private information when making a public post. Thanks!]

    Hi ,
    Can you text in WIFI or normal signal?
    Please call us, we will need to get this looked into.
    Thanks.

  • How can i email apple but not call them

    How can i email apple not call them?

    For support? Start a request online:
    Apple - Support - Contact Apple Support

  • Sender File Adapter - No error, but not generating any message

    I am working on a file to RFC scenario.  The sender file adapter is using content conversion to read a comma delimited file.  The file is being picked up and archived correctly, and the adapter monitor does not show any errors.  However, the process disappears at this point.  I don't see any messages in SXMB_MONI, and there is no sign that the process is reaching the RFC adapter.  Has anyone ever had this happen before?
    I have four line types for Buildings, Additions, Floors, and Rooms.
    I list all four in the recordset structure, and I identify a key for each with the keyFieldValue parameter.  I list a fieldSeparator of ',' and an endSeparator of 'nl' for each row.  And i have a list of the fieldnames in the fieldnames parameter.
    The only thing i'm not sure about is the keyFieldinStructure parameter.  I have specified ignore there, because I don't want that field in my XML.  Do I still need that field in my sender datatype, even if I'm ignoring it, or can I leave it out?
    Thanks for any help.  Please don't just list blogs unless they have something you think is helpful with my specific problem.  I have already read all of the blogs that deal generally with the sender file adapter and file content conversion, and I need more specific help at this point.

    I made one error before, it IS showing up in the Recovered Adapter Audit Log (it took that log about 10 minutes to open that particular tab so I didn't notice them there).
    Here is what it says there:
    2006-06-12 11:22:59 Success Channel CC_S_File_FIPM_Buildings: Entire file content converted to XML format
    2006-06-12 11:22:59 Warning Channel CC_S_File_FIPM_Buildings: Empty document found. Proceed without sending message
    2006-06-12 11:22:59 Success File "/interfaces/one line building.txt" archived after processing
    Here are my parameters in the file content conversion:
    Buildings.fieldNames     RecordType,PLTXT,STORT,STREET,POST_CODE1,CITY1,REGION,PARNR,X_COORD,Y_COORD,ASSIGN_SQ_FT,BLDG_NUM,CAMPUS,GR_SQ_FT,NET_SQ_FT
    Buildings.keyFieldValue     'B'
    Buildings.fieldSeparator     ','
    Buildings.endSeparator     'nl'
    Buildings.keyFieldInStructure     ignore
    Additions.fieldNames     RecordType,ASSIGN_SQ_FT,BLDG_ABBR,CAMPUS,ADDITION,BLDG_USE,BLDG__NUMBER
    Additions.keyFieldValue     'A'
    Additions.fieldSeparator     ','
    Additions.endSeparator     'nl'
    Additions.keyFieldInStructure     ignore
    Floors.fieldNames     RecordType,BLDG_ABBR,CAMPUS,ADDITION,FLOOR,ASSIGNABLE_SQUARE_FOOT,BLDG_NUMBER
    Floors.keyFieldValue     'F'
    Floors.fieldSeparator     ','
    Floors.endSeparator     'nl'
    Floors.keyFieldInStrucutre     ignore
    Rooms.fieldNames     RecordType,SHTXT,MSGRP,ADDITION,ASSIGNED_DEPT,BLDG_ABBV,FLOOR_CAMPUS,AREA,RCD_CODE,DEPT_CODE,BUILDING_NUMBER,ROOM_COMMON_KEY
    Rooms.keyFieldValue     'R'
    Rooms.fieldSeparator     ','
    Rooms.endSeparator     'nl'
    Rooms.keyFieldInStructure     ignore
    And here is my data type:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_FIPM_BuildingUpdate xmlns:ns0="urn:XXXXXX:FIPM:Buildings:SYS">
       <Buildings>
          <PLTXT/>
          <STORT/>
          <STREET/>
          <POST_CODE1/>
          <CITY1/>
          <REGION/>
          <PARNR/>
          <X_COORD/>
          <Y_COORD/>
          <ASSIGN_SQ_FT/>
          <BLDG_NUM/>
          <CAMPUS/>
          <GR_SQ_FT/>
          <NET_SQ_FT/>
       </Buildings>
       <Additions>
          <ASSIGN_SQ_FT/>
          <BLDG_ABBR/>
          <CAMPUS/>
          <ADDITION/>
          <BLDG_USE/>
          <BLDG_NUMBER/>
       </Additions>
       <Floors>
          <BLDG_ABBR/>
          <CAMPUS/>
          <ADDITION/>
          <FLOOR/>
          <ASSIGNABLE_SQUARE_FOOT/>
          <BLDG_NUMBER/>
       </Floors>
       <Rooms>
          <SHTXT/>
          <MSGRP/>
          <ADDITION/>
          <ASSIGNED_DEPT/>
          <BLDG_ABBV/>
          <FLOOR/>
          <CAMPUS/>
          <AREA/>
          <RCD_CODE/>
          <DEPT_CODE/>
          <BUILDING_NUMBER/>
          <ROOM_COMMON_KEY/>
       </Rooms>
    </ns0:MT_FIPM_BuildingUpdate>
    I'm going to recheck everything again, but maybe you guys will see something?  I don't.
    Vanda

  • V56LDELI -- EXIT_SAPLV56L_002 - active but not called

    I followed the instructions in Note 400368 to add a new field in the delivery line of VT01N/VT02N. The function module EXIT_SAPLV56L_002 and the INCLUDE ZXV56U25 are both active. However, I am not able to fill the new field in my append structure of VTRLK becasue EXIT_SAPLV56L_002 is not being called. 
    The enhancement V56LDELI has a status of 'migrated' in SMOD. Therefore, it cannot be added to a CMOD project, as the instructions in 400368 prescribe.
    I've searched for additional notes on this topic but cannot find documentation dealing with this problem. 
    Can anyone tell me what to do to hit my break-point in ZXV56U25?
    I have read the following notes:
    313221
    399075
    400368
    488916
    846010
    1609490
    1083509
    Thanks in Advance,
    Malissa

    Hello Melissa
      I know this is an old post, but I'm having a simular problem. Have you found an answer or a workaround ? I think the problem might be related to the fact that this exit was called for the old VT01,02,03 transactions and is no longer called by the new VT0nN transactions. So you'll hit your breakpoint if you use the old transaction codes. Regardless I have yet to find a solution for the new transactions. Any feedback would be appreciated.
    Thanks Bruno.

  • Tried the solutions posted for this "SubVI filter not executable​. Undefined error" but not solving the problem

    Hello,
    I am trying to use a lowpass filter for my application but getting the error "SubVI filter not executable. Undefined error".I tried working with the solutions at this post 
    http://forums.ni.com/t5/LabVIEW/SubVI-filter-not-e​xecutable-Undefined-error/m-p/1996701#M657751 and results with
    1. Create a blank vi, put a VI filter in the block diagram (this should not be functional as it is not wired), copy it and paste it in my other project. I believe if the filter is the first vi of a blank project, it is funcitonal and then you may copy it wherever you need to.
    Result:
    2.Tried to open the filter panel of the Filter but showing the same error as shown inthe below image
    Don't why the solutions worked for others are not working.Can someone suggest a solution for this.
    thanks in advance.

    Hi PatanGova,
    Very strange error. Actually, there are no required inputs on this express VI, so it should be able to run even without wires. It is not correct as you said: "this should not be functional as it is not wired". Nothing will happen, true, but the run arrow should not be broken.
    For some reason, the VI with the Filter express VI fails to compile. I tried it on my computer (LV 2013) and get no error when I add it to a new VI. As was suggested in the linked forum thread, you need to open the front panel of the Filter VI and run it to see the explicit error.
    If you do, do you also get the error:
    "This VI claims to be part of a library that does not include the VI. The VI might have been deleted from the library. Add the VI to the library again or select File - Disconnect from the library."?
    If you do, it seems that you may have a project library somewhere that has taken ownership of the express VI. The ownership prevents you from running or editing the express VI. To free the VI, you need to do one of two things. Either, you need to load the library into memory, or you need to disconnect the VI from the library. Either way, you need to find the project library that has taken the ownership of the VI. As soon as it is released, it should run for you. You release it by selecting File»Disconnect from Library on the VI.
    The workaround described in your link (and also here: http://forums.ni.com/t5/LabVIEW/compatibility-prob​lem-labview-2009-2010-2011-quot-This-VI-claims/td-​... tells that you can make a copy of the VI and thereby create another instance that is free. This solution may work for you as well, but if not, you may not have created the copy properly. Maybe your copy of the VI also became part of some project library that took ownership. In either way, you should rather find the project library to release the VI before trying the workaround to copy it.
    If project library ownership is not the problem, maybe the problem is connected to LV 2011, as most forum posters report that it only happens here.

  • GetConnectionFactory() error but not in all cases

    We have three production portal servers A, B, and C. One of our portal applications is getting the error "Failure: ConnctorService- getConnectionFactory(), retrieving the ConnectionFactory" consistently when running an app.
    More details:
    At first everyone got the error on one server (B). Then after restarting the portal servers, one person got the error on all three servers, but one person was able to access the app on all three servers.
    However, after some time, two of the servers seem fine for both people, but the B server now does not work for either person.
    Other portal apps are connecting to the R/3 systems with no problem.
    Any help to pinpoint the problem would be greatly appreciated.
    --Robert

    Hi Robert,
    Did you check the OSS note 719778?
    If not, please have a look.
    Thanks,
    Ramakrishna

  • Compiling in SQLDeveloper gives error, but not sqlplus

    Hi All,
    My case is very strange. I am able to compile a package body from sqlplus successfully, but gets the error "PLS-00707: unsupported construct or internal error [2603]" if I do the same from Oracle SQL Developer. My procedure is so big that I could not copy it here.
    Thanks,
    Sharmin

    you are in the wrong forum, this one is dedictaed to oracle forms.

  • Not enough disk space error - but not rea

    I have a Nomad Jukebox 3 - no really. It runs like a champ!? I use it most often for recording 44KHz audio. I just did the auto-update thing for the mediasource and plugins, blah blah blah. Now I can't sync a large recording (about .4GB)?to my computer. It gives me this error:?There is not enough disk space at the destination for this transfer. this is obviously a bug because it was working before the update. Please HELP!!

    I have the same problem - a Jukebox 3 which usually refuses to transfer files over about a gig.
    My old system disk was 30Gb, and it always worked OK with that, but when I reinstalled everything on a 20Gb disk, I got problems. I slightly suspect it may get confused when it checks for disk space by a disk that's a lot bigger than was available back when the Jukebox 3 came out. If anyone knows how to fix this I'd be most grateful - last time I had to record the audio in through my soundcard!

  • I can receive texts but not calls from one number

    My wife can send me text messgaes but I cannot receive calls from her. She can hear the dialling tone on her phone when she rings me but I don't get anything, not even a missed call message afterwards. We have both done factory resets on our phones and nothing has changed. We both have iphone 5s. Any ideas much appreciated??

    Quick update here as I got the problem resolved yesterday after talking to the technical department at O2. After my intiial post yesterday I actually discovered that I wasn't receiving any calls from any numbers (not only my wife)! The problem lay with the TuGo app I had installed on my phone which I hadn't used in ages but was still signed in. The person in O2 technical got me to redownload the app and then delete my account. My phone immediately began working as normal and I can receive all my calls. He mentioned that there was a known issue with this app and O2 were working on a fix for it currently. Thanks for your help.

Maybe you are looking for