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


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

Can not perform this operation.The file is no longer checked out or has been deleted?

Posted By:      Posted Date: August 26, 2010    Points: 0   Category :SharePoint
 
In my sharepoint designer 2007, when I try to check in a file, it give me the following errors:

Can not perform this operation.The file is no longer checked out or has been deleted.

Please advise me how to fix this problem?

Thanks.



View Complete Post


More Related Resource Links

Encountering error when trying to perform any AS operation because of corrupt file

  

Hi,

I tried to restore a database i had downloaded from the net, but i guess the file was corrupted or I hadn't done it the proper way. However, now, am not able to do anything with my other AS databases as well ( ie, not able to browse, write MDX etc ). I tried deleting the problematic database but still encountered the same error :

File system error: Error opening file; \\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Foodmart 2000.2.db\0.CryptKey.bin is not a disk file or file is not accessible.
Errors in the metadata manager. Processing for the database will be disabled because of an error occured hile loading the 'Foodmart 2000' database cryptography key. One possible reason for this error is that the service account has changed.
(Microsoft.AnalysisServices)

Kindly help!!


--Mark the thread as answered if one of the replies answers your question. Thank you

ToggleDebugCompilation fails trying to perform "an unauthorised operation"

  

Hi,

We're having a problem with the Visual Studio 2008 RTW version of the web deployment projects on a colleagues machine. The project works fine if I run it on my machine, but when he tries to run it on his machine he gets:

<SNIP : Most output removed>
  Task "Exec"
    Command:
    if exist ".\TempBuildDir\" rd /s /q ".\TempBuildDir\"
  Done executing task "Exec".
  Using "ToggleDebugCompilation" task from assembly "C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.Tasks.dll".
  Task "ToggleDebugCompilation"
    Updating Web.config <compilation> element debug attribute to 'True'.
    C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets(639,7): error : Attempted to perform an unauthorized operation.
    C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets(639,7): error MSB4018: The "ToggleDebugCompilation" task failed unexpectedly.
    C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets(639,7): error MSB4018: System.ArgumentNullException: Parameter "message" cannot be null.
    C:\Program Files\MSBuild\Microsoft\WebDeployment

Error "user does not have permission to perform this operation" with User Instance = True.

  

I setup SQL Server 2005 / SQL Express. All works fine in SQL Server 2005.

I am connecting to a SQL Database from VS 2005,  Tools/Connect to Database. I set the Data Source to "Microsoft SQL Server Database File (SqlClient)" (meaning SQL Server Express) and User Instance = True, and Integrated Security = True.

The above is working successfully on all machines except my Laptop. On my Laptop, I am getting this error "user does not have permission to perform this operation". On my Laptop, if I change User Instance = False, it works fine. Also, If I connect to SQL Server 2005 it works fine only if User Instance = False.

I tried all kind of security changes, nothing worked. For example, I setup Everyone as Full Control for the Folder and the MDF File of SQL Server. I gave my user ID as sysadmin role in SQL Server Express. Also, I enabled creating User Instance form SQL Server Express, Nothing is working.

Appreciate your help.

Tarek.


Error "user does not have permission to perform this operation" with User Instance = True.

  
I setup SQL Server 2005 / SQL Express. All works fine in SQL Server 2005. I am connecting to a SQL Database from VS 2005,  Tools/Connect to Database. I set the Data Source to "Microsoft SQL Server Database File (SqlClient)" (meaning SQL Server Express) and User Instance = True, and Integrated Security = True. I am using Windows Authentication mode in SQL Server Express. The above is working successfully on all machines except my Laptop. On my Laptop, I am getting this error "user does not have permission to perform this operation". On my Laptop, if I change User Instance = False, it works fine. Also, If I connect to SQL Server 2005 it works fine only if User Instance = False. I tried all kind of security changes, nothing worked. For example, I setup Everyone as Full Control for the Folder and the MDF File of SQL Server. I gave my user ID as sysadmin role in SQL Server Express. Also, I enabled creating User Instance form SQL Server Express, Nothing is working. I am already added to the Administrator Group locally on my Laptop. Still same problem. Checked this article: http://msdn.microsoft.com/en-us/library/ms254504.aspx, same problem. I enabled User Instances and also tried to Disable User Instances. When I disable user instances, and then try to connect from VS, I get a different error, which is asking to enable user instances.

