Archive for category SharePoint

Searching Adobe pdf documents in SharePoint WSS 3.0 and MOSS 2007

UPDATED: Was doing a SharePoint installation today and realized I really needed to clean this article up!. I originally wrote it a few years ago. Some more information on 64bit platforms has been added and as well as Adobe specific pdf walkthroughs for SharePoint 2007, SQL, and Exchange.

Enable Adobe .pdf Portable Document Format Search in SharePoint

SharePoint Services 3.0 does not index .pdf files by default when Search is first enabled in SharePoint. The question of course then is “How do I enable Search for Adobe .pdf documents in Windows SharePoint Services?

Here is a walk-through:

Download Adobe iFilter and pdf Icons

32 bit platforms – download the following:

64 bit platforms – download the following:

Enable Microsoft Indexing Service

In Windows Server 2003 and Server 2003 R2: enable Microsoft Indexing Service (if it is not already enabled)

This quote from Adobe explains: “Adobe PDF IFilter is a free downloadable Dynamic Link Library (DLL) file that provides a bridge between a Microsoft Indexing Client and a library of Adobe PDF files.”

Copy the Adobe .pdf Icon to the IMAGES directory

  • Copy .pdf image to SharePoint images store
    • Download Adobe icons (link above)
    • Save to -OR- copy to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES
    • NOTE: the name of the icons file as you are copying and write it/them down
    • the default names from Adobe are pdficon_small.gif AND pdficon_large.gif
  • Open this folder: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\
  • Open/Edit the document DOCICON.XML in Notepad or XML Editor of your choice
  • As you read, note the syntax of the <Mapping> elements and KEY and VALUE attributes
  • Inside the <ByExtension> tags; make entry as follows: <Mapping Key=”pdf” Value=”pdficon_small.gif” />
  • Additional entries may be made while your here if you want to copy other icons and have them associated with file extensions in SharePoint
  • Save file and exit
  1. Add an entry for the .pdf icon in the DOCICON.XML file for SharePoint

Install Adobe iFilter 32 bit or iFilter 9.0 64 bit

  • Stop IIS admin service
    • Go to Start > Run > type cmd > press enter
    • TYPE iisreset /stop
  • Install Adobe iFilter (latest version)
    • Download Adobe IFilter (link above) and install following defaults
  • Reset IIS:
    • Go to Start > Run > type cmd > press enter
    • TYPE iisreset /start > press enter

If installing on MOSS 2007, please also restart Office SharePoint Server Search

  • Type the following at the prompt: “net stop osearch”. Wait for success message.
  • Type the following at the prompt: “net start osearch”. Wait for success message.

When installing on WSS 3.0, Confirm ExtensionList REG_SZ Registry Value = 38

  • Go to Start > Run > type REGEDIT
  • Locate the following registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications\{some GUID here}\Gather\Search\Extensions\ExtensionList
  • Confirm there is a REG_SZ named “38″ (without the quotes) and the the string value is “pdf” (without the quotes)
  • IF THE STRING VALUE IS NOT THERE:
  • Right-click the ExtensionList key | select New | select String Value
  • Name the String Value 38 (or higher if there is already a 38)
  • Double-click the String to open it
  • in the Value data field, enter: pdf
  • Exit REGEDIT

When installing on WSS 3.0, Confirm Extension Multi-String Value (shown as follows)

Verify that PDF has the correct Windows SharePoint Services 3.0  specific settings in the registry location.

  • Go to Start | Run | type regedit
  • within the left-side tree, browse to: \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf
  • Verify the following values. If values are not as shown, edit them.
    • <REG_MULTI_SZ> Default = {E8978DA6-047F-4E3D-9C78-CDBE46041603}

Note that in my case today, I found a “mistaken value” here of:  {4C904448-74A9-11D0-AF6E-00C04FD8DC02}

When installing on MOSS 2007, add pdf to the Search Settings File Types

This achieves the same result as the manual regedit that adds REG_SZ value of 38 (above), but does so directly from MOSS Central Administration.

  • Open the MOSS Central Administration Site
  • Go to the Share Service Administration Site running the search service
  • Select “Search Settings”
  • Select “File Types”
  • Select “Add New File Type”
  • Enter “pdf” click OK
  • Go to Start | Run | type cmd
  • At the command prompt, type the following command: “net stop osearch”. Wait for success message.

