CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2005_express Tags:
Item Type: NewsGroup Date Entered: 6/30/2004 5:58:55 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 10 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
11 Items, 1 Pages 1 |< << Go >> >|
protecweb
Asp.Net User
Datasource config wizard cant find business object?6/30/2004 5:58:55 PM

0/0

This part of the guide:
http://beta.asp.net/GuidedTour/s13.aspx

tells you to insert an ObjectDataSource which should then list the DataAccess class in the business objects dropdown. However, it is refusing to list the class for me.
I built the class by copying and pasting it from the guide.

Has anyone else got this working ?
Thanks.
timlshu
Asp.Net User
Re: Datasource config wizard cant find business object?7/9/2004 11:25:23 PM

0/0

I ran into the same problem.
I am using the C# code instead of the vb code.
It appears that the problem is that the code supplied is wrong. When you try to build the site, you get an error stating:
Cannot implicitly convert type 'System.Data.CommandType' to 'string C:\WebSites\Authors\Code\AccessData.cs

Unfortunatly, I am a newbie at programing, so I have no idea how to fix the problem.

What I did to "fix" the problem was to create the webpage using vb. This will create further problems because you can't mix code types.
Fredrik N
Asp.Net User
Re: Datasource config wizard cant find business object?7/9/2004 11:36:23 PM

0/0

I run into the same problem but with my own class. There was an error in my class, so what I did was to fix the problem and run the code so the runtime compile the class in my \Code folder (only to be sure that everything works fine). After that I could see my class.
/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
dot newbie
Asp.Net User
Re: Datasource config wizard cant find business object?7/10/2004 12:46:53 AM

0/0

Not sure if any one else is still experiencing the problem, but I found in the C# Code the line

command.CommandText = CommandType.Text; (line 18 and 40)

should really read

command.CommandType = CommandType.Text;

after that fix, I could see the objects in the dropdown.

vintious
Asp.Net User
Re: Datasource config wizard cant find business object?7/10/2004 6:57:12 PM

0/0

You won't be able to see the objects unless they can compile. :D

Someone should update those Quickstarts.
bgold
Asp.Net User
Re: Datasource config wizard cant find business object?7/12/2004 5:15:48 PM

0/0

Is this something in the Guided Tour or the Quickstarts? Can you point me to the exact page the problem is on? We'll get it fixed once we know.

Thanks,
Brian

---------------------------
Brian Goldfarb [MS]
Group Product Manager
UX Platform and Tools Strategy
guitboxgeek
Asp.Net User
Re: Datasource config wizard cant find business object?10/12/2004 8:49:46 PM

0/0

The C# file available for download is wrong: http://beta.asp.net/GuidedTour/s11.aspx

Which means the step provided at this link won't work correctly:
http://beta.asp.net/GuidedTour/s13.aspx
mojomoto
Asp.Net User
Re: Datasource config wizard cant find business object?11/8/2004 12:41:17 AM

0/0

Line 45 in the VB version of the DataAccess.vb file is wrong.

command.Parameters.Add(New SqlParameter("@original_id", SqlDbType.VarChar, 11)).Value = original_au_id

should be...

command.Parameters.Add(New SqlParameter("@original_id", SqlDbType.VarChar, 11)).Value = au_id

Once you correct that and build the web site then the ObjectDataSource will see the DataAccess object.
merthyrmike
Asp.Net User
Re: Datasource config wizard cant find business object?1/9/2005 12:17:29 PM

0/0

Thanks, MojoMoto
I was getting the same problem and couldn't solve it. Hopefully I can now carry on with the tour. Thanks again.
Best regards
merthyrmike
westdh
Asp.Net User
Re: Datasource config wizard cant find business object?1/9/2005 6:18:52 PM

0/0

We should have an online Readme where we could post a list of fixes for source code.
The Readme would always appear at the top of the Forum. For each Forum that provides source.
Wynnders
Asp.Net User
Re: Datasource config wizard cant find business object?1/11/2005 5:25:33 PM

0/0

