Mike H. - Another Geek In Need...

WebLog

  Home  |   Contact  |   Syndication    |   Login
  68 Posts | 6 Stories | 642 Comments | 287 Trackbacks

News

Archives

Post Categories

Image Galleries

Development

Favorite Blogs

Hosting

User Groups

I have a Windows 2003 Server notebook I use for development. I have a dozen or so IIS 6 sites, and recently decided to place WSS on here for use with BizTalk Server 2006.

Alas, the woes of WSS and hostile take-overs!!!

I installed WSS on the Default Web Site, added all of my exclude paths in WSS for the sites I needed to continue hosting/developing, and ran into the infamous “Trust” and “Session State” issues. In summary I made the following modifications to resolve these 2 issues:

<httpHandlers>

<clear />

<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory"/>

<!--<add verb="*" path="/_vti_bin/*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />-->

<add verb="*" path="*.aspx" type="Microsoft.SharePoint.ApplicationRuntime.SharePointHandlerFactory, Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

</httpHandlers>

Notice I added the <clear/> and my own PageHandlerFactory, commenting out the SharePoint path.

Next I removed the comments on the name=”Session” handler a  little lower in the file.

Finally, I changed the <trust level= from the WSS setting to “Full” Please see the following...

<pages enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" />

<!--<trust level="WSS_Minimal" originUrl="" />-->

<trust level="Full"/>

Best Practice? No, absolutely not. But this is a development notebook and I get the full benefits of WSS and can still do all of my other ASP.Net 1.1 and 2.0 development unhindered now.

Hopefully this will help some others out there...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Thursday, March 02, 2006 4:54 PM

Feedback

# re: WSS (Windows SharePoint Services), Session State, Trust Level and beyond... 12/11/2006 7:33 PM Ravi
U r crossing the boundries set by Microsoft. Which is not at all good. By staying within bounderies u can get ur work done.
Thanks

# re: WSS (Windows SharePoint Services), Session State, Trust Level and beyond... 12/11/2006 7:51 PM MikeH
Hi Ravi,

I was wondering if you would find this post. And you just solidified my 2nd to last sentence - is this a best practice? No - absolutely not - but it gets the job done for development :)

# re: WSS (Windows SharePoint Services), Session State, Trust Level and beyond... 1/8/2009 2:56 PM TO
getcha popcorn ready

# re: WSS (Windows SharePoint Services), Session State, Trust Level and beyond... 3/4/2011 2:06 AM Ray Ban 2258 Gunmetal Sunglasses
g the boundries set by Microsoft. Which is not at all good. By staying within bounderies u can get ur work

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: