Show Changes Show Changes
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

7/15/2008 4:35:07 AM
-88.151.42.244
7/15/2008 4:34:17 AM
-88.151.42.244
7/2/2008 8:49:32 AM
207.230.217.31
6/30/2008 6:40:42 AM
211.38.131.22
5/14/2008 8:02:37 AM
-217.21.35.104
List all versions List all versions

RSS feed for the FlexWiki namespace

Installation Problems
.
Summary
Discussion of FlexWiki installation problems

If you have trouble installing FlexWiki, please describe your problem here and somebody may be able to help:

There is also a very active, very helpful, FlexWiki users mailing list available. See FlexWikiUsersList for instructions on how to sign up.

Object reference not set to an instance of an object.

I am trying to install FlexWiki for the first time and must be doing something stupid.

I got the web-full-release package of 1.8.0.1739, unzipped it to a new directory (not in IIS root), and set that directory as a virtual directory in IIS Manager. Because I have .Net 2.0 installed, I set the ASP.Net version in the virtual directory down to 1.1.4322.2032. I then gave the local user aspnet write permission to the WikiBases directory.

When I run admin/Config.aspx, I get a greenlight and an ok an each point.

The homepage comes ok, everything looks good to this point. When I edit the homepage however, I get the following error:

 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 2:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
 Line 3:  <HTML>
 Line 4:    <HEAD><TITLE> <%= TheTopic.ToString() %>  (edit)</TITLE>
 Line 5:  </HEAD>
 Line 6:                  <meta name="Robots" content="NOINDEX, NOFOLLOW">


 Source File: C:\Inetpub\FlexWiki2\wikiedit.aspx    Line: 4 


 Stack Trace: 


 [NullReferenceException: Object reference not set to an instance of an object.]
    FlexWiki.TopicName.set_FullnameWithVersion(String value) in c:\Builds\ccnet\server\flexwikicore\build\EngineSource\TopicName.cs:48
    FlexWiki.AbsoluteTopicName..ctor(String topic) in c:\Builds\ccnet\server\flexwikicore\build\EngineSource\AbsoluteTopicName.cs:37
    FlexWiki.Web.WikiEdit.get_TheTopic() in c:\Builds\ccnet\server\flexwikicore\build\FlexWiki.Web\WikiEdit.aspx.cs:207
    ASP.WikiEdit_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in C:\Inetpub\FlexWiki2\wikiedit.aspx:4
    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 

Just to be sure, I tried repeating the configurating in a new virtual directory with FlexWiki 1.8.0.1696, and got the exact same behavior. This is on Windows XP Pro with IIS 5.1. I really appreciate any help!

-DanP

Trouble installing FlexWiki in a shared host environment using Medium Trust

I have installed FlexWiki on my own computer (localhost) and i seems to work just fine. When I try to install FlexWiki on my webhotel i recieve following message :

 Server Error in '/' Application.
 --------------------------------------------------------------------------------


 Configuration Error 
 Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error   details below and modify your configuration file appropriately. 


 Parser Error Message: This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.


 Source Error: 
 Line 172:        choke on this, so it can't always be present-->
 Line 173:                
 Line 174:        <sessionState mode="InProc"  />
 Line 175:    <pages buffer="true" enableSessionState="true" 
 Line 176:        validateRequest="false" />


 Source File: D:\hsadmin\jojje68\matz.moosehunter.se\web.config    Line: 174 
 --------------------------------------------------------------------------------
 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

When I try to comment out sessionState-tag i recieve another message and I don´t know what do to next :

 Server Error in '/' Application.
 --------------------------------------------------------------------------------
 Runtime Error 
 Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the  application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 
 Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within  a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
 <!-- Web.Config Configuration File -->


 <configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
 </configuration>


 Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the  application's  <customErrors> configuration tag to point to a custom error page URL.


 <!-- Web.Config Configuration File -->


 <configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
 </configuration>

Someone have an answer to this?

Thx Jojje

i just managed to solve this on my side too. seems to be setting of ASPNET on all your folders leading to the flexwiki folder. so say if ur folder is located at c:/documents/flexwiki, then you need to set ASPNET as a user to c:/documents/flexwiki; c:/documents and c:/. right click>properties>security>add. look for user aspnet and add it with 'read&execute', 'List Folders Contents' and 'Read' rights - Ben Tan

Flex WIKI appears Fault after installing (07.07.2007)

I had FlexWiki installed on a Webserver and it works fine

Now I must move the wiki to a server who is only over port 80 reachable.

