System offline after install

Oct 19, 2010 at 3:27 PM

Hi,

I have installed uManage and followed the installer and all seems to be fine, but on comlpeting the installer the system is stuck in offline mode.

Is there any way i can override this setting?

Thanks,

Simon

Coordinator
Oct 19, 2010 at 3:58 PM

Simon,

The system will only go into offline mode if the installer fails to configure the system properly.  Otherwise it should load up normally.  Check your web.config settings to see if the system setup the database provider and the membership provider section is encrypted.  Also check your database to see if any tables were created, if not it’s possible the system failed when running the SQL script to install your database.

Reference the manual installation documentation to ensure everything is setup properly and then remove the App_Offline.htm page from the root of the web directory.

Let me know if you have any other questions,

Brent

Oct 19, 2010 at 4:45 PM

Hi,

THanks for the prompt reply.

The tables are definitely there, I have this string

    <add name="AppService" connectionString="Data Source=vsvr-sql01;Initial Catalog=uManage-ad.tuispecialist.c;User Id=svc.umanage;Password=xxxxxxxx;MultipleActiveResultSets=true;" Name="System.Data.SqlClient" />

The membership provider section seems to be there as well.

    <membership configProtectionProvider="DataProtectionConfigurationProvider">
      <EncryptedData>
        <CipherData>
          <CipherValue> ---DELETED---</CipherValue>
        </CipherData>
      </EncryptedData>
    </membership>

Can you link the manual installation documentation, I have used all the info and more from the Documentation tab at the top of this page.

Simon

Oct 19, 2010 at 5:07 PM
Line 8:      <clear />
Line 9:      <add name="ADService" connectionString="ldap://ad.tuispecialist.com" />
Line 10:     <add name="AppService" connectionString="Data Source=vsvr-sql01;Initial Catalog=uManage-ad.tuispecialist.c;User Id=svc.umanage;Password=xxxxxxxx;MultipleActiveResultSets=true;" Name="System.Data.SqlClient" />
Line 11:   </connectionStrings>
Line 12:   <appSettings>

The above is the error I am getting unrecognised attribute "Name"


Oct 19, 2010 at 5:16 PM

I am updating as I troubleshoot here so forgive me if this is a bit garbled, hopefully it is of use to others:

I removed the end of the line above which had the following code in it:

Name="System.Data.SqlClient"
This then led me to the unrecgnised domain name format error, so i changed:

    <add name="ADService" connectionString="ldap://ad.tuispecialist.com" />

to be:

    <add name="ADService" connectionString="LDAP://ad.tuispecialist.com" />

This then leaves me with the following error...

Server Error in '/' Application.

Unknown error (0x80005000)

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: Unknown error (0x80005000)

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 (0x80005000): Unknown error (0x80005000)]
   System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +788
   System.DirectoryServices.DirectoryEntry.Bind() +44
   System.DirectoryServices.DirectoryEntry.get_AdsObject() +42
   System.DirectoryServices.PropertyValueCollection.PopulateList() +29
   System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName) +63
   System.DirectoryServices.PropertyCollection.get_Item(String propertyName) +163
   System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer() +436
   System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit() +51
   System.DirectoryServices.AccountManagement.PrincipalContext.Initialize() +141
   System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx() +42
   System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate) +29
   System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(PrincipalContext context, String identityValue) +95
   PPI.UMS.AD.User..ctor(String Username) +396
   PPI.UMS.Web.App_Master.User.Page_Load(Object sender, EventArgs e) +269
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3048


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Sorry for the waffling, but gopefully thi helps ifentidy the bug, something went wrong in the installer by the looks of it initially but I have been able to check the settings using the manual documentation.
Coordinator
Oct 19, 2010 at 7:00 PM

Hey,

Yea, this is a fun error.  The post prior to yours ended up with the same problem.  Did you download the stable release or a build of the source?

I am hoping I can put in some time this week to really get the next release available which fixes a lot of these communication problems, just trying to find the time.

Brent

Oct 19, 2010 at 7:04 PM
Edited Oct 20, 2010 at 7:43 AM

I downloaded this today from the downloads page so I assume it is the stable release. It was from the recommended download link.

Thanks,
Simon

Oct 25, 2010 at 11:56 AM

Morning all,

Appreciate that you are only 1 person, but I have seen you in other posts mentioning that there is a release that fixes a few issues.

Is this one of the issues that is fixed? If it is not can you give any clue at where I should start looking to resolve this error?

Simon

Feb 9, 2011 at 5:37 PM

http://connect.microsoft.com/VisualStudio/feedback/details/605939/principalcontext-groupprincipal-unknown-error