.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

VWD Express Doesn't step into the Business Layer Function

Posted By:      Posted Date: September 29, 2010    Points: 0   Category :ASP.Net


I have a solution that consists of some web projects and websites (seperate projects in one solution) When I run the main project and debug I want to step into a function that resides in another project as a business layer function and then step into another function in DAL project. I set breakpoints in both projects (DAL and BLL) but am not able to step into those functions!!!

What is the problem with vwd express, It should support such vital thing. 

View Complete Post

More Related Resource Links

connection to SQL Server files (*.mdf) require SQL server express 2005 to function properly.


I dont have the SQL EXPRESS installed instead I have SQL Standard Edition.

 I have two SQL Server instances installed.

 1- UserLT (this is sql 2000)
2- UserLT\SQL2005 (this is SQL 2005 named instance)

But when i try to add a database to my VS website project I get the following error:

Connection to SQL Server files (*.mdf) require SQL server express 2005 to function properly. please verify the installation of the component or download from the URL: go.microsoft.com/fwlink/?linkId=4925

I went in Tools>Opetions>DataBase tools>Data Connection>Sql Server Instance Name (blank for default)

and changed the "SQLEXPRESS" to "USERLT\SQL2005".

But I still get the same error message. Any ideas how i can resolve this issue?

Easy UI Testing: Isolate Your UI Code Before It Invades Your Business Layer


The User Interface Process Application Block (UIP) from the Microsoft Patterns & Practices team can help you isolate your UI, write unit tests for your UI logic, and write a UI that really is the thin layer it was always meant to be. Mark Seemann shows you how it's done in this article.

Mark Seemann

MSDN Magazine August 2005

is there any impact of using static methods in Business Access layer in 3 tier applciation


is there any impact of using static methods in Business Access layer in 3 tier applciation,

Please suggest me what are the best practices and standards

Building WCF appl in VS C# 2010 Express doesn't provide app.config when New Proj specified

Hey guys, I am trying to get my feet wet with the WCF environment. I was following a tutorial that wanted to alter the New Project Application that I tried to follow along with & when it came to making changes to the app.config file, it was nowhere to be found?! I tried a second time to start a new project using the WCF REST option and this time a rcv the following msg: **The project file 'J:\USER\TOMJ\APPDATA\LOCAL\TEMP\VC4TLPEZ.Y3X\TEMP\WCFRESTSERVICE4.CSPROJ' CANNOT BE OPENED. The project type is not supported by this installation. ??! ** IAm I missing something in my VS 2010 C# Express application? If so, someone please tell me how to resolve this problem.   Thanks in advance . . . TomJTom Johnson

WSS 3.0 Knowledge Base Template doesn't function properly after SharePoint 2010 migration

I migrated our WSS 3.0 instance to SharePoint 2010 in a dev environment.  So far, everything works with the exception of the most heavily utilized portion of our WSS 3.0 installation – which is a "Knowledge Base" sub-site utilizing the following features:   Knowledge Base List Instances: List Instances for the Knowledge Base Application Template Knowledge Base Modules: Modules for the Knowledge Base Application Template Knowledge Base Provisioning Handler   Link to Knowledge Base Template http://www.microsoft.com/downloads/details.aspx?FamilyId=BC4E5C4E-FBBB-4666-8E32-C4CEE09E1FE6&displaylang=en   Two issues exist with the Knowledge Base after migrating.   1.       The “Write new Article” feature which uses a content type called “Wiki Knowledge Base Article” use to open a “New Wiki Page” that provided the all of the associated fields specified in the List Content type settings.  Upon creating the new Wiki Page (i.e. Knowledge base article) it would associate it with the “Knowledge Base” document library.  The “Write new Article” feature now fails to utilize / recognize the Content Type settings and instead create a blank New Page without any fields except for “New page name:” and also creates a “Site Pages&

How do i pass my datacontract into my business layer without a circular reference????

