• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2277
  • Last Modified:

can't delete pages in sharepoint 2010 foundation

i keep getting the below error when i try to delete the default.aspx page.
Server error: The URL 'default.aspx' is invalid. It may refer to a nonexistent file or folder, or
refer to a valid file or folder that is not in the current Web.

And if i try to delete any page in sitepages, it just give me error code 6404 and never let me delete. any idea why this is happening?
0
StewSupport
Asked:
StewSupport
  • 4
  • 3
2 Solutions
 
kukdaiCommented:
try with power shell what does it says

   1: $web = Get-SPWeb "http://intranet"

   2: $lib = $web.GetFolder("sitepages")

   3: $file = $lib.Files["mypage.aspx"];

   4: $file.Delete();

   5: $web.dispose();

or try deleting programatically
see what is the result.

another thing u should not delete the default.aspx page if you don't have a replacement home page assigned to the site.
Are you deleting from local server or from different machine.

Make sure you have enough permission to delete first.

you can try one more thing.
try creating a page first and try deleting the page see what happens....
0
 
StewSupportAuthor Commented:
same error cannot remove file error code: 6404. i can create file but can't delete or save after edit
0
 
kukdaiCommented:
check your logs what does it says about delete operation.
do you have any event receivers that has been deployed or any features with event receivers check it....
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
StewSupportAuthor Commented:
i can't even delete that site and now i can't upload any file to other sites it giving me the same error. where is this log that i should be looking at. please help. thanks
0
 
StewSupportAuthor Commented:
i found that the database is full. wondering if this is the issue. cleaning it up now
0
 
Rainer JeschorCommented:
Hi.
it seems that your site collection has reached its quota.

Alternative issue could be that the database has reached its limit and is set to read-only.

HTH
Rainer
0
 
kukdaiCommented:
it may be then you are running out of space now. Clean up your database add some more spaces......
0
 
StewSupportAuthor Commented:
not sure how to assign point to you guys but since you both try to help i tried to give point fairly. thanks
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now