<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>ASPX</title>
        <link>http://agilior.pt/blogs/pedro.rainho/category/42.aspx</link>
        <description>ASPX</description>
        <language>pt-PT</language>
        <copyright>Pedro Rainho</copyright>
        <managingEditor>pedro.rainho@agilior.pt</managingEditor>
        <generator>Subtext Version 1.9.0.27</generator>
        <item>
            <title>Can any one use the site &amp;ldquo;http://www.precoscombustiveis.dgge.pt/&amp;rdquo; without having errors??? Part 3</title>
            <link>http://agilior.pt/blogs/pedro.rainho/archive/2009/02/18/6988.aspx</link>
            <description>&lt;p&gt;While I was using the site I found a NEW kind of error&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Cananyoneuset.ptwithouthavingerrorsPart3_BF1E/image_2.png"&gt;&lt;img height="385" border="0" width="747" title="image" style="border: 0px none ; display: inline;" alt="image" src="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Cananyoneuset.ptwithouthavingerrorsPart3_BF1E/image_thumb.png" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I typed “Paço d’arcos” in the search box. For those who don’t know Paço d’arcos Is near Oeiras. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;And this friendly site searches for Paço d’arcos and shows a maps positioned near “Santa Maria da Feira” that is in north of Portugal, it’s like I search for “New york” and map pointed my to north pole… I don’t know if I should be impressed or sad how my money is being spent.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I done my homework and search in google maps just to see if Paço d’arcos is in fact near Oeiras and it is :)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Does any one ever test this site before go online ????&lt;/p&gt;&lt;img src="http://agilior.pt/blogs/pedro.rainho/aggbug/6988.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pedro Rainho</dc:creator>
            <guid>http://agilior.pt/blogs/pedro.rainho/archive/2009/02/18/6988.aspx</guid>
            <pubDate>Wed, 18 Feb 2009 10:35:40 GMT</pubDate>
            <wfw:comment>http://agilior.pt/blogs/pedro.rainho/comments/6988.aspx</wfw:comment>
            <comments>http://agilior.pt/blogs/pedro.rainho/archive/2009/02/18/6988.aspx#feedback</comments>
            <wfw:commentRss>http://agilior.pt/blogs/pedro.rainho/comments/commentRss/6988.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Can any one use the site &amp;ldquo;http://www.precoscombustiveis.dgge.pt/&amp;rdquo; without having errors???</title>
            <link>http://agilior.pt/blogs/pedro.rainho/archive/2009/02/18/6986.aspx</link>
            <description>&lt;p&gt;Here in Portugal the governors decided to spend public money doing a site that, most of the time, doesn’t work. At least that is my opinion.&lt;/p&gt;
&lt;p&gt;I only had spent in the site no more that 3-4 minutes and found some curious errors. I decide to share one of the error that I found.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Here is the screen shoots and how to reproduce one of the bug.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Cananyoneusethesit.ptwithouthavingerrors_B8C1/image_2.png"&gt;&lt;img height="445" border="0" width="865" src="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Cananyoneusethesit.ptwithouthavingerrors_B8C1/image_thumb.png" alt="image" style="border-width: 0px; display: inline;" title="image" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;I select “Castelo Branco” and the I choose “Seleccionar todos os municipios deste distrito”, and what happens…&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Cananyoneusethesit.ptwithouthavingerrors_B8C1/image_4.png"&gt;&lt;img height="476" border="0" width="869" src="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Cananyoneusethesit.ptwithouthavingerrors_B8C1/image_thumb_1.png" alt="image" style="border-width: 0px; display: inline;" title="image" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I love this error I can imagine users that are not programmers trying to understand this error message :) the message is sooooo expressive :).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;This is where our governors spend our money…&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;But let’s check the error message just for seeing if it says something usefull. hooo and by the way I’ve formatted the message in the messagebox it’s more easy to read :)&lt;/p&gt;
&lt;code&gt;&lt;style type="text/css"&gt;&lt;![CDATA[



        	body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 

        	p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}

        	b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}

        	h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }

        	h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }

        	pre {font-family:"Lucida Console";font-size: .9em}

        	.marker {font-weight: bold; color: black;text-decoration: none;}

        	.version {color: gray;}

        	.error {margin-bottom: 10px;}

        	.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

        ]]&gt;&lt;/style&gt;&lt;span&gt;
&lt;h1&gt;Server Error in '/' Application.        &lt;hr color="#c0c0c0" width="100%" size="1" /&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;em&gt;The ConnectionString property has not been initialized.&lt;/em&gt; &lt;/h2&gt;
&lt;/span&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;strong&gt;Description: &lt;/strong&gt;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.       &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Exception Details: &lt;/strong&gt;System.InvalidOperationException: The ConnectionString property has not been initialized.       &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Source Error:&lt;/strong&gt;       &lt;br /&gt;
&lt;br /&gt;
&lt;table bgcolor="#ffffcc" width="100%"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;               &lt;/code&gt;
            &lt;pre&gt; Line 11:     CMD = New OdbcCommand  Line 12:     CMD.Connection = CN  &lt;font color="red"&gt;Line 13: 		CN.Open()&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;Line 14:     &lt;br /&gt;&lt;br /&gt;Line 15:     If Request("mh") = "" OrElse Request("mh") = "1" Then&lt;/pre&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;br /&gt;
&lt;strong&gt;Source File: &lt;/strong&gt;D:\Inetpub\wwwroot\DGEGPOSTOS2008\include\mapaPTDB.aspx&lt;strong&gt;    Line: &lt;/strong&gt;13       &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Stack Trace:&lt;/strong&gt;       &lt;br /&gt;
&lt;br /&gt;
&lt;table bgcolor="#ffffcc" width="100%"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;               &lt;/code&gt;
            &lt;pre&gt; [InvalidOperationException: The ConnectionString property has not been initialized.]     &lt;br /&gt;System.Data.Odbc.OdbcConnection.Open() +741    &lt;br /&gt; ASP.mapaPTCB_aspx.LeZonas() in D:\Inetpub\wwwroot\DGEGPOSTOS2008\include\mapaPTDB.aspx:13     &lt;br /&gt;ASP.mapaPTCB_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in D:\Inetpub\wwwroot\DGEGPOSTOS2008\include\mapaPTCB.aspx:5     &lt;br /&gt;System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27     &lt;br /&gt;System.Web.UI.Control.Render(HtmlTextWriter writer) +7     &lt;br /&gt;System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243     &lt;br /&gt;System.Web.UI.Page.ProcessRequestMain() +1926&lt;/pre&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;       &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;       &lt;/p&gt;
&lt;hr color="#c0c0c0" width="100%" size="1" /&gt;
&lt;p&gt;&lt;strong&gt;Version Information:&lt;/strong&gt; Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032 &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;!-- 

[InvalidOperationException]: The ConnectionString property has not been initialized.

   at System.Data.Odbc.OdbcConnection.Open()

   at ASP.mapaPTCB_aspx.LeZonas() in D:\Inetpub\wwwroot\DGEGPOSTOS2008\include\mapaPTDB.aspx:line 13

   at ASP.mapaPTCB_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in D:\Inetpub\wwwroot\DGEGPOSTOS2008\include\mapaPTCB.aspx:line 5

   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)

   at System.Web.UI.Control.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)

   at System.Web.UI.Page.ProcessRequestMain()

[HttpUnhandledException]: Exception of type System.Web.HttpUnhandledException was thrown.

   at System.Web.UI.Page.HandleError(Exception e)

   at System.Web.UI.Page.ProcessRequestMain()

   at System.Web.UI.Page.ProcessRequest()

   at System.Web.UI.Page.ProcessRequest(HttpContext context)

   at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)

--&gt;&lt;!-- 

This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &amp;lt;customErrors mode="Off"/&amp;gt;. Consider using &amp;lt;customErrors mode="On"/&amp;gt; or &amp;lt;customErrors mode="RemoteOnly"/&amp;gt; in production environments.--&gt;&lt;/font&gt;Interesting message especially the part that says OdbcCommand. What are they using as data bases… are they using MS Access as there data base or a CSV text file ????… that is a really nice question.&lt;/code&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The other thing that I see is that there site is located in D:\Inetpub\wwwroot\DGEGPOSTOS2008\include hummm and the have a file called mapaPTDB.aspx that has a error on line 13 probably a missing a text file :)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Continuing with the error I see a message “The ConnectionString property has not been initialized.” hummm a public site sponsored by public money and some one forget to initialize correctly the connection string… &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Continuing analyzing the error I see .NET Framework Version 1.1.4322.2032; ASP.NET Version 1.1.4322.2022… hummm analyzing these versions they also probably forget to apply Framework 1.1 SP1 &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I’m impressed how the governor invest my and others money. &lt;/p&gt;&lt;img src="http://agilior.pt/blogs/pedro.rainho/aggbug/6986.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pedro Rainho</dc:creator>
            <guid>http://agilior.pt/blogs/pedro.rainho/archive/2009/02/18/6986.aspx</guid>
            <pubDate>Wed, 18 Feb 2009 10:08:24 GMT</pubDate>
            <wfw:comment>http://agilior.pt/blogs/pedro.rainho/comments/6986.aspx</wfw:comment>
            <comments>http://agilior.pt/blogs/pedro.rainho/archive/2009/02/18/6986.aspx#feedback</comments>
            <wfw:commentRss>http://agilior.pt/blogs/pedro.rainho/comments/commentRss/6986.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Oxite</title>
            <link>http://agilior.pt/blogs/pedro.rainho/archive/2008/12/09/6286.aspx</link>
            <description>&lt;p&gt;Today I've head about a new buzz word "&lt;a href="http://visitmix.com/Lab/Oxite"&gt;Oxite&lt;/a&gt;". according to &lt;a href="http://visitmix.com/Lab/Oxite"&gt;Oxite&lt;/a&gt; website "Oxite is an open source, standards compliant, and highly extensible content management platform that can run anything from blogs to big web sites. We know this because it runs MIX Online.".&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I have tested &lt;a href="http://visitmix.com/Lab/Oxite"&gt;Oxite&lt;/a&gt; and from what I've seen:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;it's open source, you can grab the code.&lt;/li&gt;
    &lt;li&gt;it's standard compliant, probably at least I didn't saw tables like Sharepoint 2007 but I probably will run &lt;a href="http://www.tawdis.net"&gt;Taw&lt;/a&gt; just to check if respects accessibility.&lt;/li&gt;
    &lt;li&gt;it's highly extensible content management platform, from what I've saw right know it's a very basic CMS, don't know if it's extensible haven't tested.&lt;/li&gt;
    &lt;li&gt;And finally &lt;a href="http://visitmix.com/Lab/Oxite"&gt;Oxite&lt;/a&gt; looks more like a blog than like a CMS&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;To run &lt;a href="http://visitmix.com/Lab/Oxite"&gt;Oxite&lt;/a&gt;, just open the solution and select the OxiteSite project and choose "Set as a StartUp Project"&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_2.png"&gt;&lt;img height="417" border="0" width="687" src="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_thumb.png" alt="image" style="border: 0px none ;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Ten press run and a browser with a page like this will be loaded&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_4.png"&gt;&lt;img height="417" border="0" width="688" src="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_thumb_1.png" alt="image" style="border: 0px none ;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Here you can Login with:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;User: Admin&lt;/p&gt;
&lt;/blockquote&gt;  &lt;blockquote&gt;
&lt;p&gt;Pass: pa$$w0rd&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_6.png"&gt;&lt;img height="420" border="0" width="693" src="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_thumb_2.png" alt="image" style="border: 0px none ;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Here in this page you can create posts&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_14.png"&gt;&lt;img height="425" border="0" width="701" src="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_thumb_6.png" alt="image" style="border: 0px none ;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;And pages&lt;/p&gt;
&lt;p&gt;&lt;a href="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_12.png"&gt;&lt;img height="428" border="0" width="706" src="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_thumb_5.png" alt="image" style="border: 0px none ;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;And it's also possible to edit pages&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_16.png"&gt;&lt;img height="432" border="0" width="712" src="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_thumb_7.png" alt="image" style="border: 0px none ;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_18.png"&gt;&lt;img height="435" border="0" width="717" src="http://agilior.pt/blogs/images/agilior_pt/blogs/pedro.rainho/WindowsLiveWriter/Oxite_13C78/image_thumb_8.png" alt="image" style="border: 0px none ;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;As it's possible to see the page/post editor is very elementary I definitely change it to the &lt;a href="http://www.fckeditor.net/"&gt;FCKEditor&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;To Download &lt;a href="http://visitmix.com/Lab/Oxite"&gt;Oxite&lt;/a&gt; just download &lt;a href="http://www.codeplex.com/oxite/Release/ProjectReleases.aspx?ReleaseId=20210#ReleaseFiles"&gt;here&lt;/a&gt;. One other thing it's also necessary to download ASP.Net MVC Beta from &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=A24D1E00-CD35-4F66-BAA0-2362BDDE0766&amp;amp;displaylang=en"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;My finally notes is that this is a very elementary Blog/CMS and with some changes it can be a good lightweight open source CMS :)&lt;/p&gt;&lt;img src="http://agilior.pt/blogs/pedro.rainho/aggbug/6286.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pedro Rainho</dc:creator>
            <guid>http://agilior.pt/blogs/pedro.rainho/archive/2008/12/09/6286.aspx</guid>
            <pubDate>Tue, 09 Dec 2008 19:31:06 GMT</pubDate>
            <wfw:comment>http://agilior.pt/blogs/pedro.rainho/comments/6286.aspx</wfw:comment>
            <comments>http://agilior.pt/blogs/pedro.rainho/archive/2008/12/09/6286.aspx#feedback</comments>
            <wfw:commentRss>http://agilior.pt/blogs/pedro.rainho/comments/commentRss/6286.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>