DBCC SHRINKFILE: Page 4:11283400 could not be moved because it is a work table page.

Hi,
I issued this command on Tempdb but it doesnot shrink the file.
dbcc shrinkfile (tempdev_3,1)
go
Messages:
DBCC SHRINKFILE: Page 4:11283400 could not be moved because it is a work table page.
I have  checked that there are no tables associated with any user in tempdb. Any help is appreciated.
Regards,
Razi

this basically is a re-write of an existing stored procedure that will show
temp tables in the tempdb, and their relative size. I also have a query to
show the size of tempdb in MB that i used with this one, it is also a modification
to an existing system stored proc that shows allocated and free space in MB.
--10 june 2007 slane
--shows temp tables in the
--tempdb
use tempdb
declare @id int
declare @dt smalldatetime
create table #spt_space_all
id int,
name varchar(500),
rows varchar(200) null,
reserved varchar(200) null,
data varchar(200) null,
index_size varchar(200)null,
unused varchar(200) null,
create_date smalldatetime null,
declare TMP_ITEMS CURSOR LOCAL FAST_FORWARD for
select id from sysobjects
where xtype='U'
open TMP_ITEMS
fetch next from TMP_ITEMS into @id
declare @pages int
WHILE @@FETCH_STATUS = 0
begin
create table #spt_space
id int,
rows int null,
reserved dec(15) null,
data dec(15) null,
indexp dec(15) null,
unused dec(15) null
create_date smalldatetime null,
set nocount on
if @id is not null
set @dt = (select crdate from sysobjects where id=@id)
begin
** Now calculate the summary data.
** reserved: sum(reserved) where indid in (0, 1, 255)
insert into #spt_space (reserved)
select sum(reserved)
from sysindexes
where indid in (0, 1, 255)
and id = @id
** data: sum(dpages) where indid < 2
** + sum(used) where indid = 255 (text)
select @pages = sum(dpages)
from sysindexes
where indid < 2
and id = @id
select @pages = @pages + isnull(sum(used), 0)
from sysindexes
where indid = 255
and id = @id
update #spt_space
set data = @pages
/* index: sum(used) where indid in (0, 1, 255) - data */
update #spt_space
set indexp = (select sum(used)
from sysindexes
where indid in (0, 1, 255)
and id = @id)
- data
/* unused: sum(reserved) - sum(used) where indid in (0, 1, 255) */
update #spt_space
set unused = reserved
- (select sum(used)
from sysindexes
where indid in (0, 1, 255)
and id = @id)
update #spt_space
set rows = i.rows
from sysindexes i
where i.indid < 2
and i.id = @id
update #spt_space set create_date=@dt
end
insert into #spt_space_all
select name = @id,object_name(@id),
rows = convert(char(11), rows),
reserved = ltrim(str(reserved * d.low / 1024.,15,0) +
' ' + 'KB'),
data = ltrim(str(data * d.low / 1024.,15,0) +
' ' + 'KB'),
index_size = ltrim(str(indexp * d.low / 1024.,15,0) +
' ' + 'KB'),
unused = ltrim(str(unused * d.low / 1024.,15,0) +
' ' + 'KB'),create_date
from #spt_space, master.dbo.spt_values d
where d.number = 1
and d.type = 'E'
drop table #spt_space
FETCH NEXT FROM TMP_ITEMS
INTO @id
end
CLOSE TMP_ITEMS
DEALLOCATE TMP_ITEMS
select * from #spt_space_all where [name] not like '%#spt_space_all%'
drop table #spt_space_all
GO

Similar Messages

  • Calendar cache could not be moved because...permission

    after updates associated is iOS5 and icloud iCal won't open.  i get the message: Calendar cache could not be moved because you do not have permission to access calendars.  I checkd permission and my users wasn't there.  i added it, and no help.  I also repaired permissions from disk utility.  I quick search looks like this has been a common problem with most every new verion of 10.x..but the fixes are slightly different.  anyone have a fix for lion? 

    Dave,
    Welcome to Apple Discussions.
    Have you ever tried to change the "Sharing & Permissions" setting of any files/folders on your Mac?
    Where the heck do I find this mythical "Calendars" item?
    Open your Macintosh HD/Users/yourusername/Library/Calendars Folder. Using "Get Info," what is the Sharing & Permissions setting for the Calendar Cache file in that folder?
    What is the Sharing & Permissions setting for the Calendars Folder.
    I've already tried re-installing iCal with my Snow Leopard install disc and it did no good.
    Since you have reinstalled iCal you should also download and reinstall the Mac OS X v10.6.3 v1.1 Update (Combo)

  • The item "index.html" could not be moved because "htdocs cannot be modified

    probably a simple solution to this but I cant get past it! I'm just trying to drag and drop my index.html into my ftp space but keep getting theis error message.
    Could anyone help me?
    Ta
    Andy

    probably a simple solution to this but I cant get past it! I'm just trying to drag and drop my index.html into my ftp space but keep getting theis error message.
    It sounds like you are either not logged into the server or there is a permissions problem. For the latter you need to contact the server tech support.
    Are you trying to do this via ftp?

  • Item '(item name)' could not be moved message

    I get the message "The item '(item name)' could not be moved because '(folder)' cannot be modified." when trying to copy files from my iBook to my iMac over the network. This includes Home, Desktop, and other folders. The odd thing is this has worked fine in the past. I checked and File Sharing is enabled on both computers.
    However, I can copy files to/from my iBook when on my iMac with no problems.

    On the iMac, select the folder you're trying to move the items to and choose Get Info from the File menu. Under Ownership & Permissions, verify that your account has Read & Write access to them, and that they are unlocked. Repeat this process with each folder.
    (11725)

  • Upload failed your changes were saved but could not be uploaded because of an error. you may be able to upload this file using server web page. save a copy

    Hi All,
    upload failed your changes were saved but could not be uploaded because of an error. you may be able to upload this file using server web page. save a copy button.
    This is the issue which I am facing while working with SharePoint 2010. In a sharePoint 2010 document library I am having an excel file and I am trying to open it from Windows 7 and is office 2010.
    I cam e across few suggestion as mentined below but unable to find the location where to do
    Go to Resource Policies > Web >
    Rewriting > Custom Headers > (if 'Custom Headers' is not visible, click
    Customize on the right top to enable the view).
    Create a new policy with the Resource as <fully qualified domain name of the SharePoint server:*/*> (for example https://sharepoint.juniper.net:*/* ).
    Create the action as Allow Custom Headers.
    Apply the settings to the required roles.
    Please suggest.

    Hi rkarteek
    All things you have to do is as follows:
    1. Open regedit.exe
    2. Naviagate to following key:
    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\14.0\Common\Internet]
    3. Click Edit Menu -> New -> DWORD with name of "FSSHTTPOff"
    (without quotes)
    4. Click on "FSSHTTPOff" and enter value of 1
    5.
    Close any Office Applications and browser sessions
    6. Try to reopen your document (no more read only or failure to upload)
    have a nice day!

  • One or more ActiveX controls could not be displayed because either:1 your current security settings prohibit running ActiveX controls on this page, or 2. You have blocked a publisher of one of the controls.

    hi All,
    i have one of the requirement for an application, we do upload some release not in file server and that is used in application link to see the note. in this note i have converted the Excel into .HTM format(web page). this was working fine, but from last
    two days all of a sudden we are recieving error as above.
    one or more ActiveX controls could not be displayed because either:1 your current security settings prohibit running ActiveX controls on this page, or 2. You have blocked a publisher of one of the controls.
    could anyone please help me on this.
    Thanks and Regards,
    krishnamurthy

    Hi,
    Actually Arnavsharma provided a operable method for you. But no luck, it's not invalid.
    Here I also offer you an method you can try.Please delete the extra (parasite) zone from the Zones subkey :
    Click Start , click Run , type regedit , and then click OK
    Expand the following registry subkey
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones
    Delete the extra (parasite) zone from the Zones subkey
    Note: The parasite zone is a pseudo-graphic number listed before zone number 0. The pseudo-graphic number looks like a miniature upper case "L"
    Close the registry editor
    Thanks!
    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.

  • While trying to access my local network I get the message..."The page could not be opened because server cannot be found."  This, after updating to Yosemite and paying (again) for the server app.

    while trying to access my local network I get the message..."The page could not be opened because server cannot be found."  This, after updating to Yosemite and paying (again) for the server app.

    It's absolutley scandalous that a company with Apple's resources can let this happen.  They should have staggered the release by region rather than opening the flood gates.  The upgrade itself took me about 10 attempts to download it, and then I thought I was home free.  That was until it rebooted and won't activate.  It's over 2 hours now.
    Scandalous!

  • IPad2- Safari cannot open the page because it could not connect to the server? Internet works but this message continues to pop up. My iPhone works fine and iPad has been working great until a few days ago.

    IPad2- cannot open page, Safari cannot open the page because it could not connect to the server? Internet works but this message continues to pop up. My iPhone works fine and iPad has been working great until a few days ago.
    Message is almost acting like a pop up.

    Hi
    I constantly get same message.  When I open up my windows laptop all works fine so I guess it's a bug that apple refuse to admit to.

  • "could not be handled because Pages cannot open files in the "data" format."

    I cannot open some files from at least two different friends.   the message that I get is "could not be handled because Pages cannot open files in the “data” format.”. 
    I have OSX 10.9.2
    I have the latest version of Pages 5.2
    Any help is appreciated. I'd like to be able to open files. Thank you.

    Could your friend possibly be using a Mac running OS 9?
    Or one of the early versions of OSX?
    They are the only Systems I know of that don't have file extensions on the files, because they used data forks in the file, something Apple eventually abandoned, in the interests of compatiblity with Windows and UNIX generally.
    I had a look AmigaOS also had a form of file and resource separation, in which the main file does not have an extension.
    Peter

  • This item could not be crawled because the repository did not respond within the specified timeout period. Try to crawl the repository at a later time, or increase the timeout value on the Proxy and Timeout page in search administration. You might also wa

    HI,
    I got the error message in the crawl log as below after performing the Full Crawl
    This item could not be crawled because the repository did not respond within the specified timeout period. Try to crawl the repository at a later time, or increase
    the timeout value on the Proxy and Timeout page in search administration. You might also want to crawl this repository during off-peak usage times.
    To overcome the above error,many forums have suggested me to increase the time out which is under Farm level settings.But if time out gets increased,performance impacts as well.
    So please suggest me to overcome this error without increasing the timeout.Thanks in advance
    Regards,
    Sudheer
    Thanks & Regards, Sudheer

    Hi,
    I understand that you get the error message when performing a full crawl. I have seen similar cases caused by IE proxy settings. You can try to edit the Internet Options>Connections>LAN settings. Uncheck ‘Automatically detect settings’.
    For more information, please refer to this site:
    Search error: crawler could not connect to the repository:
    http://social.technet.microsoft.com/forums/en-US/sharepointadminprevious/thread/c230ab36-8d0b-4c25-bf86-33136d17642b/
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • On some of my files there is a ! in front of it, if I try to play the song, I get an error message; "The song "_____" could not be used, because the original file could not be found. Would you like to locate it?" Then when I click "Locate", I get nothing.

    I'm really dumbfounded on this one and it's driving me bonkers!!!! On some of my music files there is a ! in front of it, if I try to play the song, I get an error message; "The song "_____" could not be used, because the original file could not be found. Would you like to locate it?"
    This began to happen when Chuck made playlists2burn on2CD-and then he would delete the playlist; sending all the song files into oblivion. Certain songs have a ! right next to the file name, and as I stated before, i get that error message:
    "The song "_____" could not be used, because the original file could not be found. Would you like to locate it?"
    So I click on "Locate". No help. I get a menu with folders that say "catroot" and other folders which names I cannot remember, but I scroll PAST the file folders, & it's just a bunch of ".DLL" files.....I don't understand what any of the names of the folders mean...it's frustr8ing-coz this is my 2nd iTouch, my 1st one got stolen & I can't afford2buy my music back at this time & i NEVER before had a single problem with losing song file locations.
                  Is there anyone out there who has been through this frustrating game of chasing your tail?....<that's how I feel>
    If so I would be ever so gr8ful if maybe someone with the knowledge would be so kind as 2 tell me how/where 2 retrieve these songs & how to put everything back where it belongs, I would be 4ever gr8ful !!!
    I can't afford 2 replace the songs just like I'm unable 2 buy back my old music from my stolen iTouch....man that was an awesome collection-someday I'll be able 2 afford 2 do that & I would like 2 have all the new music that I paid 4 but cannot find when I got my new iTouch....that would just be  wonderful.
                 I hope someone sees this post that can help me retrieve these files....losing $100.00 of iTunes is a REAL BUMMER!!!!!!
                                                      ThanQ SO very much!
                                                                             [email protected] or [email protected] or [email protected] .
                                                                                               You can also find me on Facebook, my given name is Tiffinie Trimmer, &
                                                                                                that's my Facebook "handle".    ThanQ 4 taking the time 2 read all of this!
                                                                                                hope 2 get a reply someday....I'll B checking all my emails & my Facebook, as well
                                                                                                as marking this page in my FAVORITES so I can find it fast! Take Care!!!

    I was not complete clear.
    Since you never changed the settings in the advanced section of iTunes preferecnes, you have to chech that your music is really in the location setted in the folders reported in the advanced section.  If not you have 2 ways: reset the position of this folders or in the actual disk organisation or in the pointing on the preferences.
    If you press the reset button you just give to itunes its default setting as for the position of the music files: probably this will be a good choice if you have never changed any default preference.
    But before I would check the folders and see if the songs are really there
    In my iTune I have this, and I believe it is the default.
    Users/YOURHOMEFOLDERNAME/Music/iTunes/iTunes Music

  • Moved iTunes library to an ext hard drive to make space on my int drive... Followed steps from apple.  Now I cannot access my music... It says: "File could not be used because the original file cannot be found.  Would you like to locate it?"

    Moved iTunes library to an ext hard drive to make space on my int drive... Followed steps from apple.  Now I cannot access my music... It says: "File could not be used because the original file cannot be found.  Would you like to locate it?"
    I moved my iTunes library to my external hard drive some time ago and I followed the directions listed here on the apple support page.  It did copy my library and now is on my hard drive... I can open iTunes and use it to sync all of my devices but I would like to play my music... I can see all of my music files but can not play them if I click on an album or song it says the following:  "(file name) could not be used because the original file cannot be found.  Would you like to locate it?"  I click locate but do not know where to go from there?  I need a way to access all files and not to hunt down one at a time on my hard drive... I am pretty sure I deleted the original library to make space on my internal drive which was the reason for moving it.  I have tried and tried to fix it and do not have a lot of time to do so with a one and two year old at my house who do not like it whenI sit down at my computer.  What to do???  Any help is much appreciated!!!

    See Make a split library portable. Move all of the bits of the library together in the the correct shape and it should work. Or undo exactly what you did and then start over.
    If you're a former Windows user don't try merging two folders together that have the same name by dropping one into the same folders as the other, as that goes badly on a Mac.
    tt2

  • Error: Your request could not be completed because a failure occurred while the report was being processed.

    Post Author: sagimann
    CA Forum: Deployment
    Hello,
    I'm not sure if this is due to bad deployment, but I suspect it is, at least due to bad environment.
    My env is:
    Solaris 10 64 bit
    Oracle 10g client installed under /opt/oracle/app/oracle/product/10.2.0/client_1
    BOXIR2 + FP2.6 installed under /opt/reporting, running under user 'bouser'. by the way, 'tnsping' works via that user.
    Important bouser env:
    ORACLE_HOME=/opt/oracle/app/oracle/product/10.2.0/client_1
    TNS_ADMIN=$ORACLE_HOME/network/admin
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32
    I reboot the box, then start BO like so:
    cd /opt/reporting/bobje
    . setup/env.sh
    ./mysqlstartup.sh
    ./startservers
    ./tomcatstartup
    Then, I import a BIAR file with some reports, and whenever I try to open any report via infoview, I get a gray error message INSTEAD of the input param form:
    Error:
    Your request could not be completed because a failure occurred while the report was being processed. Please contact your system administrator.
    This does not occur in our BOXIR2 on Windows, which is why I'm guess it's a deployment/env issue. The main obstacle I have is: how do I diagnose this? there's nothing in the bobje/logging folder, nothing in the /var/adm/message file except for the following line:
    May  5 15:23:23 testbox1 boe_pagesd&#91;3865&#93;: &#91;ID 253862 user.error&#93; A failure occurred while the Page Server was processing report 'test report' (id=777) for user Administrator
    pls advise,
    thank you.

    The solution is to turn off the printer preference (bottom of Page Setup screen) in the Crystal Report before uploading to the Server. Thanks to: http://pinchii.com/home/2011/12/error-adding-reports-to-crystal-reports-server/
    The explanation, from a comment in the above linked blog post:
    "To elaborate more on the error, what basically happens is that the Crystal Reports engine tries to get the status of the u201Creport printeru201D aka u201Cdefault printeru201D which was present on the system when the report was created, but the printer does not exist anymore. This causes the Crystal engine to error out. By setting the report to u201CNo Printeru201D, it tells the Crystal Engine not to look for that report printer when opening the report."
    Edited by: abirdman on Feb 3, 2012 9:49 PM

  • I keep getting the error "zotero could not be installed because firefox cannot modify the needed file". Any suggestions on how to fix this?

    After downloading Zotero (a plug in that is in theory custom-designed for firefox), I get an error message that says "zotero could not be installed because firefox could not modify the needed file". That's all the detail I have.

    You get this error if you install an extension that needs to be unpacked in order to work properly, but this isn't happening. The default is to copy the file to the extensions folder and rename the file part to the ID of the extension.
    *https://developer.mozilla.org/En/Updating_extensions_for_Firefox_4.0#XPI_unpacking
    You can try to set the extensions.alwaysUnpack pref(s) on the <b>about:config</b> page to true.
    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the extensions.* files (e.g. extensions.sqlite, extensions.ini) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled or not compatible extensions in "Firefox/Tools > Add-ons > Extensions" then click the Tools button at the left end side of the Search Bar to check if there is a compatibility update available.
    If this hasn't helped then also delete the addons.sqlite file if present.

  • How I can diable in firefox dialog box "download error could not be saved, because the source file could not be read. " when file not downloaded

    How I can diable in firefox dialog box "download error could not be saved, because the source file could not be read. " standart download manager when file not downloaded

    It is possible that anti-virus software is corrupting downloaded files or is interfering otherwise.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See:
    *http://kb.mozillazine.org/Unable_to_save_or_download_files
    You can try to set the browser.download.manager.scanWhenDone pref on the <b>about:config</b> page to false.
    *http://kb.mozillazine.org/about:config

Maybe you are looking for