When installing on MOSS 2007, Confirm Extension Multi-String Value (shown as follows)

Verify that PDF has the correct Office SharePoint Server specific settings in the registry location.

  • Go to Start | Run | type regedit
  • within the left-side tree, browse to: \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf
  • Verify the following values. If values are not as shown, edit them.
    • <REG_MULTI_SZ> Default = {E8978DA6-047F-4E3D-9C78-CDBE46041603}

Additional Steps to Enable SharePoint pdf Search in 64 bit Windows Server with 64 bit Adobe iFilter

There are some additional considerations when on the 64bit Windows platform:

  1. FIRST!! Be certain you are installing the “64 bit version” of iFilter 9 – download from Adobe
  2. Be sure to add the bin folder of the iFilter installation to the PATH of the SharePoint Server that is assigned the Indexing Role, and any backend SQL Server(s) providing database storage to SharePoint.

Quoting the iFilter 9 Installation Instructions
1. Download and extract the contents of “PDFiFilter64installer.zip” to your local drive.
2. Double click “PDFFilter64installer.msi” to launch the installer.
3. Follow the instructions in the installer wizard to complete the installation.

After installing the PDF iFilter, it is recommended that you set your system PATH environment variable to the “bin” folder of the “Ifilter” installation. For example, from the “Control Panel\System\Advanced\Environment Variables” tab, append to PATH “C:\Program Files\Adobe\Adobe PDF iFilter 9 for 64-bit platforms\bin\” and then restart the computer.

Refer to the following documents to configure PDF iFilter to work with any of these applications:

For more information, read the “comments” section of the iFilter release notes on Adobe’s blog (see the comments by Aman).

Start a Full Crawl on the SharePoint Indexing Server Role

Use the STSADM command line to start a full crawl of your SharePoint Services data

  • Go to Start | Run | type cmd
  • At a command prompt, change the directory to the following:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
  • Type the STSADM command to start a full crawl :  Stsadm -o spsearch -action fullcrawlstart

Visit TechNet to learn more about the  STSADM command line

Possible Errors: Icons are not displayed for Adobe PDF in Search Results

If the “icons” displayed in SharePoint search results do not disply the Adobe pdf icon, try these articles:

KB832809: Icons are not displayed for Adobe PDF documents that are listed in the search results when you search your portal site in SharePoint Portal Server 2003 or in SharePoint Server 2007

SUPPORTING COMMUNITY INFORMATION: http://bloggingabout.net/blogs/harold/archive/2008/10/02/index-pdf-documents-on-sharepoint-using-adobe-pdf-ifilter-9.aspx

Additional Info: Working with SharePoint Search ( after installation )

This article by S.S. Aman can help you understand how to “tweek” search a little in SharePoint

http://vspug.com/ssa/2007/01/19/working-with-sharepoint-search-part-2/

Hope this helps you as well.

Mark Raborn
WIGITAL

, , , , , , , , , , , , , ,

No Comments

SharePoint Search Errors

Had some challenges getting SharePoint Search Service to actually “show” results after crawling and indexing content. I had a variety of errors. It took a while reading through these KB articles:

and this consistently oustanding blog (Joel Oleson)

http://blogs.msdn.com/joelo/archive/2007/06/14/i-m-indexing-and-i-only-get-errors.aspx

In addtion… once I was ready to Re-Start the Search service, I ran into a challenge with SQL and log sizes. It appears that the space allocated for SQL Logs in the databases associated with SharePoint was too small. So I shrunk the Databases according to the How To Guide in SQL Server Express 2005 Management Studio as well as applying ideas in this older SQL 7.0 article.

http://support.microsoft.com/kb/256650/

I learned some good things today.

,

No Comments

10017 Error Message after SharePoint installation

SharePoint installation causes 10017 error messages in Event Log

The installation of SharePoint Services 3.0 can in some cases cause an event log message resulting from access rights to IIS WAMREG admin Service which is a Component service.

This proper rights can be granted by implementing this KB article – KB 920783

