.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

Server error: is checked out or locked for editing by ... but page does not exist

Posted By:      Posted Date: October 21, 2010    Points: 0   Category :SharePoint
 

I tried to rename a page in the source variation of a Publishing Site using Site Content and Structure tool, let's call it "newpage". This threw an HTTP 500 error. I then tried to rename it in SharePoint Designer. I got two message prompts, the first said:

"A file with the name Pages/newpage.aspx already exists. Do you want to replace this file?"

There is no file of that name in the Pages list in either the source or target variation. I said "Yes" and got the following error:

"Server error: The file <path>/newpage.aspx is checked out or locked for editing by ."

No user name was given in the message. I can successfully rename the page in the target variation to have the new name.

I also cannot create a new page in the source variation called newpage.aspx, I get an error saying that there is already a page of that name ... but there isn't. I have cleared the site and site collection recycle bins.




View Complete Post


More Related Resource Links

spfile.delete gives file is checked out or locked for editing exception.

  

hello friends,

i have developed a custom webservice wherein i try to move the spfile within a document library between two folders. I tried with spfile.delete but it gives me exception.

System.Runtime.InteropServices.COMException (0x8107090E): The file is a user http://tsnt4-test/espis/Lists/TSAkJKDocuments/154545445-342423/abc.doc DMTSIT \ spospisilova checked out or locked for editing.

even when i try to use spfile.copyTo and spfile.moveTo it gives me the same exception

i used the following two approaches

  //Approach 1
                          &nb

Getting the exact page causing an error using Server.GetLastError

  
Using vb.net/asp.net 2005.in the global.asax page in the application error page I am getting the exception information as follows: Dim CurrentException As Exception = Server.GetLastError() Dim ErrorDetails As String = CurrentException.Message.ToString & "<br><br>" & CurrentException.ToString() To find out when there are any exceptions when users are using the system, then the ErrorDetails are being auto-emailed to members on the IT team to help in troubleshooting.The problem is this:  I want to find out what page is the user is on when the exception happens, sometimes the stacktrace does not list the aspx page.  Does anyone know how to get this information?thanksMC

"[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied error for a sched

  
Hi Guys, The subject of this question is the error which I am receiving when running a scheduled job also this is an error which we get at a random intervals and the frequency would be once or twice in a month. I have been through several posts and didn't concluded anything out of it. At the time when we receive this error the memory usage of the database was normal with free resources available and also the network was stable without issues. Our Sql database is in cluster mode with named instance. Can anyone share some information on this, I know this is not the right forum with the error message I have posted but am sure some one might have face the same problem when running some ETL jobs. Source and target both are sql server and the error message is generated in the validation phase of the connection manager connecting to target database. SSIS 2005 SP2 64 bit environmentRaju

Error Editing Step in Job (SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64))

  
Hello I am working on SQL Server 2008 migration project. We have SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64) on WS 2008 R2 Standard. 1) I am getting error when i try to change a step in job. The error information is given below. -- TITLE: Microsoft SQL Server Management Studio ------------------------------   Creating an instance of the COM component with CLSID {AA40D1D6-CAEF-4A56-B9BB-D0D3DC976BA2} from the IClassFactory failed due to the following error: c001f011. (Microsoft.SqlServer.ManagedDTS)   ------------------------------ ADDITIONAL INFORMATION:   Creating an instance of the COM component with CLSID {AA40D1D6-CAEF-4A56-B9BB-D0D3DC976BA2} from the IClassFactory failed due to the following error: c001f011. (Microsoft.SqlServer.ManagedDTS) -- Any idea why i am getting this error. It goes away when i close SSMS and re-open SSMS. Comes back again later on. Thank You for the help V

Internal server error exception on search results page when no language is set in browser

  
We have some users who receive an internal server error exception when they enter a search query on our SPS 2010 site. The SharePoint log shows the following: Internal server error exception: System.ArgumentNullException: Value cannot be null.  Parameter name: The property RequestedLanguage cant not set to NULL     at Microsoft.Office.Server.Search.Query.Location.set_RequestedLanguage(CultureInfo value)     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.CreateLocationList()     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.SetPropertiesOnQdra()     at Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart.EnsureWebpartReady() System.ArgumentNullException: Value cannot be null.  Parameter name: The property RequestedLanguage cant not set to NULL     at Microsoft.Office.Server.Search.Query.Location.set_RequestedLanguage(CultureInfo value)     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.CreateLocationList()     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.SetPropertiesOnQdra()     at Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart.EnsureWebpartReady() After some more diggin

