CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
BC30205: End of statement expected.
- Article ID:
7292 - Date Created
Sunday, February 15, 2026 - Last Updated
Sunday, February 15, 2026 - This Article Has been Viewed
0 times - Short Desc
ASP.NET BC30205: End of statement expected - Article Details
The "BC30205: End of statement expected." can sometimes happen when you have an extra character at the end of the string the error is presented on. - Recreate Issue
On Line 940, there is an extra parenthesis at the end.
This will cause the error to occur.
Line: 937 strInsUp = "Update Albums set ReleaseDateID = @ReleaseDateID where AlbumID = @AlbumID"
Line: 938 FullCMD = New SqlCommand(strInsUp, Artistcon)
Line: 939 FullCMD.Parameters.Add(New SqlParameter("@ReleaseDateID", rsReleaseDate("ReleaseDateID")))
Line: 940 FullCMD.Parameters.Add(New SqlParameter("@AlbumID", GlobalVariables.strSharedAblumID)))
Line: 941 Try
Line: 942 FullCMD.ExecuteNonQuery()
Line: 943 Finally
Line: 944 End Try - Resolve Issue
On Line 940, there is an extra parenthesis at the end.
Removing the extra parenthesis will allow the code to run.
Line: 937 strInsUp = "Update Albums set ReleaseDateID = @ReleaseDateID where AlbumID = @AlbumID"
Line: 938 FullCMD = New SqlCommand(strInsUp, Artistcon)
Line: 939 FullCMD.Parameters.Add(New SqlParameter("@ReleaseDateID", rsReleaseDate("ReleaseDateID")))
Line: 940 FullCMD.Parameters.Add(New SqlParameter("@AlbumID", GlobalVariables.strSharedAblumID))
Line: 941 Try
Line: 942 FullCMD.ExecuteNonQuery()
Line: 943 Finally
Line: 944 End Try

Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24959
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21730
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19809
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 18295
- The backup set holds a backup of a database other than the existing 17094