CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 8/10/2007 3:35:17 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 7 Views: 64 Favorited: 0 Favorite
8 Items, 1 Pages 1 |< << Go >> >|
fkmfkm
Asp.Net User
TableAdapter Configuration Wizard Error.8/10/2007 3:35:17 PM

0

I am on VS2005 SP1.

 I am using SQLOLEDB provider.

 When I have a SQL statements that have 3 parameters (3 ?), I will encounter this error.

"The wizard detected the following problems when configuring the TableAdapter: "Account"

Details:

Generated SELECT statement.

   Syntax Error or access violation

 

Anyone here can help with this ?

Thank you.

fkmfkm
Asp.Net User
Re: TableAdapter Configuration Wizard Error.8/14/2007 1:32:35 AM

0

Anyone out there encounter this before ? Please I am really stuck here...
Nai-Dong Jin -
Asp.Net User
Re: TableAdapter Configuration Wizard Error.8/14/2007 4:56:54 AM

0

Hi,

You may try the following steps instead.

1. Use the Wizard to create the query (with WHERE clause omitted)
2. Right-click on the new query and select properties
3. Modify the query in the CommandText property window

You also can try the following link to see if it can help.

http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000648&group_id=1000125

Thanks.

This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. 

 


Sincerely,
Michael Jin.
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
fkmfkm
Asp.Net User
Re: TableAdapter Configuration Wizard Error.8/17/2007 3:53:08 AM

0

You  mean this is a known bug ? and I work around it by editing the ComamndText ?

 Thank you for your reply.

Nai-Dong Jin -
Asp.Net User
Re: TableAdapter Configuration Wizard Error.8/17/2007 6:39:37 AM

0

Hi,

This issue has been embodied into the Knowledge base.See the following Fix information.

FIX: Providers fail when Visual Studio Database Designer Wizard puts brackets around the table name

To get more resolution, hotfix information, workarounds, see,

http://support.microsoft.com/kb/325790/en-us

Thanks.


Sincerely,
Michael Jin.
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
fkmfkm
Asp.Net User
Re: TableAdapter Configuration Wizard Error.8/19/2007 3:37:57 AM

0

Mine got no brackets its shown below. The third ResultDate >= ?, I have added it manually using the CommandText as you have told. I have also added another Param but how to I modify the Fuction (I need to add another param) ? Since i am not using the wizard.

SELECT     A.AccountID, A.Name, A.AccountTypeID, A.CompanyTypeID, A.IndustryID, A.AnnualRevenue, A.NoOfEmployee, COALESCE (O.Amount, 0) AS Amount,
                      COALESCE (O.SecuredCount, 0) AS SecuredCount, CAST(Book.BookCount / Bill.BillCount AS Decimal) AS B2BRatio
FROM         Account AS A LEFT OUTER JOIN
                          (SELECT     AccountID, SUM(Amount) AS Amount, COUNT(1) AS SecuredCount
                            FROM          Opportunity
                            WHERE      (Result = 'S') AND (ResultDate >= ?) AND (ResultDate <= ?)
                            GROUP BY AccountID) AS O ON A.AccountID = O.AccountID LEFT OUTER JOIN
                          (SELECT     AccountID, COUNT(1) AS BookCount
                            FROM          Opportunity AS Opportunity_2
                            WHERE      (NOT (PONo IS NULL)) AND (ResultDate >= ?)
                            GROUP BY AccountID) AS Book ON A.AccountID = Book.AccountID LEFT OUTER JOIN
                          (SELECT     AccountID, COUNT(1) AS BillCount
                            FROM          Opportunity AS Opportunity_1
                            WHERE      (NOT (DONo IS NULL))
                            GROUP BY AccountID) AS Bill ON A.AccountID = Bill.AccountID

fkmfkm
Asp.Net User
Re: TableAdapter Configuration Wizard Error.8/19/2007 4:05:12 AM

0

sorry,

It works after i add the Parameters. Just that I forgot to add it when calling it.

 Actually I also have SP1 installed and I still get this error.

fkmfkm
Asp.Net User
Re: TableAdapter Configuration Wizard Error.8/22/2007 10:18:31 AM

0

Anyone knows why I am getting this error :

 

"The wizard detected the following problems when configuring the TableAdapter: "Account"

Details:

Generated SELECT statement.

   Syntax Error or access violation

8 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
MASTERING MICROSOFT VISUAL BASIC 2008 Authors: Evangelos Petroutsos, Pages: 1152, Published: 2008
PROFESSIONAL VISUAL BASIC 2008 Authors: Bill Evjen, Billy Hollis, Bill Sheldon, Kent Sharkey, Pages: 1460, Published: 2008
Foundations of WPF: An Introduction to Windows Presentation Foundation Authors: Laurence Moroney, Pages: 344, Published: 2006
Pro Visual Studio 2005 Team System Application Development Authors: Steve Shrimpton, Pages: 768, Published: 2006
PROFESSIONAL ASP.NET 3.5 IN C# AND VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1728, Published: 2008

Web:
TableAdapter Configuration Wizard The TableAdapter Configuration Wizard creates and edits TableAdapters. ... If the wizard encounters any problems, this page provides the error information. ...
How to: Start the TableAdapter Configuration Wizard The TableAdapter Configuration Wizard creates and edits TableAdapters in strongly typed datasets. The wizard creates TableAdapters based on SQL statements ...
TableAdapter Configuration Wizard I have a problem creating the connection in the TableAdapter Configuration Wizard for the insert procedure. Basically I cannot map the ...
MySQL :: Problem during tableadapter configuration wizard Apr 20, 2009 ... Steps leading to problem. Visual Studio 2005 . ASP.net (Tableadapter configuration wizard) 1) add tableadapter from folder AppCode ...
TableAdapter Configuration Wizard error - ASP.NET Forums I have a problem with the “TableAdapter Configuration Wizard”. Then I try to create a TabelAdaper, and the Stored Procedures is to be ...

TableAdapter Configuration Wizard - data_access.mysql Reload this Page TableAdapter Configuration Wizard. User Name, Remember Me? Password ... Dataset TableAdapter Configuration Wizard Error : tableadapter . ...
Like statement works from query builder but not from tableadapter ... However, when you re-configure (edit) the tableadapter, ... TableAdapter Update Error I followed the steps you suggested but I still got the ... The next screen presents the Table Adapter Query Configuration Wizard. ...
Microsoft.Data.Odbc.OdbcException: ERROR [42000] [MySQL][ODBC 3.51 ... At times it throws following error, and in the second attempt it starts working just .... tableadapter configuration wizard · get last inserted id issue ...
I dont get the "Configure the Select Statement" Window when ... The TableAdapter Configuration Wizard begins by prompting you to select which ... MSB3021 Copying error - ng.asp-net-forum.visual_studio_2005 setting free ...
ORA-12571: TNS:packet writer failure - data_access.oracle Please review the stack trace for more information about the error and where it originated in the code. ..... tableadapter configuration wizard with oracle ...






64bit debugging on 32bit windows xp os

localhost not configured to run behind a proxy

web deployment project - rename file

how to dynamically create a solution file

asp.net development server help - how to change the localhost?

show activex in design mode (asp)

intellisence for custom configuration section

new project vs. new web site (visual studio 2005 pro)

yukon and whidbey delayed again?

how to turn off text wrap

ctrl-c: add to toolbox??

webservice references in visual studio 2005

howto: specify a default file encoding for my project?

where is the option for enable the exception assistant?

where to get the patches for the visual studio.net 2005 beta ii

advice on project

how can i use iis in stead of the asp.net development server?

server side includes (ssi) using vs.net 2005 built-in development web server

web deployment projects and web.config file section replacement - does it work?

ascx in classdiagram

question on vs 2005

project wide #define

vs2005 - setup

launching multiple pages with the built in web server

connection to sql express from vs2005

cross solution debugging

custom build task logwarning - treat warnings as errors

vs2005 web site deployment may be a dealbreaker :(

related file nesting is annoying

typed dataset wizard: requested value 'properties' was not found.

   
  Privacy | Contact Us
All Times Are GMT