Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Sunday, March 25, 2007 9:54 PM
I get this error server error on my webpage. There is no problem on local server. all my pages use the same masterpage and there is no problem with those. Debugging on local OK
Thamks
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 block is not well formed.
Source Error:
|
Source File: /BookingForm.aspx ** Line:** 1
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
This is the Source Code
<%@ PAGE codefile="~/BookingForm.aspx.vb"enablesessionstate="True" title="Booking Module"
inherits="BookingForm" language="VB" masterpagefile="~/MasterPage.master" MaintainScrollPositionOnPostback="true" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" EnableViewState="true" Runat="Server">
All replies (2)
Monday, March 26, 2007 5:09 PM ✅Answered
Thank you. My ftp settings got changed some how and transfered as text instead of binary. Cheers
Monday, March 26, 2007 3:46 AM
Well, It is confirmly not well formed, try to open the same master page from your FTP in notepad and check if line 2 really contain the things which is displayed by IIS. try to remove the file and then again upload it with any FTP client.
cheers