I ran into this problem today and I just downloaded the file about an hour ago. Usually something like this takes HOURS to pin down and resolve. I got REAL lucky this time. When I logged on to the forum it was only a little ways down the list so I didn't have to search all over creation. Thanks to the person who found the error in the code and then POSTED THE ANSWER here. Bless you. Bless you. Bless you!
11 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Microsoft SQL Server 2005 Analysis Services Authors: Irina Gorbach, Edward Melomed, Alexander Berger, Py Bateman, Pages: 842, Published: 2006
Programming Visual Basic 2008: Build . Net 3. 5 Applications with Microsoft's Rad Tool for Business Authors: Tim Patrick, Pages: 780, Published: 2008
Beginning ASP.NET 2.0 E-commerce in C# 2005: From Novice to Professional Authors: Cristian Darie, Karli Watson, Pages: 681, Published: 2005
Special Edition Using Crystal Enterprise 8.5 Authors: Steve Lucas, Roger Sanborn, Pages: 656, Published: 2002
ASP.NET 2.0 Instant Results Authors: Imar Spaanjaars, Paul Wilton, Shawn Livermore, Pages: 456, Published: 2006
MCITP SQL Server 2005 Database Developer All-in-One Exam Guide (Exams 70-431, 70-441 & 70-442): Exams 70-431, 70-441, and 70-442 Authors: Darril Gibson, Pages: 903, Published: 2008
Applied Microsoft Analysis Services 2005: And Microsoft Business Intelligence Platform Authors: Teo Lachev, Pages: 712, Published: 2005
Pro VS 2005 Reporting Using SQL Server and Crystal Reports Authors: Kevin S. Goff, Rod Paddock, Pages: 498, Published: 2006

Web:
Datasource config wizard cant find business object? - ASP.NET Forums Datasource config wizard cant find business object? Last post 01-11-2005 12:31 PM by wynnders. 10 replies. Sort Posts: ...
Datasource config wizard cant find business object? - ASP.NET Forums Re: Datasource config wizard cant find business object? 07-09-2004, 7:25 PM ... Re: Datasource config wizard cant find business object? 07-09-2004, 7:36 PM ...
Data source configuration wizard, object is not appearing ... I am trying to define a new object into my datasource wizard. But the wizard cannot see it. I checked the msdn requirements and they state that only a ...
Starting the ODA After configuration properties are updated, Business Object Wizard writes them to ... If the ODA cannot open a connection, the init() method must throw an ...
Aviad's Blog: Data Binding of Business Objects in Visual Studio ... Jun 7, 2008 ... Focusing on design time binding of business objects, much needed ... This is done using the 'Data Source Configuration Wizard' (from the ...
CodeProject: Populating custom business objects by binding ... A complete article on how to populate custom business objects using a common ... Select TypeName and SelectMethod from the data source configuration wizard. ...
Walkthrough: Creating a Web Application Using a Third-Party ... Click Finish to exit the DataAdapter Configuration Wizard and connect your data source to the titles table. The following objects are added to the Component ...
Can't add datasources to connect to my ingres database : The ... During the DataSet configuration wizard we get the following error ... use LINQ to DataSet to convert the DataSet to your business objects. ...
Defining Report Data Sources Otherwise use the Data Source Configuration Wizard (from the menu choose Data > Add ... The .vb or .cs source code of business objects you want to use in a ...
Datasource configuration problem with WSAD 5.1.2 and OracleOCICo I was setting the properties User and Password on datasource.This was the reason I had the error "The system cannot find the property Password on class ...




Search This Site:










simple internal site search engine

core blog search not working in dnn4

print margin problem. . .

module size

capture last error on a custom error page?

master pages according to rolegroups

asp.net security across servers

how can i call a page that uses only code or activate code directly from a menu click event ?

system.security.securityexception... publickeytoken=b77a5c561934e089 failed (forms authentication problem?)

a couple of beta 2 questions

webhost4life site stats issues

some queries

do you use the designer?

image can't be displayed in mozilla firefox

vs net property window functionality w/ user created controls?

sandy:how to call a java script function in .aspx

load testing an asp.net 2.0 application

customizing catalog zone

interop "access denied"

multi language with themes

asp.net (portal specs- urgent)

dinked my profiles - settingspropertynotfound: street

put the check in the checkbox

remote login problems

i need help with password security.

reinstall core module

asp:createuserwizard debugging?

server.mappath to network share?

type conversion problem - generic list

dnn on ensim control panel

 
All Times Are GMT