also, see these blog entries

  1. Dean’s Office – DCOM Errors in your Event log with MOSS 2007 B2/B2TR?
  2. Harsh – Some random issues with Beta 2 Technical Refresh of MOSS 2007

,

No Comments

Forms Based Authentication in SharePoint using SQL MembershipProvider

PLEASE NOTE: this is a personal notepad while TESTING IS COMPLETED. Review the links to become familiar with the concepts. Commentary to follow when Patterns and Practices have been validated.

work in progress…. thanks

Forms Based Authentication in SharePoint – WSS 3.0 and MOSS 2007

Welcome,

In general there is a lot of information on this subject on the Internet. Much of the information however is written presuming a pre-existing foundation of knowledge about ASP.NET, connectionStrings and the like. It’s my hope to fill in the blanks here. The following outline is written to help you (and me) find our way to the best resources available on FBA in SharePoint as well as to educate those interested in SharePoint on the broader subject of Forms Based Authentication for ASP.NET and how it applies to WSS 3.0. I hope you have great success with your own effort!

Questions to consider before implementing FBA (Forms Based Authentication) in SharePoint
  1. Are you working on a single machine or in a Server Farm?
  2. Are you using SQL 2005 Express or SQL Server 2005 / 2000 as your membership database?
  3. If building your own Authentication Page, which AspNetSqlMembershipProvider elements will make use of ?

Consider these and other questions in advance of your study as they will influence the procedure(s) that you develop.

= = = = = = = = = = = = = = = = = = = = =

SharePoint Community on Forms Based Authentication and Membership in SharePoint (WSS 3.0 and MOSS 2007)

BLOG POSTS: The SharePoint community on Forms Based Authentication

The most acknowledged posts (with screenshots) on FBA (Forms Based Authentication) for WSS 3.0. START here to learn FBA and AspNetSqlMembershipProvider as the experts have applied it to SharePoint.

WEBCASTS & VIDEOS on FBA in SharePoint

Two comprehensive walkthroughs on setting up Forms Based Authentication in SharePoint

  • Ted Pattison Anonymous Access and Forms Authentication in WSS
  • TechNet Webcast SharePoint Security from Service Accounts to Item-Level Access (Level 200) (ID:1032305446)

    My opinion on the Ted Pattison VIDEO: This Channel 9 video is the most comprehensible and thorough presentation on Forms Based Authentication specifically for SharePoint I’ve seen. The presenter is Ted Pattison (MVP/author and outstanding teacher on the subject). Ted makes the difference by teaching while he presents. Thanks Ted!

    • The FBA WSS 3.0 video is here: http://channel9.msdn.com/ShowPost.aspx?PostID=229709
    • More great SharePoint videos from Ted are here on MSDN: The Office Developer Screencast Virtual Tour

      NOTE: There is a step in Ted’s presentation in which he edits the machine.config file and enters connectionStrings to globally direct ALL web applications on his demo box to the aspnetdb SQL database created for forms authentication.??? This is solely an ASP.NET edit! COMMENT: If I understand this correctly, this step makes the most sense only if you’re using one single machine. If Central Administration were moved to a new box, the connectionStrings would be left behind in the machine.config file on the old box and connection to the data store would be lost. SharePoint Configuration Wizard has the ability to relocate Central Administration from machine to machine. In a farm environment it would be better to edit the web.config file for SharePoint Central Administration because the web.config file could then be provisioned again, along with Central Administration itself, using the SharePoint Configuration Wizard. Pushing functionality to new boxes may occur in a Server Farm Environment. In addition, there is backup to consider. Backing up Central Administration does not backup machine.config but does backup the web.config file because it’s a part of Central Administration. Backup is another reason to edit the web.config file instead of machine.config and applies to stand alone SharePoint installations as well as Server Farms. Insure backup of your connectionString elements so that they’ll always be there with Central Administration and your web applications in a backup.

= = = = = = = = = = = = = = = = = = = = =

The ( _blanks_ ) in current posts on FBA and SharePoint

