I build this module in VWD 2010 Express. I am getting the following error:
Error: Doctor Search is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 'DoctorSearch.Form'. ---> System.Web.HttpParseException: Could not load type 'DoctorSearch.Form'. ---> System.Web.HttpParseException: Could not load type 'DoctorSearch.Form'. ---> System.Web.HttpException: Could not load type 'DoctorSearch.Form'.
at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throw )
at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly)
at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData)
--- End of inner exception stack trace ---
at System.Web.UI.TemplateParser.ProcessException(Exception ex)
at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
--- End of inner exception stack trace ---
at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
at System.Web.UI.TemplateParser.Parse()
at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
at DotNetNuke.UI.Modules.WebFormsModuleControlFactory.CreateModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration)
at DotNetNuke.UI.Modules.ModuleControlFactory.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration)
at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl()
--- End of inner exception stack trace ---
SOURCE:
(view.ascx)
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="view.ascx.cs" Inherits="Search.Form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<table>
<tr>
<td colspan="2">
<p>
Please search for your * using the any of the criteria below.<br />
</p>
</td>
</tr>
<tr>
<td>
<div class="form">
<p class="label">
Name
</p>
<asp:TextBox ID="SearchName" runat="server" Width="295px" />
<p class="label">
Location
</p>
<asp:DropDownList runat="server" ID="SearchLocation" Width="300px" />
<asp:XmlDataSource ID="XmlDataSource1" runat="server" />
<p class="label">
Specialty
</p>
<asp:DropDownList ID="SearchSpecialty" runat="server" Width="300px" />
<br />
<br />
<table>
<tr>
<td>
<asp:Button ID="ButtonSearch" runat="server" Text="Search" OnClick="drsearch_Click"
Style="padding: 5px 18px 5px 18px;" />
</td>
<td style="float: left; vertical-align: bottom; padding: 8px 0 0 5px;">
<asp:Label ID="lblFeedback" runat="server" Style="font-style: italic" />
</td>
</tr>
</table>
</div>
</td>
<td style="padding-left:25px;">
<table align="left">
<tr>
<td>
<asp:Label ID="ResultsSearch" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html> |
(view.ascx.cs)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Drawing;
using System.Net;
using System.Data;
using System.Xml;
using System.Xml.XPath;
using System.IO;
using System.Web.Services.Protocols;
using System.Web.Services;
using System.Web.Helpers;
using DotNetNuke;
namespace Search
{
public partial class Form : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
//CODE
}
}
}
|
( view.ascx.designer.cs)
namespace Search {
public partial class Form {
protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
protected global::System.Web.UI.WebControls.TextBox SearchName;
protected global::System.Web.UI.WebControls.DropDownList SearchLocation;
protected global::System.Web.UI.WebControls.XmlDataSource XmlDataSource1;
protected global::System.Web.UI.WebControls.DropDownList SearchSpecialty;
protected global::System.Web.UI.WebControls.Button ButtonSearch;
protected global::System.Web.UI.WebControls.Label lblFeedback;
protected global::System.Web.UI.WebControls.Label ResultsDoctorSearch;
}
} |
So I need to figure out where I've gone wrong and how to build/install this module correctly.
Thank you so much for any help you can offer.