Results 1 to 12 of 12

Thread: Debugger problems [Please Help]

  1. #1

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    Debugger problems [Please Help]

    I had a project in Source control in VSS. I have removed it and rebuilt it into a new project because I'm working alone now and I had some problems with the source control replacing fles with empty files.......

    The problem I'm having now is the debugger attaches to the project and breaks fine, but if I try to view the value in var or do anything with the intermidiate window it gives a ...... does not exist messahe. So basicly it isn't giving me complete debugging and this is really screwing with me because I'm used to using the command/intermidiate window to check values. The locals windows still has values but it isn't much help with Guid's and complex objects.....

    Any ideas?
    Last edited by Magiaus; Sep 20th, 2004 at 11:10 AM.
    Magiaus

    If I helped give me some points.

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    Couple of ideas spring to mind:
    1) A cached version of your assembly sitting somewhere
    2) Perhaps an outdated pdb (e.g you're building for release)
    3) Wrong build location

  3. #3

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    okay.

    here is my project configuration.

    I run a URL that maps to the project. It is a host header setup.
    This was working. Full debugging before the move out of source control.

    Everything is setup or apears to be setup properly. I am building debug. I have checked the configuration several times and so on.

    I think I am going to try repairing/re-installing the framework.

    I run from the host header url because I use a dtnamic url function the gets the correct escape sequence to find the root and some other folders but it is based on a split so if I run localhost/project it fails gives the wrong sequence.

    I split the absolute url on / and us the length of the array to get the sequence.
    Magiaus

    If I helped give me some points.

  4. #4

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    I say the configuration is corect but I'm not 100% sure.

    Question: Do you guys have to goto IIS and make the project an appliction or does vs.net do it for you? I have to go setup the app or I can't debug.
    Magiaus

    If I helped give me some points.

  5. #5

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    HEELLLLLLLLLLLLLLLLLPPPPPPPPPPPPPPPPPPPPPP
    Magiaus

    If I helped give me some points.

  6. #6

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    Angry

    The last time this BS happened I had to format my damn server to fix it...... there has to be a better way.
    Magiaus

    If I helped give me some points.

  7. #7
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    It's an absolute shot in the dark, but have you tried deleting all instances of your assembly found on the machine, including pdb's?

    VS.Net creates the application for you when you create the web app via the IDE, however if you've copied it from a separate folder it will complain (with an exception when you try to load a page in your browser of choice).

  8. #8

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    I tried that. It kinda worked. It made the debugging quit completely.

    I formatted. Re-installed everything. !@#$%^&*

    It works now. Exact some configuration exact same everything. I'm starting to dislike vs.net and it's project BS. I love asp.net mind you, but there has to be some kind of since made of the project settings and the correct way to start projects. I read and read documentation before I formatted. I completely removed everything down to the bare OS and re-installed IIS, framework, vs, 1.1 framework, sdk,....... still it screwed up. I checked my machine config at least 20 times and all the settings.

    I have to assume right now it had something to do with an undocumented cache somewhere and the format cleared that, but this is BS.

    I mean damn it's bad enough I have to rig the thing to get running and debugging under a proper url (non localhost) but then to have it just up and crap out for no reason that I can find and have to format my system to fix it is BS

    I hope 2005 is better then this. I know it sounds better.

    I did do one thing diffrently. I installed the remote debugger. I am unsure if this matters it may because VS.Net thinks my project is running on a remote machine even though it isn't. This is because I completely removed my app from local host and edited the vsdisco file to make it run under it's own site in IIS.

    BS
    Magiaus

    If I helped give me some points.

  9. #9

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    I guess all this BS was worth it though because the project is now setup perfectly the way I want and I learned a new trick but it still took 9hrs of BS to get this worked out.
    Magiaus

    If I helped give me some points.

  10. #10

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    Alright. I have discovered the problem. Active Directory. I installed it because my CDOSYS stopped working and it killed my debugger and CDOSYS still isn't working. I'm having some really weird configuration problems.

    I'm going to dp another format and reinstall tonight to get my debugger working again but this CDOSYS problem is confusing me. My configuration is the same. I ran the same install in the same order.

    It gives me this error.

    Code:
    The "SendUsing" configuration value is invalid. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
    Exception Details: System.Runtime.InteropServices.COMException: The "SendUsing" configuration value is invalid. 
    
    Source Error: 
    
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
    
    Stack Trace: 
    
    
    [COMException (0x80040220): The "SendUsing" configuration value is invalid.
    ]
    
    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
       System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) +0
       System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) +473
       System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) +58
    
    [HttpException (0x80004005): Could not access 'CDO.Message' object.]
       System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) +113
       System.Web.Mail.CdoSysHelper.Send(MailMessage message) +1846
       System.Web.Mail.SmtpMail.Send(MailMessage message) +150
       PKPromo.Web.User.Source.MailToPopup.btn_send_Click(Object sender, EventArgs e) +669
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
       System.Web.UI.Page.ProcessRequestMain() +1292
    
     
    
    
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
    Magiaus

    If I helped give me some points.

  11. #11
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    If it's any help :
    Found this using Google for 0x80040220

  12. #12

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    thanks.

    I read that and several other pages but I haven't found a fix yet. I've tried setting the SmtpServer to mail.alias that i have setup in the default smtp but no luck. Most of the articles refer to win2k and I'm running xp pro now. I went ahead and aquired another computer set my win2k, sql server, and so on it. So I work local on my xp box and connect to my db on the 2k server.

    I don't have an exchange server.

    What gets me about all this is everything was working fine but then I removed the project from source control and it went to crap. It's been down hill from there.

    I had to go in and write a localhost check for my ResolveLinkPrefix function. Which doesn't sound like a big deal but I had used the code in about 20 places before I made the function. I fixed all that and my dubbuger is working.

    My e-mail code works on the live server at the host wich is a 2003 server, but I don't much care for it not working for me on here. The message I get now is transit cannot connect to server. I can't just setup and use the actual host smtp server because it requires authintication and I can't find where to set that.

    It's been a frustrating few days.....
    Magiaus

    If I helped give me some points.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width