在FTP上上传应用程序时解析器错误 [英] Parser Error While Uploading Application On FTP

查看:73
本文介绍了在FTP上上传应用程序时解析器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将我的应用程序上传到远程服务器上,这给了我很辛苦的

时间.应用程序在DEV服务器中运行正常,另外请确保我上传了

在我的IIS服务器(Windows XP)上运行该应用程序,效果很好.

但是,一旦我将其上传到托管服务器上,就会出现错误

错误看起来像这样

Hi I am trying to upload my application on remote server and its giving me hard

time. Application is working perfectly in DEV server, Also to be sure I uploaded

the Application on my IIS server (Windows XP) and it work''s Great.

But as soon as i upload it on hosting server, gives me error

Error look like this

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 'WebApplication1._Default'.

Source Error: 


Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._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.272 



在此先感谢.



Thanks in Advance.

推荐答案

我认为您有2个控件或类或.......如果忽略大小写,则具有相同的名称. 检查它们:
例如:
lstList1和lstlist1

或2个班级或其他任何事情
i think you have 2 controls or classes or ....... with the same names if ignoring case .
check them:
for example:
lstList1 and lstlist1

or 2 classes or every thing


是的,昨天我解决了这个问题,您说对了,这是他们的问题.他们没有将我正在发布应用程序的文件夹制作为应用程序文件夹".但是谢谢.
ya i resolve it yesterday amit and you are right it was problem from their side. They didnt make the folder where i was publishing the app as " Application Folder" . But thanks.


这篇关于在FTP上上传应用程序时解析器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