It has an sharepoint on port 80 so i must install it as managed folder in share point.

then I put wiki as desriped in the existing virtual server.

but it dosen't work.

This message does appear :

 Stapelberwachung: 
 [HttpException (0x80004005): Das Debuggen wird fr die aktuellen Einstellungen der Vertrauensebene nicht untersttzt.]
   System.Web.UI.TemplateParser.HandlePostParse() +183
   System.Web.UI.TemplateParser.Parse() +200
   System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() +74
   System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +219
   System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
   System.Web.UI.TemplateParser.GetParserCacheItem() +98
   System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171
   System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43
   System.Web.HttpApplicationFactory.Init(HttpContext context) +485
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
 --------------------------------------------------------------------------------
 Versionsinformationen: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET-Version:1.1.4322.2300 

Anybody an idea waths the fault ?

Thanks ChristianMueller

Links don't appear to go anywhere

Suggestion

http://216.162.208.58/admin/faq/default.aspx

Any ideas?

Morgan Eason

3/6/2006<b>xxxxxxxx

How can I use MS Access DB instead of SQL Server for ContentBase?

ASPNET cannot be found

I am trying to install FlexWiki on IIS 5.1 running on Windows XP. I am following the steps located at InstallingFlexWiki. I beleive I have downloaded the full package FlexWiki Binaries.

I launched IIS and created a new Virutal directory. Where I am lost is the step where I am to right click on the WikiBases folder and under Sharing and Security I am to do this step:

Give account ASPNET if using IIS 5.0 or account NETWORK SERVICE if IIS 6.0 Modify permission (setting this will enable several others below it). Then click on the Advanced button and tick the box to Replace permission entries on all child objects.

I went to Locations and changed the location to my local computer and added ASPNET..and then checked for the name and recieved this message:

An object named "ASPNET" cannot be found. Check the selected object types and location for accuracy and ensure that you typed the object name correctly, or remove this object from the selection.

I can't seem to do this, can any help me? Thanks, Kirk

Error when trying to edit a page

Hello, after some fiddling with IIS settings I can now edit pages, and save my changes. After saving, the page is correctly updated with the new changes. But when I hit Edit again, the editing window appears but the changes have disappeared again.

Any help would be greatly appreciated! I'm running IIS 5.1 on Windows XP Pro.

HTTP 403 error when retrieving MyWiki.Homepage (solved?)

I am having a hard time getting the HomePage running (W2K3 with IIS6). Got everything installed and admin and namespace with editing functions are running (Windows Authentication). Once display of MyWiki.HomePage I get http 403 error. Some heck of security settings must still be wrong!? Thanx for help!

Mikal Grimm (bullet) - 2004Nov08

Suggestion
I had this same problem. My problem was that I set IIS to point to the FlexWikiCore directory and not the FlexWiki.Web directory. I change IIS and the site comes up when I go to http://localhost/FlexWiki/FlexWiki.Web/
Tip
Suggestion
Suggestion
The errors are in the _ContentBaseDefinition.wiki file. Just make sure that the directory names (in WikiBases) and in ALL related files are the same. Namespacemap.xml, and web.comfig. For instance, if the directory name is "1234", and in _ContentBaseDefinition.wiki, the title is "1234 Wiki", it wont work. You change the homepage title and description via the web interface, not in the files directly. Change the title parameter in _ContentBaseDefinition.wiki to be "1234" and it should work.

Error when trying to edit a page (solved)

When I select the Edit option I do not get the buttons to save the page and in the right hand window i get the folloiwng message.

