moss

How to debug Sharepoint solution/feature through Visual studio?

依然范特西╮ 提交于 2019-12-23 13:32:03
问题 Recently I tried to install a webpart through wspbuilder utility to the Sharepoint Site. I have created, built and deployed a project to the 12 hive. After that installed the solution through Cental Administration Site and activated in the site collection. I just wonder how can I debug the complex feature/solution ? Because both processes (build-deploy and activate) totally independent, how can I attach a process with the worker process ? 回答1: In the WSPBuilder context menu there is an option

An unexpected error has occurred

好久不见. 提交于 2019-12-22 12:17:30
问题 I have created an asp.net web application on my local machine and I am deploying it to sharepoint. For that I am refereing the following Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder [http://msdn.microsoft.com/en-us/library/cc297200.aspx] Its works perfect on my local machine but when I was trying to deploy the same on clients machine it was giving me the " An unexpected error has occurred. " Error. The scenario is, There is not visual studio

“A specified logon session does not exist. It may already have been terminated.” when trying to copy a file using WindowsIdentity.Impersonate

試著忘記壹切 提交于 2019-12-22 10:12:04
问题 I am trying to copy a file from sharepoint to a unc path. I am using the following code: var id = new WindowsIdentity("administrator@mysite.com"); var p = new WindowsPrincipal(id); var wic = id.Impersonate(); File.Move(oldName, newName); wic.Undo(); oldname is C:\test.txt newName is \\server\folder\test.txt I am getting the error A specified logon session does not exist. It may already have been terminated. How do I go about removing this error OR copy a file from A to B(UNC path) using

SharePoint error: “Cannot import Web Part”

假装没事ソ 提交于 2019-12-20 19:38:50
问题 I have a web part that I've developed, and if I manually install the web part it is fine. However when I have packaged the web part following the instructions on this web site as a guide: http://www.theartofsharepoint.com/2007/05/how-to-build-solution-pack-wsp.html I get this error in the log files: 09/23/2008 14:13:03.67 w3wp.exe (0x1B5C) 0x1534 Windows SharePoint Services Web Parts 8l4d Monitorable Error importing WebPart. Cannot import Project Filter. 09/23/2008 14:13:03.67 w3wp.exe

Can I use .NET 4 with SharePoint 2007?

青春壹個敷衍的年華 提交于 2019-12-20 01:41:09
问题 I'm on a team that's currently building a MOSS 2007 based application (which relies on .NET 2), and we'd like to leverage the Entity Framework v4 (which relies on .NET 4). Is this possible? 回答1: No. The 4.0 version of .NET has a new CLR (4.0) etc., but SharePoint 2007 is only supported on CLR 2.0. Even SP2010 does not support .net 4.0 (yet). 回答2: Although I haven't tried, my guess is that it's not possible. In order to use .net 4.0 assemblies, the apppool running your moss site would have to

Creating a custom Document Library in SharePoint

↘锁芯ラ 提交于 2019-12-18 03:47:08
问题 I have a document library in my SharePoint page and there are 10 documents in it. If User A is logged in I want him to only see 5 of those documents in that document library. How can I create some custom document library for this to work? I have MOSS installed. Thanks in advance! 回答1: You could configure different permissions on each document in the document library. Just select the "Manage Permissions" option on each item and break the permission inheritance from the document library level.

SharePoint column default values - add 10 working days

自作多情 提交于 2019-12-14 03:42:28
问题 In SharePoint MOSS 2007, I have created a custom content type that I will be applying to a document library. One of the required fields is "Incoming Date" and another is the "Due Date". The Due Date is always 10 working days from the Incoming Date. The Incoming Date is when the mail room received the letter, not necessarily when the document is posted to the library. From here: http://msdn.microsoft.com/en-us/library/bb862071.aspx =DATE(YEAR([Incoming Date]),MONTH([Incoming Date]),DAY(

How to get started with developing SharePoint web parts?

匆匆过客 提交于 2019-12-14 02:34:43
问题 I'm not really a developer but I have experience in PHP, Java and want to have a go at developing some really simple SharePoint web parts (for WSS 3.0, MOSS 2007 and in future 2010). I assume it requires knowledge of ASP.NET. Should I start learning C# or get stuck straight into web parts. Any good tutorials for a complete beginner? 回答1: If you are going to start from scratch, I highly recommend SharePoint 2010. The development environment is so much better and simpler and does not require

Use SharePoint Search to crawl Project Server project metadata?

别说谁变了你拦得住时间么 提交于 2019-12-13 20:57:03
问题 Our environment consists of Project Server 2007 and MOSS 2007. We have around 750 projects and lots of "Enterprise Custom Fields" set up to track all of the metadata associated with a project. Our main requirement is to be able to search/filter/group/sort all of these projects by metadata in SharePoint. Our current process involves syncing this custom metadata into a SharePoint list (which requires a LOT of maintenance). Instead, I would like to get rid of this sync and set up the search

Sharepoint: Access SQL sharepoint files

落爺英雄遲暮 提交于 2019-12-13 20:06:09
问题 I have the Sharepoint Intranet server on the same nework as the Internet PHP Web server. I would like to know if via PHP SQL code I can access a collection list of PDF files from the intranet so it can be viewed on the Internet site. 回答1: SharePoint exposes a Lists web service to access List Items from a SharePoint List/Document Library. You should be able to use this to grab document URLs and get that as a byte array or something, which you could serve up in your PHP application. I'm not