There are some definite BLANK SPOTS in even the best of the current FBA walkthroughs I’ve found. While many of these guides are outstanding (and have definitely lead the way for all of us) I feel the SharePoint community is somewhat taking for granted the knowledge of it’s users especially given the drive to communicate the appeal of Windows SharePoint Services to a broader audience. Be prepared to bring yourself up to date on the following subject matter. I found these to be the missing links in my study of FBA for SharePoint. I suggest reading this information before you begin:

  1. aspnet_regsql.exe – what to consider using SQL (Express/Server 2000/Server 2005) with FBA in ASP.NET (WSS 3.0)
  2. Security – Grant database access to the SQL Server Instance used by WSS 3.0 Web Application account
  3. connectionStrings – connecting SharePoint to SQL Server for Forms Based Authentication
  4. connectionStrings – encryption and security so your credentials are not in the open
  5. MembershipProvider – insuring membership functionality for the future (it makes the difference)
  6. SharePoint Security specifics – read this last (a large volume of links specifically on SharePoint secuity)

= = = = = = = = = = = = = = = = = = = = =

TROUBLESHOOTING TIPS

How troubleshooting from the start makes for a winning effort and confirms each step in the FBA process. Please note these procedures are unofficial, imply no warranties and convey no rights.

Troubleshooting – Forms Based Authentication for SharePoint WSS 3.0 and MOSS 2007

Troubleshooting access to your SQL Server Database for Membership

The bottom line is that setting up FBA in WSS is sometimes not as easy as the community makes it out to be. Harshawardhan Chiplonkar who outlines a number of connectionStrings here puts it this way:

A lot of us who have played with Forms based Authentication with Microsoft Office SharePoint Server 2007 would know, that the steps for setting it up are fairly simple, however, if and when something does go wrong, finding it out is really a mess.

For me personally, the procedure of testing each connectionString while I worked helped me verify my connectivity with the Membership database in SQL before moving to the next step. This essentially banked the winning effort and has definitely proved it’s value to me. Pasting all three sets of connectionStrings at once (as you will see done in demos) does not give an opportunity to observe or isolate a single point of failure. To me, it makes sense to configure and test each link in the chain before racing forward to paste a connectionString in your web application and attempt a logon. For this reason, I suggest the following steps as a guideline to simultaneously troubleshooting and establishing a working Forms Based Authentication in SharePoint:

Note: using the following guideline has enabled me to more consistently succeed at FBA for SharePoint. This ultimately just WORKS!… Following this check by check method has actually reduced my configuration time. Implementing these checks along the way adds little extra effort during setup.

MY PERSONAL METHOD:

  1. Install a new separate SQL INSTANCE as your dedicated membership store
  2. Run aspnet_regsql.exe either from the command line or in wizard mode to create and provision a databse in your SQL INSTANCE for membership
  3. Verify the access you need has been granted to the database itself. Open SQL Management Studio and check the Logins, Users and Security settings in SQL at each node associated with this process (see links at beginning about SQL). Establish access as needed based on the (possibly distinct) needs of:
    • ASP.NET web site that configures and accesses your FBA membership store
    • SharePoint Central Administration (SharePoint community suggests this is seperate account-generally domain admin with dbcreator and sysadmin rights to the SharePoint data store) – a very powerful account capable of accomplishing anything Central Administration needs.
    • Worker Process account for the specific Web Application you intend for FBA (SharePoint community suggests this is least priviledge account – generally domain user)
  4. Create the target Web Application for FBA in SharePoint and assign the Worker Process account described above
  5. Create -OR- borrow your connectionStrings element
  6. Connect ASP.NET web site to SQL DATA STORE via connectionString in web.config
  7. TEST – by completing the setup of an Adminstrator account – If it does not work… STOP and complete this step.
  8. Connect SharePoint Central Administration to SQL DATA STORE via connectionString in web.config
  9. TEST – by using Central Administration to change the target Web Application to the use of Forms Authentcation and the AspNetSqlMembership Provider. Assign the Administrator account in step 7 as site collection administrator. If the name resolves, no waivy red line ~~~~~~~~ under the user name, you are Go. – If it does not work… STOP and complete this step
  10. Connect your target Web Application to SQL DATA STORE via connectionString in web.config
  11. TEST – by browsing to the appropriate URL for your Web Application and logging on as the Administrator account in step 7 which has been verified to be site collection administrator above in step 9. – if it does not work… STOP and complete this step.
  12. Smile :-)

