ExecuteReader requires an open and available Connection. The connections current state is open

Topics: Customizing Orchard
Jan 24, 2014 at 2:16 PM
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" class="IE IE7 IE8 OnlyIE8">
<head>
    <meta id="CompatabilityMode" http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="https://download-codeplex.sec.s-msft.com/css/v20865/i1970439/StyleSheet.ashx" id="MasterCss" rel="stylesheet" type="text/css" />
    <link rel="SHORTCUT ICON" href="https://www.codeplex.com/favicon.ico" />
    <title>Orchard Project - ExecuteReader requires an open and available Connection. The connection&#39;s current state is open.</title>

    <!--
    Third party scripts and code linked to or referenced from this website are licensed to you by the parties that own such code,
    not by Microsoft.  See ASP.NET Ajax CDN Terms of Use – http://www.asp.net/ajaxlibrary/CDN.ashx.
    -->
    <script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-1.4.4.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        if (typeof jQuery === 'undefined') {
            document.write(unescape("%3Cscript src='https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
        }
    </script>

    <script src="https://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.6/jquery-ui.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        if (typeof jQuery.ui === 'undefined') {
            document.write(unescape("%3Cscript src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js' type='text/javascript'%3E%3C/script%3E"));
        }
    </script>


<style type="text/css">.SideBar, .SideBarPadding{display:none;}.MainContent{width:auto;}.SiteContentTable{width:100%;}</style>
<style id="ProjectStyles" type="text/css">
    .SiteHeader, .SiteHeaderLeft {
        height:45px !important;
        overflow:hidden;
    }
    .SiteContent 
    {
        padding: 0 0 1em 0;
        margin-top:0;
        min-height:225px;
        border-right: 1px solid lightgrey;
        border-left: 1px solid lightgrey;
        border-bottom: 1px solid lightgrey;
    }
    .IE table.MinWidthContent
    {
        table-layout: auto !important;  
    }
</style>




<meta id="WTProjectName" name="WT.pi" content="orchard"/>


<link rel="EditURI" type="application/rsd+xml" title="RSD" href='https://orchard.codeplex.com/rsd' />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" title="WLWManifest" href='https://www.codeplex.com/wlwmanifest.xml' />


    <link rel="alternate" type="application/rss+xml" title="Orchard&#32;Project" url="https://orchard.codeplex.com/project/feeds/rss"/>


    <link rel="alternate" type="application/rss+xml" title="Orchard&#32;Project&#32;-&#32;Discussions" url="https://orchard.codeplex.com/project/feeds/rss?ProjectRSSFeed=codeplex%3a%2f%2fforum%2forchard"/>

    <link rel="alternate" type="application/rss+xml" title="Orchard&#32;Project&#32;-&#32;Issues" url="https://orchard.codeplex.com/project/feeds/rss?ProjectRSSFeed=codeplex%3a%2f%2fworkitem%2forchard"/>

    <link rel="alternate" type="application/rss+xml" title="Orchard&#32;Project&#32;-&#32;Downloads" url="https://orchard.codeplex.com/project/feeds/rss?ProjectRSSFeed=codeplex%3a%2f%2frelease%2forchard"/>
    <link rel="alternate" type="application/rss+xml" title="Orchard&#32;Project&#32;-&#32;Reviews" url="https://orchard.codeplex.com/project/feeds/rss?ProjectRSSFeed=codeplex%3a%2f%2freview%2forchard"/>


    <link rel="alternate" type="application/rss+xml" title="Orchard&#32;Project&#32;-&#32;Source&#32;code" url="https://orchard.codeplex.com/project/feeds/rss?ProjectRSSFeed=codeplex%3a%2f%2fsourcecontrol%2forchard"/>
    <link rel="alternate" type="application/rss+xml" title="Orchard&#32;Project&#32;-&#32;Wiki" url="https://orchard.codeplex.com/project/feeds/rss?ProjectRSSFeed=codeplex%3a%2f%2fwiki%2forchard"/>



    <meta content="summary" name="twitter:card"></meta><meta content="@CodePlex" name="twitter:site"></meta><meta content="https://orchard.codeplex.com/discussions/434926?ProjectName=orchard" name="twitter:url"></meta><meta content="Orchard Project" name="twitter:title"></meta><meta content="Orchard is a free, open source, community-driven project aimed at delivering applications and reusable components on the ASP.NET platform." name="twitter:description"></meta><meta content="https://www.codeplex.com/favicon.ico" name="twitter:image"></meta>


</head>

<body>
    <script src="https://download-codeplex.sec.s-msft.com/scripts/v20865/i7/ScriptLoader.ashx" type="text/javascript"></script>
    <form id="aspnetForm" autocomplete="off" method="POST" enctype="multipart/form-data">
        <input name="__RequestVerificationToken" type="hidden" value="qOw5mYt52D1rFO6r1BXlJayzARTa2cuVNCdv6xV4GuBc6Kpw1rJaC01jt-jWZIuaigstmu8Vf03eXTK2zkA-DIhpANEvYGrXI8RlezgRyfOr-ZzmsNZoRiVd0KAB0gcvDW48CPdTaN_7dQ-2-50Y1WM7D6A1" />

        <div id="UpdateProgressPanel" class="loading_animation" style="display:none;">
            <div class="row">
                <h2 class="anim_h2">
                    <span id="UpdateProgressText">Updating...</span>
                    <span id="animatedLoadingIconContainer">
                        <img id="animatedLoadingIcon" src="https://download-codeplex.sec.s-msft.com/Images/v20865/loading_animation.gif" class="anim_img"/>
                    </span>
                </h2>
            </div>
        </div>

        <div style="display:none;">

                <script type="text/javascript">
                    $loadScript("https://siterecruit.comscore.com/sr/codeplex/broker.js");
                </script>



            <img id="BlankImage" style="width:0;height:0;" src="https://download-codeplex.sec.s-msft.com/Images/v20865/blank.png" onload="self.logoImageLoaded=true;"/>

            <script language="javascript" type="text/javascript">
                var date = new Date();
                var timezoneOffset = date.getTimezoneOffset() / 60 * -1;
                var timezoneOffsetCookie = getCookie("TimezoneOffset");
                var firstTimeSetTimezoneCookie = false;

                if (timezoneOffsetCookie == null || timezoneOffsetCookie != timezoneOffset) {
                    firstTimeSetTimezoneCookie = true;
                    document.cookie = "TimezoneOffset=" + timezoneOffset + '; domain=.codeplex.com;expires=Sat, 24 Jan 2015 05:01:14 UTC';
                }
            </script>


                <noscript>
                    <a href="http://www.omniture.com" title="Web Analytics"><img src="https://msstonojstemp.112.2O7.net/b/ss/msstonojstemp/1/H.20.2--NS/0" height="1" width="1" border="0" alt="" /></a>
                </noscript>

        </div>

        <div id="header">
            <div id="header_wrap" class="row">
                <p id="logo"><a href="https://www.codeplex.com">Code<span class="semi">Plex</span></a><span id="tagline">Project Hosting for Open Source Software</span></p>

<ul id="nav"> <li><a href="https://www.codeplex.com/site/users/view/Jerusalem2020J2IL" title="Update Your Profile" class="ZoomFix" id="userProfileLink">Jerusalem2020J2IL</a></li> <li><a class="ZoomFix" href="https://www.codeplex.com/site/signout?RedirectUrl=https%3a%2f%2forchard.codeplex.com%2fdiscussions%2f434926" id="signOutLink">Sign Out</a></li> <li class="last"><a class="rss_site_icon" href="https://www.codeplex.com/site/feeds/rss" type="application/rss+xml" rel="Alternate" title="CodePlex Site Activity"></a></li> </ul>
                <input id="searchsite" name="searchsite" maxlength="500" type="text" value="" /><span id="search_mag"><a id="submitSearch" name="submitSearch" class="magnify" title="Search" href="#"></a></span>
                <script> 
$(document).ready(function() {
var searchButton = $('#submitSearch'),
    searchBar = $('#searchsite');

// Register our own handler for the search event while we wait for the SearchBox script to load.
searchButton.bind('click.backupSearchBox', doProjectSearch);
searchBar.bind('keypress.backupSearchBox', function(e) { if ($keyCode(e) === 13) { doProjectSearch(); return false; } });

function cleanupSearchEvents() {
    // If the SearchBox was loaded, unregister our handlers.
    if (epx_loaded) {
        searchButton.unbind('.backupSearchBox');
        searchBar.unbind('.backupSearchBox');
    }
}

$loadScript('https://services.social.microsoft.com/search/Widgets/SearchBox.jss?appid=1000&scopeid=1&boxId=searchsite&btnId=submitSearch&watermark=Search%20all%20projects&overrideWatermark=true&searchLocation=https%3a%2f%2fwww.codeplex.com%2fsite%2fsearch&allowEmptySearch=true&focusOnInit=False&minimumTermLength=3', cleanupSearchEvents);
})
function doProjectSearch() {
var url = 'https://www.codeplex.com/site/search';

//If search term is not same as watermark
if($('#searchsite').val() != 'Search all projects')    
{        
    url = url + '?query=' + encodeURIComponent($('#searchsite').val());
}


var callback = '';
if (callback.length > 0 && eval('typeof ' + callback) != 'undefined')
    url += eval(callback + '()');

window.location.href = url;
return false;
}
</script>
            </div>
Jan 24, 2014 at 2:25 PM
Common Issues
If you receive this error:

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: 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.