Today I came across this error, so I did Google search on it I came across below blog
http://www.romsteady.net/blog/2007/07/caspnet-error-cs1026-expected.html
the reason for error was semicolon inside the server tag.
var mShowRawData = '<%= common.ShowRawData; %>'
instead just write
var mShowRawData = '<%= common.ShowRawData %>'