WHY STEP 3 ABOVE IS SO IMPORTANT:

  • TechNet clearly outlines the suggested Central Administration, Search Accounts, Crawl and Index Account, and Worker Process Account(s) in this Technical Article
  • MSDN outlines how to connect these accounts to SQL Server in this Development Article

THE CONCLUSION IS: “Know your environment!” If the FBA process fails anywhere – IT FAILS HERE… FBA can easily fail due to Login access to SQL resulting from Security/User Permissions in SQL itself. If you are using varying accounts for the servicing of SharePoint (like TechNet suggests), you may have to grant access in SQL to more than once account. Read = > 1. TechNet suggests that the accounts servicing SharePoint are to be different accounts with different privileges!! and yet…. most SharePoint Community posts don’t clearly address the impact of this security guideline on implementing connectionStrings successfully.

SUGGESTIONS IN ESTABLSIHING CONNECTION STRINGS

The connectionStrings mentioned in many blogs outline access based on one of three syntax:

  1. uid=DOMAINADMINACCT; pwd=YOURPASSWORD
  2. Trusted_Connection=True
  3. Integrated Security=SSPI

Take these steps in preparing to implement connectionStrings:

  • annotate every account (Central Administration Service Account, Web App Service Account, etc….) you may use (DOMAIN\username) with FBA in SharePoint
  • grant the accounts Login access in SQL to the membership data store and then assign them (under Security) as Users in the specific database created by the aspnet_regsql.exe routine
  • grant privileges to ddwriter and ddreader to each of those accounts
  • note that it is necessary to give the individual Web Application account as well as the Central Administration account aspnet_Membership_FullAccess priviledges under Login > Server Roles
  • Lastly, whatever account you are logged in under at the time your run aspnet_regsql.exe is the account that becomes the dbo (database owner) for the data store you create. That account may not be the same account as Central Administration Service Account and/or your Web Application’s Worker Process Account unless you just happened to have a very blessed convergence of potentiality. This means your going to have to ADD those accounts and grant them priviledges.
  • If you are running a Farm, and have secured it in various ways…. you may have to go offline and loosen your security to figure things out.

MSDN Articles are must reads on this subject matter:

  1. How To: Use Forms Authentication with SQL Server in ASP.NET 2.0
  2. How To: Connect to SQL Server Using Windows Authentication in ASP.NET 2.0
  3. How To: Connect to SQL Server Using SQL Authentication in ASP.NET 2.0

= = = = = = = = = = = = = = = = = = = =

In review :

    1. Know your accounts
    2. Get SQL happy with each of the relationships
    3. TEST your connectionStrings at each stage listed above and if you’re having trouble, be thoughtful about the requirements that SQL is placing on access and whether the account that is accessing (i.e Web App Worker Process) actually is allowed to access it.

= = = = = = = = = = = = = = = = = = = =

SUPER-TIP: Here’s a great way to test that your Central Administration and Worker Process accounts are accessing your SQL data store

  1. Read this article on FBA with SQL if you need a refresher
  2. run aspnet_regsql.exe [remember the account you are logged in under will become the dbo (database owner) for the database you create]
  3. Launch Visual Web Developer (as suggested by SharePoint Community) and establish your ASP.NET Application Service Web Site for Forms Based Authentication
  4. Paste your connectionStrings into the web.config file for the ASP.NET Application Service Web Site you just created
  5. Use the uid=DOMAIN\ADMINACCT; pwd=YOURPASSWORD method of authenticating in your connectionString
  6. Build the site
  7. Go to the Menu and select Website > ASP.NET Configuration – The web browser will launch opening the ASP.net Web Site Administration Tool
  8. Click on the Security (link) or (tab)
  9. If you have access, you will make it to the next step. IF NOT, you’ll have to address the issue
  • HERE’S THE TIP: Check each account that will be used to access the FBA data store one at a time right from the beginning. Simply run the same procedure described above by launching the ASP.net Web Site Administration Tool and clicking on the Security (link) or (tab) but change your connectionString to reflect the different accounts that will be eventually used by SharePoint..
  • Before each attempt, change the account described in uid=DOMAIN\ADMINACCT; pwd=YOURPASSWORD portion to each of the following and be sure to rebuild the site before each login attempt:
    1. The account you will login and launch the ASP>NET Application Service Web Site with
    2. The account used as the main account for SharePoint Central Administration
    3. The account used as the Worker Process account for your target Web Application
  • Note that if all three of these accounts allow you to launch and administer the ASP.net Web Site Administration Tool than EACH WILL BE ALLOWED INTO THE SQL MEMBERSHIP DATABASE when the time comes for their respective test and obviously later when your running your SharePoint Web Application.

