Latest developer linksBookmark and Share
 
HomeThis WeekTop MonthTop AlltimeSearchRegisterFAQ
  
 
Submit Your Link
Please login to submit your Link
 

Visual Studio 2005 won''t enter debug mode.

Posted: Dec/14/2010   By: nikhil   Points:15   Category: .NET  - ASP.Net    Views:171   Vote Up (0)   Vote Down (0)    

Hi,

I am developing asp.net 2.0 using c# and when I place a break point on a line of code and hit f5 or "start debugging" it just brings up the website without stopping at the breakpoint.

 It is set for debug not release and I don't know what else to do? Does anyone have any suggestions?

 

Thanks

View Complete Post


Comments:
Be the first to comment this post.
 
Post Comment
Please login to post your comment
More Related Resources

visual studio 2010 problem

  

Hi all, 

I tried to do a simple application using ajaxcontroltoolkit.  in the beggining I used a textbox with an autocomplete control and it was working.but when i wanted to use it in another application it didn't work. then I tried to create exactly  the first application  in another project I had the same problem.the autocomplete extender didn' work anymore. I think there is a problem of visual studio 2010 settings, since i have 2 projects with the same files, same code in the files but one of the project run corectly and the other not.


help please.


Setting IE8's Browser Mode

  

First of all, just to make sure we're all on the same page, I'm talking about the Browser Mode (the thing that controls the user agent string), not the Document Mode (the thing that picks which rendering engine to use).

With that out of the way, how do I set IE8's Browser Mode? Even with X-UA-Compatible set to "IE=edge" (which correctly sets the Document Mode to IE8 Standards), Developer Tools is reporting that the Browser Mode is "IE8 Compat View" (which returns an IE7 UA), rather than "IE8". I don't do any browser sniffing at present, but this could be a problem if I ever need to do so in the future.


Can't Debug Website Locally

  

Novice here.

Recently got a new (used) machine and had to reinstall VS 2008 - may or may not be related. Yesterday, I opened an existing website via Source Control. I can check files in and out and make edits, but when I try to debug locally, I get a list of errors, starting with:

"Could not load file or assembly 'System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."

Everyone else working on this website is able to deploy it locally. Also, if I create a new website, I can debug just fine, and I used to be able to edit and debug other sites. Everything I've found by Googling this error so far has to do with MVC projects, and suggests changing the webconfig or other files. Since other people can run this, it seems it must be a problem with my software, not the code.

Any ideas?


Visual Studio 2010 Upgrade broke all controls in design

  

I have recently upgraded from VS 2008 to VS 2010 and the conversion process completed successfully.  However, when viewing my design view for all aspx pages, any control i had in there is displayed with the message "Error Creating Control - Object Reference not set to instance of an Object".  If i even attempt to create a simple new button or textbox from the toolbox, the control automatically comes back with that error.  However, in runtime, my controls are all displayed and functioning correctly.

I have seen some posts regarding session state and checking that Context is not null in the OnInIt override method, but I am no using any OnInIt override methods in any of my code behinds.  It pretty standard with usually only page loads.

This is creating a tough time developing because it is not using intellisense when i am looking for events and other actions on the controls.  Also, Javascript does not appear to be functioning the same  since it doesnt seem to be using the FindControl method correctly (Probably because the page is building out the control).

This is very frustrating and i've spent two days on this, so any help would be appreciated.

Thanks! 


unrecognized tag prefix or device filter Error in visual studio 2005

  

I am building master page in visual studio 2005 and I have placed contentplaceholder into between <head> and </head> tag of master page, but in source view of visual studio 2005, I am getting error that says "unrecognized tag prefix or device filter

 

how do i get rid of this error or is this bug in visual studio 2005

thank you

maxmax


Visual Studio Error

  

Hi all,

I'm using Microsoft Visual Studio 2005, version 2.0.50727

When ever I open files based on ado.net i.e, interaction of backend and frontend, or crystal reports I get this following error:

 

Could not load file or assembly 'CustomMarshalers',Version=*.*.*.*,Culture=******, PublicKeyToken="***************' or one of its dependencies. The system cannot find the path specified. "

 

I got this error recently.I dont know how to solve it.Plz help asap..

 

Thanks in advance..


Visual Studio 2010 Hangs in Designer, Memory Usage Grows

  

After switching to the web designer, VS2010 sometimes hangs. If I look at the Resource Monitor, I see that devenv.exe is consuming 50% of the CPU (on a dual-core machine), and its memory usage keeps slowly growing. Since VS is unresponsive, I end up killing the devenv process and restarting VS.

The problem occurs about 1-3 times a day. I have not found a way to specifically reproduce the problem, but it appears to happen most on complex web pages that include UserControls. All pages in this project also use Master pages, if that helps.

Since upgrading from VS2008 to VS2010, I've noticed a number of odd problems. This one actually forces me to kill the devenv process and restart VS2010, and so is particularly disruptive. I did not have any similar problems under VS2008.

Environment:

Windows 7 Pro 64-bit, under Parallels Desktop 5, running under Mac OS X 10.6.5

Visual Studio 2010 Pro, version 10.0.30319.1 RTMRel

3 GB RAM allocated to the Windows virtual machine.

I'm not running any add-ins or other unusual software. Any suggestions?

(I have an annotated screen shot if it will help)


Visual Studio 2008 and Visual Web Developer 2010 Express launch ribbon menu item

  

My existing system has Visual Studio 2008 and Visual Web Developer 2010 Express. But Microsoft web installer for Webmatrix has made Wematrix Launch ribbon menu pointing to Visual Studio 2008. How could I make Webmatrix point to Visual Web Express 2010. To make use of IntelliSense and the debugger, I have to manually launch Visual Web Developer 2010 Express.

Any help to resolve this would be helpful Or is this a known issue at this time!




Can I use WebMatrix (razor ) and Visual Studio on same application?

  

Here is what I am  trying to do. I already have an application (web form) that  works fine coded in VS 2010 web forms.
Webmatrix has some features that I want to use and add to my application. Ordinarily, I will create these as user controls and simply  reuse them throughout the site.
Example: Say I wanted to display  TwitterFeed.cshtml on the front page of my home page named default.aspx, how will I do this for the Razor syntax to be rendered by my existing application.
What do I need to modify in the web.config (of my existing application) for this to work?
cheers,

yousaid

 

.

 


Debug Connection Pooling

  

I am having an issue connecting to a SQL server and am trying to determine what I should try to look at next.

My ASP.NET 4.0 application is running on an IIS 7 on Windows Server 2008 standard. It uses the SqlClient libraries with about five different datbase connections defined.   All of the databases are running on the same SQL 2008 server which also on Windows 2008.  These two servers are connected to the same switch in our server room.

My problem is that I am getting your typical connection pool error:

System.InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.

Here is what I know:

  • I get this problem once about every eight to twelve hours.
  • The problem generally lasts 2-3 minutes and then things get back to normal.  (It appears that a connection pool resets on a fairly regular basis.)
  • The error only occurs with one connection pool.
  • We found through the perfomance monitor that this pool uses only about 40-50 of 100 connections during normal site operation.  (This is very hard to monitor since the ID of the pool seems to change every 10 minutes or so.)
  • This number is generally constant, and does not creep upward with time, so we don't appear to be leaking connections.
  • When the error occurs, the pool risess quickly to the maximum.
  • There is not a corresponding increase in traffic (in fact, it often happens during the quiet early morning).
  • There do not appear to be any connectivity issues between the two servers when this happens.  (The other pools continue to work, and I can make new connections to both servers from my workstation.)
  • I put a trace on the database to look for information, and during that time I do not see any unusual queries or locking activity.
  • In fact, during the issue, this particular database simply does not receive any commands from the web server, so no connection in the pool is passing any commands during the entire duration of the event.

Based on this, it appears that this is happening:

  1. The existing connections in the problem pool for some reason block and do not  pass commands to the server.
  2. Those connections are not released in a timely manner, so the pool quickly expands to fulfill new incoming requests.
  3. Within 30 seconds, the pool is filled with blocked requests and this error occurs.

Are there ways to influence the connection pool that I am not aware of? Why does the pool seem to get reset every 5-10 minutes?

What is the best way to monitor what is going on with the pool that might lead me to figure out why the connections stop working? Would a connect timeout be helpful, even though many of the blocked connections should already be connected?

Do I try to blame the database server or the web server?

This site has been running under the same general infrastructure for years.  We've seen the error occasionally in the past when we've known that the database was down.  I've really only noticed the spontaneous problem since we updated to ASP.NET 4.0 a couple of months ago.

Any insights would be greatly helpful!

Joel


 
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
 
 
 
 
 Forgot password
 Contact Us   Terms Of use   Share your knowledge