
![]() |
Show Changes |
![]() |
|
![]() |
Recent Changes |
![]() |
Subscriptions |
![]() |
Lost and Found |
![]() |
Find References |
![]() |
Rename |
![]() |
Administration Page |
| Search |
History
| 5/18/2006 5:23:43 AM |
| -193.173.38.2 |
| 3/23/2005 12:43:59 PM |
| jonathan_hardwick@hotmail.com-131.107.0.78 |
| 1/27/2005 3:04:47 PM |
| cstotes-134.29.51.188 |
| 1/27/2005 3:01:30 PM |
| cstotes-134.29.51.188 |
| 1/27/2005 3:00:25 PM |
| cstotes-134.29.51.188 |
![]() |
List all versions |
This is closely related to AccessControl.
I work for my CS department and I am setting up FlexWiki for some CS classes. I am running the latest public stable release of FlexWiki and it isn't running in a virtual directory. I have separate namespaces for classes. Since we run Active Directory and we need class wikis to be private I am using Integrated Windows Authentication in IIS. We are using IIS 6.0 on 2003 Server.
In Active Directory I have a Wiki Access group. Inside that group I add the class groups that need access to the wiki. So in the set up below the CS 101 class group is in the Wiki Access group. If I didn't have the Wiki Access group the way it is shown below then when a user went to their namespace pages they couldn't access any of the other files under the site root (pictures, css, etc wouldn't show since they didn't have access to them).
Here's the setup:
| File/Folder | Permissions |
| site root\ | MACHINE\Administrators - Full Control, IUSR_MACHINE - Deny Write, Network Service - Read & Execute, List Folder Contents, Read, SYSTEM - Full Control, DOMAIN\Wiki Access - Read and Execute, List Folder Contents, Read |
| admin\ | MACHINE\Administrators - Full Control, IUSR_MACHINE - Deny Write, Network Service - Read & Execute, List Folder Contents, Read, SYSTEM - Full Control |
| aspnet_client\ | |
| bin\ | MACHINE\Administrators - Full Control, IUSR_MACHINE - Deny Write, Network Service - Read & Execute, List Folder Contents, Read, SYSTEM - Full Control |
| emoticons\ | MACHINE\Administrators - Full Control, IUSR_MACHINE - Deny Write, Network Service - Read & Execute, List Folder Contents, Read, SYSTEM - Full Control, DOMAIN\Wiki Access - Read and Execute, List Folder Contents, Read |
| images\ | MACHINE\Administrators - Full Control, IUSR_MACHINE - Deny Write, Network Service - Read & Execute, List Folder Contents, Read, SYSTEM - Full Control, DOMAIN\Wiki Access - Read and Execute, List Folder Contents, Read |
| WikiBases\ | MACHINE\Administrators - Full Control, IUSR_MACHINE - Deny Write, Network Service - Modify, Read & Execute, List Folder Contents, Read, Write, SYSTEM - Full Control, DOMAIN\Wiki Access - Read and Execute, List Folder Contents, Read |
| WikiBases\CS101\ | MACHINE\Administrators - Full Control, IUSR_MACHINE - Deny Write, Network Service - Modify, Read & Execute, List Folder Contents, Read, Write, SYSTEM - Full Control, CS 101 - Modify, Read & Execute, Read, Write |
| WikiBases\NamespaceMap.xml | MACHINE\Administrators - Full Control, IUSR_MACHINE - Deny Write, Network Service - Modify, Read & Execute, Read, Write, SYSTEM - Full Control, DOMAIN\Wiki Access - Read and Execute, Read |
| xslt\ | MACHINE\Administrators - Full Control, IUSR_MACHINE - Deny Write, Network Service - Read & Execute, List Folder Contents, Read, SYSTEM - Full Control, DOMAIN\Wiki Access - Read and Execute, List Folder Contents, Read |
| AccessDenied.aspx | MACHINE\Administrators - Full Control, IUSR_MACHINE - Deny Write, Network Service - Read & Execute, Read, SYSTEM - Full Control, DOMAIN\Wiki Access - Read and Execute, Read |
| Blade.aspx | same as above |
| default.aspx | same as above |
| DoSearch.aspx | same as above |
| EditService.asmx | same as above |
| Error.htm | same as above |
| Global.asax | same as above |
| LastModified.aspx | same as above |
| Login.aspx | same as above |
| Logoff.aspx | same as above |
| LostAndFound.aspx | same as above |
| Preview.aspx | same as above |
| Print.aspx | same as above |
| QuickLink.aspx | same as above |
| Renioppjkl;ame.aspx | same as above |
| RequestNamespace.aspx | same as above |
| Rss.aspx | same as above |
| RssFace.aspx | same as above |
| SafeMode.aspx | same as above |
| Search.aspx | same as above |
| ShowNewsletter.aspx | same as above |
| Versions.aspx | same as above |
| Web.config | same as above |
| wiki.css | same as above |
| WikiEdit.aspx | same as above |
Everything works fine except for deleting pages. The error I get is:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 166: </style>
Line 167: </HEAD>
Line 168: <% DoPage(); %>
Line 169:</HTML>
Source File: editedpathtosite\wikiedit.aspx Line: 168
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
FlexWiki.Web.WikiEdit.ShowEditPage() in c:\FlexWiki\ccnet\server\flexwikicore\build\FlexWiki.Web\WikiEdit.aspx.cs:243
FlexWiki.Web.WikiEdit.DoPage() in c:\FlexWiki\ccnet\server\flexwikicore\build\FlexWiki.Web\WikiEdit.aspx.cs:179
ASP.WikiEdit_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in editedpathtosite\wikiedit.aspx:168
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1926
---------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
In WikiEdit.aspx.cs I've pointed to line 243:
OpenPane(Response.Output, "Edit " + Formatter.EscapeHTML(TheTopic.ToString()));
if (IsWritable)
{
ContentBase cb = TheFederation.ContentBaseForTopic(TheTopic);
if (cb.TopicExists(TheTopic)) <-------- line 243
{
Response.Write("Make your changes to the text on the left and then select Save.");
}
I'm not sure what permission I'm missing for deleting pages. Any ideas? The page is getting deleted but I get that error.