I am trying to create a spsite of object for sharepoint search but i am getting exception in production as website not found
SPSite site = new SPSite("sitename");
ServerContext scon = ServerContext.GetContext(site);
SearchContext srchcontext = SearchContext.GetContext(scon);
Scopes sc = new Scopes(srchcontext);
...
I need to do a full backup of a SharePoint app running on our production server to a our test server running SharePoint.
I tried using Central Admin to back up from the prod server, zipping up the backup and then restore to the test server, but this doesnt work.
Whats the easiest way to do this?
...
Hello,
We use variations in order to support multiple languages in a site. We have es-ES and ca-ES variations. Then we have page layouts with couple of tags where we want to show texts loaded from resource files. We also have some resource files - MyRes.resx, MyRes.es-ES.resx and MyRes.ca-ES.resx. When we are in ca-ES variation I see t...
I have items in a list in a SharePoint 2003 site that I need to add to an existing list in a 2007 site. The items have attachments.
How can this be accomplished using PowerShell or C#?
...
When checking in a document I execute a web service within the ItemCheckingInEvent. In Dev, no problems. I deployed the app out and it turns out I don't have enough privileges to read a configuration file. My code reads a config file to create the WCF proxy. The real issue is how can I get a return back from my function if I use the ...
We're using Sharepoint to track/control our customer onboarding process. Basically there are items which list each deliverable and it's due date, and the different groups need to check that list daily and make sure their tasks are done and update the item.
Previously we created a datasheet view, which makes it easy to see just our ta...
Like the other "Hidden Features" questions, what are your favourite parts of the SharePoint API and development platform (both WSS 3.0 and MOSS 2007) that help you get the job done?
Please share your tips, tricks and secrets!
...
I have been working in my development machine with a Sharepoint installed in English. So the website I created and am woking on appears in English, I have created variations in different languages too (Spanish, Catalan, Basque, Galician).
Now I realise that the admin part that is in English, should be in Spanish.
I don't know how I cou...
The user control is a search screen that consists of a gridview. I am string the filtered results of the gridview in a datatable and storing the datatable in the session. I am accessing the datatable in the session on the next postback.
The problem is that when I am storing the dattable in the session, even though the lines of code don'...
Basically, I need to customise the NewForm.aspx page for a SharePoint list. I also need to have the attachment functionality carry on working. The target environment doesn't have the necessary updates applied to make this just work (and it appears unlikely that this will change. Words can't express how frustrating this is :-( )
Does any...
I am planning to deploy a single-server Exchange 2007 configuration and I'd like to also start using Sharepoint for collaboration - what would the recommended deployment scenario be to accomplish this [Sharepoint will also run on its own server] to allow use of OWA + Sharepoint sites both as public resources as well as common space for d...
Hi, I'm reading Professional Microsoft SharePoint 2007 Workflow Programming.
This book provides some detailed info on how SharePoint works, but not the procedures to create workflow.
I wonder how to create a ASP.NET association form (instead of InfoPath form).
Thanks in advance!
...
I have a custom content type in SharePoint which has an approval workflow associated with it. The content type contains several Choice Site Columns. There is now a requirement to change the values of the choice columns AND update the existing content to reflect the new values.
Eg,
Existing Choices:
Choice 1
Choice 2
Choice 3
New Choic...
We are having issues with the MOSS 2007 Web Service. Specifically, the Query/QueryEx method of the API.
We are using the SQL Syntax to query sharepoint, and for most cases, our search execution time is very fast. However, when we add filters and sorts, things start slowing down. In some cases we even get an error.
For example, this MS...
I created a BDC entry using the editor delivered with the SharePoint 2007 SDK. On my local installation there is no problem. When the sysadmin tries to import it into the staging farm, he gets the following error message:
Application definition import failed.
The following error occurred: There
was an error downloading
'http://...
I Wrote a sample webpart which takes the parameter passed from orher webpart and display its value on a label. Here is the code:
[Guid("11a885e9-13e1-4c6e-8045-e5575794ebd8")]
public class DisplayParameter : System.Web.UI.WebControls.WebParts.WebPart
{
protected Label _label = new Label();
private string _message;
[ConnectionCon...
A customer is asking if there is anything we can do to remove "/Pages" from his Internet-facing MOSS publishing site. Some Googling reveals that some clever use of HTTPModules may be able to hide the presence of Pages, but I've yet to see an end-to-end working solution. Have any of you come up against this particular requirement, and i...
I have a website in Sharepoint 2007. I need to create a page where I have a field where the user can enter an hour (22:00, for example). I will then make some CAML queries, asking to get the pages with the hour less or greater than a specific hour.
I know Sharepoint have the Datetimefield, but this one only shows the date, you cannot se...
Could you tell me some good forums about Sharepoint 2007? I find there are not a lot of specialized sites about this.
...
Is SharePoint capable of crawling files that are store in a file server? If yes, how?
...