SUPER-SUPER-TIP: The fact that you are using the ASP.net Web Site Administration Tool is also beneficial for this reason: IF access to the Security (link) or (tab) fails, you will get all sorts of event log type feed back on the error page as to WHY! You will not get this when you try to connect from a SharePoint Web Application or from Central Administration. What you get on failure from the Forms logon page in SharePoint is a Troubleshooting link to the office.microsoft.com help engine. And this is not mature error messaging. At best, you could dig through the Server Event Logs but the ASP.net Web Site Administration Tool error pages give all sorts of meaningful information!

This is great for troubleshooting!

FINAL NOTE:

WINDOWS INTEGRATED AUTHENTICATION: Using the < uid=DOMAIN\ADMINACCT; pwd=YOURPASSWORD > method of authenticating can be let go of in favor of the “blanket” < Integrated Security=SSPI > method once all of the accounts have been authenticated. By using < uid=DOMAIN\ADMINACCT; pwd=YOURPASSWORD > first, you can isolate each account an figure out what’s up! Once all is well and you know each account works, you can allow Windows Intergrated Authentication (aka – Integrated Security=SSPI ) to take over. Windows Integrated Authentication is also a security benefit in that once the individual accounts are working, switching to Windows Ingtergrated Authentication means you are no longer passing login information over the network in the open.

= = = = = = = = = = = = = = = = = = = =

… the information and links above have achieved a working FBA on our SharePoint Farm. I’ll finish the remainder soon.. Thanks.

Content PlaceHolder. New content TBD

, , , ,

No Comments

Content Types in Windows SharePoint Services

Learning Content Types in SharePoint – WSS 3.0

This is today’s notepad on SharePoint content types.

MS Office Online – Introduction to Content Types

I recently worked through the Microsoft Virtual Lab on Content Types and I’ve decided to keep my class notes here while I get up and running on the subject of SharePoint with worldwidevine.

The first thing that is important to grasp about Content Types is that they simply apply a column (or columns) of data against a list, library or folder in SharePoint Services for the purpose of defining (metadata like) properties to sites, lists, libraries and folders in a SharePoint site. Content Types act as metadata essentially creating and controlling required fields that must be addressed prior to saving an item in SharePoint.

Secondly, content types enable synchronous activities (during the generation of content) and asynchronous activities (after the generation of content) to occur along with the generation of the content itself. These activities can include workflows and intelligence that notify team members of an action item that should be accomplished.

Thirdly, content types may add guidance to the creation of content by offering a document template when using the “New” content button on a list or library. Each new item that is created then conforms to the template so as to keep the content within defined criteria.

Fourth, content types are hierarchical in nature and it is important to understand the concept of inheritance as it relates to the hierarchical relationship(s) of a single content type to other content types within a SharePoint site. The placement of a content type within a Parent Site, Child Site (sub site), Folder, List or Library allows content types to not only inherit attributes from the Parent but also be automatically updated should additional columns or workflow activities be added to the Parent Content Type. The activities can then be applied to all Child content types and update the columns, workflows, etc…

  • Sub sites inherit all sorts of things from Parent Sites including the Content Types of the Parent Sites.
  • Each Content Type is itself inheriting properties from a Parent Content Type somewhere.

To give an example: a Basic Page content type inherits from > a Document content type, which itself inherits from > an Item content type, which in turn inherits from > the System (the final unalterable root).

