"Operation is not valid due to the current state of the object" error when trying to create a link for a shared folder in OneDrive
I'm trying to share a folder in OneDrive with another user in my organization, and create a link so that people outside of the company can see the folder. Whenever I try to create a link I get an error that says: "Couldn't create the link sorry something
went wrong operation is not valid due to the current state of the object" How do I resolve this?
Hi,
Sorry for replying late and I noticed that you posted another thread in this forum:
http://social.technet.microsoft.com/Forums/en-US/2b8c6f54-9c59-4b37-b28f-1d49a1b7913b/operation-is-not-valid-due-to-the-current-state-of-the-object-error-when-trying-to-create-a-link?forum=officeitpro
I've replied and kindly refer to it to see if it is helpful.
Regards,
Melon Chen
TechNet Community Support
Similar Messages
-
hi,
when i was trying to deploy a SP solution from my vs 2012 solution. this error is displayed.
i tried many things like
1) get the wsp and apply power shell cmds to add and deploy, here also it failed:
Add-SPSolution -LiteralPath d:\mywsp.wsp
Install-SPSolution mywsp.wsp -GacDeployment -AllWebApplications -Local
2) restart the timer services and do iisreset and reboot the server. etc .as mentioned in one of the the below blogs:
http://sharepoint1on1.blogspot.in/2014/04/sharepoint-error-occurred-in-deployment.html
http://suehernandez.wordpress.com/2011/03/31/error-occurred-in-deployment-step-activate-features-operation-is-not-valid-due-to-the-current-state-of-the-object/
http://www.dotnetsharepoint.com/2014/04/error-occurred-in-deployment-step-add.html
http://social.msdn.microsoft.com/Forums/en-US/63adde23-03cf-4b65-923e-1219da94a780/error-occurred-in-deployment-step-add-solution-operation-is-not-valid-due-to-the-current-state-of?forum=sharepointdevelopmentprevious
http://www.shakirmajeed.com/error-occurred-in-deployment-step-activate-features-operation-is-not-valid-due-to-the-current-state-of-the-object/
but even after doing all these steps, the error still persists!. and am not deploying into a remote server, the dev env is in a VM, where sp 2013, vs 2012, sql 2012 are installed.
just wanna share one note: there is a isue in my search admin component. index was reset due to some reason. and from that time onwards my search full/incremental crawls were not working!
will this cause an issue in my wsp deployment ? i hope it wont, still asking...
can anyone help me how to resolve this error.because this is a show stopper for me for the last few days!
help is highly appreciated!This issue cause because of feature activation failure while WSP deployment.
when you create a WSP using visual studio, it creates WSP package with default deployment configuration settings.
Please restrict feature activation configuration, this will help you to troubleshoot this issue.
- Click on Project in WSP and press F4, it will open "Project Properties"
- set "Active deployment Configuration" - as "No Activation"
- you can activate this features in required sequence after deployment using Activate-SPFeature
If my contribution helps you, please click Mark As Answer on that post and Vote as Helpful
Thanks, ShankarSingh(MCP) -
I created a SharePoint 2013 farm solution project in Visual Studio 2013 (running on the same machine where SharePoint 2013 server is running) with
event receiver. I added web.config at project root level to store connection string (I'm working off external SQL DB) and got the following error during deployement:
Error 27
Error occurred in deployment step 'Activate Features': Operation is not valid due to the current state of the object.
When I commented out the ConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString; the error went away. Am I missing something or not supposed to add my own App.config to SharePoint project solution?Hi,
From your description, you might want to store your connection string in web.config and there is an error during deployment.
It is recommended to store the configuration data of SharePoint solution in either property bags or hierarchical object store.
The links below will provide more information about this:
http://blogs.msdn.com/b/zwsong/archive/2012/03/27/where-should-you-store-your-sharepoint-solution-s-configuration-data.aspx
http://msdn.microsoft.com/en-us/library/ff647766.aspx
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they
help and unmark them if they provide no help. If you have feedback for TechNet
Subscriber Support, contact [email protected]
Patrick Liang
TechNet Community Support -
WCF Service update UPS. Operation is not valid due to the current state of the object.
I try import custom data to custom user properties from my own wcf service (on sharepoint server machine), but i got
Message "Operation is not valid due to the current state of the object. "
on line
userProfile[PropertyConstants.Department].Value = "SDDDD";
Why i cant modify property value?
SPSecurity.RunWithElevatedPrivileges(delegate()
using (SPSite site = new SPSite("http://portal.local"))
SPServiceContext serviceContext = SPServiceContext.GetContext(site);
using (var web = site.OpenWeb())
Debug.WriteLine(web.CurrentUser); //Here AppPoolAccount user of current wcf service
Debug.WriteLine(WindowsIdentity.GetCurrent().Name); //Here too AppPoolAccount user of current wcf service
UserProfileManager userProfileMgr = new UserProfileManager(serviceContext);
ProfilePropertyManager profilePropMgr = new UserProfileConfigManager(serviceContext).ProfilePropertyManager;
ProfileSubtypePropertyManager subtypePropMgr = profilePropMgr.GetProfileSubtypeProperties("UserProfile");
UserProfile userProfile = userProfileMgr.GetUserProfile(accountName);
userProfile[PropertyConstants.Department].Value = "SDDDD";
userProfile.Commit();
My service running under domain\SPSvcAcc what have full permissions on UPS service, it's management account and UPS admin with full rights.
If i create console app with identical code and run it under SPSvcAcc account it working without problems
What i do wrong?Hi,
pls seee if you can add threading like this below to solve the pbm
https://social.technet.microsoft.com/Forums/office/en-US/b6d6f85c-e12b-4540-a821-690e296b7b56/operation-is-not-valid-due-to-the-current-state-of-the-object-exception-when-activating-a?forum=sharepointdevelopmentprevious
Please remember to click 'Mark as Answer' on the answer if it helps you -
Microsoft RMS Add-in Operation is not valid due to the current state of the object
Microsoft Rights Management sharing application for Windows
Microsoft Windows 7/Office 2010 Service Pack 2
Click 'Share Protected'
Receive the following error message 'Microsoft RMS Add-in Operation is not valid due to the current state of the object'
Microsoft Windows 7/Office 2013 Service Pack 1
Works fine
Any ideas why this is not working?Hi lra,
As per my understanding, I think this issue can be caused by MaxHttpCollectionKeys settings in report manager web.config file.
For more details, please refer this similar thread to override the default value of MaxHttpCollectionKeys:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cb6ede72-6ed1-4379-9d3c-847c11b75b32/report-manager-operation-cannot-run-due-to-current-state-of-the-object?forum=sqlreportingservices
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
I recently copied a solution from one dev box to another. After pushing through a handful of other errors I hit a wall with this one. Any hints as to the human translation would be appreciated. The solution works on the original box. Also if there's
a way to make the Forum Category list on this page smaller but with more items while making the icons and white space bigger, Microsoft would like to know. ThanksHi George Takei,
This is a common error message which is not easy to find the root cause directly.
Here are some general checking steps:
Check to make sure you haven’t change any objects like namespace, class name, that make feature cannot find specified class.
Deactivate the feature on the site, reset IIS, and redeploy the solution.
Kill the vssphost4.exe in Task Manager, to redeploy the feature.
If the issue persists, it would be better to share the solution here to help to do troubleshooting, what’s the solution used for, is it an event receiver, feature, workflow or other type?
Thanks,
Qiao Wei
TechNet Community Support -
Operation is not valid due to the current state of the object
We are working with the System.Transactions for transaction control. An error is happening when confirming a transaction. Even without having changed any information. The user opens a register and does not modify any information, press the Change button and generates the error. Is not processed any UPDATE, DELETE, INSERT. Only queries. Below is the error details:
Data base: Oracle 11g
Application Server: Windows 2003 64 bits. Client 11g 32 bits and 64 bits
Location: System.Transactions
StackTrace:
at System.Transactions.TransactionState.ChangeStatePromotedCommitted(InternalTransaction tx)
at System.Transactions.DurableEnlistmentDelegated.Committed(InternalEnlistment enlistment)
at System.Transactions.SinglePhaseEnlistment.Committed()
at Oracle.DataAccess.Client.PromotableTxnMgr.SinglePhaseCommit(SinglePhaseEnlistment spe)
at System.Transactions.TransactionStateDelegatedCommitting.EnterState(InternalTransaction tx)
at System.Transactions.TransactionStateDelegated.BeginCommit(InternalTransaction tx, Boolean asyncCommit, AsyncCallback asyncCallback, Object asyncState)
at System.Transactions.CommittableTransaction.Commit()
at System.Transactions.TransactionScope.InternalDispose()
at System.Transactions.TransactionScope.Dispose()
at FPw.InfraEstrutura.DataAccess.FPwTransacao.Dispose()
at LG.FPw_Cad.ServicoMapeador.Servicos.FichaCad.Update(Int32 lUserId, Int32 lMatFunc, LGVariant avRegFun, LGVariant avRegATF, Double dSalario, Boolean bConsiste)What I meant is that it's done any kind of alteration of the tables involved, because the user does not change any of your information on the screen.
The problem happens on a client and does not happen in our test environment.
The version of Oracle.DataAccess both 32-bit and 64 bit is 2.112.1.0.
What is the code in the following summary:
1) Is created transactional context:
Dim TxOptions As New TransactionOptions
Dim OpcaoDeEscopo As TransactionScopeOption
Dim Transacao As System.Transactions.TransactionScope
TxOptions.IsolationLevel = Transactions.IsolationLevel.ReadCommitted
OpcaoDeEscopo = TransactionScopeOption.Required
Transacao = New TransactionScope(opcaoDeEscopo, TxOptions, EnterpriseServicesInteropOption.Full)
2) From this point are open connections are made and query commands to the database.
Are opened and closed connections to the database.
3) At the time of effecting the transaction Dispose of the error happens:
Transacao.Dispose
Note: Our way of working has its own peculiarities, the connection pool is always disabled: ";Pooling = false". It is inserted directly in the connection string. We need to do this because the pool had memory problems turned prey.
Therefore the process of opening and closing connections, you can leave the system slow. So to avoid open connections within the transactional context, in some cases we enforce the transaction enlist. As follows:
Dim TransacaoCorrente As ITransaction = CType(ContextUtil.Transaction, ITransaction)
Conexao.EnlistDistributedTransaction(TransacaoCorrente)
Can you help us?
Edited by: 893128 on Oct 25, 2011 9:24 AM -
Getting the following error when trying to create a shared disk
OVM-1010 The XML-RPC call ({0}) returns failure result: {1}
any ideas ?
Thanksjavax.el.PropertyNotFoundException: Target Unreachable, 'oracle' returned null
The managed bean property 'oracle' is not found with the specified EL expression. What is the EL expression used and what is the managed bean property? -
Hi everyone,
I'm facing the following problem in a Server runing Linux with JBoss AS 4.2.2, JRE 1.6, and MSSQL Server 2005 with JDBC 2.0 (sqljdbc4.jar).
The thing is: on friday morning I started up the server and everything worked fine ... next, from Friday at 6pm to Saturday at 8am nobody has used the system.
Then on Saturday at 8:05 got the following warning lines every time I tried to do something in my application. While it seems that everything works, after a few days the system starts to decrease their performance and malfunction, so I want to know why it
might happen these warnings.
I have tried to find a solution to this problem in several places but I'm not succeeding. That's why I'm writing my problem here...
Hope somebody can help me!
Thanks in advance and best regards!
Cristian.
This is the "error" log.
2011-06-11 08:05:29,680 WARN [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Destroying connection that is not valid, due to the following exception: ConnectionID:2941
com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1352)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1339)
at com.microsoft.sqlserver.jdbc.TDSChannel.read(IOBuffer.java:1654)
at com.microsoft.sqlserver.jdbc.TDSReader.readPacket(IOBuffer.java:3694)
at com.microsoft.sqlserver.jdbc.TDSCommand.startResponse(IOBuffer.java:5022)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(SQLServerStatement.java:773)
at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(SQLServerStatement.java:676)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:4575)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1400)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:179)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:154)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(SQLServerStatement.java:649)
at org.jboss.resource.adapter.jdbc.CheckValidConnectionSQL.isValidConnection(CheckValidConnectionSQL.java:58)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:435)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:231)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:200)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:211)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:538)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
at org.hibernate.loader.Loader.doQuery(Loader.java:673)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.doList(Loader.java:2220)
And this is my mssql-ds.xml
<local-tx-datasource>
<jndi-name>jdbc/bpmsdb</jndi-name>
<connection-url>jdbc:sqlserver://ipaddress:1433;DatabaseName=BPMS</connection-url>
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
<user-name>user</user-name>
<password>pwd</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>50</max-pool-size>
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
</exception-sorter-class-name>
<metadata>
<type-mapping>MS SQLSERVER2000</type-mapping>
</metadata>
<new-connection-sql>select 1</new-connection-sql>
<check-valid-connection-sql>select 1</check-valid-connection-sql>
<idle-timeout-minutes>5</idle-timeout-minutes>
</local-tx-datasource>I´m facing similar problem with Linux and SQL Server 2008 R2. I made the downgrade of JDK 1.6 from 27 to 26 (some people reporting errors when upgraded to jdk1.6_29 and rolling back is ok) but for me the error persists. At this moment we are testing with
sqljdbc4.jar version 4.0 (released in 3/6/2012). The curious I have two equals Linux boxes and only one have presented connection reset errors.
Thanks in advance.
Carlos -
what can be done to avoid getting the following error when trying to delete unused clips in Imovie 09 "the operation could not be completed. *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil" I use to get these type of error messages when trying to delete unsused clips from a large event 60 minutes or longer, but now I get this message when trying to reduce a 4 minute event.
Also, does anyone know if there is a limit to the total amount of space that can be taken up by Projects in Imovie 09
Thanks for any helpZachy,
It goes something like this...
Put your new drive in the enclosure. Use Disk Utility to format it, etc. I'd give it a slightly different name than the original. Let's say you have Old Disk and New Disk as your drive names. Use Carbon Copy Cloner to copy Old Disk to New Disk. Now you should have an exact copy, which you can test by rebooting and holding down the Option key. Choose New Disk from the list and let it boot, make sure all is well.
Shut down and physically swap the drives. Take Old Disk and put it in the enclosure. Now your system has a new disk with a lot more space and you can reformat your old disk and just use it for large files or whatever. -
I get the following error when trying to open a pdf file... '*pdf.part could not be saved, because the source file could not be read". I am able to open pdf files in IE and other programs.
I am encountering the same problem -- though with .qfx files from my bank. This worked fine in Firefox 31 ESR, but since upgrading to Firefox 33.0, I get the "<name>.qfx.part could not be saved, because the source file could not be read" when I attempt to download. (I should add that downloading PDF statements from the same site works fine, and that the qfx downloads work fine in IE and Chrome.)
I tried safe mode, it is still broken. Tried v34 beta, no luck. I reverted to version 31, it works again.
I guess I will stick with the older version until a solution is found...or just use an alternate browser to download my financial data. -
Get the following error when trying to sync itunes to Nano itunes could not coppy " Song" to the ipod because unknown error occurred (-5000). Any ideas?
Try my script FindTracks. Select a few of the missing files to start with then run the script. Choose No at the first prompt so that you can check how it works track by track, then confirm or edit the location of the media folder where your files are. Once you are happy with how it behaves let it process larger numbers of tracks automatically.
tt2 -
I get this error when trying to create a ringtone - iTunes could not connec
I get this error when trying to create a ringtone:
"iTunes could not connect to the iTunes Store - an unknown error occurred (11556)"
But I CAN connect - if I click on the iTunes Store, it connects right away.
I want to make a ringtone from a song that I purchased, but all I get is the same error message.
iTunes 9.2.2, Ireland iTunes Store.have you seen this KB article: http://support.apple.com/kb/HT1398 ?
JGG -
I got the following error when trying to strt itune "microsoft visual c runtime library"
Dear all
I got the following error when trying to start itune(latest version)
Runtime error
"microsoft visual c ++ runtime library"I kept getting the same error message too! Thank goodness I'm not alone in this!
-
I get the following error when trying to open iTunes
I get the following error when trying to open iTunes:
iTunes.exe - Entry Point Not Found
The procedure entry point
AVCFAssetCreateWithByteStreamAnd Options could not be located in
the dynamic link library AVFoundationCF.dll.
Any help would be much appreciated.
Thanks,
JohnI get the same error,
Have you found any solution?
Please let me know
Thanks
Premal
Maybe you are looking for
-
Error while trying to change or save as query in query designer
Hi , When we are trying to change or do a save as to a query in the query designer,it is giving us an error stating"'An unexpected object variable or with block variable not set'error occured in wdbrlog 1 error(s) are logged". We have searched in SDN
-
How to set up open&close posting period to process year-end at April
Hi FICO GURUs, I m a new student in FICO, here i have a question as following, ask for help, For the open period. If we need to clearing till April, how do we do for that? How to set up in open and close posting period? Any responses will be awarded.
-
How to use database cursor in ABAP
Hi all, I want to establish a connexion with another database system (Oracle) from SAP. Then i want to execute a cursor which is in a SQL package. The connexion is done sucssefuly but i don't know how to execute the cursor from SAP. The SQL package's
-
Adobe APSB11-03 Reader X 10.0.1 for Windows - FAILS
We have been having problems getting this patch to install - Patch Bundle Adobe APSB11-03 Reader X 10.0.1 for Windows (Update). It keeps giving the errors: BUNDLE.ChildActionError{0fe93854d7e5eb0c864c7c597e b7ba4f;Adobe APSB11-03 Reader X 10.0.1 for
-
When I convert text to an outline, the resulting text is heavier than the original text. I'm using Caslon Book and there isn't a lighter version of the face to start with. How can I get the outline to stay true to the stroke weight of the original te