Click to Rate and Give Feedback
MSDN
MSDN Library

  Switch on low bandwidth view
How to: Modify Configuration Settings for an Application to Coexist with Windows SharePoint Services

To make an application or Web application coexist with Microsoft Windows SharePoint Services, you must customize the web.config file of the application.

Caution noteCaution:

Changes that you make to web.config may be overwritten when you install updates or service packs for Windows SharePoint Services, or when you upgrade an installation to the next product version.

Procedure

To customize the web.config file of the application

  1. Within the <System.Web> section of the web.config file of the application, clear out the ASP.NET handler, HTTP modules, and remapped tag types that are used in Windows SharePoint Services, and specify the default ASP.NET handler for all pages, by adding lines as follows:

    Xml
    <httpHandlers>
       <clear />
       <add verb="*" path="*.aspx" 
           type="System.Web.UI.PageHandlerFactory, 
           System.Web, Version=1.0.5000.0, Culture=neutral, 
           PublicKeyToken=b03f5f7f11d50a3a" />
    </httpHandlers>
    <httpModules>
       <clear />
    </httpModules>
    <pages>
       <tagMapping>
          <clear/>
       </tagMapping>
    </pages>
    
  2. Because Windows SharePoint Services maintains a restrictive trust policy, you may need to adjust the trust level by adding a line like the following to the web.config file of the application.

    <trust level="Full" originUrl="" />
  3. You may need to enable the session module by adding the following lines to the web.config file of the application. In the top-level web.config file for Windows SharePoint Services, the default value for the enableSesstionState attribute is false.

    Xml
    <httpModules>
       <add name="Session" 
            type="System.Web.SessionState.SessionStateModule"/>
    </httpModules>
    
    NoteNote:

    If you receive a parser error message saying that the Session module is already in the application and cannot be re-added, remove the httpModules section.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Incorrect Documentation      DMDJ   |   Edit   |   Show History
Virtual Servers and Excluded Paths are applicable only in WSS 2.0 Please update this content (and all of the other sections which have WSS 2.0 content)! How does this stuff make it into release documentation?!?!?
Tags What's this?: Add a tag
Flag as ContentBug
Incorrect document      Enrique Rascon   |   Edit   |   Show History
This issue is for WSS 2.0, please update for WSS 3.0
Tags What's this?: Add a tag
Flag as ContentBug
It´s time to update this!      harings ... Noelle Mallory - MSFT   |   Edit   |   Show History
Please update this content,
some people have to work with this!
Even the SDK-Documentation refers to this with NO LINK:
"For information about how to create a Web application that coexists with Windows SharePoint Services, see How to: Modify Configuration Settings for an Application to Coexist with Windows SharePoint Services."
A joke? It's not a matter to laugh about.
Thanx!

Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker