Cannot drop nothing to my desktop

cannot drop nothing to my desktop.....a small  shadowed circle whit a crossedbar  appears ?

Take these steps if the cursor changes from an arrow to a white "prohibited" symbol when you try to move an icon on the Desktop.
Sometimes the problem may be solved just by logging out or rebooting. Try that first, if you haven't already done it. Otherwise, continue.
Select the icon of your home folder (a house) in the sidebar of a Finder window and open it. The Desktop folder is one of the subfolders. Select it and open the Info window. In the General section of the window, the Kind will be either Folder  or something else, such as Anything.
If the Kind is Folder, uncheck the box marked Locked. Close the Info window and test.
If the Kind is not Folder, make sure the Locked box is not checked and that you have Read & Write privileges in the  Sharing & Permissions section. Then close the Info window and do as follows.
Back up all data.
Triple-click anywhere in the line below on this page to select it:
xattr -d com.apple.FinderInfo Desktop
Copy the selected text to the Clipboard by pressing the key combination command-C.
Launch the built-in Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window (command-V). You should get a new line ending in a dollar sign ($). Quit Terminal.
Relaunch the Finder.
If the problem is now resolved, and if you use iPhoto, continue.
Quit iPhoto if it's running. Launch it while holding down the option key. It will prompt you to select a library. Choose the one you want to use (not the Desktop folder.)