||{#FEF2CD}Edit EducationWiki.HomePage

You do not have permission to change this topic.||

My question is what settings should I have for the Virtual Directory to enable Editting? Also do I have to have some special values in the .WIKI files or the NameSpace.XML file or the web.config file. Thank you for your assitance in this matter.

Hitesh Ladva

Solution

Error when trying to save (solved?)

When I press the Save button I get HTTP/1.1 404 Object Not Found. The url at this point is: http://localhost/wiki/default.aspx/EducationWiki.HomePage. When I go back to the web home page the details have been saved. What am i doing wrong?

Suggestion

Hosting Provider and the URLScan Problem

My problem is that my hoster (http://dotnethoster.com) doesn't permit me to alter the URL scan behaviour which means I cannot get Flexwiki to work. They claim this represents a serious security issue. Here's what they told me

Those URL extensions are not allowed for security reason. I'm sure your Wiki application is great but believe me it is very unsecure. Allow dots in paths (AllowDotInPath=1) allow anybody to use URL like: http://www.domain.com/cmd.exe or any kind of very unsecure URL.

My questions are

  1. Is their attitude common amongst shared hosting providers?
  2. Are they correct about the security issues?

I would be interested in getting recommendations for alternative hosters. -- Roger Searjeant.

Suggestion
Not 100% sure, but try http://www.easerve.com They are very ASP.NET saavy, and I'm sure they will listen (and I'm not affiliated with them in any way.) -- MikeSchinkel [2004-08-04]

Problem in running FlexWiki (solved?)

I am trying to set up FlexWiki on my machine. When I running the config.aspx I am getting the following error.

   Federation configuration file identified in web.config: /FlexWiki.Web/WikiBases/NamespaceMap.xml
   Missing configuration file
   You specified a federation configuration file, but it can't be found. 
   Given your current settings, this file must be present at 
     c:\inetpub\wwwroot\FlexWiki.Web\WikiBases\NamespaceMap.xml 
   and be a valid federation configuration file.  

Can any one kindly help me out in solving this pronblem?

Suggestion
If you have installed FlexWiki in a folder other than default, then after editing the Web.Config file be sure to restart IIS after saving changes, they won't take otherwise (IIS 5.0)

Page cannot be found errors on WinXP with IIS 5.1 (solved)

I've installed FlexWiki under http://mywebserver/flexwiki on my WinXP running IIS 5.1.

I'm sure this is about the "/" character and that the System takes the secound "." as a file.

I want to use FlexWiki for our development team for FAQ aso. Sometimes we have to deploy our Software to a customer who doesn't give access to Internet. It would be fine for our teammembers then to have a copy of FlexWiki on their devPCs. Thats why I need it running under WinXP + IIS 5.1. Anybody who knows what I can do?

Suggestion
Solution

Key cannot be null. Parameter name: key

Ok this could be really simple but I couldn't figure it out. I went to http://localhost/flexwiki/config.aspxconfig.aspx and everything checked out ok (ALL SETTINGS CONFIGURED CORRECLTY). But then when I went to http://localhost/flexwiki/default.aspx I get this error:

  Key cannot be null. Parameter name: key
  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.ArgumentNullException: Key cannot be null. Parameter name: key
  Source Error:
    Line 115:    </script>
    Line 116:  </HEAD>
    Line 117:  <% DoPage(); %>
    Line 118:</HTML>
  Source File: C:\Inetpub\wwwroot\default.aspx    Line: 117


  Stack Trace:
  [ArgumentNullException: Key cannot be null. Parameter name: key]
  System.Collections.Hashtable.ContainsKey(Object key) +309
  FlexWiki.Federation.RootForNamespace(String ns) +15
  FlexWiki.Formatting.Formatter.FormattedTopic(AbsoluteTopicName topic, OutputFormat format, 
    Boolean showDiffs, Federation aFederation, LinkMaker lm) +109
  FlexWiki.Web.ShowTopicPage.DoPage() +513
  ASP.default_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in 
    C:\Inetpub\wwwroot\default.aspx:117
  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() +1929

Maybe it's just that I'm going to the wrong URL? Need me to send any files, etc? I think I got all the federation jazz right.

Suggestion

Thanks. I found that this file did have some spaces in the two lines in it, but once I removed the spaces I got the same error. At this point I'm not using FlexWiki but thought it might help you to improve the setup to see what problems I'm having.

Suggestion
I was seeing an error with my initial home page (NullReferenceException inside the DoHead() script call) caused by the same problem -- lines beginning with spaces in the _ContentBaseDefinition.wiki. For me it was because I had copied and pasted the lines given in step 5 of the Quick Setup (Create Your Content Base), which includes the spaces.

The page cannot be found error

I have completed the installation, following all of the steps found in the QuickSetup, but I am getting a "The page cannot be found" error. As with the previous issue, What's strange is that the config.aspx page states taht everything is configured correctly. In addition, when I visit http://mywebserver/Wiki/default.aspx, it displays my default namespace fine, it's only when I attempt to view it via http://mywebserver/Wiki/deafult.aspx/Namespace.Homepage

Any ideas?

Repro
Workaround
Suggestion
  cscript adsutil.vbs SET W3SVC/AllowPathInfoForScriptMappings 0
  cscript adsutil.vbs SET W3SVC/1/AllowPathInfoForScriptMappings 0

FileIOPermission Error

I have installed flexwiki and followed the all the installation information availble on this site and am getting the following error when I try to run config.aspx:

  Security Exception 
  Description: The application attempted to perform an operation not allowed by the security policy. 
  To grant this application the required permission please contact your system administrator or 
    change the application's trust level in the configuration file. 
  Exception Details: System.Security.SecurityException: Request for the permission of type 
    System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, 
    PublicKeyToken=b77a5c561934e089 failed.


  Source Error: 
  The source code that generated this unhandled exception can only be shown when compiled in debug 
  mode. To enable this, please follow one of the below steps, then request the URL:
  1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
     <%@ Page Language="C#" Debug="true" %>
  or:
  2) Add the following section to the configuration file of your application:
     <configuration>
       <system.web>
         <compilation debug="true"/>
       </system.web>
     </configuration>
   Note that this second technique will cause all files within a given application to be compiled 
   in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
   Important: Running applications in debug mode does incur a memory/performance overhead.  You should 
   make sure that an application has debugging disabled before deploying into production scenario.  


  Stack Trace: 
  [SecurityException: Request for the permission of type System.Security.Permissions.FileIOPermission, 
    mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.]
  System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet deniedSet,
    CodeAccessPermission demand, PermissionToken permToken) +666
  System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, CodeAccessPermission demand,  
    StackCrawlMark& stackMark, Int32 checkFrames, Int32 unrestrictedOverride) +0
  System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) +88
  System.Security.CodeAccessPermission.Demand() +62
  System.Web.HttpRequest.MapPath(String virtualPath, String baseVirtualDir, Boolean 
    allowCrossAppMapping) +327
  System.Web.UI.Page.MapPath(String virtualPath) +52
  FlexWiki.Web.ConfigPage.Configure() +213
  ASP.config_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) +75
  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() +2106
  System.Web.UI.Page.ProcessRequest() +218
  System.Web.UI.Page.ProcessRequest(HttpContext context) +18
  System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87  
  Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 

Any ideas?

Suggestion
Suggestion

Null reference exception when editing page (solved)

I moved my wiki from my laptop to our development web server at work and get the following error when clicking "Edit" for a page. I am running in Integrated Authentication mode, and as far as I can tell settings are identical, and it works fine on my laptop. I am running the latest build.

Solution

Page title <%=GetTopicName().Name %> (solved)

I've been trying to install FlexWiki but I keep getting a problem with the Home Page handing with the title:

<%=GetTopicName().Name %>

Basically, I installed the binaries and edited web.config and the namespace.xml file to create my own WikiBase called CodeGen. Eventually, I deleted the default home page and let FlexWiki create a new one. The config.aspx page claims everything is ok. CodeGen is the default namespace. I go to http://localhost/wiki/default.aspx and it loads ok. Looks great. It's showing the CodeGen home page.

If I click on the topic title (Title from _ContentBaseDefinition.wiki that appears at top right I get the error:

   Server Error in '/wiki' Application
   The resource can not be found.
   HTTP 404 error
   Requested Url: /wiki/default.aspx/CodeGen.HomePage

If I now go back to http://localhost/wiki/default.asp and hit refresh, the page hangs as I've mentioned and I can't get the default.aspx to load again (even though config.aspx still works fine). To get it working again, I have to run iisreset. I get this same message if I edit the home page and then hit save. The home page is then hung and I need to run iisreset.

Solution
Suggestion

Hard-coded URLs (solved)

I'm hoping that I missed something obvious with the setup. The problem I'm having is that if I go to http://192.168.1.1/FlexWiki/, the page comes up, but all of the links to images (e.g. little arrow next to Show Changes) and all links local to the Wiki use the local server name instead of the IP provided in the original URL. For example:

The need for this scenario arises due to some VPN configurations we have. Any suggestions?

Solution
Suggestion
I had this problem too, I posted it in FlexWikiFAQ. Its really bizarre, it seems to me the first time you hit the machine it takes whatever host you use to call it and caches that for access. IMHO this is a bug. -- SimonMosk

Object reference not set to an instance of an object (solved?)

I'm having problems in the <% DoHead(); %> area. I have checked for blank lines - no help. Any thoughts? Doug

  Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
  Source Error: 
    Line 7:  </TITLE>
    Line 8:  <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
    Line 9:  <% DoHead(); %>
    Line 10: <%= InsertStylesheetReferences() %>
    Line 11: <script type="text/jscript" language="jscript">
  Source File: C:\Inetpub\wwwroot\aiwiki\default.aspx    Line: 9 
  Stack Trace: 
  [NullReferenceException: Object reference not set to an instance of an object.]
  FlexWiki.Federation.GetCachedTopic(AbsoluteTopicName name) +129
  FlexWiki.Federation.GetTopicProperty(AbsoluteTopicName topic, String field) +6
  FlexWiki.Web.Default2.DoHead()
  ASP.default_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in
    C:\Inetpub\wwwroot\aiwiki\default.aspx:9
  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() +1929

Seems like this is a problem with the StyleSheet

Suggestion

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 245:                protected void LogVisitorEvent(VisitorEvent e)
 Line 246:                {
 Line 247:                        ArrayList list = (ArrayList)(System.Web.HttpContext.Current.Session["VisitorEvents"]);
 Line 248:                        if (list == null)
 Line 249:                        {


 Source File: c:\prj\flexwikicore\flexwiki.web\basepage.cs    Line: 247 


 Stack Trace: 


 [NullReferenceException: Object reference not set to an instance of an object.]
   FlexWiki.Web.BasePage.LogVisitorEvent(VisitorEvent e) in c:\prj\flexwikicore\flexwiki.web\basepage.cs:247
   FlexWiki.Web.Default2.StartPage() in C:\prj\FlexWikiCore\FlexWiki.Web\default.aspx.cs:73
   ASP.default_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) 
       in C:\prj\FlexWikiCore\FlexWiki.Web\Default.aspx:3
   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
Suggestion
Are you running on a server with SharePoint? If so, SharePoint has locked down the default privileges granted applications and is preventing FlexWiki from having access to the Session State - see InstallingFlexWikiWithWSS - DarenMay

Empty Configuration Page (solved)

I am running WinXP with IIS 5.1. When I navigate to http://localhost/wiki/admin/config.aspx, I do not get any data displaying on the page (no "ALL SETTINGS CONFIGURED CORRECTLY" nor any error messages). What might be the issue?

Solution

DLL not found (solved?)

I'm trying to install FlexWiki in my host and I get a strange error (the missing dll change...)

  === Pre-bind state information ===
  LOG: Where-ref bind. Location = C:\WINDOWS\TEMP\jjqsixom.dll
  LOG: Appbase = file:///C:/WVH/Domains/edumenta.com/ROOT/inetpub/wwwroot/wiki
  LOG: Initial PrivatePath = bin
  Calling assembly : (Unknown).
  ===
  LOG: Policy not being applied to reference at this time 
    (private, custom, partial, or location-based assembly bind).
  LOG: Attempting download of new URL file:///C:/WINDOWS/TEMP/jjqsixom.dll.


  Stack Trace: 
  [FileNotFoundException: File or assembly name jjqsixom.dll, or one of its dependencies, was not found.]
  System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, 
    Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, 
    StackCrawlMark& stackMark) +0
  System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, 
    Evidence assemblySecurity, StackCrawlMark& stackMark) +307
  System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity) +21
  System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +67
  System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +0
  System.Xml.Serialization.Compiler.Compile() +411
  System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings) +1259
  System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace) +316
  System.Xml.Serialization.XmlSerializer..ctor(Type type) +27
  FlexWiki.FederationConfiguration.FromXMLString(String xml) +35
  FlexWiki.FederationConfiguration.FromFile(String path) +160
  FlexWiki.Federation..ctor(String configFile, OutputFormat format, LinkMaker linker) +198
  FlexWiki.Web.BasePage.EstablishFederation()
  FlexWiki.Web.BasePage.Page_Load(Object sender, EventArgs e)
  System.EventHandler.Invoke(Object sender, EventArgs e) +0
  System.Web.UI.Control.OnLoad(EventArgs e) +67
  System.Web.UI.Control.LoadRecursive() +35
  System.Web.UI.Page.ProcessRequestMain() +731

When I run admin/config.aspx I get:

  System.IO.FileNotFoundException: File or assembly name hxobm-lg.dll, or one of its dependencies, 
  was not found. File name: "hxobm-lg.dll" at System.Reflection.Assembly.nLoad

michel

Suggestion
I was getting the same error on Win2k3 IIS6, running flexwiki in the FlexWiki.Web folder with a virtal directory pointing to it. The problem was that NETWORK SERVICE didn't have permissions to the C:\WINDOWS\TEMP\ directory. I gave it modify permissions and the error went away. Configuration checked out okay too. For IIS5, you'll want to get the ASPNET user privileges instead. -- Owyn

Access to Path <Path> is denied (solved)

After installing FlexWiki on Windows XP Pro (Workgroup) with IIS 5.1 I was getting the following error whenever I tried to create or edit any pages.

  Source Error: 
    Line 159: </style>
    Line 160: </HEAD>
    Line 161: <% DoPage(); %>
    Line 162: </HTML>
  Source File: C:\Program Files\FlexWiki\wikiedit.aspx    Line: 161 


  Stack Trace: 
  [UnauthorizedAccessException: Access to the path "C:\Program Files\FlexWiki\WikiBases\MyWiki\DavidHome.wiki"
  is denied.]
  System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
  System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, 
    Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888
  System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, 
    Int32 bufferSize) +44
  System.IO.StreamWriter.CreateFile(String path, Boolean append) +55
  System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +49
  System.IO.StreamWriter..ctor(String path) +60
  FlexWiki.ContentBase.WriteTopic(AbsoluteTopicName topic, String content) +74
  FlexWiki.ContentBase.WriteTopicAndNewVersion(AbsoluteTopicName topic, String content) +200
  FlexWiki.Web.WikiEdit.ProcessSave(Boolean back)
  FlexWiki.Web.WikiEdit.ProcessPost()
  FlexWiki.Web.WikiEdit.DoPage()
  ASP.wikiedit_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in 
    C:\Program Files\FlexWiki\wikiedit.aspx:161
  System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
  System.Web.UI.Control.Render(HtmlTextWriter writer)
  System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
  System.Web.UI.Page.ProcessRequestMain()
Solution
I suspected it was a directory permission problem, but in Win XP Pro in a workgroup, you won't see the Security tab by default when you right-click Properties in Explorer. I found this article KB 290403 which explains how to change the registry to make the Security tab visible (set HKLM\System\CurrentControlSet\Control\Lsa\forceguest to 1). I then added Full Control for Everyone and it solved my problem. -- DavidAvraamides
Comment
Instead of KB 290403 use this simple Win Xp Tip that way you avoid fiddling with registry. Tuka
Problem

HTTP 403 not authorized on http://localhost/FlexWiki (solved)

I just downloaded 1.8.1596.0 Full Release, unzipped it, copyied the contents (cpl.txt, dummy.txt and the bin and web folders) to a FlexWiki folder under wwwroot, created a virtual directory named FlexWiki pointing to the FlexWiki folder and set the permissions per the "Installation from the FlexWikiBinaries" document. I'm running W2K Server SP4 with IIS 5 and .NET 1.1.

But when I try to navigate to http://localhost/FlexWiki (per step 8 of the instructions), I get HTTP 403 (not authorized). Questions/issues (maybe relevant, maybe not).

  1. I noticed the posting from RuneC saying that the contents of web had to be moved to the root to get it to work. Is this correct? If so, should the binaries remain in bin or...? What is the correct folder structure?
  2. Step 5 has a comment about "the folder to SHARE". ("share" ????) Should this instead say the "folder to permit permissions to" (in Step 7)?
  3. There is an ASPNET account, a NETWORK account and a SERVICE account, but not one named "NETWORK SERVICE". What accounts really need to be allowed "modify" permission to the folder? And which folder? ~\web or ...?

Thanks, DT

Solution
As RuneC said, apparently the contents of the \web folder are what you put into your virtual directory, like FlexWiki\admin, FlexWiki\bin, FlexWiki\emoticons, ... (including the .aspx pages)

Cannot edit pages in FireFox (solved)

When trying to edit pages in FireFox (and possibly other browsers) the save button does not work.

Solution
Thanks from FireFox users goes to Jan Lenck who contributed a bug fix via SourceForge 2004-11-06.

System.Xml was not found (solved)

I am running W2K Pro w/ .NET Framework V.1.0.3705, IIS v 5.1. I have a file structure identical to that suggested in the setup doc. I have given account ASPNET permission on the folder inetpub\FlexWiki. When I navigate to localhost/flexwiki I get an error indicating that --

File or assembly name System.Xml, or one of its dependencies, was not found. I believe this is a security issue, but have been unsucessful at resolving.

  File or assembly name System.Xml, or one of its dependencies, was not found.
  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.IO.FileNotFoundException: File or assembly name System.Xml, or one of its dependencies, was not found.
Solution
Installed .NET Framework v 1.1, Moved MyWiki folder and NamespaceMap.xml to inetpub\wwwroot directory. --Greg

Parser Error Message: It is an error to use a section... (solved?)