Ok, this architecture is fairly new to me, so I need a few good pointers.  I've searched the topic, but still don't have a clear understanding on what I'm missing.   I have a presentation layer, which displays my data and forms. I have a WCF service, a business layer and a dataAccess Layer I am trying to read data from on OLD!! foxpro .dbf file.  I've read all the articles on why not pass Datasets, etc so I'm trying to learn how to pass data contracts.  I have the following in my WCF [ServiceContract] public interface IService1 { [OperationContract] void SaveNDFData(string storedprocedure, ndfContractLibrary.NDFDataParam[] ndfData); <strong>[OperationContract] List<ndfContractLibrary.NDFDRawData> getRawNDFD();</strong> } I have a separate library for my dataContracts as i know later I will have several.  I'm using this as a generic List<> [Serializable] [DataContract] public class NDFDRawData { private int batchNumber; [DataMember] public int BatchNumber { get { return batchNumber; } set { batchNumber = value; } } private int sampleNumber; [DataMember] public int SampleNumber { get { return sampleNumber; } set { sampleNumber = value; } } private decimal invitroHour; [Da

Function doesn't get hited after Success Liberty Reserve Deposit

Hei Everyone..Im having a problem in my application . I have a simple link to get redirect to a Liberty Reserve Merchant and the flow is after the success of the deposit in the LR, it supposed to come back in my asp code and save some details in the Database.I dont have a problem with the deposit in the LR but it doesnt continue the flow. I dont understand why. Here is my sample code ( VB.net) code behind in the button Response.Redirect("https://sci.libertyreserve.com/?lr_acc=U4667045&lr_amnt=10.55&lr_currency=LRUSD") SaveIntoDb()my function SaveIntoDB() is working properly but I dont know why after the response.redirect, it doesnt not Hit the function SaveintoDB()Thank you

How to enable SSIS functions from MS SQL Server R2 Express Business Intelligence Studio Express


My MS SQL Server R2 Business Intelligence Studio Express can not support SSIS functions after I install MS SQL Server Full Evaluation instance and the SSIS service is running well on my Window 7 professional laptop. Is there anyway to enable the SSIS functionalities from the original Business Intelligence Studio Express? Thanks for your help.




VB code behind the Business Logic Layer ???


Hello. I was hoping for some general help and comments.

I went through a lot of the ASP.Net Web Forms Tutorials.

I also went though the whole "ASP.Net in 24 Hours" book by Scott Mictchell. I followed everything that went on in that book and built the final project successfully. I also used the tutorials here to better understand the whole Membership Provider/User tables setup that was going on in the book.

Next, I thought I would learn more about accessing data for ASP.Net since that is what most application do.

I went through the first Data Tutorial here. I seemed to understand what was going on just fine.

The second Data Tutorial seemed to just show a lot of VB code to build the Business Logic Layer. There was not much explanation about how to do it yourself.

I think I can keep going in the tutorials here. I downloaded the code from the second tutorial and went through it.I am guessing that the code in the second tutorial was given just to proceed with the overall project that is being built throughout the tutorial sequence.

I just wish I understood what is going on in those long lists of VB code. I can see some of what is going on. I don't know VB very well at all. So, what is the next step?

I have started working through a VB book. Will learning VB help me understand the code in that tu

connection to SQL Server files (*.mdf) require SQL server express 2005 to function properly



i've installed SQL server 2005 express and Visual web developper 2005 express.

when i whant to create a database in VWD the following error occures:

connection to SQL Server files (*.mdf) require SQL server express 2005 to function properly. please verify the installation of the component or download from the URL: go.microsoft.com/fwlink/?linkId=49251

i searched the internet but can't find the solution, i already reinstalled my complete workstation but the problem stays.

please help!

copy/y doesn't work in SQL Agent job step


I added some very simple copy file steps to a job.

I wanted to give them the ability to copy over an existing file, so tried to use the copy/y switch.  When I do this the job fails with a message:

Executed as user: MYCORP\XYZ. 
The process could not be created for step 1 of job 0xA7AC060B3A9B9443A42F68DCBD74EC07 
(reason: The system cannot find the file specified). 
The step failed.

Wassup with that?




Exposing business layer classes in the service (a lot of classes, all one-to-one with the service)


So I have a lot of classes in my business layer which may change over time and  I'd like to expose them in the service layer with as little work as possible. Exposing manually isn't something I want to do because every business class will have all of its properties exposed, meaning I'd be coding the same thing twice (and there are a lot of classes).

I saw an MSDN video where it was suggested writing a helper class but they didn't really delve in to how it would work.

Has anyone got any idea of how to go about this?

Many thanks,


SQL Server 2005 Express ODBC connection error with Windows Vista Business

I have a SQL Server 2005 Express Edition installed on a Windows Server 2003 domain machine. When I do a connection with a client running Windows XP through the SQL 2008 ODBC driver I have no problem.  The problem is when I try to establish a connection using a client running Windows Vista Business Edition which is a member of the domain. Please help me to solve this issue.

Thanks in advance
Danilo Bucheli Sánchez

How much web layer input (ex. GridView DataKeys) should be validated in the business layer?


Back in the day when we were mostly submitting forms from one page to another we used to have to validate all post parameters to make sure that the ids somehow belonged to the user that was currently logged in.  After all you didn't want a "hacker" to be able to pull someone else's information.  In modern ASP.NET application in a situation where a lot of these keys are part of server controls (ex DataKeys of GridView) and is stored in ViewState which is supposedly stamped with a hash that gets validated on every post back, does anyone still validate that the key that was retrieved in fact belongs to the user?

I currently do, my business layer methods tend to take an instance of a "profile" object that is maintained in session for each user, the profile contains all basic information including the company etc. that the user is associated with.  Having the profile in every business method I can validate that any piece of information requested by the web layer from the business layer does in fact belong to the user requesting it.  Another thought is that the library (business layer) can also be reused outside of ASP.NET where perhaps the input would not be as secure.  I am wondering if all of this is overkill as all of my basic GetSomething() methods tend to have extra trips to the database to make sure that an ID

Server.MapPath dont have access to web all calls made in business layer


Hi Guys,

I'm trying to find a way to map a path to a pdf object in my business layer.. im using nop commerce and their messagemanager class is in the business layer and all calls to email queuing and the like are done in the business layer..

i would love to know if there's a way to do it without having the ability to pass the path in from the web layer..

my backup plan is an appsetting in web.config.. but hoped it wouldn't come to that?!

Using Dynamic Data against Business Layer



Has anyone successfully used Dynamic Data against their business object.  I found a snipet of code that used Microsoft.Web.DynamicData from the Dynamic Data Futures sample project to bind to an object called AggregateData but importing the assembly causes ambigous references amoung other errors.

Also I have a Repository model (ProductManager in my case) that performs all the CRUD with business logic against the Entity Framework.  I would like to use my ProductManager object directly with the Dynamic Data rather than using the ObjectContext directly.  The sample shows an example of using the DynamicObjectDataSource which references the business object.  

My primary question is how can I accomplish this using the latest version of Dynamic Data from DynamicDataPreview4.  Does anyone have a sample connecting to a business object via the normal ObjectDataSource included with VS 2008 SP1. 


Datalength function doesn't act as expected?...


We have a large table which contains a varbinbary(max) column.  When I run the "Disk Usage by Top Tables" report, it shows that this table uses about 290 GB of data.  However, when I sum the datalength for each of the columns in that table, I get a total of 251 GB.

Why the difference in totals?  I thought datalength() gave the size of the field in bytes, therefore I should be able to sum those bytes, convert them to gigabytes, then compare to the report...

Any help will be greatly appreciated.  Thanks!

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend