Error in parsing
swapnil
Posts: 2
We are facing issues with below error message -
Errors occurred whilst parsing file C:\Users\sshinde\AppData\Local\Red Gate\SQL Source Control 3\WorkingBases\qpum32p5.aiu\Stored Procedures\archive.DeleteArchivedLoad.sql
'' at line 26, column 29, near the text.
To resolve this issue :
1) Open affected file
2) Edit to insure SQL is correct
3) Commit the changes without using SQL source control. For example by using tortoise SVN or....
Please help me on how to resolve this issue.,,.
Errors occurred whilst parsing file C:\Users\sshinde\AppData\Local\Red Gate\SQL Source Control 3\WorkingBases\qpum32p5.aiu\Stored Procedures\archive.DeleteArchivedLoad.sql
'' at line 26, column 29, near the text.
To resolve this issue :
1) Open affected file
2) Edit to insure SQL is correct
3) Commit the changes without using SQL source control. For example by using tortoise SVN or....
Please help me on how to resolve this issue.,,.
Tagged:
Comments
Red Gate Technical Support Engineer
There was an error parsing the file "C:UsersharmstAppDataLocalRed GateSQL Source Control 3Transientsw20mz4vo.1z3Stored Procedures<SPNAME>.sql" at line 5, column 7, near the text .
Trashing and recreating the repository is no longer workable as I get this error within 3 or 4 commits.
Needless to say the query in question is 100% valid.
SQL Server 2014
Git source control
SQL Source 4.4.0
Windows 10
The report error tool also seems to hang indefinitely preparing the report
'' at line 14, column 4
'' at line 164, column 6
'' at line 179, column 7
'' at line 179, column 31
'' at line 181, column 6
This has started happening recently after upgrading to SQL Source Control Version 5.8.3.6733. I have a whole database which I can no longer use source control with. I checked the problem procedure was valid and it is. I then committed the procedure using Tortoise SVN, but it still doesn't work. I tried re-linking the database with source control as well, but nothing worked. I was going to attempt to downgrade to a slightly older version of SQL Source Control, but the newest version I could find online was Version 4.4!!! Can someone please tell me where I can find a later version (e.g. 5.8.3)? Or tell me how to fix this, but I assume it's a Red Gate bug.
Cheers,
Greg
Errors occurred whilst parsing file C:\Users\{UserName}\AppData\Local\Red Gate\SQL Source Control 5\Transients\v454ksvg.4cb\Stored Procedures\dbo.sp_sys_HouseKeeping_CacheDB.sql
'' at line 16, column 7
This is line 16:
CREATE PROCEDURE [dbo].[sp_sys_HouseKeeping_CacheDB]
Column 7 would be the space between CREATE and PROCEDURE!!!
Errors occurred whilst parsing file c:\[username redacted]\AppData\Local\Red Gate\SQL Source Control 5\Transients\2u11zjj5.elq\Stored Procedures\[filename redacted].sql
This isn't a bug to reassure you and is often down to incorrect syntax in the files.
The solution on this can depend on whether the issue is with WorkingBases or Transients files.
To investigate this further, I would advise reaching out to support at: https://productsupport.red-gate.com/hc/en-us
Kind regards
Dan Calver | Redgate Software
Have you visited our Help Center?