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 Page after version upgrade 4.0.10 to 4.0.11



  • After installing the new Version I get this error:
    Cannot access a disposed object.
    Object name: 'SlimMemoryStream'.

    Setup was successful (according to last setup step).

    My URL: https://devpackages.tts-company.com/

    ProGet is IIS hosted.

    Product: ProGet
    Version: 4.0.11



  • I would suggest to stop/start the web server, and hopefully it will be fixed after that!



  • Hi, I already done that. IIS reset, application pool recycled and service restart.



  • Ok, how to roll back?



  • Uninstall, then restore the old database, then reinstall the old version.



  • Is there anything new to this topic?



  • Unfortunately this is the only report of this error out of several thousand installations, and we have been provided no other debugging information, such as a stack trace, reproduction steps, etc.

    So, I'm afraid we can't provide anything new unless you provide more information, or attempt to debug/diagnose further on your end.



  • I've also been able to reproduce this error in my Proget installation.

    Cannot access a disposed object. Object name: 'SlimMemoryStream'. I also have noticed this error only after updating to Proget 4.0.11, as Sebastian mentioned before.

    Stack Trace of the Error: - As shown in proget administation panel

    URL: http://trendssrc01.intranet.enterpisedomain/feeds/Default
    Referrer: (not set)
    User: (unknown)
    User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
    Stack trace: at Inedo.Web.PageFree.SimplePageBase.ProcessRequest(HttpContext context)
    at Inedo.ProGet.WebApplication.Pages.NuGet.Feeds.FeedPageBase.ProcessRequest(HttpContext context)
    at Inedo.Web.PageFree.SimplePageBase.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Windows event viewer log:

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 18/05/2016 16:06:54
    Event time (UTC): 18/05/2016 19:06:54
    Event ID: 1e44ad1544034c91bce82b8b7402a47d
    Event sequence: 4
    Event occurrence: 3
    Event detail code: 0

    Application information:
    Application domain: /LM/W3SVC/3/ROOT-1-131080631714649883
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\Program Files\ProGet\WebApp\
    Machine name: TRENDSSRC01

    Process information:
    Process ID: 25452
    Process name: w3wp.exe
    Account name: AUTORIDADE NT\SERVIÇO DE REDE

    Exception information:
    Exception type: ObjectDisposedException
    Exception message: Cannot access a disposed object.
    Object name: 'SlimMemoryStream'.
    at Inedo.IO.SlimMemoryStream.set_Position(Int64 value)
    at Inedo.Web.PageFree.SimplePageBase.ProcessRequest(HttpContext context)

    Request information:
    Request URL: http://trendssrc01.intranet.enterpisedomain/feeds/Default
    Request path: /feeds/Default
    User host address: 192.168.0.10
    User:
    Is authenticated: False
    Authentication Type:
    Thread account name: AUTORIDADE NT\SERVIÇO DE REDE

    Thread information:
    Thread ID: 12
    Thread account name: AUTORIDADE NT\SERVIÇO DE REDE
    Is impersonating: False
    Stack trace: at Inedo.IO.SlimMemoryStream.set_Position(Int64 value)
    at Inedo.Web.PageFree.SimplePageBase.ProcessRequest(HttpContext context)

    Custom event details:

    Details of the error:

    I have only managed to reproduce this error while trying to browse the feed using the browser. The nuget repository, and the /nuget/{feedName} works properly.

    This error only happens while acessing the feed to browse for packages while i am using a specific url to acess the application:

    1 ) When i use the ip adress of the server as url. The server works propertly.

    1. When i use the name of the server on our internal network into the URL( http://trendssrc01/feeds/default). The server works properly.

    2. When i use the name of the server on our internal network into the URL, with the domain ( http://trendssrc01.intranet.enterpisedomain/feeds/default), while browsing on the server wich the proget server is hosted. The server works properly.

    3. When i use the name of the server on our internal network into the URL, with the domain ( http://trendssrc01.intranet.enterpisedomain/feeds/default), while browsing from another machine ( I only tested that in machines that are in the same domain). The server DOES NOT works properly and throws the error "SlimMemoryStream"

    Reproduction steps::

    I Think i already gave all the details i could in the Details of the error section :)



  • Looks like a bug caused by accessing certain pages from clients that don't support gzip compression. We'll have this fixed in 4.0.15, which should be released today.

    Thanks for the detailed report!


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation