Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Unhandled exception in symbol serving

    Scheduled Pinned Locked Moved Support
    progetsymbols
    16 Posts 1 Posters 27 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      It works! Thanks for that mysterious fix :)

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Oh dear spoke too soon. Now I get this when browsing to the main proget page

        [NullReferenceException: Object reference not set to an instance of an object.]
        Inedo.Web.PageFree.IInedoPageExtensions.RedirectAndCompleteRequest(IInedoPage page, String url) +23
        Inedo.ProGet.WebApplication.Pages.RootPage.ValidatePrivileges() +534
        Inedo.ProGet.WebApplication.ProGetHttpModule.ValidatePrivileges(HttpApplication app, IHttpHandler handler) +78
        Inedo.ProGet.WebApplication.ProGetHttpModule.PostMapRequestHandler(HttpApplication app) +751
        System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +91
        System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +164

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          I think that's another v4 bug, related to some broken redirects w/ anonymous...

          You should be able to work-around by going to /log-in URL directly, then logging in.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Should a repair install fix these? I can try it

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              No, definitely not. It's a bug w/ the beta version and anonymous authentication redirects.

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                I've tried restoring my database and going back and nothing works still.

                If i browse to

                my-server/symbols/default/name.of.pdb/symbolguidandage/name.of.pdb

                i get the pdb for the corresponding package.

                Visual Studio however is saying

                SRCSRV: D:\wheremycodelivesonbuildserver\blahblah.cs not indexed
                SRCSRV: Source server cannot retrieve the source code for file 'D:\wheremycodelivesonbuildserver\blahblah.cs' in module 'C:\localcodeusingnuget\bin\Debug\name.of.dll'. The system cannot find the file specified.

                The proget webpage says the symbols are available and gives the guid and the age which I can get a pdb with.

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  In this case, I would guess you are inclusing pdb files in your NuGet package?

                  As such, that won't work, because visual studio first looks for the local pdb (which it finds), and that pdb points to d:\blahblahblah, not to http://proget/. You may want to enable the "strip symbols" option to prevent this from happening.

                  1 Reply Last reply Reply Quote 0
                  • ? This user is from outside of this forum
                    Guest
                    last edited by

                    http://inedo.com/support/kb/1036/using-progets-symbol-server

                    These instructions suggest that the symbols would be required to be indexed but the stripped when requested.

                    The nupkg downloaded by VS has no PDBs in it

                    1 Reply Last reply Reply Quote 0
                    • ? This user is from outside of this forum
                      Guest
                      last edited by

                      using wireshark and procmon I can see VS download the pdb from the proget server, but then still gives that same message when stepping into code from that dll

                      1 Reply Last reply Reply Quote 0
                      • ? This user is from outside of this forum
                        Guest
                        last edited by

                        This is unfortunately not trivial to debug, and will require understanding/learning how the symbol/source serving work (and the arcane tools to inspect said files), since it could be any number of things at this point, from your local pdb cache to improperly build pdb files.

                        But take a look at some of the other Q&A posts with symbols tag, specifically this one which shows how to use pdbstr.exe to inspect.

                        If you find out specifically what the issue was, please do share it.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation