#189 rss.aspx UriFormatException when running on non standard por

FlexWiki
open
nobody
5
2006-04-18
2006-04-18
Mehmet Ozdemir
No

When FlexWiki is running a Website that is configured
to run on a port other than port 80, rss.aspx produces
a UriFormatException error. See below:

http://localhost:82/rss.aspx?namespace=MyWiki

Invalid URI: The hostname could not be parsed.
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.UriFormatException: Invalid
URI: The hostname could not be parsed.

Source Error:

Line 5: Response.Clear();
Line 6: Response.ContentType="text/xml";
Line 7: DoSearch();
Line 8: %>

Stack Trace:

[UriFormatException: Invalid URI: The hostname could
not be parsed.]
System.Uri.Parse() +2587
System.Uri..ctor(String uriString, Boolean
dontEscape) +191
System.Uri..ctor(String uriString) +7
FlexWiki.Web.Rss.NamespaceFeed(String
preferredNamespace, XmlWriter newsletter) in
c:\Builds\ccnet\server\flexwikicore\build\FlexWiki.Web\Rss.aspx.cs:143
FlexWiki.Web.Rss.DoSearch() in
c:\Builds\ccnet\server\flexwikicore\build\FlexWiki.Web\Rss.aspx.cs:79
ASP.Rss_aspx.__Render__control1(HtmlTextWriter
__output, Control parameterContainer) in
D:\Inetpub\wwwroot-002\rss.aspx:7
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

Discussion

  • Craig Andera
    Craig Andera
    2006-04-20

    Logged In: YES
    user_id=879696

    What version are you running? We fixed a bunch of bugs like
    this in more recent builds.

     
  • Mehmet Ozdemir
    Mehmet Ozdemir
    2006-04-21

    Logged In: YES
    user_id=1504304

    I downloaded the binary version a few weeks ago. At any rate
    the assemblies in the \bin directory are all marked as
    version 1.8.0.1696. So I guess I'm running the latest build.

     
  • Craig Andera
    Craig Andera
    2006-04-21

    Logged In: YES
    user_id=879696

    That is the latest official build. There are unsupported
    builds available at http://builds.flexwiki.com/, though. If
    you're able to, you might want to try the latest one from
    there to see if it addresses the problem.