J
Jon Maz
Hi All,
Am trying to port an existing asp 3.0 app written in JScript to JScript.Net,
and have just had the following error:
COMPILATION ERROR
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following
specific error details and modify your source code appropriately.
COMPILER ERROR MESSAGE:
JS1113: Only valid inside a class definition
SOURCE ERROR:
Line 11242: }
Line 11243:
Line 11244: protected override function FrameworkInitialize() {
Line 11245: this.__BuildControlTree(this);
Line 11246: this.FileDependencies =
ASP.test2_aspx.__fileDependencies;
SOURCE FILE:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\root\6ee7ca74\d173ebaf\rcfu-d1s.0.js
Line: 11244
All I can find in the documentation about this is the following:
TemplateControl.FrameworkInitialize Method
This member supports the .NET Framework infrastructure and is not
intended to be used directly from your code.
This isn't looking good.... does anyone know how to deal with this?
TIA,
JON
PS First posted to aspmessageboard
http://www.aspmessageboard.com/forum/ASPPlus.asp?M=725525&T=725525&F=36&P=1
Am trying to port an existing asp 3.0 app written in JScript to JScript.Net,
and have just had the following error:
COMPILATION ERROR
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following
specific error details and modify your source code appropriately.
COMPILER ERROR MESSAGE:
JS1113: Only valid inside a class definition
SOURCE ERROR:
Line 11242: }
Line 11243:
Line 11244: protected override function FrameworkInitialize() {
Line 11245: this.__BuildControlTree(this);
Line 11246: this.FileDependencies =
ASP.test2_aspx.__fileDependencies;
SOURCE FILE:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\root\6ee7ca74\d173ebaf\rcfu-d1s.0.js
Line: 11244
All I can find in the documentation about this is the following:
TemplateControl.FrameworkInitialize Method
This member supports the .NET Framework infrastructure and is not
intended to be used directly from your code.
This isn't looking good.... does anyone know how to deal with this?
TIA,
JON
PS First posted to aspmessageboard
http://www.aspmessageboard.com/forum/ASPPlus.asp?M=725525&T=725525&F=36&P=1