Learning the hierarchyof the built in default Content Types in SharePoint will be very important in developing content for worldwidevine. It will make it possible to create content in alignment with the eventual needs and priorities rendering and delivery. Workflows will enable team collaboration to assure that content is both contextually appropriate and that content is of the quality we pray to offer. Also, defining metadata (columns) with forethought in mind should greatly help the ability to Search for data at worldwidevine as well as provide Index columns to speed the process of Search (more study on this area will be needed). Lastly, thinking of Content Types in terms of Lookup Columns should enable seeking and finding content in a much more defined and functional way than a wide open search. Envision being able to deliver Data live to worldwidevine based on lookups which in turn generate lists from the keywords or categories originally chosen as Content Type metadata. Prayer and planning feel essential in this.

The Default Content Types can be found through Site Actions > Site Settings > Galleries > Site Content Type Galleries

The Site Content Type Gallery can be represented by this list:

  • Document Content Types
    • Basic Page
    • Document
    • Dublin Core Columns
    • Form
    • Link to a Document
    • Master Page
    • Picture
    • Web Part Page
  • Folder Content Types
    • Discussion
    • Folder
  • List Content Types
    • Announcement
    • Contact
    • Event
    • Far East Contact
    • Issue
    • Item
    • Link
    • Message
    • Task
  • Special Content Types
    • Unknown Document Type

Look for information in the Microsoft TechNet website under: Windows SharePoint Services 3.0 Technology > More > Planning and Architecture > Plan for Content and Search > Plan Content Types

NOTE: Content Types (metadata properties, workflows and document templates) can be associated directly with a list or a library in WSS 3.0 however this approach is not the first choice for worldwidevine. It is generally preferred to use a Site Content Type to define attributes allowing the Content Type to be used globally in the site and it’s sub sites. This is the first order of Content Type creation that we will focus on.

to the glory of God

, ,

No Comments

WSS 3.0 beta install failed – acl not in canonical form

Windows SharePoint Services 3.0


This access control list is not in canonical form and therefore cannot be modified

System.InvalidOperationException


Installing Windows SharePoint Services 3.0 beta fails due to access control list is not in canonical form

This post records a solution to a failed WSS 3.0 beta installation I experienced due to corrupted ACL’s (please read the H2 header’s above). In trying discover a solution, I came across this post from Tom Wisnowski 12.23.05

This access control list is not in canonical form and therefore cannot be modified

Here is Tom’s conclusion regarding SharePoint install failure (from the bottom of his post):

So my first thought was that the process did not have the permissions to modify the registry, but when I tried to access the permission on the registry key in question I got a message from windows saying the DACL was in non-canonical form! Looks like during the installation process, the ACES in that DACL are added in the worng order! So to fix this issue, perform the following installation steps…

  1. Install the OS
  2. Install SQL 2005 (if you don’t want to install MSDE)
  3. Install WWFx 1.2 beta
  4. Install WSS v3 beta 1
  5. There is two phases exectued during the installation of WSS. The first phase will install the bits. The second phase configures the server. The key to this is making sure you install WSS but DO NOT configure WSS until you perform the next step
  6. Open regedit. Navigate to HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS Open up the permissions tab. When prompted by windows, allow it to repair the DACL to put it into canonical form
  7. Close regit and proceed with the configuration of WSS I don’t know what exactly caused the registry key DACL to become non-canonical, but this seemed to fix the issue. I want to also note that when installing Sharepoint Server 12, this problem doesn’t seem to manifest itself. If you have run across this problem yourself, I hope this post helped!

Please note that in my installation both the [12.0 ] node and the [WSS] node permissions were corrupted and required attention. I did not need to re-install my OS or SQL componenets. My steps were to first uninstall the WSS 3.0 beta, then re-install the bits BUT NOT RUN THE CONFIGURATION WIZARD as Tom outlined. Lastly, follow the regedit procedure above and right click both of the [12.0] node and [WSS] node below it >click Permissions>allow Windows to correct ACL. NOTE: You will need to run the SharePoint Configuration Wizard when these steps are complete to finish your install and build SharePoint Central Administration 3.0.

thanks to Tom for the initial research and commitment to pass on his knowledge

important: please note that Tom’s original post was for WSS 3.0 beta 1.0

