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

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

Break Point Issue in Visual Studio .Net

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :ASP.Net
In my asp.net application , break point is not working in one application . but i created one sample application there itself its working properly. I dont  know waht is the reason the break point doesnt not working in my one application.  The application is running on local iis and i created the vertual directory also. I checked with Debug menu attach process. But still the problem is not solved. and also i un install the visual studio.net and visual source safe also.  Again the problem came with break point issue. So anybody kindly help to solve this issue. Last two days i am spending my time to solve this problem. So send the solution as an urgent  Note :           I can set the Break Point. But while i am  running the application, the control will not come to that break point. and the break point show with one error warning symbal also.   Please give me some tips to solve this one with step by step send mail to muji85a@hotmail.com

View Complete Post

More Related Resource Links

Compilation issue with Visual Studio 2008 ...

Hi ,Every time i make a code change using VS2008 , in order for it to take effect i have to delete the  files in the "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" directory and then hit F5 .Any ideas why i cant just make the code change and hit F5 ? not sure what has changed .ThanksRobby

Strange lockup in multithreaded application - Visual Studio debugger unable to break execution

Multithreaded C# application, Visual Studio 2008, Windows XP, Framework 3.5 SP1. This application is a little crawling utility to download pages from our website, extract some information and upload it into a database. It runs for a while, then somewhere between about 10 minutes and an hour in, it locks up totally, user interface and all. When I try to "break all" in the VS debugger, I get a message "cannot break execution". Now the confusing thing about this is that since the UI was locking up, I thought that some deadlock must be happening on the main UI thread. So I started stripping out any code and locks that were being acquired on that thread that might cause problems ... until there was nothing left. Even with the window simply spawning a bunch of worker threads on create, then totally forgetting about them and giving no reverse access, the lockup still happens, the UI still freezes and VS still can't break the execution.   There are 10 threads to do the crawling, and one each to do the processing and the uploading. The next thing I did was take out the uploading entirely to remove the possiblity of a deadlock in the SqlClient libraries. No difference. So now, the only things that could be really deadlocking the main thread that I can see are the centrally created HTTPWebRequest objects I'm using. WebRequest.create is supposedly thread safe

Panel Layout and Visual Studio issue - what is recommended path?



I am working with .NET 3.5 (VS 2008). In one of my tabs, I have added two panels. Each panel takes up the whole tab area (dock=full).  At any one time only one panel is visible. Depending on what the user does, one panel will be hidden while the other is visible.  My problem is that when I am in Visual Studio in the design mode, I can only see the panel that was added last.  The first panel is below that, so I can't work with the panel to add other components (buttons, labels, ect).  I tried to right-click the top panel and select "Send to back" but that does not make the bottom panel visible.  The only thing I can do is undock the top panel and move it to the side while I work on the underneath panel.

Does anyone know of a better way to access the underneath panel in design mode or if there is a more appropriate way to create stacked panels (think deck of cards).

Any thoughts would be greatly appreciated - Peter

SSRS 2008 formatting issue - different in visual studio preview/pdf/excel vs. internet explorer


The formatting of the report is perfect when viewed in Visual studio and also after exporting it to pdf or excel. But when I deployed my solution and opened it on IE/Firefox there is a lot of problem in formatting. Specifically the row height is giving me a problem. I manually entered them to be 0.1in and made the CanGrow field as false to force that row height but some rows in the tablix expand ( to 0.15in, which is the height of my header). This is true for a matrix as well. Is there is a feature to lock the row height in IE o any other web browser?


Visual Studio 2010 Issue

Hi All,
I installed VS 2010 on my Win XP SP3 machine and tried the following.
1. Created a C# Dll project
2. Compiled and it works fine
3. Added a resx file to the project and added a few images to it
4. Compiled and now it gives the following error:
Looks like this is a CAS policy error and I tried the following:
1. Added the following to devenv.exe.config, Machine.config

2. Added the following under the first property group in the Project file.

But still no help.
Is it problem with my VS installation?
I already repaired it once.

Please update if you have a solution..


--------------------------Compile Error-----------------------------
The "GenerateResource" task failed unexpectedly.
System.InvalidOperationException: The security state of an AppDomain was modified by an AppDomainManager configured with the NoSecurityChanges flag.
   at System.AppDomain.SetupDomainSecurity(AppDomainHandle appDomain, ObjectHandleOnStack appDomainEvidence, IntPtr creatorsSecurityDescriptor, Boolean publishAppDomain)
   at System.AppDomain.InitializeDomain

Issue while creating a BCS entity in visual studio for SQL stored procedures


Hi Everyone,

                  I have an issue while creating an entity in Visual studio for SQL stored procedures.I have two input parameters startdate and enddate as datetime datatypes in the stored procedures.I have added two input parameters startdate and enddate in the Readlist and ReadItem methods and created two filter descriptors startdate and enddate of "comparison" type and related these to their respective input parameters.

                 In my readlist and readitem methods I have used LINQ TO SQL query to query the SP.When I debug the program,I am receiving an error message-->remote procedure cannot be debugged.Also my parameters are not being passed to the SP.Any help is appreciated..also if any one has step by step approach,that helps me a lot.

