.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

How to enable debugging in Visual Studio 2008 upgraded from Visual Studio 2005?

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :ASP.Net
Hi,  I have upgraded a Visual Studio 2005 Web Site in a 32 bit server to Visual Studio 2008 maintaining the same 2.0 framework in a 64 bit server with Windows 2008 R2 Server.  The Web Site has several class libraries.  After porting to Visual Studio 2008 2.0 Framework using the Upgrade Wizard, I found that I was unable to hit a break point in the Project code behind files while I was able to in the class libraries.  The bin folder has the dlls and the corresponding pdb files for the class libraries. I did start the Web site as an Administrator and made sure whole bunch of IIS7 properties are properly set.  I tried to rebuild the solution as a Web Application in Visual Studio 2008 and gave up that approach as I faced hundreds of error messages pointing to missing references and namespaces inspite of adding whole lot of references and namespaces to the Web pages.   Appreciate your help in solving this puzzle.thanks,Dallas Developer  

View Complete Post

More Related Resource Links

Visual Studio 2005 and Visual Studio 2008

Hi All, I have installed visual studio 2008 in my system. But my website is in Framework 2.0 and have a reports in it. i have opened my website in visual studio 2008 with the Framework built in 2.0. but many times when i debug it will give a version conflict error for reports as mentioned below. "The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\\Microsoft.ReportViewer.WebForms.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\\Microsoft.ReportViewer.WebForms.dll"' is it possible to install visual studio 2005 in my system without affecting the visual studio 2008 please any one suggest on this.....  

How to start SQL Server 2005 (Visual Studio 2008)

I am just starting to work with Visual Studio 2008 (VB) to creat WPF apps and am trying to work with sql server. I want to create databases on my computer to be used with single client applications. When I try to see if the server is running it doesn't appear to be. Is there some special process that I need to do to start the server so I can create some sample databases to work with in Visual Studio? Working with Windows XP, Visual Studio 2008, SQL Server 2005.

Debugging Issues in Windos 7 & Visual Studio 2008

I have Strange issue.I have Windows 7 and Visual Studio 2008.When I try to debug a web application by inserting BreakPoint. It will go fine for few seconds or couple of  minutesAfter that the debugging stops automatically. But were else if did not insert Break point in the application the webpage is alright. (I can see debugger still running)Does any one have come across the same issue please shed me some light.Thanking you in advanceNathanI had the same issue in the XP after installing IE 8. The below line solved the issue but this wont work for windows 7Add a DWORD value called TabProcGrowth with a value of 0

Visual Studio 2008 and SQL Server 2005 SSIS packages


My home machine has sql 2005  and Visual Studio 2005 installed. I uninstalled VS 2005 (RTM) and installed VS 2008 (RTM) in its place. I then found that the SSIS templates were missing. Lesson: don't uninstall VS 2005 if you want to use SSIS 2005!


1. Is there any "workaround" to this issue?


2. (If the answer to 1 is "No") I will install VS 2008 side-by-side with VS 2005 on the same box.  When the SSIS issue is finally resolved, can I uninstall VS 2005 without doing damage to the VS 2008 install?










SQL Server Management Studio (2005) and Visual Studio 2008


Help -

I had been using SQL Management Studio, from sql server 2005, reciently I installed Visual Studio 2008 on my machine.  I use it for VB coding.  I still use the same Management studio.  It all works fine except when I try and Export or Import a table in Management Studio using the wizard.  I get the following error:

TITLE: Microsoft SQL Server

This wizard will close because it encountered the following error:

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.3042.00&EvtSrc=Microsoft.SqlServer.Management.UI.WizardFrameworkErrorSR&EvtID=UncaughtException&LinkId=20476


Exception has been thrown by the target of an invocation. (mscorlib)


Specified method is not supported. (System.Data.SqlServerCe)



Any help would be appreciated.

Thank you

SQL/CLR Debugging hangs on Visual Studio 2003 and SQL 2005


I am unable to debug code from a SQL Database Project using the CLR.  After VS 2005 does the auto-attaching to the SQL server, VS hangs until I tell it to stop debugging.  Many others have reported this as a similar problem, however this only seems to affect me when I'm connecting to specific servers.  Specifically it seems to be remote connections.  When I attempt to connect to my SQL 2005 Developer Edition "locally" I get right through and can debug.

From my VS output window:


Auto-attach to process '[1688] [SQL] gx620-eric' on machine 'gx620-eric' succeeded.

Debugging script from project script file.



No rows affected.

(0 row(s) returned)

Finished running sp_executesql.

The thread 'gx620-eric [59]' (0x1730) has exited with code 0 (0x0).

The thread 'gx620-eric [59]' (0x1730) has exited with code 0 (0x0).

The thread 'gx620-eric [59]' (0x1730) has exited with code 0 (0x0).

The thread 'gx620-eric [59]' (0x1730) has exited with code 0 (0x0).

The program '[1688] [SQL] gx620-eric: gx620-eric' has exited with code 0 (0x0).


When I attempt to connect to a remote server running Enterprise Edition, it hangs after a successful attach. 


Cannot connect Visual Studio 2008 to Sql Server 2005


I have Windows 7 and installed Visual Studio 2008 Pro and also installed SQL server developer addiotion that comes with VS. After creating a test database in SQL maangement studio and adding the standard asp.net membership provider tables with the aspnet_regsql tool, I created a web project and added a connection string to the web.config file to connect to the database.

No matter what, I cannot connect to the database.

I can create a connection through the server explorer in visual studio and when I drag a sqldatasource onto my page and configure it I can connect to the database etc. But no web.config connection.

This worked on my XP pro machine but not Windows 7.

Has anybody had this problem and what am I doing wrong.


Compatibility issues between Microsoft Visual Studio 2005 and Windows Server 2008 R2


Dear sirs,

When I was installing SQL Server 2005 64 bit on Windows Server 2008 R2, I received a notice informing the software Microsoft Visual Studio 2005 has known compatibility issues with this version of Windows.

So how can I get around these problems?

I need to use Visual Studio 2005 to create the Integration Services packages.

Also, I need to migrate directories of Integration Services packages from a server with SQL Server 2005 32 bit on Windows Server 2003 32 bit for a server with SQL Server 2005 64 bit on Windows Server 2008 R2. How can I proceed to do this?

Thanks in advance.

Jose Luiz

Debugging in Visual Studio 2008 Second level form


I'm using Visual Studio 2008 in developing VB.NET windows application , this application contains MDI_PARENT form and many MDI_CHILDS forms.

when i run F5 (start debugging) , and stop in BREAK-POINTS and need to edit the code , it allows me to edit in MDI-PARENT form code , but when i try to edit the MDI-CHILD code it gave me the following message :

changes are not allowed when the debugger has been attached to an already running process.....

I went to:

Tools -> Options -> Debugging -> Edit and Continue

then i disable "Enable Edit and Continue" remove the Checkbox before it . then when i tried to edit it gave me the following error

cannot currently modify this text in the editor. it is read-only

so, how could I enable Edit and Continue in MDI-CHILDS forms ???


Visual Studio 2008 Memory problems


My memory in task manager reaches about 900,000K  and I don't know why it does this. Definately slows everything down, especially when I rebuild my tableAdapters, takes about 30 seconds sometimes to rebuild the project.

is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site p


is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project


my current project references




i have a very annoying iis problem

iis server stops working until app pool is recycled


i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem


Business Intelligence Reports Project in Visual studio 2008 ?



I wonder how to add a project template called  Intelligence Reports, something like that, to Visual studio 2008. I have SQL 2008 installed. Do I need to install some updates to get Intelligence Reports template to Visual studio 2008 ?

Thank you..

HttpHandler works with Visual Studio Development Server debugging, but not otherwise


Hi all,

I'm new to HttpHandlers.  I am writing an HttpHandler that reads uploaded files directly from the request stream to provide progress that can be queried using an AJAX request.  For large files, this seems to be faster than having ASP.NET load the file contents into Request.Files and then streaming the file from there to wherever it goes (Linq to SQL into a VARBINARY column in an SQL Server database.)

My HttpHandler works perfectly when I'm debugging using the Visual Studio Development Server, but doesn't work otherwise.  The application pool for this application in IIS 7 is set to run in Classic Mode, and the Handler Mappings screen in IIS says that I must manage managed handlers in system.web/httpHandlers. 

I set up in my applications Web.config file.

<add verb="GET,POST" path="*.upload" type="Namespace.For.UploadHandler, AssemblyForUploadHandler"/>

It works great, so long as I don't debug with the "Use Local IIS Web server" option.

What else do I need to do to get this to work?


Visual Studio Web Deployment Project for VS 2008


What is the latest version of Visual Studio web deployment project which I can use with  VS 2008 ?

Can I use VS 2010 Web Deployment Project with  VS 2008 ?


crystal report -visual studio 2008 dual axis chart (bar & line)


dear all, 

i use crystal report integrated with  vs.2008, and i want to make chart with dual axis (bar & line).

i have used bar chart and input the data with 2 values..

then in chart options > template, i activated the dual axis..

my question is, how i can change the 2nd value with line chart not bar chart??

i'd tried to find the right settings in "chart options" but still can't find the solution.

for information in "chart options" there are 4 sub menu : template, general,titles,grid..

i read in a tutorial there's more sub menu called "series" in crystal report (stand alone version)..

is it possible doing it in Crystal Report VS. 2008?

please,, i need your advice and solution..

Thanx before..


Parallel Debugging: Debugging Task-Based Parallel Applications in Visual Studio 2010


In Visual C++ 10 and the Microsoft .NET Framework 4, Microsoft is introducing new libraries and runtimes to significantly ease the process of expressing parallelism in your code base, together with new tool support for performance analysis and debugging of parallel applications. In this article, you will learn about debugging support in Visual Studio 2010, much of which is focused on task-based programming models.

Stephen Toub, Daniel Moth

MSDN Magazine September 2009

VSTO 3.0: Developing Office Business Apps with Visual Studio 2008


With custom form regions in Outlook you can pull in data from designated data sources and truly customize your users' Outlook 2007 experience.

Steve Fox

MSDN Magazine Launch 2008

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