wss-3.0

Has anyone ever bought an "Internet Connection" license for WSS 3.0?

I would like to run a WSS 3.0 that is exposed to the internet and provides access to an arbitrary number of users through forms-based authentication. If the WSS licensing is analogous to that of MOSS, then there should be some special licensing required to make this legitimate. I have seen several vague statements on the internet about a...

Problem opening context SPSite from SPItemEventProperties

In the following code, // class overrides SPItemEventreceiver public override void ItemAdding(SPItemEventProperties properties) { using (var site = new SPSite(properties.SiteId)) //SiteId is GUID <<corrected { ... } } The following exception is thrown: System.IO.FileNotFoundException: The Web application at http:...

WSS 3.0: Email notification/alert on download

Is there a way in WSS 3.0 to send an email notification when a list attachment is downloaded or when a document in a document library is downloaded? Thx ...

Windows Sharepoint services in 3-tier

We are planning to build a 3-tier application using WSS 3.0 and one of the challenges is we cannot have the database server on the DMZ.The database needs to be in a physical tier than should be accessed ONLY via an Application Tier.The web application would be hosted in the DMZ and will have to connect to Database tier via the Applicatio...

Dynamic SharePoint 2007 WebPart Connections

I'm prototyping the best way to dynamically connect web parts at runtime. Essentailly, the application will allow for several disparate application groups to create web parts that will be consumed within the SharePoint front end. All of the web parts will need to automatically detect consumers and providers to create connections at run...

How to delete documents from a document library in WSS 3.0?

Hi, I need a way to programmaticaly delete documents from Sharepoint 2007 document library. I don't have access to the server to deploy server-side code, so it needs to be via web service or pure http. I can find plenty of examples for removing attachments from list items, but nothing for removing from document libraries. Idea, anyone?...

New SharePoint site returns 505 upon creation

I have an instance of SharePoint WSS 3.0 running on Windows Server Standard VM; which I believed worked fine upon initial setup. However, in an effort to get PerformancePoint and other Microsoft software (like SQL Server 2008) running on the same machine; I've been applying patches, service packs and installing and uninstalling framewor...

Access denied when asking for the count of all webs - SharePoint WSS 3.0 SP2

I'm trying to list all the links on all the SharePoint web sites (parent and sub). When I'm logged in as the admin user it works just fine. However, when I sign on as a normal user I get an access denied error. And the error is thrown when I check the count property of the SPWebCollection. SPSite oSiteCollection = SPContext.Current.Site...

DataFormWebPart accessing previous versions of an item in WSS3.0

I am running WSS3.0 and have a custom list which contains versioning on a couple of fields. When I click on an item and I view the item page I see the history of all the fields which I have made changes to. This works fine as expected. I have also created a page using Microsoft Office Sharepoint Designer and using a DataFormWebPart ...

SharePoint Feature activating for new sites (Stapling ???)

Hi All, I am developing a sharepoint feature which takes a backup of the site at sitecollection level and at site level whenevar a user tries to delete the site. The feature is working fine without issues for the existing sitecollection and sites when the feature is activated. To give more picture, i am taking backup through code in ev...

Converting Sharepoint 2007 solution to 2010

Has anyone converted a Sharepoint 2007 solution to 2010 ? I have a highly customized 2007 solution and need to upgrade it, i've seen some info on this, e.g. here but my solution is more complex than a single web part. I'm concerned about e.g. the following topics and hopefully someone can shed some light on it: Schema.xml, does it n...

webpart is working on local server but not working on production when "SPSite" class is uesd in the webpart

webpart is working on local server but not working on production server when "SPSite" class is uesd in the web part. On the production server it throws error. If I do not use that class in the webpart the web part also works on live machine. Any idea what might be causing the error? the code in the webpart is this: namespace CompanyNe...

Problem adding a dynamic field to a SPList in sharepoint

We have the following code in a webpart: using (SPSite site = new SPSite("http://localhost/")) { using (SPWeb web = site.OpenWeb()) { SPList list = web.SiteUserInfoList; if (!list.Fields.ContainsField("Office")) { list.Fields.Add("Office", SPFieldType.Text, false); list.Update(); } } } in the 4th ...

What is the maximum number of users/size a Windows Sharepoint Services 3.0 can support?

What is the maximum number of users and data size a windows sharepoint services 3.0 can support? I'm planning to deploy a WSS 3.0 on a 100gig harddisk with 2 gig RAM for 100 users. Does that sound reasonable? ...

WSS 3.0 Feature- Check if User is Farm admin

Hi All I am developing a sharepoint feature that should allow only Farm admin to delete a sitecollection. In SiteDeleting event, i need to chech if the user deleting is farmadmin. How should i do that? I got a property to check if user is webadmin(properties.Web.UserIsWebAdmin) or siteadmin(properties.Web.UserIsSiteAdmin) but how to che...

Why wss 3.0 dosen't display image properly?

Hi, I have my own custom webpart. Inside this webpart I would like to display transparent gif. Unfortunately it dosen't do it. I was tryign to use html img tag or asp.net image tag. Src property for the image is set properly because it displays image icon insted of "X". X would be proof of the wrong path under src. As I said it is alrig...

SharePoint deployment, ghosted file returns 404

After deploying an upgrade to a particular feature which contains ghostable page template, the page starts returning a 404 response. In the SharePoint log, I get the following Cannot get ghost document: Features\FeatureName\SubFolder\PageName.aspx Unknown SPRequest error occurred. More information: 0x80070002 I am able ...

Not allowing user to delete a list in Sharepoint 2007

I have a list with multiple items. I don't want the user to delete the list when there are items with running workflows. I'm trying to avoid orphaned workflows and get more control over what the user is allowed to do with data in lists. I've already implemented a part which denies the user to delete a single item with a running workflow...

When does Sharepoint List ItemDeleting event actually fire?

We would like to block the deletion of documents in a list based on some custom functionality. What we have tried is to implement this in the ItemDeleting event. Where we set the cancel property of SPItemEventProperties to true when we do not want the user to be able to delete a document. What happened was that the Delete option in the...

Sharepoint Services - List - Create view items created by {who ever logged in}

I have list where users can see all items, but only edit items they created. Is there a way I can create a 'Created by {User}' view? ...