I unpack the wiki stuff in \inetpub\wwwroot, take files from the WorkingConfigurationSample page then go to http://<server>/web/default.aspx, and get the following error. How do I fix it?

  Configuration Error 
  Description: An error occurred during the processing of a configuration file required to service this 
  request. Please review the specific error details below and modify your configuration file appropriately. 


  Parser Error Message: It is an error to use a section registered as allowDefinition=
  'MachineToApplication' beyond application level. This error can be caused by a virtual 
  directory not being configured as an application in IIS.


  Source Error: 
  Line 5: </appSettings>
  Line 6: <system.web> 
  Line 7: <authentication mode="None" />
  Line 8: <pages validateRequest = "false" />
  Line 9: </system.web>


  Source File: c:\inetpub\wwwroot\web\web.config    Line: 7 
Suggestion

Parser Error Message: It is an error to use a section... (solved?)

I installed the latest and greatest FlexWikiCore-1.8.1613.0-web-full-Release.zip, went through the installation process fine and got this one as I tried to open config.aspx or any other aspx page:

  Configuration Error 
  Description: An error occurred during the processing of a configuration file required to service this 
  request. Please review the specific error details below and modify your configuration file appropriately. 


  Parser Error Message: It is an error to use a section registered as allowDefinition=
  'MachineToApplication' beyond application level. This error can be caused by a virtual 
  directory not being configured as an application in IIS.


  Source Error: 
  Line 97:  "Passport" Authentication is performed via a centralized authentication service provided
  Line 98:  by Microsoft that offers a single logon and core profile services for member sites. -->
  Line 99:  <authentication mode="Windows" />
  Line 100: <!--  AUTHORIZATION 
  Line 101: This section sets the authorization policies of the application. You can allow or deny access
  Source File: D:\Inetpub\wwwroot\wiki\web.config    Line: 99 
  Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 
Suggestion
Open Properties of FlexWiki directory. On Directory Tab set Application Protection to Low (IIS Process)
Suggestion
Or created a brand new virtual directory on the same webserver using another port:Go to Internet Information Services, right-click on your machine/hostname, select: New - Web Site - OK, Description: FlexWiki - NEXT, TCP Port: something else than 80, Path: select the path to your flexwiki install, Allow anonymous access - NEXT, use default permissions - NEXT - FINISH, type: http://yoursite:port in browser to check

Links to topics on www.flexwiki.com generate errors (solved)

Change top line of Home Page from

  ..default.aspx/$$$

to

  ..default.aspx/FlexWiki/$$$

Error loading XML file

I get the following error after I installed FlexWiki on my company webserver. Can some one tell me why I am getting this? Thanks

  Error loading XML file c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config 
  Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, 
  mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.  
  (c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config)
  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.Configuration.ConfigurationException: Error loading XML file
  c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config Request for the permission of type
  System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.3300.0, 
  Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. 
  (c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config)


  Source Error:
  An unhandled exception was generated during the execution of the current web request. 
  Information regarding the origin and location of the exception can be identified using the 
  exception stack trace below.


  Stack Trace:
  [ConfigurationException: Error loading XML file c:\winnt\microsoft.net\framework\v1.0.3705 
    \Config\machine.config Request for the permission of type 
    System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.3300.0, 
    Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. 
    (c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config)]
  System.Configuration.ConfigurationSettings.GetConfig(String sectionName) +210
  System.Configuration.ConfigurationSettings.get_AppSettings() +16
  FlexWiki.Web.Global.Application_AuthenticateRequest(Object sender, EventArgs e) in
    c:\FlexWiki\ccnet\server\flexwikicore\build\FlexWiki.Web\Global.asax.cs:62
  System.Web.SyncEventExecutionStep.Execute() +60
  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
  Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288

Parser Error

After following InstallingFlexWiki:

Upon selecting link http://localhost/FlwexWiki I receive the following:

  Server Error in '/FlexWiki' Application.
  Parser Error
  Description: An error occurred during the parsing of a resource required to service this request. 
  Please review the following specific parse error details and modify your source file appropriately.


  Parser Error Message
  Could not load type 'FlexWiki.Web.Global'.
  Line 1:  <%@ Application Codebehind="Global.asax.cs" Inherits="FlexWiki.Web.Global" %>
  Source File: C:\FlexWiki\global.asax    Line: 1
  Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 
Suggestion
Have you built at least the 'FlexWiki.Web' project from the solution file? You probably don't have a 'FlexWiki.Web\bin' folder yet.

Can anyone explain what this means? Don't know what the "solution file" is, or how to build 'FlexWiki.Web' from it. -Jeff

