CXP compile error on html page
Posted: Tue Oct 26, 2021 8:05 am
I've been away from programming a few years but now I'm looking at writing a web based program for internal use using CXP on IIS. I've done something similar in the past but this time I'm using the Tabler dashboard template for the framework. I've downloaded and installed Tabler along with the other necessary programs to get it running and have it generating the dashboard html code with no problem. The next step will be adding CXP code to pull from a database to populate some of the screens. I can get it to run under cxp by changing the html extensions to .cxp and most all pages compile just fine and work with no problem except for a few.
On a few pages I get a CXP:BuildError but the errors make no sense because they are always the same "Linker: error XBT0200: Syntax Error in Line 25". I've tried eliminating lines trying to figure out what is causing the problem but nothing I've tried seems to work. These pages are very simple and there are more complex pages that compile with no problem.
I've pulled one of the pages I'm having an issue with along with the original html file, images, and css so you can see what it is supposed to look like.
Can someone with CXP set up run the sample to see if they get the same compile error and help figure out what is causing the problem? I thought that maybe it's because I'm running an older version (foundation build 840) but if that was the case then why does it work fine on other more complex pages?
If anyone can help figure this out it would be greatly appreciated.
On a few pages I get a CXP:BuildError but the errors make no sense because they are always the same "Linker: error XBT0200: Syntax Error in Line 25". I've tried eliminating lines trying to figure out what is causing the problem but nothing I've tried seems to work. These pages are very simple and there are more complex pages that compile with no problem.
I've pulled one of the pages I'm having an issue with along with the original html file, images, and css so you can see what it is supposed to look like.
Can someone with CXP set up run the sample to see if they get the same compile error and help figure out what is causing the problem? I thought that maybe it's because I'm running an older version (foundation build 840) but if that was the case then why does it work fine on other more complex pages?
If anyone can help figure this out it would be greatly appreciated.