NOTES

  • My installation was WSS 3.0 beta 2 -AND- WSS 3.0 beta 2 TR. The solution solved the issue and was still valid
  • The current stack for WSS 3.0 beta includes the following:
    • FOR BETA 2: .net Framework 2.0 -AND- Windows Workflow Foundation 2.2 beta
    • FOR BETA 2 TR: .net Framework 3.0 (this includes Windows Workflow Foundation)
    • SQL is not “required” as WMSDE is included in the Beta

OTHER POSTS ON THIS SUBJECT

angus logan blog

TechNet search: list not in canonical form


No Comments

SharePoint – creating Web Applications

I thought I’d take notes for posterity (and my own forgetful brain) as I work my way through the first stages of experimenting with v3 site creation. The SharePoint 3.0 Central Adminstration UI is organized into [Server/Server Farm Admin functions] entitled “Operations” and [Site Creation and Site Collection Management functions] entitled “Application Management”

SharePoint v2 and SharePoint v3 use a different language to describe a Virtual Server in IIS 6.0. When extending a Web Site in SharePoint 2.0, the asp.net SharePoint enabled Web Site is called a Virtual Server. In SharePoint v3 however, it is called a Web Application.

To create a Web Application:

  • LAUNCH SharePoint 3.0 Central Adminstration
  • GO TO Application Management
  • LOOK FOR SharePoint Web Application Management
  • CLICK ON Create or extend Web application

At the Create or Extend Web Application page I’m faced with the option of Creating a new Web Application or Extending an existing Web Application. The first option: Create a new Web Application achieves the following:

  1. creates a new Web Site in IIS
  2. creates a new database to store SharePoint data
  3. defines the authentication method used to connect the SharePoint application to that database

I’m selecting Create New Web Application

NOTE: After creating this Web Application, the next step will be “Extending the Application” as the database content from the first Web Application is going to be serving a public web site.

…from the Create or Extend Web Application page is the following:Choose Extend Existing Web Application if you need to have separate IIS Web Sites that expose the same content to users. This is typically used for extranet deployments where different users access content using different domains. This option will reuse the content database from an existing Web Application.

IIS Web Site

Under “Create New”… one of the first key points is that SharePoint v3 automatically selects a random Port under which to direct access to the SharePoint site (Web Application). The second key point is that the physical Path into which the content of the Virtual Directory will be placed is defined here: the path is C:\Inetpub\wwwroot\wss\VirtualDirectories\PORTNUMBER where PORTNUMBER is the randomly selected Port described above. Certainly one could change these settings as needed to open the site up to less numerically opaque naming AND there are other storage options for content then C:\Inetpub… However, we’ll go with the defaults for now.

One of the things I find interesting as a novice is that I have no clue where the .aspx pages of SharePoint actually land … is it in inside SQL??? I’m sure I’ll learn soon enough!

Security Configuration

Select:

  • Authentication provider:
  • Allow Anonymous
  • Use Secure Sockets Layer (SSL):

Load Balanced URL

This is an important selection as the load balanced URL is the domain name for all sites users will access in this SharePoint Web application.

The URL domain will be used in all links shown on pages within the web application. By default, it is set to the current servername and port.

SIDEBAR: my specific goal is to develop an internet facing site in which members can communicate, collaborate and contribute both ideas and content securely then publish our best efforts through another channel . The content developed will ultimately to be delivered from SharePoint and rendered to a primary public and anonymously accessabile site.

Application Pool

You can choose and existing application pool or create a new one here.

The choices are:

  • Use existing application pool
  • Create new application pool
    1. Predefined
    2. Confirgurable

Database Name and Authentication

This last entry is used to define that database information for the SharePoint Web Application. Selections are:

  • Database Server
  • Database Name
  • Database Authentication

There are no alterations here for me as I am using the provided SharePoint SQL database.

See the v3 Documentation for more info

Windows SharePoint Services 3.0 Beta 2 IT Pro Documentation

http://www.microsoft.com/downloads/details.aspx?FamilyID=5e4c222a-03a1-435a-a075-e47a28c9d6b8&DisplayLang=en

, ,

No Comments