sharepoint-2007

Sharepoint SPSite

末鹿安然 提交于 2019-12-01 20:32:23
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); It throws exception site not found i have checked the name of site it exixts. Any Help?? Check that you are building against the correct target. I.e. x86 vs x64. I get this error when I build against x86 and try and run against x64. Do you have your permissions set up correctly? Check

What are Sharepoint(MOSS 2007) Developement/Deployment best practices

↘锁芯ラ 提交于 2019-12-01 20:26:17
问题 We are deploying sharepoint MOSS 2007 at our work. I'm trying to come up with a sharepoint development and deployment methodology. We have Dev/QA/Prod environments and I need a way, preferably automated to deploy changes from Dev to QA and from there to prod. We are creating site collections web parts etc. Some of it is done directly within sharepoint, some through Sharepoint designer or visual studio. I'm looking for a way to extract this and deploy it to other enviornments. I tried stsadm

What are Sharepoint(MOSS 2007) Developement/Deployment best practices

此生再无相见时 提交于 2019-12-01 18:44:44
We are deploying sharepoint MOSS 2007 at our work. I'm trying to come up with a sharepoint development and deployment methodology. We have Dev/QA/Prod environments and I need a way, preferably automated to deploy changes from Dev to QA and from there to prod. We are creating site collections web parts etc. Some of it is done directly within sharepoint, some through Sharepoint designer or visual studio. I'm looking for a way to extract this and deploy it to other enviornments. I tried stsadm backup/restore import/export etc but they all move the data along with it as well. I just need the

Sharepoint: Calculated column based on another list

痴心易碎 提交于 2019-12-01 17:53:06
I could be looking at the wrong way to do this, but here I go: I have a Sharepoint list (titled "Trips"), which has a list of trips scheduled to particular zones. I have a second list ("Zones"), which has a fixed number of items, each item representing a particular zone. Zones has a column titled "Condition" describing the roads in that particular area. Now... given that an item in Trips contains a reference to the Zone item where the trip is heading, I want to be able to "look up" the Condition column for that Zone item and include it in Trip views. Problem being, if I add a lookup column to

Sharepoint task list and Outlook sync

送分小仙女□ 提交于 2019-12-01 13:22:08
I am trying to sync Sharepoint task list with Outlook. When the users connect the task list to outlook, the task for all users are visible in outlook. Rather than applying filtering in Outlook, can I provide a filtering at the source itself? There are considerable number of users for my application, it wouldn't be good to ask all users to apply filters on their own. Any other suggestions? Thanks. Janis Veinbergs I`v asked the same question: Sync list with outlook only with items in current view. . In this case it was possible to use stssync protocol to do whatever you want. It takes much

Restaurant review site in SharePoint

旧街凉风 提交于 2019-12-01 12:41:20
I'm totally new to SharePoint but my company has adopted it for internal use. As a learning exercise I thought it would be fun to create a local restaurant review site. Can anyone point me to an example or tutorial to get me started? What I have in mind is a simple site where users can enter the restaurant name, cuisine style, address, a simple 5 point rating and price scale, and a short review. Other users could search for restaurants by cuisine and add their own reviews. We have SharePoint 2007 and MOSS. Thanks I don't know of one tutorial which will help you, but I can try to break this

SharePoint - An unexpected error has occurred

被刻印的时光 ゝ 提交于 2019-12-01 09:15:41
In SharePoint I am getting the following when I go to my new web part page: Error An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator. Troubleshoot issues with Windows SharePoint Services. I have tried the following to get a more useful error message: In web.config I have: <SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="true"> and <customErrors mode=“Off“

SharePoint - An unexpected error has occurred

こ雲淡風輕ζ 提交于 2019-12-01 06:22:18
问题 In SharePoint I am getting the following when I go to my new web part page: Error An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator. Troubleshoot issues with Windows SharePoint Services. I have tried the following to get a more useful error message: In web.config I have: <SafeMode MaxControls="200" CallStack="true"

WCF - use without app.config

爷,独闯天下 提交于 2019-12-01 00:40:35
I have a SharePoint workflow which calls a WCF service. This works fine so long as the workflow runs under IIS and is not shifted to the Timer Service. The problem is that the Timer Service does not have access to the web.config settings it needs to setup the WCF connection from the context of the Timer Service. Could not find endpoint element with name endpointname' and contract 'servicecontractname' in the ServiceModel client configuration section I am setting up all the info WCF needs to make the connection in code anyway (and overriding the values set in web.config) My question is, can I

SharePoint: How to create a folder in a document library please using web services

≯℡__Kan透↙ 提交于 2019-11-30 23:34:18
I need to create a simple folder in a document library in SharePoint, but I can't seem to find a scrap of documentation on the subject. The dws webservice seems to be used to create physical folders in a workspace, I need a way to create a folder in a document library. Not sure what to do , please help I found this method to work : HttpWebRequest request = (System.Net.HttpWebRequest)HttpWebRequest.Create("http://mySite/MyList/MyfolderIwantedtocreate"); request.Credentials = CredentialCache.DefaultCredentials; request.Method = "MKCOL"; HttpWebResponse response = (System.Net.HttpWebResponse