Suggestion
If you have installed a new version of FlexWiki that was compiled under .Net 2.0, make sure your IIS Application is set to run under Asp.Net 2.0.
Suggestion
That means go to IIS, right-click on FlexWiki virtual directory, select Properties, click on ASP.NET tab, and select 2.0.50727 (or whatever version you have installed) in the ASP.NET version drop down.

Works in IE does not work in FireFox (solved)

I installed 1.8.0.1677 (also reproduced in 1.8.0.1696) and when I access the site through IE I get to the home page and can edit pages. When I try to go to the site with Firefox I get prometed for a user id and passowrd for "" on http://localhost/flexwiki. When I cancel the login dialog I get a "You are not authorized to view this page" error.

solution: grant the iusr_pcname account modify access to the flexwiki folder

Says null in top right hand corner

My wiki says null in the top right hand corner underneath where it says who is logged in but above the about statement. Everything else works fine. I think I'm missing something in my NamespaceMap.xml.

Can anyone help?

Length cannot be less than zero. Parameter name: length

I try use non-english name in url

http://localhost/FlexWiki/wikiedit.aspx?topic=apkDk.%d0%9c%d0%be%d0%b4%d1%83%d0%bb%d1%8c%d0%9e%d1%82%d0%ba%d0%b0%d0%b7%d0%be%d0%b2&return=apkDk.HomePage

Server Error in '/FlexWiki' Application.

Length cannot be less than zero. Parameter name: length

Exception Details: System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length

Stack Trace:

[ArgumentOutOfRangeException: Length cannot be less than zero.

Parameter name: length]

   System.String.Substring(Int32 startIndex, Int32 length) +172
   FlexWiki.Web.BasePage.RootUrl(HttpRequest req) in c:\Builds\ccnet\server\flexwikicore\build\FlexWiki.Web\BasePage.cs:111
   FlexWiki.Web.BasePage.PageLoad() in c:\Builds\ccnet\server\flexwikicore\build\FlexWiki.Web\BasePage.cs:559
   FlexWiki.Web.BasePage.DefaultPageLoad() in c:\Builds\ccnet\server\flexwikicore\build\FlexWiki.Web\BasePage.cs:484
   FlexWiki.Web.BasePage.Page_Load(Object sender, EventArgs e) in c:\Builds\ccnet\server\flexwikicore\build\FlexWiki.Web\BasePage.cs:478
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +750

Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

Can anyone help?

May be? It's possible to convert Russian letters to English letters (translit)?

Example
Suggestion

Invalid URI: The hostname could not be parsed.

I got this error after I changed the name of Home Page to Welcome. Manually renaming it back to Home Page in the .wiki file made it work again. This is obviously a bug.

'The page cannot be found' error

When creating a new topic, the topic gets created, but the file cannot be found. the target url is like domain.com/default.aspx/MyWiki/Page.html

solution: remove '.html' from the target url. it should work fine

403 error at a hosted ISP

I had my wiki running great, but then the hosting company decided to move the server or something and now everything is under the public folder. I'm guessing that the virtual directory is mapped to that folder since I can still browse to it correctly. But when I type my domain\wiki I get an 403 error. Note that I can access a text file that I upload to the wiki folder so it's not folder permissions. I don't know what could have changed and have checked everything I can think of. Please help, my wife is "missing" the wiki and letting me know about it.

wikiedit.aspx doesn't launch when asking for a new page

When asking for http://localhost/WIKI/WikiEdit.aspx?topic=SampleNamespaceOne.ABC it works, and i can save the ABC page, and access the http://localhost/WIKI/default.aspx/SampleNamespaceOne/ABC.html.

But when asking directly for a new page as http://localhost/WIKI/default.aspx/SampleNamespaceOne/XYZ.html it doesn't redirect to http://localhost/WIKI/WikiEdit.aspx?topic=SampleNamespaceOne.XYZ but creates this error:

   2007-10-03 20:27:12,230 [ERROR] FlexWiki.Web (null) - Uncaught exception in the web application: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at FlexWiki.Federation.GetTopicLastModifiedBy(TopicName topic) in c:\Builds\ccnet\server\flexwikicore-20\Working\build\EngineSource\Federation.cs:line 608
   at FlexWiki.Web.Default2.DoHead() in c:\Builds\ccnet\server\flexwikicore-20\Working\build\FlexWiki.Web\default.aspx.cs:line 149
   at ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.Page.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   --- End of inner exception stack trace ---
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.default_aspx.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I am Getting my left panel with error "Object reference not set to an instance of an object."

Can anybody help me?

Not logged in. Log in

Welcome to the home of FlexWiki, an experimental collaboration tool, based on WikiWiki.

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics