Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Issue with upgrading 4.2 to 5.0

install
web-app

Just tried to update my 4.2.1 app to 5.0. Seems pretty straight forward, I just ran 2 stored procs in your install package, then deleted the contents of my inetpub\wwwroot\gemini folder and replaced them with the files from the install package. Then i just changed the connection string to reflect my database.

First issue: no where in your instructions does it mention needing to change the application pool to 4.0 instead of 2.0. I did this.

Second issue: Got an error that the user i use to connect to the IIS app ('webuser') did not have write permissions to the C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files folder. I gave that user write permissions.

Third issue: Next when i try to go to http://localhost/gemini, it just hangs. I look in the event log and see issues about the user logging on. After going through the event log, I end up adding 'identity impersonate="true"' to the web.config, and now i finally see the login screen

Fourth issue: Put in my username/password from my older installation, 4.2.1, in the login screen. Just hangs again. See below error for the stacktrace:

Event code: 3005 Event message: An unhandled exception has occurred. Event time: 9/1/2012 9:21:53 AM Event time (UTC): 9/1/2012 1:21:53 PM Event ID: c173d1b7e57f4fe0a28e4cdf73acaa5e Event sequence: 39 Event occurrence: 1 Event detail code: 0

Application information: Application domain: /LM/W3SVC/1/ROOT/gemini-2-129909790851830524 Trust level: Full Application Virtual Path: /gemini Application Path: C:\inetpub\wwwroot\gemini\ Machine name: OPSERVER2

Process information: Process ID: 2916 Process name: w3wp.exe Account name: IIS APPPOOL\ASP.NET v4.0

Exception information: Exception type: SQLGrammarException Exception message: Invalid object name 'geminiadmappings'.[SQL: SELECT adgroupsp0.projectgroupid as projectg21, adgroupsp0.mappingid as mappingid1, adgroupsp0.mappingid as mappingid520, adgroupsp0.projectgroupid as projectg2520, adgroupsp0.adgroupid as adgroupid520, adgroupsp0.lastsyncdate as lastsync4520, adgroupsp0.created as created520, adgroupsp0.tstamp as tstamp520 FROM geminiadmappings adgroupsp0_ WHERE adgroupsp0.projectgroupid=?] at NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type) at NHibernate.Event.Default.DefaultInitializeCollectionEventListener.OnInitializeCollection(InitializeCollectionEvent event) at NHibernate.Impl.SessionImpl.InitializeCollection(IPersistentCollection collection, Boolean writing) at NHibernate.Engine.StatefulPersistenceContext.InitializeNonLazyCollections() at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Loader.Criteria.CriteriaLoader.List(ISessionImplementor session) at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results) at NHibernate.Impl.CriteriaImpl.List(IList results) at NHibernate.Impl.CriteriaImpl.ListT at Countersoft.Foundation.Data.Repository2.FindAll(Order order) at Countersoft.Gemini.Data.Security.ProjectGroupRepository.GetAll() at Countersoft.Gemini.Caching.BaseCache2.GetAll() at Countersoft.Gemini.Caching.BaseCache2.Get(Int32 id) at Countersoft.Gemini.Infrastructure.Managers.BaseManager4.Get(Int32 id) at Countersoft.Gemini.Infrastructure.Managers.UserManager.ConvertInternal(User entity) at Countersoft.Gemini.Infrastructure.Managers.BaseManager4.Convert(T entity) at Countersoft.Gemini.Infrastructure.BaseController.Initialize(RequestContext requestContext) at System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__2(AsyncCallback asyncCallback, Object asyncState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.Begin(AsyncCallback callback, Object state, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate`1 endDelegate, Object tag, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate endDelegate, Object tag) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Request information: Request URL: http://localhost/gemini/cards/fetch Request path: /gemini/cards/fetch User host address: ::1 User: 2 Is authenticated: True Authentication Type: Forms Thread account name: OPSERVER2\webuser

Thread information: Thread ID: 17 Thread account name: OPSERVER2\webuser Is impersonating: True Stack trace: at NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type) at NHibernate.Event.Default.DefaultInitializeCollectionEventListener.OnInitializeCollection(InitializeCollectionEvent event) at NHibernate.Impl.SessionImpl.InitializeCollection(IPersistentCollection collection, Boolean writing) at NHibernate.Engine.StatefulPersistenceContext.InitializeNonLazyCollections() at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Loader.Criteria.CriteriaLoader.List(ISessionImplementor session) at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results) at NHibernate.Impl.CriteriaImpl.List(IList results) at NHibernate.Impl.CriteriaImpl.ListT at Countersoft.Foundation.Data.Repository2.FindAll(Order order) at Countersoft.Gemini.Data.Security.ProjectGroupRepository.GetAll() at Countersoft.Gemini.Caching.BaseCache2.GetAll() at Countersoft.Gemini.Caching.BaseCache2.Get(Int32 id) at Countersoft.Gemini.Infrastructure.Managers.BaseManager4.Get(Int32 id) at Countersoft.Gemini.Infrastructure.Managers.UserManager.ConvertInternal(User entity) at Countersoft.Gemini.Infrastructure.Managers.BaseManager4.Convert(T entity) at Countersoft.Gemini.Infrastructure.BaseController.Initialize(RequestContext requestContext) at System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__2(AsyncCallback asyncCallback, Object asyncState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.Begin(AsyncCallback callback, Object state, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate`1 endDelegate, Object tag, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin(AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate endDelegate, Object tag) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Custom event details:

Phil Johnson
· 1
Phil Johnson
Replies (2)
helpful
0
not helpful
ANSWER

Many thanks for the feedback. We will update our docs shortly. As for the issue you are having, it seems like you are missing a table in the 4.2 version of Gemini (gemini_admappings) from which version have you upgraded to 4.2.1?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Been using gemini since version 2, but i think we had enough issues with our 2 to 3 and then trying 3 to 4, that for 4.0 we just started from scratch. I've run those create tables scripts for the ad tables, seems to work fine for the most part now.


Phil Johnson
· 1
Phil Johnson