Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The server tag is not well formed.

Source Error:


Line 40:                     <ItemTemplate>
Line 41:                         <div class="slide">
Line 42:                         <asp:Image runat="server"id="imgPhoto" />
Line 43:                         <img src='<%#ConfigurationManager.AppSettings["MediaUrl"] + "images/hotels/" + Container.DataItem + "?height=137&width=320&crop=auto"%>' alt="hotel" />
Line 44:                         </div>

Source File: /HotelList.aspx    Line: 42


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0