Wrox Programmer Forums
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 27th, 2006, 11:19 AM
Registered User
 
Join Date: Nov 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error connecting to SQL Views

Strange error. I am setting up dataset by dragging and dropping tables and views from server explorer. Only problem is I cannot access views on the database. The error I get is
"Failed to retrieve data for this request. An exception occurred while executing a Transact-SQL statement or batch. Line 8: Incorrect syntax near '1'".
Thinking there may be a dodgy view on the database (SQL 2003) I have tried using a copy of the database and deleting all views bar the system views. Still the same error.

Can anyone help please?






Similar Threads
Thread Thread Starter Forum Replies Last Post
error on connecting to sql server angelboy C# 2005 9 March 29th, 2007 07:56 AM
ASP error when connecting to a new SQL server Cinderella Classic ASP Basics 2 June 21st, 2005 10:00 AM
Error in connecting to sql server 2000 using asp method SQL Server 2000 1 March 7th, 2005 11:05 PM
converting Access 2000 views to Sql views matta Classic ASP Professional 1 January 26th, 2005 03:37 PM
Error in updating the Views through ASP.Net App. pavanp ASP.NET 1.0 and 1.1 Professional 0 September 7th, 2004 01:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.