Client Management Suite

 View Only
  • 1.  ASP .net error when trying to create a package

    Posted Oct 14, 2009 04:16 PM
    I am getting an asp.net error when I am trying create a package(see below)  I found a aricel on microsoft that describes the situation I am having ( http://support.microsoft.com/kb/941386 ) except I need to contact MS to get the hot fix.  I believe that this error was fixed when they released .Net 2.0 SP 2, I was curious if there was another fix or if it is an issue for me to upgrade SP 2 for .Net 2.0?  I know SP 1 for .Net 3.5 is a sure way to break my system, but I'm not sure about 2.0.

    Mark


  • 2.  RE: ASP .net error when trying to create a package

    Posted Oct 14, 2009 06:20 PM
    NS6 doesn't play nice with any version of 2.0, although it can run alongside, although it can run along side as long as the default website is set to 1.1. For example, having SQL 2005 on box requires 2.0.

    In any case, don't add SP2, as it will surely break NS7, although I guess I don't know for sure about 6 (if it will continue to ignore it alot).

    Also, if you can provided a screenshot or some other details, it would help troubleshoot the problem, i.e. Altiris log files.


  • 3.  RE: ASP .net error when trying to create a package

    Posted Oct 19, 2009 11:10 AM

    I am using Altiris 7

    The error that I am receiving is being reported in Windows Event Veiwer:

    pic 1.JPG


    The full error is:
     

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 10/14/2009 3:11:26 PM
    Event time (UTC): 10/14/2009 7:11:26 PM
    Event ID: 79ed454bf1ef4b97a4ed9fdaa1602471
    Event sequence: 1498
    Event occurrence: 7
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/1/Root/Altiris/SoftwareManagement-8-128999398447436920
        Trust level: Full
        Application Virtual Path: /Altiris/SoftwareManagement
        Application Path: C:\Program Files\Altiris\SoftwareManagement\Web\
        Machine name: TESTLABDELL
     
    Process information:
        Process ID: 1944
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
     
    Exception information:
        Exception type: InvalidOperationException
        Exception message: ExecuteReader requires an open and available Connection. The connection's current state is closed.
     
    Request information:
        Request URL: http://localhost/Altiris/SoftwareManagement/Dialogs/PackageRepository.aspx?method=addManifest&guid=59346884-a0c9-4097-a383-d8bb4c7f2c28
        Request path: /Altiris/SoftwareManagement/Dialogs/PackageRepository.aspx
        User host address: 127.0.0.1
        User: HELPDESK\Altiris
        Is authenticated: True
        Authentication Type: NTLM
        Thread account name: HELPDESK\Altiris
     
    Thread information:
        Thread ID: 1
        Thread account name: HELPDESK\Altiris
        Is impersonating: False
        Stack trace:    at System.Data.SqlClient.SqlConnection.GetOpenConnection(String method)
       at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command)
       at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
       at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
       at Altiris.NS.Utilities.StaticStringsResourceReader.GetStrings()
       at Altiris.NS.Utilities.StringResourceReaderBase.GetEnumerator()
       at System.Resources.ResourceSet.ReadResources()
       at System.Resources.ResourceSet..ctor(IResourceReader reader)
       at Altiris.NS.Utilities.AltirisResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
       at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
       at Altiris.NS.Utilities.AltirisResourceManager.GetString(String name, CultureInfo ci)
       at Altiris.NS.Utilities.AltirisResourceManager.GetString(String name)
       at Altiris.SoftwareManagement.Web.PackageRepository.AddPackageManifest()
       at Altiris.SoftwareManagement.Web.PackageRepository.Page_Load(Object sender, EventArgs e)
       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Custom event details:
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


  • 4.  RE: ASP .net error when trying to create a package

    Posted Oct 21, 2009 10:19 AM
    The hotfix from microsoft did not work. So far I have only seen this error when I am trying to add the folder when creating a package.  I'm thinking maybe trying to uninstall and reinstall ASP.Net, will this cause any issues with altiris?


  • 5.  RE: ASP .net error when trying to create a package
    Best Answer

    Posted Oct 21, 2009 01:08 PM
    I resolve the issue, which is a know issue with version 7.  It seems that the default time out for uploading a package can conflict when trying to upload a rather large installation file, needed to up the time for it by editing a file.  More info here: https://kb.altiris.com/display/1/kb/article.asp?aid=49112&n=2&s=