Similar Messages

  • Cannot drop pictures into video effects window (not the usual problem)

    Hi there,
    I cannot drop jpgs into the video effects window. I checked http://discussions.apple.com/thread.jspa?messageID=5700460&#5700460 and http://discussions.apple.com/thread.jspa?messageID=7384222&#7384222 and they got me going, but my issue is slightly different.
    The plus sign appears when I click and drag the picture out of finder and into one of the open windows in video effects user backdrop window. When I release the mouse button, nothing is dragged to the location. I have tried different picture locations, moved them to the desktop first, and different picture locations, but no luck.
    Any ideas? I’ll run disk perms in the meantime in case it is something goofy, but if anyone has any ideas I’d be grateful. Just got my first Mac two days ago and love it so far

    Hi,
    Did the Pic file come from another computer ?
    Manually navigate to the Pic.
    Highlight it and do a "Get Info" (Apple Key and I together)
    DO you Own it and have Read and Write Access (near the bottom when you expand the various tabs).
    Make sure you are the Owner and have Read and Write access.
    9:03 PM Monday; December 8, 2008

  • Cannot drop Mapping

    Hi,
    in our project there is an mapping that seems to be corrupt. We cannot open it (when the editor opens, it shows nothing). So we would like to import that map from an older MDL-file. But we also cannot drop the mapping. OWB shows an API5072 Error then:
    Internal Error: Null message for exception.
    Is the there a way to get rid of that mapping?
    Regards,
    Tobias

    Hi Tobias,
    you may try to export everything but the corrupt mapping. Then import into a new repository. Eventually import the last backup of the corrupt mapping into the new repository.
    But first try to quit and restart design center. Sometimes we experience strange errors that vanish after a restart.
    Regards,
    Carsten.

  • Cannot drop queue objects - invalid username/password

    Folks - I'm having an issue where I cannot drop the user that owns my AQ/streams objects from an 11g database.
    SYS@bwapepd1> drop user streams cascade;
    drop user streams cascade
    ERROR at line 1:
    ORA-24008: queue table STREAMS.LB_SUBS_SOURCE_QT must be dropped first
    So then I try to drop the queue -
    SYS@bwapepd1> execute dbms_aqadm.drop_queue('STREAMS.LB_SUBS_SOURCE_Q');
    BEGIN dbms_aqadm.drop_queue('STREAMS.LB_SUBS_SOURCE_Q'); END;
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 3472
    ORA-06512: at "SYS.DBMS_AQADM", line 167
    ORA-06512: at line 1
    So, next I tried to drop the queue table with a force -
    SYS@bwapepd1> BEGIN
    dbms_aqadm.drop_queue_table(
    queue_table => 'STREAMS.LB_SUBS_SOURCE_QT',
    force => TRUE);
    END;
    BEGIN
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 4215
    ORA-06512: at "SYS.DBMS_AQADM", line 197
    ORA-06512: at line 2
    I've tried as both SYS and the STREAMS owner and both get the same invalid username/password error.
    Any help is much appreciated.
    Thx!
    rb

    There is insufficient information here to help you but my recommendation would be:
    1. Stop the queue
    2. Drop the queue
    3. Drop the queue table
    4. Drop the user with cascade
    If you are getting an insufficient privs message when logged on as SYS then you need to make sure that you are where you think you are: You are not. Perhaps you have a remote connection, for example.
    PS: Is this Windows and are you using the joke that is remote desktop? That is one example of not being where you think you are.

  • Cannot create new folders on desktop. Cannot drag new items onto desktop. Desktop in Finder opens with Terminal. Not sure if this has anything to do with upgrading to Mavericks but I need help if anyone has ideas. Thank you.

    I can no longer create new folders on my desktop. The option to do that is now light gray on the drop down menu and can't be selected.
    I cannot drag new items onto desktop any longer either.
    The Desktop in Finder opens with Terminal.
    Folders and items on Desktop open and work normally.
    Not sure if this has anything to do with upgrading to Mavericks but I need help if anyone has ideas.
    Thank you.

    Take these steps if the cursor changes from an arrow to a white "prohibited" symbol when you try to move an icon on the Desktop.
    Sometimes the problem may be solved just by logging out or rebooting. Try that first, if you haven't already done it. Otherwise, continue.
    Select the icon of your home folder (a house) in the sidebar of a Finder window and open it. The Desktop folder is one of the subfolders. Select it and open the Info window. In the General section of the window, the Kind will be either Folder  or something else, such as Anything.
    If the Kind is Folder, uncheck the box marked Locked. Close the Info window and test.
    If the Kind is not Folder, make sure the Locked box is not checked and that you have Read & Write privileges in the  Sharing & Permissions section. Then close the Info window and do as follows.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    xattr -d com.apple.FinderInfo Desktop
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You should get a new line ending in a dollar sign (“$”). Quit Terminal.
    Relaunch the Finder.
    If the problem is now resolved, and if you use iPhoto, continue.
    Quit iPhoto if it's running. Launch it while holding down the option key. It will prompt you to select a library. Choose the one you want to use (not the Desktop folder.)

  • BaseFileName cannot be nothing or an empty String during Test Connection

    Dear All,
    I have FDM+Foundation+HSF 11.1.2 installed
    I have stacked with the following problem:
    when I try to Test Connection (Authentication Provider Window) during Load Balance Configuration I am getting
    +“BaseFileName cannot be nothing or an empty String+
    Parameter name: value”
    Can somebody help me with it?
    Best Regards,
    Siarhei

    same error i faced, i restarted the APP server and it worked then.

  • Cannot Delete CPTL file from Desktop using Vista

    Hi All,
    I cannot Delete CPTL file from Desktop using Vista. Explorer
    crashes. It is a Captivate 2 file.
    I have tried (with no luck):
    - logging in as a different user and deleting the file.
    - running explorer as an Administrator
    - uninstalling Captivate.
    Anyone got any ideas?
    Cheers,
    Raef

    Hi Raef,
    That is a strange issue. Here are a couple more ideas you
    could try:
    - Have you tried renaming the file (including suffix)?
    - Have you rebooted?
    - Do you get any error messages when trying to delete, such
    as "Acess Denied"?
    - Is your machine networked? Is it possible someone else has
    the file open?
    - Can the file be moved to another location or put in a
    folder (and then deleted)?
    - Have you tried using the Command Prompt / DOS mode to
    delete the file?
    It sounds like it could be a Vista issue so I would look at
    the Microsoft Vista forums too. Sorry I do not have an exact
    answer.
    IHTH,
    Aaron

  • ORA-00604 error occured at recursive level1,ORA-20123 Insufficient privileges: you cannot drop table cls_lrn_tab_unique TABLE,ORA-06512

    Dear All,
         I created one table like
    create table cls_lrn_tab_unique (F_no number unique UK_F_NO );
    after performing some operations I want to delete the same.
    At that time i got following error. Please help me and tell what is the reason for the error.
    ORA-00604 error occured at recursive level1
    ORA-20123 Insufficient privileges: you cannot drop table cls_lrn_tab_unique TABLE,
    ORA-06512 at line no 2
    Thanks and Regards
    Prasad

    26bffcad-f9a2-4dcf-afa0-e1e33d0281bf wrote:
    Dear All,
         I created one table like
    create table cls_lrn_tab_unique (F_no number unique UK_F_NO );
    after performing some operations I want to delete the same.
    At that time i got following error. Please help me and tell what is the reason for the error.
    ORA-00604 error occured at recursive level1
    ORA-20123 Insufficient privileges: you cannot drop table cls_lrn_tab_unique TABLE,
    ORA-06512 at line no 2
    Thanks and Regards
    Prasad
    ORA-20123 is a localized/customized error code & message; therefore any solution depends upon what is unique inside your DB now.
    I suspect that some sort of TRIGGER exists, which throws posted error, but this is just idle speculation on my part.
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

  • Is there a way to restore photos from Drop box to my desktop iPhoto in a large batch instead of one at a time? I tried and a zip file was downloaded but won't open. Says file format not recognized.

    Is there a way to restore photos from Drop box to my desktop iPhoto in a large batch instead of one at a time? I tried and a zip file was downloaded but won't open. Says file format not recognized. I see how to do it one at a time with the "download" button in Dropbox but that's so cumbersome for lots of photos.

    Have you tried these avenues?
    Contact us - Dropbox
    Dropbox Help Center
    Dropbox Forums
    Submit a help request - Dropbox
    OT

  • Cannot drop table

    Versions are Oracle 11.2.0.1.0 and SQL Developer 4.0.0.12 on Windows 7 Ultimate SP1.
    Hi
    I'm following the CBT Nuggets SQL Fundementals training (video #11) and cannot drop a table I have just created.  The command executed and error are:
    drop table newprods;
    Error starting at line : 1 in command -
    drop table newprods
    Error report -
    SQL Error: ORA-00604: error occurred at recursive SQL level 1
    ORA-20000: Cannot drop object
    ORA-06512: at line 2
    00604. 00000 -  "error occurred at recursive SQL level %s"
    *Cause:    An error occurred while processing a recursive SQL statement
               (a statement applying to internal dictionary tables).
    *Action:   If the situation described in the next error on the stack
               can be corrected, do so; otherwise contact Oracle Support.
    As the HR user I created two tables and created a FK constraint between them.  After truncating the table with this FK, I am unable to drop it.  Even if I remove the FK, the error is the same.  Issing the command in SQL*Plus gives the same error.
    This is the first time I have created any tables since installing Oracle on this machine and is my first attempt at dropping a table.  I have not created any sequences, triggers or views based on these newly created tables.
    Does anyone have any ideas?
    Cheers

    C:\Oracle>sqlplus hr@orcl
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Sep 4 18:58:55 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> CREATE TABLE table1 (column1 VARCHAR2(20 BYTE));
    Table created.
    SQL> select * from table1;
    no rows selected
    SQL> drop table table1;
    drop table table1
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20000: Cannot drop object
    ORA-06512: at line 2
    SQL>
    Can I run a query to see if there are any triggeres on the table?
    EDIT: Ok it looks like no triggers:
    SQL> show user
    USER is "SYS"
    SQL> select * from DBA_TRIGGERS where table_name like '%table1%';
    no rows selected
    SQL> select * from USER_TRIGGERS where table_name like '%table1%';
    no rows selected

  • My i-phone Not charging because Sunken pins and Green Belt3 Power Mac Center said even my warranty still open until 30 October they cannot do nothing and refer me to a Toll Free Apple customer Service number..my question for what are thwy there?

    My i-phone 5s is not charging because of Sunken pins where the socket is plugged. According Power Mac Center at Green Belt3 even my warranty still open until 30 October they cannot do nothing and refer me to a Toll Free Apple customer Service number in Singapore!!! ..my question for what are they there? not alt all very friendly and helpful!!

    Send an e-mail with all this in it directly to Tim Cook. Seriously. You can send e-mail to him.
    You might also try this forum here for more ideas: http://forums.macrumors.com/index.php?

  • Windows 7 Desktop synchronisation - Windows cannot access \\server\users\name\desktop

    Hi there
    My client has a laptop which won’t load the desktop when disconnected from the network. When you log on (while disconnected) you get the error
    “Windows cannot access \\server\users\name\desktop”
    Works as expected while connected to the network.
    The server is a Windows Small Business Server 2003 with active directory etc. and roaming profiles turned on. This issue does not occur on other workstations/laptops.
    When I check the Users folder on the local system drive there is not a desktop folder. I assume this is the issue although I’m not sure how you would force windows to create one or why one hasn’t been created?
    This is a brand new laptop so my initial reaction was to reset the laptop to factory state and then add the laptop back in to the domain. After this process the issue was still present!
    I guess the only thing I should mention is that this was shipped as a Home Premium laptop and was then upgraded to Professional using an upgrade key.
    I have checked Control Panel, System & Security, System, Advanced, User Profiles and the account shows as Local with Roaming Profiles greyed out.
    Any ideas?
    Martyn Fewtrell
    [email protected]
    Martyn Fewtrell TNC (IT Solutions) Ltd Email: [email protected] Web: http://www.tncit.co.uk

    Hi,
    I am just writing to check the status of this thread. Was the information provided in previous
    reply helpful to you? Do you have any further questions or concerns? Please feel free to let us know.
    Regards,
    Alex Zhao
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Alex Zhao
    TechNet Community Support

  • Firefox fails to launch. When I click on the shortcut nothing happens. in Taskmanager processes Firefox.exe is shown but there is nothing on my desktop. Please Help?

    Firefox is failing to launch. Clicking on shortcut does nothing but start Firefox.exe process in Task Manager but nothing on my desktop or taskbar. I recieved no warning of infection from Microsoft Security Essential nor did subsequent scans with MSE and Super Anti Spyware result in anything more than a couple of harmless ad tracking cookies. Have uninstalled Firefox, cleaned registry with TuneUp Utilities and downloaded and reinstalled Firefox 7.0.1. The program still fails to launch.

    Check that you do not run Firefox as Administrator.
    Right-click the Firefox desktop shortcut and choose "Properties".
    In the Compatibility tab, make sure that Privilege Level: "Run this program as Administrator" is not selected.
    You also need to check the Properties of the firefox.exe program in the Firefox program directory.

  • ORA-01940: cannot drop a connected user... No entries in v$session.

    Hi DBAs,
    Its on Linux Ubuntu... I want to drop a user. Getting error as below. When I check for connected sessions, I find no entries in v$session. Any other alternative? Please help!!!
    EGOVDBA@qadb> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    EGOVDBA@qadb> drop user egov_integrated cascade;
    drop user egov_integrated cascade
    ERROR at line 1:
    ORA-01940: cannot drop a user that is currently connected
    EGOVDBA@qadb> select username, osuser, machine, terminal, sid, serial# from v$session where username='EGOV_INTEGRATED';
    no rows selected
    EGOVDBA@qadb> drop user egov_integrated cascade;
    drop user egov_integrated cascade
    ERROR at line 1:
    ORA-01940: cannot drop a user that is currently connected

    oracle@hp2:~$ ps -ef | grep oracle
    oracle 7011 1 0 Mar31 ? 00:03:18 /orclins/u01/app/oracle/bin/tnslsnr LISTENER -inherit
    oracle 7166 1 0 Mar31 ? 00:00:08 ora_pmon_qadb
    oracle 7168 1 0 Mar31 ? 00:00:00 ora_psp0_qadb
    oracle 7170 1 0 Mar31 ? 00:00:16 ora_mman_qadb
    oracle 7172 1 0 Mar31 ? 00:01:32 ora_dbw0_qadb
    oracle 7174 1 0 Mar31 ? 00:01:47 ora_lgwr_qadb
    oracle 7176 1 0 Mar31 ? 00:00:08 ora_ckpt_qadb
    oracle 7178 1 0 Mar31 ? 00:00:42 ora_smon_qadb
    oracle 7180 1 0 Mar31 ? 00:00:00 ora_reco_qadb
    oracle 7182 1 0 Mar31 ? 00:00:09 ora_cjq0_qadb
    oracle 7184 1 0 Mar31 ? 00:00:06 ora_mmon_qadb
    oracle 7186 1 0 Mar31 ? 00:00:13 ora_mmnl_qadb
    oracle 7188 1 0 Mar31 ? 00:00:00 ora_d000_qadb
    oracle 7190 1 0 Mar31 ? 00:00:00 ora_s000_qadb
    oracle 7275 1 0 Mar31 ? 00:00:00 ora_qmnc_qadb
    oracle 7277 1 0 Mar31 ? 00:00:00 ora_q000_qadb
    oracle 7280 1 0 Mar31 ? 00:00:00 ora_q001_qadb
    oracle 7765 1 0 Mar31 ? 00:00:01 oracleqadb (LOCAL=NO)
    oracle 7767 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 7769 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 7771 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 7773 1 0 Mar31 ? 00:00:01 oracleqadb (LOCAL=NO)
    oracle 17325 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 17327 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 17329 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 17331 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 17333 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 17337 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 17339 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 17341 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 17343 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 17345 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 20219 1 15 Mar31 ? 02:07:49 oracleqadb (LOCAL=NO)
    oracle 20221 1 16 Mar31 ? 02:11:16 oracleqadb (LOCAL=NO)
    oracle 20227 1 15 Mar31 ? 02:00:44 oracleqadb (LOCAL=NO)
    oracle 20229 1 13 Mar31 ? 01:46:38 oracleqadb (LOCAL=NO)
    oracle 20376 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 20378 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 20380 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 20382 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 20384 1 0 Mar31 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 21336 1 0 00:00 ? 00:04:15 ora_j000_qadb
    oracle 24611 1 0 07:50 ? 00:00:00 oracleqadb (LOCAL=NO)
    root 25225 6477 0 08:37 ? 00:00:00 sshd: oracle [priv]
    oracle 25227 25225 0 08:37 ? 00:00:00 sshd: oracle@pts/0
    oracle 25228 25227 0 08:37 pts/0 00:00:00 -bash
    oracle 25273 1 0 08:41 ? 00:00:02 ora_j001_qadb
    oracle 26011 1 0 09:27 ? 00:00:00 oracleqadb (LOCAL=NO)
    oracle 26012 25228 0 09:27 pts/0 00:00:00 ps -ef
    oracle 26013 25228 0 09:27 pts/0 00:00:00 grep oracle
    oracle@hp2:~$

  • Cannot drop the table because it does not exist in the system catalog. Transaction context in use by another session

    Hi Every one,
    An error has occurred during report processing. (rsProcessingAborted)
    Get Online Help
    Query execution failed for data set 'NonFinTran'. (rsErrorExecutingCommand)
    Get Online Help
    Cannot drop the table '#NonFinTran', because it does not exist in the system catalog. Cannot drop the table '#MultipleNonFinTran',
    because it does not exist in the system catalog. Transaction context in use by another session.
    NOTE: NonFinTran &
    MultipleNonFinTran are
    the Temp table in my storedPoc.
    Please any help me to solve this issue. 
    Thanks & Regards,
    Anil Kumar
    Anil Kumar

    Hi Harsh,
     Below is my Stored Proc
    SELECT @ServerName=datasource from master.dbo.sysservers WHERE catalog='Voyager'    
     SELECT @ServerName3=datasource from master.dbo.sysservers WHERE catalog='AuditLog'    
     SELECT @ServerName2=datasource from master.dbo.sysservers WHERE catalog='Portal'    
     IF @ServerName IS NOT NULL SET @ServerName='[' + @ServerName + '].' ELSE SET @ServerName=''    
     IF @ServerName3 IS NOT NULL SET @ServerName3='[' + @ServerName3 + '].' ELSE SET @ServerName3=''    
     IF @ServerName2 IS NOT NULL SET @ServerName2='[' + @ServerName2 + '].' ELSE SET @ServerName2=''    
     IF Exists(Select * From tempdb.dbo.SysObjects Where Name Like '#NonFinTran%')     
      DROP TABLE #NonFinTran    
     IF Exists(Select * From tempdb.dbo.SysObjects Where Name Like '#MultipleNonFinTran%')     
      DROP TABLE #MultipleNonFinTran    
     CREATE TABLE #NonFinTran (FirstName VARCHAR(40), TaxId VARCHAR(40), TrxID VARCHAR(40), Status VARCHAR(255), Field1 VARCHAR(255), Field2 VARCHAR(255),    
       Field3 VARCHAR(255), Field4 VARCHAR(255), Field5 VARCHAR(255), Field6 VARCHAR(255), DateTime DATETIME,     
       BranchID CHAR(3), BankID CHAR(1), FromAccountID VARCHAR(255), FromAccountType VARCHAR(255))    
     CREATE TABLE #MultipleNonFinTran (FirstName VARCHAR(40), TaxId VARCHAR(40), TrxID VARCHAR(40), Status VARCHAR(255), Field1 VARCHAR(255), Field2 VARCHAR(255),    
       Field3 VARCHAR(255), Field4 VARCHAR(255), Field5 VARCHAR(255), Field6 VARCHAR(255), DateTime DATETIME,     
       BranchID CHAR(3), BankID CHAR(1), FromAccountID VARCHAR(255), FromAccountType VARCHAR(255))     
    INSERT #NonFinTran    
     EXEC('SELECT FirstName, TaxID,     
      TrxID, Status, TrxField1, TrxField2, TrxField3, TrxField4, TrxField5, TrxField6, DateTime, '''', '''', '''', ''''    
     FROM ' + @ServerName3 + 'AuditLog.dbo.CCAuditLogEntryView AS Audit, ' + @ServerName + 'Voyager.dbo.CCUser AS CCUser    
     WHERE CCUser.UserID = Audit.UserID     
      AND Audit.Succeeded = 1     
      AND Audit.TrxID IN (''ChangeBillPayDefaultAccountEdit'',''ChangeExpiryUserPassword'',''ChangePasswordEdit'',    
       ''ChangeUserPassword'',''ManageAddressMaint'',''ManageContactMaint'',''ManageSecretQuestionAnswerEdit'',    
       ''ManageTransLimitMaint'',''OtherBankAccountMaintAdd'',''OtherBankAccountMaintDelete'',''OtherBankAccountMaintEdit'',    
       ''WithinAmBankAccountMaintAdd'',''WithinAmBankAccountMaintDelete'',''WithinAmBankAccountMaintEdit'',    
       ''SetAccountMaskPreferenceAudit'',''ChangeLoginIdAudit'')     
      AND DATEDIFF(DAY, CONVERT(DATETIME, CONVERT(VARCHAR(10), ''' + @StartDate + '''), 103), Audit.DateTime) >= 0     
      AND DATEDIFF(DAY, CONVERT(DATETIME, CONVERT(VARCHAR(10), ''' + @EndDate + '''), 103), Audit.DateTime) <= 0 ')    
     INSERT #MultipleNonFinTran    
     EXEC('SELECT DISTINCT FirstName, TaxID,     
      TrxID, Status, TrxField1, TrxField2, TrxField3, TrxField4, TrxField5, TrxField6, Audit.DateTime as AuditDateTime,    
    (SELECT DISTINCT SUBSTRING(A.BranchCode,3,3)  FROM ' + @ServerName + 'AuditLog.dbo.CCAuditLogEntryView X INNER JOIN ' + @ServerName + 'Voyager.dbo.CCuser U
    ON X.UserId = U.UserId INNER JOIN ' + @ServerName + 'Voyager.dbo.AMHZ_CustomerProfile P ON P.EnrolId = U.TAXID 
    INNER JOIN ' + @ServerName + 'Voyager.dbo.AMHZ_AccountListing A ON A.CIFNO = P.CIFNO
    WHERE X.UserId = Audit.UserId AND A.AccountNo = SUBSTRING(Audit.TrxField1,11,16) AND P.CIFNO = A.CIFNO
    AND (SUBSTRING(A.BranchCode,3,3) <> NULL OR SUBSTRING(A.BranchCode,3,3) <> '''')
    AND CHARINDEX(''AccountID='', Audit.TrxField1, 1) > 0),
      SUBSTRING(TrxField1,14,1), CASE WHEN CHARINDEX(''AccountID='', TrxField1, 1) > 0 THEN     
      SUBSTRING(TrxField1,11,16) ELSE '''' END, CASE WHEN CHARINDEX(''AccountType='', TrxField2, 1) > 0 THEN SUBSTRING(TrxField2,13,3) ELSE '''' END    
     FROM ' + @ServerName3 + 'AuditLog.dbo.CCAuditLogEntryView AS Audit, ' + @ServerName + 'Voyager.dbo.CCUser AS CCUser    
     WHERE CCUser.UserID = Audit.UserID     
      AND Audit.Succeeded = 1     
      AND Audit.TrxID IN (''SetAccountAttributesAudit'',''SetAccountFriendlyNameAudit'',    
      ''AccountProfileMaintULDelete'',''AccountProfileMaintLHAAdd'',''AccountProfileMaintLSCAdd'')
      AND DATEDIFF(DAY, CONVERT(DATETIME, CONVERT(VARCHAR(10), ''' + @StartDate + '''), 103), Audit.DateTime) >= 0     
      AND DATEDIFF(DAY, CONVERT(DATETIME, CONVERT(VARCHAR(10), ''' + @EndDate + '''), 103), Audit.DateTime) <= 0 ')  
      SET @stmt = '    
     SELECT * FROM    
     SELECT BranchName,
     CASE WHEN SUBSTRING(FromAccountID,1,6) IN (''519901'',''559409'')  THEN ''DC''  
    ELSE       
     CASE FromAccountType WHEN ''01'' THEN ''SA '' WHEN ''02'' THEN ''CA '' WHEN ''03'' THEN ''FD ''     
        WHEN ''SA'' THEN ''SA '' WHEN ''CA'' THEN ''CA '' WHEN ''FD'' THEN ''FD '' ELSE FromAccountType + '' ''    
     END 
     END +     
    case when Len(FromAccountID) =16 Then  
       CASE FromAccountType WHEN ''VC'' THEN   
       SUBSTRING(FromAccountID,1,6)+''******''+SUBSTRING(FromAccountID,13,4)      
    WHEN ''MC'' THEN SUBSTRING(FromAccountID,1,6)+''******''+SUBSTRING(FromAccountID,13,4)  END  
         when Len(FromAccountID) =15 Then 
    CASE FromAccountType WHEN ''VC'' THEN   
       SUBSTRING(FromAccountID,1,6)+''******''+SUBSTRING(FromAccountID,13,3)      
    WHEN ''MC'' THEN SUBSTRING(FromAccountID,1,6)+''******''+SUBSTRING(FromAccountID,13,3)  END  
         ELSE FromAccountID   
    ENd  
     AS FromAcctNo,    
     CASE TrxId  
     WHEN ''AccountProfileMaintLHAAdd'' THEN ''Link Account/Card''    
     WHEN ''AccountProfileMaintLSCAdd'' THEN ''Link Account/Card''    
     WHEN ''APMFamilyFirstAdd'' THEN ''Link Family First Account''    
     WHEN ''AccountProfileMaintULDelete'' THEN ''Unlink Account/Card''    
     WHEN ''BalInqFD'' THEN CASE  WHEN Field3 IN (''APMLink=SUCCESS'') THEN ''APMLink Success'' ELSE ''Fixed Deposit Balance Inquiry'' END  
     WHEN ''BalInqCASA'' THEN CASE  WHEN Field3 IN (''APMLink=SUCCESS'') THEN ''APMLink Success'' ELSE
         CASE WHEN FromAccountType IN (''SA'',''01'') THEN ''Savings Account Balance Inquiry'' 
        ELSE ''Current Account Balance Inquiry'' 
       END 
      END    
     WHEN ''StopCheck'' THEN ''Stop Cheque Request''    
     WHEN ''CheckReorder'' THEN ''Order Your Cheque''    
     WHEN ''CheckInquiry'' THEN ''Cheque Inquiry''    
     WHEN ''TransHistFD'' THEN ''Fixed Deposit Transaction History''    
     WHEN ''TransHistCASA'' THEN    
      CASE WHEN FromAccountType IN (''SA'',''01'') THEN ''Savings Account Transaction History'' ELSE ''Current Account Transaction History'' END    
     WHEN ''StmtInqCC'' THEN    
      CASE WHEN FromAccountType IN (''DR'',''03'') THEN ''Debit Card Statement Inquiry'' ELSE ''Credit Card Statement Inquiry'' END    
     WHEN ''StmtInqDA'' THEN    
      CASE WHEN FromAccountType IN (''SA'',''01'') THEN ''Savings Account Statement Inquiry'' ELSE ''Current Account Statement Inquiry'' END    
     WHEN ''StmtReq'' THEN ''Printed Statement Request''    
     WHEN ''StmtInqIAMSTAR'' THEN ''E-AMSTAR Statement Inquiry''    
     WHEN ''Repayment/Transfer Inquiry'' THEN ''Repayment/Transfer Inquiry''    
     WHEN ''Account Inquiry'' THEN ''Account Inquiry''    
     WHEN ''Payment Inquiry'' THEN ''Payment Inquiry''    
     END AS TransType,    
     FirstName AS CustomerName,    
     TaxId, CONVERT(VARCHAR, DateTime, 103) AS Date, CONVERT(VARCHAR, DateTime, 108) AS Time    
     FROM #NonFinTran, ' + @ServerName3 + 'Portal.dbo.TB_Branch AS TB_Branch    
     WHERE     
     BranchId = TB_Branch.BranchCode     
     AND (TB_Branch.InstCode IN (''00001'', ''00003'',''001'',''002''))    
     AND (FromAccountType IN (''SA'', ''CA'', ''FD'', ''01'', ''02'', ''03'')))'    
    EXEC (@stmt)
    IF Exists(Select * From tempdb.dbo.SysObjects Where Name Like '#NonFinTran%')     
     DROP TABLE #NonFinTran    
     IF Exists(Select * From tempdb.dbo.SysObjects Where Name Like '#MultipleNonFinTran%')     
      DROP TABLE #MultipleNonFinTran    
    Anil Kumar

Maybe you are looking for