Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 9th, 2005, 09:46 PM
Registered User
 
Join Date: Feb 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to djgoran
Default

I had the same problem. You have to right click on your solution in the solution explorer and click properties. Than on the left select configuration properties and click configuration manager on top right. Under the configuration colum change your project from "RELEASE" to "DEBUG". This worked for me so I hope it works for you.

GORAN

 
Old April 1st, 2005, 12:19 AM
Registered User
 
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

>> If I change the names of the two aspxs I can set breakpoints successfully. If I change them back, the problem reappears. If I remove the files from my project, and then add two new files with the same names, and paste in the original content, the problem persists.

I'm experiencing this exact symptom. I've deleted every related dll and pbx on the server and rebuilt - No joy. I can set a breakpoint on other pages in the solution.

Crazy.
 
Old April 3rd, 2005, 11:33 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think you can't debug into a source file named the same as another source file in the same project or solution. I didn't check on this myself, but that's what seems to be happening. Why don't you just make each page have a unique name?

The biggest problem often comes from having multiple pages named Default.aspx. This isn't a good idea, but it seems like it would work if they're each in a separate folder.

The problem is not a .net runtime issue - it only affects debugging with Visual Studio.

Eric
 
Old April 14th, 2005, 04:35 PM
Registered User
 
Join Date: Apr 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Brian P Mucha
 >> If I change the names of the two aspxs I can set breakpoints successfully. If I change them back, the problem reappears. If I remove the files from my project, and then add two new files with the same names, and paste in the original content, the problem persists.

I'm experiencing this exact symptom. I've deleted every related dll and pbx on the server and rebuilt - No joy. I can set a breakpoint on other pages in the solution.

Crazy.
 
Old April 14th, 2005, 04:38 PM
Registered User
 
Join Date: Apr 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by SudhaMallenahalli
 Hi:
I am having the same problem with vb.net 2002. "The breakpoint will not currently be hit. No symbols have been loaded for the document." I have 2 projects in my solution: #2 references the dll of #1. When I set a break point in #1, it does not stop at the break point. I have rebuilt the solution and tried. My Configuration is set to Debug.

What else could I check for?

Thanks in advance.
Sudha

pls. see this link for resolution:

http://www.wilsondotnet.com/Tips/Vie....aspx?Thread=6

dolanz

 
Old August 1st, 2006, 06:08 PM
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Solution

Check your aspx or ascx page control Debug property. Set Debug="True"

<%@ Control Inherits="MyTestPage" debug="True"
language="vb" AutoEventWireup="false" Explicit="True" enableViewState="True" CodeFile="SiteSettings.ascx.vb" %>

It will work........







Similar Threads
Thread Thread Starter Forum Replies Last Post
Help - Synchronizing Page Loaded with Each Hit kylex Javascript How-To 1 February 20th, 2008 01:48 AM
The breakpoint is not been Hit uchkid Pro Visual Basic 2005 1 August 29th, 2006 10:52 AM
check if page is loaded darkhalf Javascript 1 October 4th, 2005 05:26 AM
how to check if page is already loaded? phpworker Javascript How-To 0 July 31st, 2005 11:49 AM
Cant hit a breakpoint in report open event badgolfer Access 1 July 4th, 2004 11:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.