moss

MOSS 2007 KeepAlive File

I have a standard MOSS 2007 Web Site (MOSS Terminology: Application and a SiteCollection) I located the home directory (as its setup in IIS) C:\InetPub\wwwRoot\wss\VirtualDirectories\nyMOSSApp.com:80 I created a keepAlive.aspx file in this directory. The contents is very basic... but its a valid winForm file (not a 0KB File) When I ...

InfoPath forms on client vs. hosted in Forms Server / MOSS

Is there a definitive list of functional differences between InfoPath forms in the InfoPath client vs. InfoPath forms hosted via Forms Server? Talking to people who have worked with and deployed the technology before, they can't tell me anything specific except that more complex forms are not possible when you host them in Forms Server....

Creating custom URL tokens in ASP.NET (a la MOSS)

In ASP.NET, the tilde (~) is treated as a token in URLs and treats paths prefixed with that as relative to the application root. This is well-known functionality. In MOSS, there are other tokens, such as ~sitecollection/mypath... which behaves in a similar way, but treats the path as relative to the site collection root. How is this acc...

webservice oneway and new SPSite(myUrl)

Hi, I have a problem with a oneway web method that open a moss site (probably because in a oneway webmethod the context is null) Is possible to rewrite this code to remove the null reference exception? (without the oneway attribute i don't have the exception) [SoapDocumentMethod(OneWay = true)] [WebMethod(Description = "TestOn...

SharePoint Search: Exclude lists and listitems from search results

Hi, I'm very new to the MOSS 2007 search and just started playing around with the configuration. At the moment the index contains nearly everything a site has to offer. After testing the search on my publishing portal I realized that many of the search results are not very useful for the users. E.g. the search results include entries ...

Moss 2007 SSP Error "Search application '{0}' is not ready."

I'm trying to fix a broken SSP on a MOSS 2007 site. The problem I am running into manifests itself as follows... In the SSP "Search Settings" page I get this message: The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also ...

IS CAML the only way to Query MOSS?

CAML is hard to learn, and dificult to use, is there a better way to get results from MOSS, besides using CAML queries? And not referring to the Web Services, which are slower, or the object model, which again is slower. ...

SharePoint (MOSS 2007) remove user

The bossman wants to know how to delete a user in Sharepoint. We've got him convinced that deleting a user is too difficult because of traces of that user through the system, so now he wants to be able to change the username to all Xs or somesuch. I've poked around the DB and found a couple of UserInfo tables, one in SharePoint_AdminCo...

Sandcastle -> Output to HTML -> Import to MOSS utility

I am about to write an import to MOSS utility from Sandcastle HTML output. Before I do this I would just like to ask if anyone knows of a tool that can already accomplish this? Oh and if the question gets closed for not being programming related, please just leave a comment. ...

can log4net be configured to run under its own identity?

I'm thinking about using log4net in a MOSS(SharePoint) 2007 project, but I need to know if the logging can easily be configured to log using a certain username + password. ...

How to check if MOSS Standard or MOSS Enterprise is installed?

How is it possible to check if MOSS Standard or MOSS Enterprise is installed? ...

Workflow Auto Cleanup timer job does not run

I am testing a couple of workflows for their workflow history cleanup time intervals. The workflow History needs to be retained for a specific number of days. I have implemented the solutions recommended here My problem is that, now I need to test my code to see if the workflow history is getting cleaned up after the exact number of da...

Really strange IE 8 Beta 2 behaviour

PLEASE DON'T CLOSE -- IT'S PROGRAMMING-RELATED (BUT NO CODE INCLUDED) I develop MOSS sites, and I need to make sure my sites are compatible with IE 7,8 and FireFox. I have an external testing site (Windows 2003, IIS 6) and when I browse to this MOSS site, I can authenticate without any problems using IE8. When I browse to my local i...

Clean document roles in a Doc Library

Hello guys... I have been developing an event handler to clean up the RolesAssignments of the new item of a document library in MOSS. I’ve searched for a method that could clean all the RolesAssignments efficiently, although the best way I found seams to be loop through the RolesAssignments and delete one by one. ¿Is there another way ...

How do you insert a query value as a parameter in sharepoint designer?

I am trying to create a Data Source in SharePoint Designer that connects to a SharePoint List via XML Web Services. I have created the Data Source and connected to the list in question. I can view all the data using GetListItems, and I want to filter it using the query parameter. The query parameter takes an XmlNode, and when I put th...

MOSS Domain Configuration

Hi, We are having some issues getting SharePoint to work as we want it to. We have an enterprise MOSS configuration on our domain and have the entry http://intranet pointing to it on port 80. We also have another site collection and have pointed an internet domain name http:/nww.oursector.nhs.uk at it. We have done this to allow those...

programatically add user permission to a list in sharepoint

how do i programatically add user permission to a list in sharepoint. i want to add the permission "Contribute" to a user or group for a certain list. im using c# Thanks.. ...

Removing scrollbars from Content Editor/Page Viewer Webpart

I am trying to display an HTML page inside another SharePoint webpart page. I used the Out-of-the-box page viewer webpart, but the page viewer webpart displays a disabled scrollbar inside it. I also tried using a content editor webpart with an IFRAME tag in it, but still it didnt't work. This is the code i used in the content editor w...

In which process to Sharepoint 2007 Workflows run?

If I update an Assembly that holds a workflow, I have to restart the appropriate Windows Process to pick up the new Assemblies. For Web parts & stuff, this is just the IIS Application Pool in question (iisapp /r), and for Timer Jobs it is OWSTIMER.exe (net stop/start SPTimerV3) But who runs the workflows? Are they ran within IIS' Appli...

How do I know you have logged in a Sharepoint WebPage?

We use Sharepoint as CMS for our webpages at work. I know how to create controls that can be only visible if you have logged in in SharePoint with: <Sharepoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl1" runat="server" PermissionsString="AddAndCustomizePages"><br /> <Sharepoint:CssLink ID="CssLink1" runat="server"/><br /> <...