PDA

View Full Version : خطای Parser Error



masih_enter
یک شنبه 31 مرداد 1389, 22:51 عصر
سلام
من بعد از ایجاد وب سایتم آن را publish کردم و بعد آن را روی سرور 2003 در پوشه wwwroot قرار دادم.برنامه با debuger اجرا میشود و مشکلی ندارد اما هنگام اجرا در host با error زیر مواجه میشوم:







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: Could not load type 'postbacks._Default'.

Source Error:

Line 1: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="postbacks._Default" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


Source File: /test/Default.aspx Line: 1

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




تو هر پروژه ای که فایل کد بیهاند داره من این مشکل رو دارم .
اولش یه خطا میده که فایل کانفیگ رو شناسایی کاربر مشکل داره و میگیرم اون کد شناسایی کاربر رو حذف میکنم ولی بعدش این ارر میاد .