When you wrap your code into a package and deploy it , here is what you get in the CAS configuration file (stored in ….\12\config\) without any of your IPermission nodes applied:
<PermissionSetclass="NamedPermissionSet"version="1"Description="Permission set for MyControls."Name="mypackage.wsp-8b8f6f28-7235-42c9-93a6-8fa57e962ddb-1">
<!--Do not try to be cool by adding comments inside your PermissionSet node, okay?-->
</PermissionSet>
It seems that deployment APIs ignore applying IPermission nodes when there is a comment line in the beginning of PermissionSet. In short,ย comments in CAS permission set node is NOT welcome!
In either WSS or MOSS, If you name a site prefixed with the word “com” following a single digit – for example com1,com2…com9 , SharePoint UI won’t throw a validation error, but upon browsing to the site , you will get the following nasty errors. Okay , why do I need to call a site prefixed with “com”? In our CRM product , we have this notion called “Communities”, self-standing collab sites which are derived from within CRM UI. While testing site provisioning code and the underlying site definition and for simplicity , we named the site “com1” and observed this behavior. Action: Create a site collection or subsite and give it this title and url : com1 or com2 or com3………or com0. Template: Whatever Errors:”An unexpected error has occurred” [Screenshot]
Or
“The resource cannot be found” [Screenshot]
Or
A blank page is shown as default.aspx
While trying com10 , we got “The page has encountered a critical error” once [Screenshot] , but after doing IISRESET we never got that error message again. It was just a hiccup ๐
All the other sites named with com[Double digits] (com01~com09) seem to be working just fine.
It turned out that Com1 through com9 are kind of reserved words , referring to the serial ports. You canโt create a file in the file system called com1 either.
(Thanks to Todd Klindt for pointing me at this one)
I have been head-down, full speed ahead with wrapping up my current projects and opening up a new branch for Development Horizon in US. Unfortunately, until I become Canadian Citizen (which God knows when!!) , traveling to states is just out of question so I had to come up with another solution and team up with people who can serve our customers with myself being remotely guide them through. In all honesty, this is a though way of doing business and I have gone through a lot, but for me it just seems that there is no other option! Good grief, All this has kept me away from my blog for almost a month, but I am back to my little cyber corner again!
BTW, I was just notified that Microsoft rewarded me again with the MVP award with the main competency in Microsoft Office SharePoint Server 2007 . This makes it the third time I have ever had the honor to be part of this dynamic and smart community, twice in SharePoint and once in SQL Server Reporting Services back in 2005.
I’d also like to announce that this year, Greater Toronto Area has another SharePoint MVP around, Bill Brockbank. Bill is one of the most active members of our SharePoint community and speaks at various user groups and industry events.Happy to have you joining the Canucks MVP family, Bill! Go Canada, go! ๐
I am excited to announce that I am speaking at the SEF 2008 in Stockholm (Sweden) September,8th 2008. I’ve never been to Sweden before , so this is a great opportunity to not only get to know the Swedish SharePoint community, but also pay a visit to this peaceful country which has always been on my must-to-go countries list.
I am presenting two sessions on the following topic on the first day of the conference in two back-to-back time slots starting from 9:30 AM to 12:00 AM. For those of you who are planning to attend my sessions, all I can say is that , I will have a tone of technical stuff (Not a single PowerPoint slide) to fill your brain with and to get you excited about the power of SharePoint open-source community!
Deep dive into the SharePoint Community Kit (CKS):IEE project
Windows SharePoint Services 3.0 provides an excellent platform to build upon, which is exactly what the developer community did when a variety of individuals worked together to build the Community Kit for SharePoint (CKS). The Community Kit for SharePoint contains many different projects that enhance and extend the built-in functionality of SharePoint. In this developer session, we will explore the CKS, specifically looking at the Internet/Extranet Edition (IEE), ins and outs. We will look at how the use of this community project will provide you the foundation to quickly deploy commonly requested features without having to wait for the next version of SharePoint. You will also see how great the SharePoint community is with these amazing additions with easy to deploy solutions built and supported by the Microsoft open-source community!
Today I was challenged for couple of hours with something really funny when I was trying to setup Windows Live Authentication for one of the Microsoft’s public events here in Toronto. The site was built using MOSS 2007 publishing template and it was extended to two zones , one Default zone protected by Windows authentication and an Extranet zone protected by Windows Live authentication. We exposed the Extranet zone to the public with the entire site available for anonymous users (See this post on how to setup a site for anonymous access). Windows Live Authentication’s initial steps were all completed in a heartbeat (Thanks to CKS), but soon we were stuck with two issues.