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_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 5/24/2007 3:15:46 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 12 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
cybercrypt15
Asp.Net User
Accessing DAL object5/24/2007 3:15:46 AM

0/0

I have a c# class libary that I wrote to help me access my data but am unable to get any break points to work in the dll when its called from a webpage.  Is this a problem with VS or something else going on that would prevent this from working?

 

Thanks,

glenn

rbanks54
Asp.Net User
Re: Accessing DAL object5/24/2007 4:06:56 AM

0/0

I'll assume you've compiled it in debug mode :-)

To debug a .DLL being called from an external web page (ie not a project in the same solution) you need to attach to the IIS process.  In the debug menu, select attach to process and choose the IIS process.

Your code should stop when you hit the breakpoint in the .DLL. 


- Richard
cybercrypt15
Asp.Net User
Re: Accessing DAL object5/24/2007 4:56:29 AM

0/0

It is compiled with debug information.  And its part of the solution and I thought it was therefore handled by the debugger when it runs.  You are saying that even though its part of the web solution I need to attach it to IIS?  I am running through VS2005 so its not even using IIS to run...

Thanks,

glenn

rbanks54
Asp.Net User
Re: Accessing DAL object5/24/2007 5:47:21 AM

0/0

More information always helps :-)  No, no need to attach to IIS if you run from within the VS web server.

When you linked up the references between the web app and the dll, did you use link to the dll or the project file?   For the debugging to work nicely you should link between projects within the same solution.


- Richard
cybercrypt15
Asp.Net User
Re: Accessing DAL object5/24/2007 1:55:08 PM

0/0

Yes that is what I did.  I believe something else because other dll's are debugging just fine. I'm trying to use the SubSonic library stuff and its just not working the way they claim so I'm just dumping it and moving on to trying to find some other way to deal with the DAL and the Business Layer.  It appears that the only way Microsoft has given us to deal with it is for me to hand write 300 different layers to cover each table and its business logic manually.  I can't believe no one has requested that they do something a little differently with this stuff.

 Here's a thought:  A before post event on a data grid:  Bad Idea... A before post event on the dataset itself... Ahh, a good one!

Thanks anyway,

glenn

dbland07666
Asp.Net User
Re: Accessing DAL object5/24/2007 6:51:11 PM

0/0

I've had this problem.  My solution is to put a break point at the line that calls the DLL, then step into the DLL, then you can F5 right to the break point in your DLL


- David

Please click "Mark as Answer" on all posts that help you.
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Practical Java: Programming Language Guide Authors: Peter Haggar, Pages: 279, Published: 2000
Information Technology Encyclopedia and Acronyms: A Comprehensive Acronym Dictionary and Illustrated Encyclopedia Authors: Ejub Kajan, Pages: 684, Published: 2002
ASP.NET AJAX Programming Tricks Authors: Matthew David Ellis, Matthew Ellis, Pages: 388, Published: 2007
Expert F# Authors: Don Syme, Adam Granicz, Antonio Cisternino, Pages: 609, Published: 2007
Types for Proofs and Programs: International Workshop, TYPES 2002, Berg en Dal, the Netherlands, April 24-28, 2002 : Selected Papers Authors: Herman Geuvers, Freek Wiedijk, Pages: 330, Published: 2002

Web:
Data access layer - Wikipedia, the free encyclopedia A data access layer (DAL) is a layer of a computer program which provides ... For example, the DAL might return a reference to an object (in terms of ...
Business Object DAL design - Stack Overflow He creates a very elegant DAL using generic DataAccessObjects which you can ... Do you like writing your own Data Access Layer and Business Object Layer? ...
.Net Data Access Layer (DAL) For Microsoft Access Databases - Part 2 Demonstrates how to create a component for a data access layer (DAL) for ... the application DAL object's AjaxDataService DataSet as a data source and ...
Designing a Data Access Layer (DAL) with remoting in mind access layer for this system and it is more than likely that the data ... DataReader object if my DAL is going to be on a seperate machine ...
Object-Relational Mapping - Taking the Horror Out of Data Access I will show you two different code snippets, the first using an (un-typed) dataset and the second accessing the persistent objects in the O/R DAL (using the ...
Using the Data Access Object Design (DAO) Pattern to Build a Data ... Using the Data Access Object Design (DAO) Pattern to Build a Data Access Layer ( DAL). Business applications almost always need access to data from ...
Build a Universal DAL Component A DAL component that you could use against an Access 2000 database in development, ... It is because of this object-oriented framework that you can build a ...
Data Access Layer (DAL) For MS Access Databases - Part 5 Dec 29, 2006 ... Data Access Layer (DAL) For MS Access Databases - Part 5 ... To bind tables from the DAL object which is declared and instantiated in the ...
Data Access Layer - how to return from DAL to Business Object ... This is a code behind page for a web application that uploads a .csv file and imports into the SQL database server with the help of a stored procedure(code ...
design:data_access_object_pattern_more_widgets [phpPatterns] The Data Access Object pattern provides a useful way to abstract data fetching ... Now we have an idea why we might want to use the Data Access Object ...

Videos:
SQL Object Coder Evidence and statistics show a large portion of a project's budget is dedicated to maintenance, debugging, and generation of database related code (a...
SQL Object Coder - Type Safe SQL Sometimes you need to have a specific set of Employees, not necessarily all of them. Additionally, why have to worry about the database schema when y...
SQL Object Coder - Synchronization Support (Changes) Sometimes decisions always occur where database changes are required. SQL Object Coder addresses this by automatically recognizing the changes and s...
SQL Object Coder - Synchronization Support (Additions) During the design of any product or even during development, decisions always occur where database additions are required to accommodate new tables o...
www.moldytoaster.com I was not consulted with reference to any difference of opinion between the civil and military powers, such as seems to have called for the expressio...




Search This Site:










how to run installutil on the hosting environment?

ie7 and visual studio

beginner question re forms based authentication

referencing placeholder control

iis not compiling new c# code

what is the largest known dnn site?

menu control & flash swf in firefox

why does asp.net 2.0 keep generating an aspnetdb.mdf when i'm trying to use my own provider?

listbox validation

edit item don't show on context menu

href from portal to store(commerce kit) using parameter?

stopping user to proceed

communication master <==> page

database problem with dnn

quotes inside quotes?

how do you use a master page??

generting wizard steps on demand

problem with asp.net 2.0 and web matrix auto format link with a datagrid

"covert code-behind classes to partial classes" option not available in menu

inserting checkboxlist into datalist items

between module and pain-borders there is always a gap...

themes and css

validation - how to validate if only press submit

vb script

multiple hostheaders in shared hosting

moved dnn (site pages & sql database) tabs ok, modules not happy :..(

any help with dbnull when upgrading

authentication while accessing webpages from different webapplications

why is the control rendering a property as an attribute?

images not showing during run time

 
All Times Are GMT