We’re currently experiencing a high volume of support requests, which may result in longer response times — Thank you for your patience and understanding.
Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wavin
Engaged Sweeper
Hello ,

I just did the upgrade to 3.5.1 and I tried to use Report Builder ( I've never used it in the previous version ).
When I try to edit a "custom" report ( LS report that I did directly in SQL Server db ) I always have the error :

INVALID TOKEN '(' at position 16 of line 1.

What does it mean ? If I try to edit a "standard" report , Report Builder works fine.

This is an example of "customer" report with the error in Report Builder :

USE [lansweeper31]
GO
/****** Object: View [dbo].[web30repnonitalian] Script Date: 05/11/2009 17:02:46 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER VIEW [dbo].[web30repnonitalian]
AS
SELECT TOP (100) PERCENT dbo.tblComputers.Computername AS Computer, dbo.tblOperatingsystem.Description, dbo.tblComputers.Domain,
dbo.tblOperatingsystem.OSLanguage AS Language, dbo.tblComputers.Lastseen AS [Last Seen]
FROM dbo.tblComputers INNER JOIN
dbo.tblComputersystem ON dbo.tblComputers.Computername = dbo.tblComputersystem.Computername LEFT OUTER JOIN
dbo.tblOperatingsystem ON dbo.tblComputers.Computername = dbo.tblOperatingsystem.Computername
WHERE (dbo.tblOperatingsystem.OSLanguage <> '1040') AND (dbo.tblComputersystem.Domainrole = '1')
ORDER BY dbo.tblComputers.Domain, [Last Seen] DESC
2 REPLIES 2
wavin
Engaged Sweeper
Yes it works , thanks !
Hemoco
Lansweeper Alumni
Change the view to

SELECT TOP 100 PERCENT
instead of
SELECT TOP (100) PERCENT

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now