Visual Studio :: Can't Debug Website Locally

Dec 14, 2010

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.

View 2 Replies


Similar Messages:

How To Locally Debug File Permission Issues In Visual Studio

Jun 8, 2010

I want to debug an ASP.Net website as it attempts to write a file to a directory.When actually deployed this file would possibly not be writeable by the worker process so an error would be thrown, this is not a problem as I just want to catch the error, inform the user and move on.Of course, if I'm debugging on my local machine then I'm an administrator and I have permission to write to the file, so I can't check that I've trapped the correct errors and I can't step through an see where it goes wrong if I haven't.

View 1 Replies

Unable To Debug Website In Visual Studio?

Mar 15, 2010

I used to be able to attach to my w3wp process and Debug my web application, but this is not working anymore. I have no idea what changed to break this. I'm using Visual Studio 2008 SP1. And I'm debugging in IIS, not using ASP.NET's own server (i.e. I don't Run my project, I simply attach to a running process (w3wp).

My breakpoints simply have the "breakpoint will currently not be hit. The source code is different from the original version."

What I have tried:

Did a solution Clean.
Did a solution Rebuild.
Made sure that compilation debug=true in my web.config file.
Deleted the bin folder
Restarted Visual Studio
Restarted IIS
Restarted my Computer
Added a simple Response.Write to ensure that the latest DLL is being used. It is.
Made sure that Debug ASP.NET is checked in my project properties. It is.
Made sure that all my projects are compiled in my build configuration. They are.

View 5 Replies

Visual Studio :: Unable To Debug Website?

May 18, 2010

I moved my site to a Windows 2008 server, reinstalled VS2005 and now I am unable to debug my application. When I click start debugging, the button is greyed out until the browser launches and then it returns to normal. In other words VS is just launching the app without attaching to it. I have tried running as administrator and played around with the authentication settings to no avail. I am running with Forms authentication.

View 4 Replies

Visual Studio :: Selecting Emit Debug Information When Publishing Website?

Oct 14, 2010

what exactly selecting emit debug information when publishing web site do ?

if i select this can i see error variable names at stack trace ?

View 1 Replies

Visual Studio :: Debug-Start Debugging/Debug-StartWithoutDebugging OR Project Configuration Launches Dream?

Jan 3, 2010

Debug-Start Debugging/Debug-StartWithoutDebugging OR Project ASP.Net Configuration launches Dreamweaver. It started lastnight, I had both Deamweaver and VWD 2008 express open at the same time - (I was looking at JQuery in the Microsoft and Dreamweaver enviroments simultaniously). After the first tie this happened, I closed down Dreamweaver (CS3) and it opened when I tried to run my VWD project. I reinstalled VWD 2008 express, IIS and disabled Dreamweaver (renamed the exe). Dreamweaver still came up.

View 4 Replies

Visual Studio 2008 - How To Save Time When Testing / Debugging Locally

Nov 4, 2010

I have alway tested/debugged my web applications by using f5 to "Start Debugging". Recently (yesterday) I have begun to start without debugging then attach the debugger to the webdev process if I needed to set breakpoints or anything. So far I haven't noticed much of a performance increase when not using the debugger. I am curious about how others save time when running locally.

View 3 Replies

Visual Studio :: How To Debug Web Service

Mar 3, 2010

How can i debug my deployed web service?

I have deployed a web service on my development machine and i am connecting it through my asp.net application, both web service and asp.net application are on same machine but web service is hosted on IIS.

View 1 Replies

Visual Studio :: How To Debug Those Two Solutions As It Where Only One

Apr 14, 2010

I have 2 sollutions (1 CMS, 1 Customer specific with controls). The customer controls are coppied (with xcopy) to the CMS location. In the web.config of the CMS the specific controls are registered.The controls are useing functions from the CMS dll as well.How can I debug those two solutions as it where only one? I tried to start the CMS in debug mode with breakpoints in de CMS and customer controls, in this case only the breakpoints in the CMS are used. If I run the customer controls in debug mode only the braekpoint in this solution are used.The CMS is running on my local IIS 7.