"The file is not checked out" on page Postback

  
Hi there, I have a Publishing site with the Pages library set to "Require documents to be checked out".  As an administrator or member of the site, when i minimise/restore webparts on my page, then perform a postback operation (via some webpart on my page) i get an error saying:  The file is not checked out.  You must first check out this document before making changes. Its as if during the postback after minimising/restoring a webpart SharePoint wants to save that state! How do I stop this from happening?  Is there a personalization setting i am missing?   P.S. Here is a dummy postback operation if you'd like to test it, just paste it into a CEWP: <a id="Test" href="javascript:__doPostBack('Test','')">Test Postback</a>  

Filter out logically deleted data from dbf file using SSIS?

  
Hi Guys, while loading dbf file to sql server using SSIS,How can i filter out the records that are logically deleted in dbf file?    ~Technology Analyst~

Error 14258: Cannot perform this operation while SQLServerAgent is starting. Try again later.

  
I'm getting the following error on two of my SQL Servers - Error 14258: Cannot perform this operation while SQLServerAgent is starting. Try again later. The only solution that I have seen is the same solution that Microsoft has published in the following article - KB303287 [http://support.microsoft.com/?scid=http%3a%2f%2fwww.support.microsoft.com%2fkb%2f303287%2fen-us%2f] The solution is to unflag the use of NT Fibers.  However, our software application provider is advising us against doing this.  Is there another fix anywhere that I could get my hands on - another solution? Thanks in advance.

How to use SSIS to perform Case Statement operation

  

Hi all

i am working SSIS from Past three months now i want know how to build the

package so that it performs the following Case Statement operation

please help

SELECT SchemeCode=
  CASE  SLF.Loan_Type
  WHEN  'C' THEN(SELECT Schemecode FROM Mig_BankSoft.dbo.Mig_SchemeDefinition where SchemeName='CASH CREDIT LOAN')
  WHEN  'U' THEN(SELECT Schemecode FROM Mig_BankSoft.dbo.Mig_SchemeDefinition where SchemeName='CUMULATIVE DEPOSIT LOAN')
  WHEN  'J' THEN(SELECT Schemecode FROM Mig_BankSoft.dbo.Mig_SchemeDefinition where SchemeName='DHANALAXMI CASH CERTIFICATE LOAN')
  WHEN  'R' THEN(SELECT Schemecode FROM Mig_BankSoft.dbo.Mig_SchemeDefinition where SchemeName='DHANALAXMI CASH CERTIFICATE LOAN')
  WHEN  'Q' THEN(SELECT Schemecode FROM Mig_BankSoft.dbo.Mig_SchemeDefinition where SchemeName='FIXED DEPOSIT LOAN')
  WHEN  'Z' THEN(SELECT Schemecode FROM Mig_BankSoft.dbo.Mig_SchemeDefinition where SchemeName='FIXED DEPOSIT LOAN')
  WHEN  'D' THEN(SELECT Schemecode FROM Mig_BankSoft.dbo.Mig_SchemeDefinition where SchemeName='FIXED LOAN')
  WHEN  'N' THEN(SELECT Schemecode FROM Mig_BankSoft.dbo.Mig_SchemeDefinition where SchemeName='FIXED LOAN')
  WHEN  'P' THEN(SELECT Schemecod

File is deleted but exception is thrown. How it is possible?

  

Hello everybody.

I am passing a file name via query string. When I am trying to delete the file it is throwing a FileNotFoundException. But the file practically deleted from the server. Both of the following codes of file delete :

File.Delete(Server.MapPath("~/Files/") + Request.QueryString["FileName"]);
And
File.Delete(Server.MapPath("~/Files/" + Request.QueryString["FileName"]));


are throwing that exception.

Can any one please tell me what is the reason behind this behavior or what I am doing wrong?

Thank you.


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

  

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.


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

SQL 2005 Import of Flat File always truncates data longer than 50 chars

  
My source data is a flat file, semicolon-delimited, and has three columns.  The first is 10 chars, the second can be up to 240, and the third can be up to 240.  For the import I select "Flat File Source" for the Data Source.  When I select my source file, I use the Flat File Manager, Advanced tab, to configure it as follows:

I leave the defaults for Column 0.
For Column 1 I select a DataType of Unicode String and set the OutputColumnWidth to 240.
For Column 2 I select a DataType of Unicode String and set the OutputColumnWidth to 240.

On the Destination page I choose "SQL Native Client", and point it at my database.  The destination table has 3 columns.  Column 0 is CHAR(1), Column 1 is NVARCHAR(240), and Column 2 is NVARCHAR(240).

However, when I get to the "Select Source Tables and Views" page of the wizard and hit the "Edit" key under "Mapping", it shows a size for all three columns of "50".  Sure enough, when I perform the import, it truncates everything to 50 characters.

How do I get more than 50 characters to import?


Administrator do not have the rights to perform operation

  
I have on my server Windows 2003 and SharePoint 2005.
When I configure Manage Server Settings for Single Sign-On I become this error message:
You do not have the rights to perform this operation.
I have logined with Administrator rights. This Administrator is member of:
  • Administrators (/Builtin)
  • Domain Users (/Users)
  • IIS_WPG (/Users)
  • SQLServer2005*** (/Users)
  • SSO  Administrators (/Users) (Security Group)
  • WSS_ADMIN_WPG (/Users)
  • WSS_WPG (/Users)
Also several Services are logging  as this Administrator:
  • Indexing Service
  • All SQL Services
  • All Windows SharePoint Services
In Central Administrat

How to connect two machines for directory/file operation like copy/move etc in C#

  

Hi All-

I wants to write c# code for a file transfer tool. My basic requirment is that, copying directories/files or moving directories/files from one machine to another machine.

For that I am populating source machine drives, directories and files into a first tree view control.

Now I wants to connect to onther machine which will be a destination machine and populate the drives, directories and files into second treeview control to copy/move the directories from source machine.

To connect, I will provide IPAddress, Port number, user name and password of destination machine.

To accomplish this,

which type of connections could be used?

How many connections type are there?

If the two machines are same LAN/Network how to connect together?

What is client/server connection mode?

What type of transfer protocal could be used?

Please give all the details about this.

Thanks in advance


Attempted to perform an unauthorized operation Error when customizing theme of a new site

  

I am just trying to change the color of the site.  when I click apply, i get this error.

 

Error

Attempted to perform an unauthorized operation.

 

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: 6164e755-f413-4e3b-a79b-be7bf7739f42

Date and Time: 11/23/2010 1:18:20 PM

 

Any help will be greatly appreciated


Application attempted to perform an operation not allowed by the security policy - medium level trus

  

Sorry about posting this one here but not sure where else to place it, I've read a number of other threads on this but none seem to give the answer I'm looking for...

 

I have done something very simple, added a SqlDataSource ScriptManager and AJAX Update Panel. My database is currently inside App_Data folder.

 

When I run the page I get the following error:

 

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. 

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

 

 

Now in the Web.Config file I have set       <trust level="Medium"/>

 

but I don't want to change this because when deployed it is unlikely that I will be able t

i am deleteing one table after i checked .mdf file size is increaged why its hapan ?

  

hello

   i deleted one r 2 tables in prod db , before of deleting tables, i checked size of .mdf is 37 gb and .ldf is 12 gb.

once deletion opetion completed , again i checked my files sizs now .mdf is 40 gb and .ldf is 19 gb

i don't know what happen here but my db priorities is

 1. my DB recovery model iss full

 2. i am taking full and diff backup daily evry 3 hrs diff backup and night full backup

 3.In drive aslo huge free space is there

4..mdf file auto growth is 1 mb and .ldf auto growth is 10%

5. every day full backup size is 36 gb

  Please help me any one...

 i am not able finding hw its incrage .MDF file size...

please suggest me hw can i delete table in future  in my db , tel me any procedure ? next aslo same .mdf file size is incraged mean i am cick off my bucket

Please adive me all blog viwers


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