asp.net visual studio 2008 [英] asp.net visual studio 2008

查看:91
本文介绍了asp.net visual studio 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是asp.net的初学者,已经完成了我的第一个表单,一切正常,在测试VS 2008时,表单显示在FireFox(最新版本)中,自动完成工作。然后我构建了这些东西,发布它并将生成的路径移动到localhost的工作目录。父母调用我的表单和firefox显示:

XML解析错误:格式不正确位置:http://localhost/dynamische_website/KontaktFormular/KontaktForm.aspx

行号1,第2列:<%@ page language =C#autoeventwireup =falseinherits =KontaktFormular,App_Web_hrddzj4a%>





父本是localhost / dynamische_website中的index.html,这里是KontaktFormular目录下的文件KontaktForm.aspx,第一行导致此错误。



我做错了什么?

请帮助

提前致谢MiKr41

解决方案

替换此

<![CDATA [<%@     page     language   =  C#    autoeventwireup   =  false   继承  =   KontaktFormular,App_Web_hrddzj4a   %> ]]> 



with

<![CDATA [<%@     page     language   =  C#    autoeventwireup   =  false    inherits   =  KontaktFormular.KontaktForm   %> ]]> 





感谢


Hi
I'm a beginner in asp.net, have finished my first form, everything works fine in testing out of VS 2008, the form is displayed in FireFox (most recent version), autocomplete works. Then I built the stuff, published it and moved the generated path to the working directory for localhost. The parent called my form and firefox displayed:
XML Parsing Error: not well-formed Location: http://localhost/dynamische_website/KontaktFormular/KontaktForm.aspx
Line Number 1, Column 2:<%@ page language="C#" autoeventwireup="false" inherits="KontaktFormular, App_Web_hrddzj4a" %>


The parent is index.html in localhost/dynamische_website, here is in the directory KontaktFormular the file KontaktForm.aspx, the first line causes this error.

What I'm doing wrong?
Please help
Thanks in advance MiKr41

解决方案

Replace this

<![CDATA[<%@ page language="C#" autoeventwireup="false" inherits="KontaktFormular, App_Web_hrddzj4a" %>]]>


with

<![CDATA[<%@ page language="C#" autoeventwireup="false" inherits="KontaktFormular.KontaktForm" %>]]>



Thanks


这篇关于asp.net visual studio 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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