The document is locked for editing by another user" error message when you try to open a document in

  
We recently made checkin/out required for editing documents. So when ever a user uploads a document and when he tries to edit the document on clicking it by the same user. Its says 

The document is locked for editing by another user" error message. 

I don't know why this is happening. If you guys know anything about this message. Please let me know.


Can not delet a publication in SQL server 2005: The publication does not exist [SQL server error: 20

  

Hi, everyone,

I am new in SQL server 2005. I had setup SQL server 2005 P2P replication. Somehow it did not work one of two way replication. I tried to delete the publication. However I could not do it. have the same problem. When I tried to delete the publication, I got the publication " " does not exist.[SQL server error: 20026]. I tried to use sp_droppublication, it gave me error "the database is not enabled for publication". Nevertheless, I can see the publication in MS SQL Management Studio and Publication monitor with OK status. I could not find the distribution database either.

 

Could you anyone has ideas to delete this publication? I am sorry I am not a programmer. Please give me more detail explanation if you can. Thanks.

 


SP Workflow issue -> "The item is currently locked for editing. Waiting for item to be checked in o

  

Hello,

I'm getting the above issue with my List Workflow.  I've created a workflow that assigns column data to a file when it is created.  This works some of the time; however, at random intervals the workflow will get stuck with "In Progress" status for the reason listed above.  The only way to clear this status is to delete the workflow and republish it.  This happens when copying a document via the UI, as well as when copying a document via UNC path.  

If I terminate the workflow for the stuck item, when I go back to run it manually, the workflow isn't even listed.  Looking at the Visio history for the item, it seems to be getting stuck at different methods within the workflow; sometimes it gets stuck at a logic method, other times at a data manipulation method.  And other times it runs through fine without any issues.  This is all happening with the same file used as a control, so it's not like I'm introducing variable triggers to the methods in this workflow.

Ideas?

-Russ


Editing error on a publising page

  

Hi,

THe publising site was working fine this morning, but all in a sudden, a lot of the machine report an error when the user tried to put the page in edit mode. And this happen to all pages.

Here is the error:

An unexpected error has occurred.

Troublshott issue with Microsoft SharePoint Foundation.

Correlation ID: ....

Please help, your advice will be greatly appreciated.


Server Error Page: Some part of your SQL statement is nested too deeply.

  

Hello.  I've come across this error page with a Sharepoint Server 2007.  I've seen a few forums that say that Microsoft was going to fix this issue in its next major version, but I couldn't find out what version that was.  Is the 2007 version without a fix for this?  Is there a patch I could get, or is this part of a bigger issue?

I should mention, I've received this error page after simply editing html code in a web part.  There was no editing of sql statements.  Thanks in advance.


Server Error in '/' Application on a personalised sharepoint page

  

Hi,

I have a login to a sharepoint subsite where the default.aspx has been modified to show a personalised page. Unfortunatley it is now showing an error relating to a datasource for a report. This has been fixed but the personalized page stillthrows an error on login so I cannot get to the settings to remove the problem.

 

Is it possible to remove the personalised page via the back end? Either via the sharepoint database or by Sharepoint Desiginer.

 

Thank you.


I receive error "Does not exist the server SQL Server or the acces is denegated..." when I create a

  

Hello,

I´ll appreciate if you can help me with the following message error.  I want to create an ODBC conexion but when  try to connect using sa/sa the following message appears:

Microsoft ODBC SQL Server Driver Named Piped No existe el servidor SQL Server o se ha denegado el acceso al mismo.

I have 2 network but the conectivity between both is total.  The problem is when i create an ODBC conection in the network 161.0.0.x (Sql Server is in 192.168.0.x).  Is important to note that ping to 192.168.0.177 (Sql Server) from 161.0.0.x work fine.

What could be the problem?

Tahnsk in advance

 

 


betocolo

Sharepoint Checked Out Word Document Cross Reference Error on Page number Only

  

Hi,

I see the same error as RHABALA reported in an earlier thread, after I check out my Word Document from Sharepoint into Word 2010. 

When I Control-click on any of my Cross References to Page Number, they fail with the warning prompt, they seem to be incorrectly pointing at the Sharepoint path. But when I Control-click an any Cross References to Paragraph Numbers,  they still work. I've added my Sharepoint Site to the trusted list in Internet Explorer, as recommended in that thread, but no difference, the error persists.

Grateful for your assistance.

Thanks


Server Error after Trying to Upload New Master Page

  

I edited our master page in SharePoint Designer 2007 and uploaded the new version.

The new version never made it to the server, and I can no longer authenticate in to make changes. I receive a 404 error - telling me "The file /Local%20Settings/Temporary%20Internet%20Files/Content.IE5/EMWCDP71/_controltemplates/DesignModeConsole.ascx does not exist."

All of our other users can still authenticate, I am the only one receiving this error.

I found posts about tildes being stripped in Designer (which they were in the file I attempted to upload)

Changed the file and reuploaded and I am still the only one who is receiving the server error.

Any ideas would be appreciated.

 


Unable to open physical file - Operating system error 5: 5(error not found) Microsoft SQL Server: Er

  
I am trying to attach a database to SQL 2005. This database has not previously been attached. I have only just installed SQL.   I get the following message: Unable to open physical file "C:\ArrowSQL\Arr@Data\Arrow_data.mdf" Operating system error 5: "5(error not found)" (Microsoft SQL Server: Error 5120)".   I have loaded SQL and the database fiel and directory with the same user acccount which is a local adminstrator ont hsi machine. I have checked that I have read/write access to the file.   The machine runs Windows Vista Business. SQL has SP 2 loaded.   What causes this?

SQL Server managment studio (Error occur Attaching a .mdf file )

  
An exception occur while executing a Transct-SQL statement or batch. (Microsoft.SQL server.express.Connection info)   Enable to open the physical file "E:\OutsourceProjects\shuja\MyProject_mdf\MyProject.mdf" (Operating System error 5: "5 (Access is denied.) " (Microsoft SQL server error E:5120)   Hello         I have an error while attaching a .mdf file to SQL server management studio,kindly solve my problem,i shall be very thankful. Thanks Regards Kh Hammad

The remote server returned an error: (550) File unavailable (e.g., file not found, no access).

  
Hi.   I have read the other threads regarding this but they do not solve my problem. All i am trying to do is upload a file from the webserver onto another server via FTP. But i get the above error and am at my wits end as to why.   below is the code:   Dim fs As New FileStream("H:\Visual Studio 2005\Websites\Website1\testfile.txt", FileMode.Open) Dim filecontents(fs.Length) As Byte fs.Read(filecontents, 0, fs.Length)   Dim remotePath As String = "ftp://elonwactd.uk.ml.com/apps/files/IPBHVGTRADE/QA5/in/testfile.txt" Dim ftp As FtpWebRequest = FtpWebRequest.Create(remotePath) ftp.Credentials = New System.Net.NetworkCredential("user1", "passwd1") ftp.KeepAlive = False ftp.UseBinary = True   ' (have tried UploadFile as well instead of UploadFileWithUniqueName) ftp.Method = WebRequestMethods.Ftp.UploadFileWithUniqueName     fs.Close()   ftp.GetRequestStream.Write(filecontents, 0, filecontents.Length) ftp.GetRequestStream.Close() ftp.GetResponse.Close()     Below is the stack trace that i get. [WebException: The remote server returned an error: (550) File unavailable (e.g., file not found, no access).]   System.Net.FtpWebRequest.SyncRequestCallback(Object obj) +321   System.Net.FtpWebRequest.RequestCallback(Object obj) +19   System.Net.CommandStream.Abort(Exception e) +163   System.Net.FtpWebRequest.FinishRequestStage(RequestStage stage) +45
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend