Hi All,<BR><BR>Am trying to port an existing asp 3.0 app written in JScript to JScript.Net,<BR>and have just had the following error:<BR><BR> COMPILATION ERROR<BR> Description: An error occurred during the compilation of a resource<BR> required to service this request. Please review the following <BR> specific error details and modify your source code appropriately.<BR><BR> COMPILER ERROR MESSAGE: <BR> JS1113: Only valid inside a class definition<BR><BR> SOURCE ERROR:<BR> Line 11242: }<BR> Line 11243:<BR> Line 11244: protected override function FrameworkInitialize() {<BR> Line 11245: this.__BuildControlTree(this);<BR> Line 11246: this.FileDependencies =<BR> ASP.test2_aspx.__fileDependencies;<BR><BR> SOURCE FILE: <BR> C:WINNTMicrosoft.NETFrameworkv1.1.4322Temporary<BR > ASP.NET Files
cfu-d1s.0.js <BR> Line: 11244<BR><BR>All I can find in the documentation about this is the following:<BR><BR> TemplateControl.FrameworkInitialize Method<BR> This member supports the .NET Framework infrastructure and is not<BR> intended to be used directly from your code.<BR><BR>This isn&#039;t looking good.... does anyone know how to deal with this?<BR><BR>TIA,<BR><BR>JON