Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Sharepoint 2010异常错误_C#_Asp.net_Exception_Sharepoint 2010_Master Pages - Fatal编程技术网

C# Sharepoint 2010异常错误

C# Sharepoint 2010异常错误,c#,asp.net,exception,sharepoint-2010,master-pages,C#,Asp.net,Exception,Sharepoint 2010,Master Pages,在过去的几天里,我执行了web应用程序从SharePoint2007到SharePoint2010的迁移 我注意到网站的一个页面出现了一些异常错误,这是由页面上的一个web部件引起的 将查询字符串?contents=1附加到浏览器中的地址页,我获得了给出错误的Web部件,并将其从浏览器中删除 然后在SharepointDesigner上,我从页面标题中删除了web部件的引用 删除这些内容后,现在浏览页面时返回错误: Only Content controls are allowed direct

在过去的几天里,我执行了web应用程序从
SharePoint2007
SharePoint2010
的迁移

我注意到网站的一个页面出现了一些异常错误,这是由页面上的一个web部件引起的

将查询字符串
?contents=1
附加到浏览器中的地址页,我获得了给出错误的Web部件,并将其从浏览器中删除

然后在
Sharepoint
Designer上,我从页面标题中删除了web部件的引用

删除这些内容后,现在浏览页面时返回错误:

Only Content controls are allowed directly in a content page that contains Content controls. 
在一些没有有效结果的谷歌搜索之后,我使用
USL
viewer来获取更多错误信息,我发现了这些额外的添加:

System.Web.HttpException: Only Content controls are allowed directly in a content page that contains Content controls.   
at System.Web.UI.FileLevelPageControlBuilder.AppendLiteralString(String text)    
at System.Web.UI.TemplateParser.ProcessLiteral()
不幸的是,这并不是我想要的信息量:据我所知,问题与内容页中的某些错误有关


有人经历过类似的事情吗?

我发现错误是由
标记之外的伪字符引起的:一旦我删除了未更正的字符,我就没有得到错误

多谢各位