View 1 Replies

Visual Studio :: How To Debug Javascript

Jun 1, 2010

I am using VS2010 and am working on an ASP.NET web application for .net 4.0.

I have created a file called StringUtilities.js and placed it in a subfolder of my application called Scripts.

The entire content of the file is listed here:

[Code]....

In one of my .aspx pages I have the following code:

[Code]....

On a button's "OnClientClick" (for example) I call the method encodeText() and everything works fine.

Today I added the method updateImage() which calls StringUtilities.js - updateAttribute() method, also added today.

If I open that unit in VS2010 and place a break point in the source code for the new method it turns white and says:

"The breakpoint will not currently be hit. No symbols have been loaded for this document.".

What gets even stranger (this is so hard to exaplain)....

Before today I did not have the method updateAttribute() in that .js file. So even though my source editor is showing all of my new source code changes, if I trace the previous method that did exists - htmlEncode(), the trace lines in the editor are highlighting where the lines "used" to be. which is near the top of that file as if my new code was not there.

It just sounds like there must be a different way of tracing javascript and the way I am doing it must not be it. I would have assumed it worked the same way I would trace my c# code.

View 8 Replies

Visual Studio :: Debug With Win 7 (x64) And IIS7?

May 27, 2010

When I ran Vista (x64) Prem with IIS7 and VS2008 sp1, I could press F5 and start debugging a web application and the debugge would run as long as I needed. I got a new PC that has Win 7 (x64). Now, the debugger will run 30-60 seconds and then quits. The web application still runs but the debugger shows that it is not in debug mode and the breakpoints are no longer hit. I know you can attach to the w3wp process and debug that way, but has anyone found a way to keep the debugger running for as long as you need when you press F5??

View 1 Replies

Visual Studio :: Can't Debug BLL And DAL Methods

Oct 12, 2010

I have VWD Express and I can't debug lower layer methods in the application the debugger doesn't step into breakpoints that are set in these layers. what do I do? I need to debug lower layer assemblies most of the time.

View 10 Replies

Visual Studio :: Not Able Debug In VS 2003

Feb 23, 2011

I have vs 2003 & 2010 on same machine. But my application is in asp.net 1.1 so I have to work on VS 2003. (I dont have to migrate to 4.0).

I have followed this link http://msdn.microsoft.com/en-us/library/aa239576(v=vs.60).aspx but still it is not working.I put a break point on page load of my first login page. when I hit F5, the control comes to visual studio and make that line yellow but stays for few seconds only and then leave the contol and visual studio automatically.I'm not able to debug it. Don't know what the problem is.

View 4 Replies

Debug Embedded JavaScript From Visual Studio?

Feb 25, 2011

I'm not sure if this is the correct forum for this but I was just wondering, I'm very new to Javascript programming and was wondering if their is a way to debug embedded JavaScript from Visual Studio, current and old versions?

View 7 Replies

Visual Studio Unable To Debug Application

Jan 7, 2011

I am developping an MVC3 RC2 application and just after hitting F5 on my asp web application, I am getting this error message program '[7780] w3wp.exe: Managed (v4.0.30319)' has exited with code -2 (0xfffffffe).So I am totally unable to debug my application

View 10 Replies

Is It Possible To Debug A Web Application That's Not Started From Within Visual Studio

Aug 13, 2010

The default ASP.NET web server that launches from within Visual Studio (Casini) is a little buggy on my development machine, so I like to publish to a local IIS instance on my dev machine and look at the web application there. However, I'm not automatically in "Debug Mode" when I launch the application this way.

I know that VS 2010 has an "Attach to Process" debug feature, but I'm not sure exactly how to use it. What do I need to do to be able to debug a local IIS ASP.NET web application from within Visual Studio? Specifically:

What settings do I need to change in the configuration of my web application?

What "Package/Publish Settings" do I need to change?

Is there anything I need to change in IIS?

Is there anything special I need to do in the "Attach to Process" screen?

Background Information: I'm running Visual Studio 2010 on Windows XP SP3 with IIS 5.1 and .NET 4.0.

Additional Information:

I should add that I've tried attaching to aspnet_wp.exe, but when I go to a page that I know has a breakpoint in it, I get the following message when I hover over the "open circle" breakpoint:

The breakpoint will not currently be hit. No symbols have been loaded for this document.

View 5 Replies

Visual Studio :: Cannot Debug SQL CLR Stored Process

Jul 12, 2010

I had everything up and running fine, was able to debug and everything.

I could attach to process and run a SP in the database and it would fire over to VS stopping on the breakpoint.

I can't remember what I did to mess it up but I ended up uninstalling my DB and reinstalling it; SQL Server 2005.

Now when I try to attach nothing happens. The SP runs and that is it I never go back into VS.

I'm thinking I have to reinsatll VS now.

View 2 Replies

Visual Studio :: Debug Disabled In One Project?

Feb 6, 2011

I have solution with several projects, while debugging it gives me this message.

I tired to change it's properties to enable debug but didn't work.

View 1 Replies

Visual Studio :: Getting Hex Numbers In Debug Mode?

Apr 15, 2010

In my Visual Studio 2005, I am getting Hexadecimal numbers when I do a quick watch at all the integers in debug mode.

I am using VB.NET. What settings need to be changed in order to view integer values in decimal number system?

View 1 Replies

C# - How To Debug A Single Thread In Visual Studio

Mar 14, 2011

I have a solution with some projects. There are several break-points in different projects. I want to trace the first thread hit one of these break-points and continue tracing that single thread despite of other threads entering the same code-blocks.

I know this is possible through defining a condition on the break-point i.e, thread name = ... or thread Id = ... but my case is a heavy loaded asp.net application and as soon as I attach to w3wp.exe many threads will hit the break-points. I need some thing like a ThreadLocal<break-point>.

View 2 Replies

Visual Studio :: CSS Not Working In IE Through Debug Mode?

Apr 19, 2010

Im using Visual Studio 2010 in Windows 7.

I got a problem regarding CSS in my pages. I managed to apply styles to my page using css and everything looks fine in the Design view. I ran it on IE8 and everything is working fine. Now after I returned to Visual Studio, added some rules to my CSS, and noticing that everything is working fine in the Design view, I ran it again in IE8 and nothing has changed. The rules I added was ignored and it looks the same. I ran it on Firefox and Google Chrome and it's working fine.

But if I ran my project in IE8 through IIS7.5, everything is working fine so it means, the problem is within visual studio 2010.

View 1 Replies

How To Debug Page Visual Studio 2010 On IIS 7.5

Jul 13, 2010

I have tried attaching the debugger to the IIS worker process and have a break point on the asp page. But it never hits the breakpoint.

I am able to debug the aspx pages in the same site using the above process.

View 2 Replies

Visual Studio :: Trying To Debug The Applications - The Step Into (F11) will Act As F5?

Apr 22, 2010

I was trying to debug the applicatioons but after certain amount of minutes (say 3 minutes), the step into (F11) will act as F5.

View 6 Replies

Visual Studio :: Debug Asp With Stored Procedure

Sep 16, 2010

I want to know, is this possible to Debug Asp.net pages with Stroed procuder. Means may we can debug Stored procuder in .net framwork with application.

View 4 Replies

Visual Studio :: Unable To Debug In Asp Page

Mar 23, 2010

I am a new in asp.net world (and in asp). I have a problem in asp.net page.... i wish to debug this page to try the error but I don't I can not debug I have downloaded all proj from "Team Fondation" and then I have took all page in check-out. The server, where I develop is the WEB serve test.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved