Hi all
Apologies if this has been covered before - the search functionality seems to be down for maintenance
A new look & feel has been developed for one of our applications (written in ASP) and I am required to include my ASP .NET application as a subdirectory under the ASP application. I also need to include the ASP header & footer on my ASP .NET pages to get the correct look and feel.
I used the #include directive to include the ASP page - but I get 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: CS1044: Cannot use more than one type in a for, using, fixed, or declaration statement
Source Error:
Line 1: <%
Line 2: Dim strProductSuite, strProduct, strMarketingVersion, strProdDevReleaseVersion
Line 3: Dim strProdDevInternalVersion, strSystemTitle
Line 4:
Line 5:
So the page is obviously trying to parse the VBScript in the ASP page as C# code
Does anyone have any ideas on how to indicate to my page to parse the include file as plain ole ASP and the rest as .NET code (without changing the ASP page)? Any help on this would really be appreciated.
Thanks as always
Craftor
Apologies if this has been covered before - the search functionality seems to be down for maintenance
A new look & feel has been developed for one of our applications (written in ASP) and I am required to include my ASP .NET application as a subdirectory under the ASP application. I also need to include the ASP header & footer on my ASP .NET pages to get the correct look and feel.
I used the #include directive to include the ASP page - but I get 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: CS1044: Cannot use more than one type in a for, using, fixed, or declaration statement
Source Error:
Line 1: <%
Line 2: Dim strProductSuite, strProduct, strMarketingVersion, strProdDevReleaseVersion
Line 3: Dim strProdDevInternalVersion, strSystemTitle
Line 4:
Line 5:
So the page is obviously trying to parse the VBScript in the ASP page as C# code
Does anyone have any ideas on how to indicate to my page to parse the include file as plain ole ASP and the rest as .NET code (without changing the ASP page)? Any help on this would really be appreciated.
Thanks as always
Craftor