Ok, I've read upteen different posts on both of these issues and maybe I'm just not understanding what needs to be done since I'm trying to interpert other people's code. Anyway, here is my dilimma. I am running Windows 7 Professional x64 with IIS 7 and coding in VS 2010 using .NET 4 for the ASP.NET site. I installed the AjaxControlToolkit.NET4 in VS 2010 with no issues. I even used the Calendar Extender with a text box and image with no problems, at least when debugging. When I go to publish it out on my test IIS7 site, I get the following errors:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Timestamp: Fri, 16 Jul 2010 15:58:41 UTC
Message: ASP.NET Ajax client-side framework failed to load.
Line: 56
Char: 34
Code: 0
URI: http://localhost/Intranet/midterm-eval-form.aspx
Message: 'Sys' is undefined
Line: 3
Char: 347
Code: 0
URI: http://localhost/Intranet/midterm-eval-form.aspx?_TSM_HiddenField_=ctl00_fcIntraContentHolder_tkSM_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.40412.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3aacfc7575-cdee-46af-964f-5d85d9cdcf92%3a475a4ef5%3aaddc6819%3a5546a2b%3ad2e10b12%3aeffe2a26%3a37e2e5c9%3a5a682656%3ac7029a2%3ae9e598a9
Message: 'Sys' is undefined
Line: 152
Char: 1
Code: 0
URI: http://localhost/Intranet/midterm-eval-form.aspx
Message: 'Sys' is undefined
Line: 213
Char: 132
Code: 0
URI: http://localhost/Intranet/midterm-eval-form.aspx
Here is the code for my ASP.NET:
<%@ Page Title="" Language="C#" MasterPageFile="~/fcIntra.Master" AutoEventWireup="true" CodeBehind="midterm-eval-form.aspx.cs" Inherits="First_Capital_Intranet.midterm_eval_form" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="fcIntraContentHolder" runat="server">
<asp:ToolkitScriptManager ID="tkSM" runat="server"></asp:ToolkitScriptManager>
<br /><asp:Panel ID="Header" runat="server" BorderStyle="Solid" BorderWidth="2" BorderColor="Black">
<center>
<asp:Label ID="lblHeader" runat="server" CssClass="midterm_header_caps" Text="MID TERM PERFORMANCE EVALUATION"></asp:Label><br />
<asp:Label ID="lblHeader2" runat="server" CssClass="midterm_header_mixed" Text="Review Period: January 1st to December 31st 2010"></asp:Label>
</center>
</asp:Panel>
<br />
<br />
<asp:Table ID="evalTable" runat="server" width="800px" CssClass="midterm_eval_question_table">
<asp:TableRow><asp:TableCell Width="400"> <asp:Label runat="server" ID="lblLastName" CssClass="midterm_eval_questions" Text="Employee Last Name: "></asp:Label><asp:TextBox ID="nameLast" runat="server"></asp:TextBox></asp:TableCell><asp:TableCell Width="400"> <asp:Label runat="server" ID="Label1" CssClass="midterm_eval_questions" Text="Employee First Name: "></asp:Label><asp:TextBox ID="nameFirst" runat="server"></asp:TextBox></asp:TableCell></asp:TableRow>
<asp:TableRow><asp:TableCell> <asp:Label runat="server" ID="lblReviewDate" CssClass="midterm_eval_questions" Text="Date of Review: "></asp:Label><asp:TextBox ID="txtReviewDate" runat="server" Enabled="false"></asp:TextBox> <asp:Image ID="imgCalendar" runat="server" ImageUrl="~/images/Calendar_scheduleHS.png" ImageAlign="AbsMiddle" /><asp:CalendarExtender ID="calReviewDate" runat="server" Enabled="True" TargetControlID="txtReviewDate" PopupButtonID="imgCalendar"></asp:CalendarExtender></asp:TableCell><asp:TableCell> <asp:Label ID="lblRating" runat="server" CssClass="midterm_eval_questions" Text="Evaluation Raiting Numbers: " ></asp:Label><asp:DropDownList ID="DropDownList1" runat="server"><asp:ListItem>5</asp:ListItem><asp:ListItem>4</asp:ListItem><asp:ListItem>3</asp:ListItem><asp:ListItem>2</asp:ListItem><asp:ListItem>1</asp:ListItem></asp:DropDownList></asp:TableCell></asp:TableRow>
<asp:TableRow><asp:TableCell ColumnSpan="2"><center><asp:Label ID="lblRatingsHeader" runat="server" Font-Italic="False" Font-Underline="True" Font-Size="14px"></asp:Label></center><br /><asp:Label ID="lblRatingsGuide" runat="server" CssClass="midterm_eval_questions"></asp:Label></asp:TableCell></asp:TableRow>
<asp:TableRow><asp:TableCell ColumnSpan="2"><br /> <asp:Label ID="lblAccomp" runat="server" CssClass="midterm_eval_questions" Text="Accomplishments:<br />"></asp:Label> <asp:TextBox ID="txtAccomp" runat="server" TextMode="MultiLine" Width="775"></asp:TextBox><br /></asp:TableCell></asp:TableRow>
<asp:TableRow><asp:TableCell ColumnSpan="2"><br /> <asp:Label ID="lblImprove" runat="server" CssClass="midterm_eval_questions" Text="Areas for Improvement:<br />"></asp:Label> <asp:TextBox id="txtImprove" runat="server" TextMode="MultiLine" Width="775"></asp:TextBox><br /></asp:TableCell></asp:TableRow>
<asp:TableRow><asp:TableCell ColumnSpan="2"><br /> <asp:Label ID="lblComments" runat="server" CssClass="midterm_eval_questions" Text="Comments:<br />"></asp:Label> <asp:TextBox id="txtComments" runat="server" TextMode="MultiLine" Width="775"></asp:TextBox><br /></asp:TableCell></asp:TableRow>
<asp:TableRow><asp:TableCell Width="400"> <asp:Label ID="lblSupSignature" runat="server" CssClass="midterm_eval_questions" Text="Supervisor Electronic Signature (Type Name):<br/>"></asp:Label><asp:TextBox ID="txtSupSignature" runat="server" Width="300"></asp:TextBox></asp:TableCell><asp:TableCell><asp:Label ID="lblSubSigDate" runat="server" CssClass="midterm_eval_questions" Text="Date: "></asp:Label><asp:TextBox ID="txtSupSigDate" runat="server" Enabled="false" Width="75"></asp:TextBox> <asp:Button ID="btnSubmit" runat="server" Text="Submit Review" /></asp:TableCell></asp:TableRow>
</asp:Table><br />
</asp:Content>
And here is the web.config:
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings>
<add name="IntranetConnectionString" connectionString="Data Source=******;Initial Catalog=Intranet;User ID=******;Password=******" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies></compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/></system.web>
<system.webServer>
<defaultDocument>
<files>
<clear/>
<add value="Default.aspx"/>
</files>
</defaultDocument>
</system.webServer>
</configuration>
I'm kind of at a loss here. Like I said, it works fine in debug but after publish, it no longer works. Thanks in advance for your help.