Cox*_*oxy 14 asp.net user-controls aspose
在我正在进行的传奇中,我想要在一个干净的盒子上托管遗留应用程序,我已经遇到了下一个问题.一个页面依赖于一个大的.NET UserControl,它在新机器上只呈现为一个大的,灰色的textarea(右边缘的灰色垂直滚动条.检查源显示预期的object标记.)
这特别棘手,因为似乎没有人知道托管的UserControls和所有讨论数据回到2002-2004.
页面很简单:
<%@ Page language="c#" Codebehind="DataExport.aspx.cs" AutoEventWireup="false" Inherits="yyyyy.Web.DataExport" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>DataExport</title>
<link rel="Configuration" href="/xxxxx/yyyyy/DataExport.config">
</head>
<body style="margin:0px;padding:0px;overflow:hidden">
<OBJECT id="DataExport" style="WIDTH: 100%; HEIGHT: 100%; position:absolute; left: 0px; top:0px"
classid="yyyyy.Common.dll#yyyyy.Controls.DataExport"
VIEWASTEXT>
</OBJECT>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
引用的配置文件:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="yyyyy">
<section name="dataExport" type="yyyyy.Controls.DataExportSectionHandler,yyyyy.Common" />
</sectionGroup>
</configSections>
<yyyyy>
<dataExport>
<layoutFile>http://vm2/xxxxx/yyyyy/layout.xml</layoutFile>
<webServiceUrl>http://vm2/xxxxx/yyyyy/services/yyyyy.asmx</webServiceUrl>
</dataExport>
</yyyyy>
</configuration>
Run Code Online (Sandbox Code Playgroud)
我检查了什么:
对我来说可能看起来很可疑:
gacutil /ldl,本地下载缓存中没有任何内容.在工作机器上,在查看页面后运行相同的命令显示包括控制DLL和Aspose DLL的DLL的清单.