CLR Deployment issue sql server 2008 r2 visual studio 2010



 i am getting the following error while deploying the clr project converted frm vs2008 to vs2010. Please help me


Compile complete -- 0 errors, 24 warnings

Bloomberg_WSDL -> D:\Projects\STP\Development\BBG-WSDL\SS-BBG-WSDL\bin\Release\Bloomberg_WSDL.dll

------ Deploy started: Project: Bloomberg_WSDL, Configuration: Release Any CPU ------

Build started 11/22/2010 7:07:50 PM.


Beginning deployment of assembly Bloomberg_WSDL.dll to server : stpQA01

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.SqlClr.targets(96,5): error : Could not connect to server stpQA01 : Login failed for user 'stpuser'.


Time Elapsed 00:00:00.07

========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========


Deployment issue using SQL CLR, visual studio TFS GDR 2, SQL Server 2005.


I have a solution project that consists of database project, CLR database project, C# projects. The database project references the CLR database project. Thus, by clicking deploy on the database project will auto-deploy all projects under the solution. It is successfully depolyed locally to either SQL Server 2005/2008 wihtout TFS GDR 2.

However, in addition to those compoments, on the staging server, there are TFS GDR 2 and the Windows Server running on virtual machine. The deployment failed. The reason is that my custom SQL CLR assembly that is loaded into database requires other additonal assemblies. Those assemblies have a dependent hierarchy, which requires deletion in a certain sequence (e.g. assemblyA depends on assemblyB, thus, assemblyB must be deleted from database first before deleting assemblyA.). When the deployment happens on the staging server, the generated database tsql script try to delete those assemblies, but in a wrong way/sequence. That is the reason it failed. As I said, it is working locally. But local deployment has no TFS GDR2 and virtual machine server, which might or might not be the cause. Because the auto-generated database script is done via visual studio.

I have tried using the pre/post deployment script, but it still failed on staging server.  We want to auto-deploy the solution for staging and production server.

ASP.NET 4 and Visual Studio 2010 Web Development Beta 2 Overview

Many exciting changes for ASP.NET are coming in the .NET Framework version 4. This document gives an overview of many of the new features that are included in the Beta 2 release of the .NET Framework 4 and of Visual Studio 2010.

Visual Studio 2010 Beta 2

This is a big deal. This isn't ".NET 3.6" - there are a lot of improvements of .NET 4, and it's not just "pile on a bunch of features so you get overwhelmed." I've been working with and talking to many of the teams involved and even though it's a cheesy thing to say, this is a really customer-focused release.

ASP 4 - Whirlwind Tour around .NET 4 (and Visual Studio 2010) Beta 1

There's a lot of stuff that's new and added in .NET 4, but not in that "overwhelming-I-need-to-relearn-everything" way. More in that, "oh, this is way easier/simpler now" way. Like, moving data around with ADO.NET DataServices is easy, binding with client templates is easy, there's F# if you need it, the "dynamic" keyword if you need it, Silverlight's already installed, oh, and the parallel stuff will freak you out, but in a good way.

Short Overview of SharePoint Features in Visual Studio 2010

As you probably know, Visual Studio 2010 was announced earlier this week and it contains a lot of cool features and project templates for SharePoint developers. Below is a short overview for some of the SharePoint development related features and project templates.

Visual Studio Add-In for Web Parts Generation

This article will introduce you to a new Visual Studio 2005/2008 add-in that can be used for Web Parts generation based on a prepared ASCX control/template. The add-in should allow Web Part developers to easily make Web Parts using the Visual Studio HTML designer. It should save you a lot of time and make Web Part development an enjoying experience even for beginners.

This article is written in the form of a step-by-step tutorial. It will give beginners a chance to successfully make, deploy, and try their first Web Parts, and will save some time for advanced users as you can always run into challenges when working with SharePoint.

Code spelling checker extension for visual studio 2010

Building a spelling checker for source code as an extension for visual studio 2010.

Download and Share Visual Studio Color Schemes

The good news is that Visual Studio allows you to completely customize the editor background and text colors to whatever you want - allowing you to tweak them to create the experience that is "just right" for your eyes and personality. You can then optionally export/import your color scheme preferences to an XML file via the Tools->Import and Export Settings menu command.

Visual Studio Shortcut Keys

The following tables describe the shortcut keys in the Microsoft Dynamics AX Debugger.

how to set break point at inline code

I set the element height value by using inline code 
<%# Eval("s") %>
where "s" is the variable declared in page load event. when i run the application it don't set the height. 
Is there any way, i can set break point into .aspx file. i mean how i can check if my Eval("s") get the value.  
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