Web Forms :: Visual Studio's Debugger Indicated That The Error Is In The 'objConnection.Open()' Try?
Sep 16, 2010I've came to a dead end. Visual Studio's Debugger indicated that the error is in the 'objConnection.Open()' Try
View 2 RepliesI've came to a dead end. Visual Studio's Debugger indicated that the error is in the 'objConnection.Open()' Try
View 2 RepliesIm having a strange problem which i never experienced before, the problem is my visual web developer 2005 express edition is not getting attached to the debugger, i mean when im running my web application it is not debugging the program if im putting any breakpoint, more over i uninstall and again installed visual web developer it worked fine for first time but again it is not working. i only difference is i have Internet explorer 8.I dont exactly know the problem. does any one faced similar problem
View 1 RepliesIn the Visual studio IDE is it possible to step backwards in the debugger? If this is not possible,can I somehow trace my step backwards in the compiler?
Also if I am stepping through C# code in the debugger, is it okay to add documentation in the file while I am debugging? I tried this and recieved a pop-up message box informing me that the code had changed. Otherwise the IDE seemed forgiving in regards to comment changes in debug mode. Also I guess this might also lead into the question of wether it is acceptable to add code during debug mode?
My Visual Studio debugger detaches every time when I try to access a property in a web application. I don't use Visual Studio's inner webserver, just the standard IIS. It seems like that property has somewhere a stack overflow
(Server Application Unavailable)
, but I can't find it. There is an error message in the EventLog:
aspnet_wp.exe (PID: 5200) stopped unexpectedly
I've tried to delete all temp folder including ASP.NET temporary files, no change at all. I've tried to start devenv.exe /log
but in the log xml, there was hardly any exception. Is there any way to get that exception which causes the debugger to stop/detach?
Plus info is that another colleague can debug that property. I've tried to get his vssetting file, but no change.
i'm trying to debug some code i.e. trying to get the values of some parameters
public SqlDataReader GetAllCompaniesByType(int type)
{
SqlParameter[] sqlp = new SqlParameter[2];[code]....
but for some reason the debugger keeps detaching. It is not just this code but happening everywhere it is driving me INSANE..
If so; where can I get it?
View 2 RepliesFor some reason, when reading from an Access database, values that are supposed to be INT are showing up as HEX
dr["NumSent"]
0x00000000
dataSet.Tables[0].Rows.Count;
0x000004ba
dataSet.Tables[0].Rows.Count.ToString();
"1210"
I was wondering if there is an option to change the debugger url when I initialize the debugger. I want it to start off at http://localhost:xxxx/controller/view rather than just http://localhost:xxxx/.
View 2 RepliesI am attempting to debug my Visual Studio 2005 project. I have Internet explorer 8 and it's running on IIS.
When I hit the "debug" button, a new Internet Explorer browser window opens and my ASP VB .NET application loads normally. However, Visual studio returns back to regular editting mode and I can hit the "debug" button again. No break points hit but my web page still runs and loads normally.
The Output screen use to show Web.Server(exit 0) but now it doesn't show anything.
when I try to open the view designer in my windows application project I get an error msg - there is no editor available for 'C:documents and setting....Form1.vb' Make sure the application for the file type (.vb) is installed.
View 1 RepliesI have an application in Visual Studio 2008. I have been working with it for some time. Today, suddenly, it will not debug, or more specifically it does not stop at the breakpoints I created in Visual Studio. It just ignores them. I tested the break points by adding one at the opening of the Page_Load event and nothing. If I put in a mistake on purpose the application will build, the internet explorer opens, and gives me an error report. It has never done this before. Usually it stops IE from opening and gives me a list of errors at the bottom of the VS screen. I want my old VS back. I don't see how this could have changed it but I'll mention the things I've worked on recently. I've been trying to configure the session states in the web.config page, and then recently I started a new web page with a conection to a database and gridview. I have restarted VS and nothing has changed.
View 2 RepliesI'm using Vs2010 professional. I was working with a large WebSite (folder) project at work using IIS7 and tried to attach the debugger to the w3wp.exe for debugging an aspx page in IE8 after setting breakpoints in the javascript for the page and in the Page_Load in the code behind. I got a "first chance exception of type 'System.InvalidOperationException' occurred in System.dll" in my debug output, so I gave up for the moment. I created a default website project in the root of IIs7, and set it up as an application in IIs7 with the default app pool.
I tried entering a little javascript in the head, and set a breakpoint, and set a breakpoint again in the Page_Load. I attached the debugger again to w3wp.exe. I see the assemblies load in the debug output and nothing happens:
Ignoring attach security warning for process C:WindowsSystem32inetsrvw3wp.exe, owned by IIS APPPOOLDefaultAppPool [administrator]
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_64mscorlibv4.0_4.0.0.0__b77a5c561934e089mscorlib.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_64System.Webv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Web.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystemv4.0_4.0.0.0__b77a5c561934e089System.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Corev4.0_4.0.0.0__b77a5c561934e089System.Core.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Configurationv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Configuration.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Xmlv4.0_4.0.0.0__b77a5c561934e089System.Xml.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILMicrosoft.Build.Utilities.v4.0v4.0_4.0.0.0__b03f5f7f11d50a3aMicrosoft.Build.Utilities.v4.0.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Runtime.Cachingv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Runtime.Caching.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Web.RegularExpressionsv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Web.RegularExpressions.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_64System.Datav4.0_4.0.0.0__b77a5c561934e089System.Data.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Drawingv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILMicrosoft.JScriptv4.0_10.0.0.0__b03f5f7f11d50a3aMicrosoft.JScript.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILCppCodeProviderv4.0_10.0.0.0__b03f5f7f11d50a3aCppCodeProvider.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NETFramework64v4.0.30319Temporary ASP.NET Fileswebsite297987469de3b823App_global.asax.g3ldh1jy.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.ServiceModel.Activationv4.0_4.0.0.0__31bf3856ad364e35System.ServiceModel.Activation.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Web.Extensionsv4.0_4.0.0.0__31bf3856ad364e35System.Web.Extensions.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Runtime.DurableInstancingv4.0_4.0.0.0__31bf3856ad364e35System.Runtime.DurableInstancing.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Web.Mobilev4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Web.Mobile.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.ServiceModelv4.0_4.0.0.0__b77a5c561934e089System.ServiceModel.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSMDiagnosticsv4.0_4.0.0.0__b77a5c561934e089SMDiagnostics.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Xaml.Hostingv4.0_4.0.0.0__31bf3856ad364e35System.Xaml.Hosting.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NETFramework64v4.0.30319Temporary ASP.NET Fileswebsite297987469de3b823App_Web_t1ltfooj.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NETFramework64v4.0.30319Temporary ASP.NET Fileswebsite297987469de3b823App_Web_myfv4sgi.dll'
The thread '<No Name>' (0x22cc) has exited with code 0 (0x0).
I am using 64 bit Windows 7 Professional.
Usually using Visual Studio's debugger is a breeze. Scanning through Locals quickly shows the values of variables, etc. However, I'm at a loss how to find out the values contained in session state variables? Can anyone give me a hand?Lets say I put a breakpoint right after:
Session("first_name") = "Rob Roy"
How do I view the value contained in Session("first_name") from locals?
Is it possible to determine at runtime when my site is running in the debugger? I want to use one setting for production and another when I'm running in the debugger.
View 3 RepliesI have a Windows Server 2008 x64 to develop applications, I installed the remote debugger rdbgsetup_x64.exe from
http://www.microsoft.com/downloads/details.aspx?displaylang=es&FamilyID=440ec902-3260-4cdc-b11a-6a9070a2aaab (spanish) Run the setup wizard, use the LocalSystem user to run the service and allows any computer to connect to the debugger.The configuration of the firewall is off.The configuration of the firewall with advanced security is:
inactive domain profile
inactive private profile
Inactive Public Profile
I found that the w3wp worker process runs on 32 and msvsmon runs 64.Now the client is a Windows XP x32 with Visual Studio 2008 SP1.either constructing a web application to check the operation of the treatment and get the following error: Unable to start debugging on the web server. The web server does not support automatic attaching This is Most Likely Because the web site is using ASP.NET version 1.0 or 1.1. Upgrade the website to ASP.NET 2.0 or manually attach to the web server process using the 'Attach to process' dialog. "
I have debug=true both in the web.config and in the requested file but it still won't stop.
View 1 RepliesI have been developing my web site for a while, everything was ok. The hard drive of Visual Studio 2010 installation was damaged, after re-install VS 2010, every time I start debugger for my asp.net web site, VS pops up a diaglog to ask for user name/password.How to disable that popup? Is is just debugging, security is not an issue at all.
View 3 RepliesAfter attaching debugger when i run my application it's give me error "Could not find stored procedure 'sp_sdidebug'".I am using 1.14 framework in backend sql server 2005
View 3 Replieswhy after installing VS2010 SP1 starting and stopping the debugger takes forever?
View 1 RepliesI got this error while converting
Unable to open the Web site 'http://localhost/America/Tranxfer3.4/TxfReport/TxfReport.vbproj'.
The Web site 'http://localhost/America/Tranxfer3.4/TxfReport/TxfReport.vbproj' does not exist.
if you know anyother suggestions for converting vs2003 to vs2008 project
I have recently installed VS2008 standard edition after using VS2008 express and VS2010 Express (on this same laptop) running Windows 7 Build 7100.
On clicking "Debug" the error appears:
"Unable to start program
[URL]
The debugger is not properly installed. Cannot debug the requested type of code. Run setup to install or repair the debugger."
This is for a Web Site - File System originally created in VS2008 express.
I know both these software are old and that I can update to newer version. But I need to do it with those software in particular.I have Visual Studio 2005 and Visual SourceSafe 6 installed on my computer. When I try to open Visual SourceSafe 6 database using Visual SourceSafe 6 directly, I have no problem at all.Then I try to open a project solution I took from SourceSafe using Visual Studio 2005. Right away I receive this messageThe solution appears to be under source control, but its binding information cannot be found. It is possible that the MSSCCPRJ.SCC file or another item that holds the source control settings for the solution, has been deleted. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control.
Then an invite to chose a SourceSafe Database open. I click on BROWSE. First thing I noticed : The SourceSafe available databases list is empty (while I remind, it's not in SourceSafe 6. I can see there the COMMON database and the VSS database which is located on a different server on our network. Before that, I went in TOOLS->OPTIONS->SOURCE CONTROL, and make sure Visual Source Safe was selected as the Plug-in to use for a Source Control).So I click again on Browse, and locate my srcsafe.ini file. Everything is OK. It evens confirm me that my database path is
\dev2k3programmationVSS and that my database name is indeed VSS. So it found it. I then click on OK.
But when I do, the Database is not added to my available list, at all. The result, I can never select a source control, ever, which end in me not being able to work connected to the main source control of our network. Everything is working fine on every other computer in our company. Only this one have problem.Did I give enough description to my problem? I really need help on this one, because working disconnected from Source Safe can give a lot of pain to our team. Can anyone give me an hand? If you need any more info, just ask.
I am using vs2008 pro. my problem is that javascript debugger is not working on mozila firefox but working fine on IE8.
View 1 RepliesI 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
View 2 RepliesI have installed a vs 2010 ulitimate . it's have Sql server 2008, but i want to Open SQL Server Management Studio 2008,
View 1 Replies