View Complete Post
Hi All,In Multilingual SharePointÃÂ Portal, I have createdÃÂ english USÃÂ as standard language and german as a first variation.when I search anythingÃÂ in German VariationÃÂ , I get the results from both the variations i.e en-US & de-DE(German).If I want search result from the current variation only then how can we implement this?mer
I am accessing SQL2005 with C# code usingÃÂ OleDbConnection.
A try and catch block catches the following error once a while between the Open() and Close() of the connection:
ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.
I do not even have any idea where to start to debug this.ÃÂ The ExecuteNonQuery() runs a delete SQL query. It works 99.9% of the time. I do not see anything wrong when this error happens.ÃÂ
Any hint would be greatly appreciated.
I am trying to add a Web reference to a project. So,
I do the standard: right clicking on the project and select "Add Web
Reference". The Add Web Reference appears and I navigate to the desired
URL "http://ws.melissadata.com/dqws/Address.asmx" and click "Go". This works in IE. I
see the results and two methods in the window. However, the "Add
Reference" button and " Web Reference Name" texbox is disabled. And, I see the Operation is not valid due to the current state of the object." I
think this is a proxy and or firewall issue?
I know the
System.Net.WebProxy("corp-xxx-proxy.xxx", 8080); and
System.Net.NetworkCredential("xxxx", "xxxx"); [x replaces real values]
Any ideas where I can set this info so I will be able to use the "Add Web Reference" wizard? - OR - Is there a workaround?
Hi, I have created a http module to update the list item but when i use the Update function of SPListItem object it gives the error: "Operation is not valid due to the current state of the object". Below is the HTTP Module i have written to update the List
Item. Please suggest
Nutshell: App has the ability to show same page with different settings at the same time, and the session state is too broad for that. I need to have a set of states, one for each page.
My web page can display a scorecard that allows user to view or change scores for one or more possible sports teams (I changed actual business requirements to keep problem simple). For example, Team 1 can have positive score for some aspects of a game and negative for other aspects of a game. This page can show one or more teams side by side for comparison. The ability to add teams to the view is called filtering. There can be more than one view in a browser's tabs or new windows.
Here are my problems:
1. If the user presses Browser Refresh, they lose all current filters unless I use Session or TempData. Using Form Post does not work here.
2. However, solution 1 doesn't work for multiple pages where the user wants to bring up 2 different views of the same page (for example, page 1 has Teams 1 and 2, and Page 2 has Teams 3 and 4). They cannot do this using Session or TempData. This only works if I pass the current filters to the controller via a Post Form Data data or in the Url.
3. The use of a url won't work because the data that needs to pass to the controller sometimes exceeds 500 characters.
I have googled this to no
My Code for creating an FBA user programatically -
SPSite osite = SPContext.Current.Site;
MembershipUser Muser=Membership.CreateUser("test", "pass@word1", "email@example.com", "FbaPasswordQuestion",
"FbaPasswordAnswer", true, out createStatus);
SPWeb oweb = osite.OpenWeb();
oweb.AllowUnsafeUpdates = true;
if (createStatus == MembershipCreateStatus.Success)
I have a SharePoint 2010 Web App configured with Claims Based Authentication (FBA). Whenever my code encounters Membership.CreateUser or any Membership class methods, it gives me the "Operation is not valid due to the current state of the object" error.
The same Membership Provider code is working fine in a standalone ASP.Net application.
I am facing problem while taking a backup of my SharePoint 2010 site using stsadm command after taking 75% backup it shows "operation is not valid due to the current state of the object " error message. While it is working on my different sharepoint
server. I am using SharePoint 2010 RTM.
I am trying to deploy my first Visual Webpart from Visual Studio 2010 to SharePoint 2010. It contains simple 'Hello World!' message. The project builds successfully, but when I try to deploy it, it gives "Error occurred in deployment step
'Add Solution': Operation is not valid due to the current state of the object"
I have enabled SharePoint Server Publishing Infrastructure in the site collection and site.
THis is regarding the Transaction Scope in STATE MACHINE Workflow.
We are using .NET 3.5 version of WWF.
The requirement is as follows:
Assume we have two states S1 and S2. S1 has got task T1 and S2 has got Task T2.
Completion of task T1 will ensures that we will move out of state S1 and will enter into next step S2 and get the new task T2 initiated.
Assume due to some error Task T2 doesnt get initiated, the requirement is system should roll back to State S1 and task T1 should be available to user to complete again.
Till now we havent found any solution where in TRANSACTION SCOPE spread across states?
Any idea how to attain this? Any solution to it..
Thanks in advance