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!

Error for Visual Studio Extensions feed



  • Hello,
    I created new Visual Studio Extensions feed. While trying browsing the feed I am getting fololwing error:
    An unexpected error occurred while listing packages: An error occurred while parsing EntityName. Line 27, position 247.. Additional information has been logged in the diagnostic center.
    I tried to delete and create a new one - same error. And I am able to upload packages, but I am not see them.
    Any ideas what problem is?
    Thank you in advance,
    Arkady


  • inedo-engineer

    Hi @arkady-karasin_6391 ,

    Under Admin > Diagnostic Center, can you locate the error message and share the full stack trace?

    Thanks,
    Steve



  • Here is it:
    Logged:13/06/2024 12:20:02
    Level:Error
    Category:Web
    Message:An error occurred while parsing EntityName. Line 27, position 247.
    Details:System.Xml.XmlException: An error occurred while parsing EntityName. Line 27, position 247.
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.Throw(String res, Int32 lineNo, Int32 linePos)
    at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos)
    at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
    at System.Xml.XmlTextReaderImpl.FinishPartialValue()
    at System.Xml.XmlTextReaderImpl.get_Value()
    at System.Xml.Linq.XContainer.ContentReader.ReadContentFrom(XContainer rootContainer, XmlReader r)
    at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
    at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
    at System.Xml.Linq.XDocument.Load(Stream stream, LoadOptions options)
    at Inedo.ProGet.Feeds.Vsix.VsixConnector.GetAtomFeedAsync()
    at Inedo.ProGet.Feeds.Vsix.VsixConnector.GetPackagesAsync()
    at Inedo.ProGet.Feeds.Vsix.VsixFeed.UnionWithConnectorPackagesAsync(IEnumerable1 localPackages, Func2 isInclused)
    at Inedo.ProGet.Feeds.Vsix.VsixFeed.GetPopularPackagesAsync(Nullable`1 count)
    at Inedo.ProGet.Feeds.Vsix.VsixFeed.SearchPackagesAsync(String query, Int32 maxCount, Boolean includePrerelease)
    at Inedo.ProGet.WebApplication.Pages.Packages.ListPackagesPage.PackageList.InitializeAsyncInternal()
    at Inedo.ProGet.WebApplication.Pages.Packages.ListPackagesPage.PackageList.InitializeAsync()


  • inedo-engineer

    Hi @arkady-karasin_6391 ,

    Thanks for sharing the error; basically this error means that you're connecting to an invalid feed/URL. You can only connect to a VISX feed, which is an ATOM-based format.

    Note: You cannot mirror the "official" Visual Studio Gallery URL, as that is technically not a VISX gallery. It uses a different and undocumented format, and Visual Studio will not recognize that format for anything except official gallery.

    Connectors in VISX aren't very useful, and really are only useful for connecting to other ProGet instances.

    Thanks,
    Steve



  • @stevedennis
    Make sense. I removed connector and now I see uploaded package.
    Do it check for vulnerabilities?


  • inedo-engineer

    Great!

    I don't believe that there is any public reporting of VISX package vulnerabilities, so this is not data that would be available in ProGet either


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation