Hello,
we had troubles with migrating vcenter to 4.1 host ,and put it all back on the 4.0 host, but reinstalled the vcenter server (while a dektoppool was still online). But we imported our first database, because we had one pool that should stay online.
So we also had to reinstall the view composer.
The problem we have is that we cannot recompose the existing virtual desktops in the pool. we still get folowing error: "Internal View Composer error. Contact your administrator."
composer and vcenter share the same sql database.
in the viewconnection/ admin we set the view composer enabled, with port 18443 like the composer installation suggested.
could it be that the composer has the wrong port in the database.
does anyone recognize this problem?
View 4.0 does not work with vSphere 4.1. Composer is 32-bit only, and vCenter 4.1 only works with 64-bit Windows now.
This is fixed in View 4.5, which is scheduled for release soon.
Our vsphere is 4.0. This was our first problem, so we went back to the
4.0. Problem not solved
2010/9/3, eeg3 <communities-emailer@vmware.com>:
,
A new message was posted in the thread "internal view composer error":
http://communities.vmware.com/message/1603752#1603752
Author : eeg3
Profile : http://communities.vmware.com/people/eeg3
Message:
So as part of your migration you moved to 4.1 on a different server and when composer started failing you moved back the 4.0 hardware and reinstalled vCenter?
If you found this or any other post helpful please consider the use of the Helpful/Correct buttons to award points
Yes, and completely reinstalled the vcenter server, with composer on it. And same database as before. But no the composer won't work.
Are you getting that error on the View Admin page or from the composer logs located at C:\Documents and Settings\All Users\Application Data\VMware\View Composer\Logs?
If you found this or any other post helpful please consider the use of the Helpful/Correct buttons to award points
Yes, I get this error at the View Admin page when I try to recompose the existing pool.
2010/9/6 mittim12 <communities-emailer@vmware.com<mailto:communities-emailer@vmware.com>>
,
A new message was posted in the thread "internal view composer error":
http://communities.vmware.com/message/1604539#1604539
Author : mittim12
Profile : http://communities.vmware.com/people/mittim12
Message:
Can you review the logs to see if anything of substance can be found there?
If you found this or any other post helpful please consider the use of the Helpful/Correct buttons to award points
Is the View composer service started?
Try unchecking View composer in the View manager configuration, then add it again.
Sven Huisman
VMware vExpert 2009/2010
Yes the service is started, and unchecked and checked the connection server sveral times.
Now don't get the error anymore, but if we recompose, we get no error, but nothing else happens.
Even if we create a new automated pool, no errors, but no pool is created. The only thing we see is that the vCenter is creating a folder with the pool name, but when it completed, we can't even find the folder. Now in the eventlogs I see that the creation of the pool is pending. He's giving this "pending" event log the whole day.
event that continuing the whole day:
Message: (RePropagate cn=test,ou=server groups,dc=vdi,dc=vmware,dc=int) Pool control for desktop test is provisioning VM vpctest1
Type: Info
Time: 9/09/10 11:09:35
Module: PendingOperation
but no pool or desktops are provisioned.
I just performed an upgrade from VSphere 4.1 to 5.0 and View 4.5 to 5.0. Migrated from Win2k3 View server to Win2008 R2 64 server, migrated DB from SQLExpress to SQL 2005 Server. After the VSphere upgrade the View Admin website worked, although we received an error message when selecting the check box for Enable View Composer. We check, re-checked everything. Many errors were similar to what were noted on this site as well as others.
The issue and correction to the problem: SQL 2005 No Count Setting. Un-check this box and it works Details below:
I've come across an interesting situation while migrating the View Composer database from a MSSQL 2005 EXP to a MSSQL 2005 STD.
After we migrated the Composer database to MSSQL 2005 STD, I was able to connect to it using my original ODBC and start the View Composer Service.
But after the service is started, I could not connect to it from the View Connection Manager. It keeps prompting me a connection error.
Then I went into the Composer log and observed this:
2011-01-17 15:28:00,107 | 3 | INFO | SimAuditLogger.WebService - Operation AddAdConfig.
Caller user name: MYDOMAIN\vSphereUser
adConfigEntry.Fqdn : mydomain.local
adConfigEntry.LogonUser : mydomain.local\ComposerUser
In vmware-viewcomposer.log on VSphere server i have:
2011-01-17 15:28:00,115 | 3 | INFO | Persistence.Database.SimDbTransaction - An active transaction is about to be rolled back during VMware.Sim.ServiceCore.Persistence.Database.SimDbTransaction Dispose.
2011-01-17 15:28:00,116 | 3 | INFO | Persistence.Database.SimDbTransaction - Implicit rollback performed.
2011-01-17 15:28:00,116 | 3 | FATAL | Sim.ServiceCore.SimServiceApiImpl - Error: fail to execute web service call: AddAdConfig
VMware.Sim.ServiceCore.Exception.SimDaoException: Hibernate threw exception during Commit. ---> NHibernate.StaleStateException: Unexpected row count: -1; expected: 1
at NHibernate.AdoNet.Expectations.BasicExpectation.VerifyOutcomeNonBatched(Int32 rowCount, IDbCommand statement)
at NHibernate.AdoNet.NonBatchingBatcher.AddToBatch(IExpectation expectation)
at NHibernate.Persister.Entity.AbstractEntityPersister.Insert(Object id, Object[] fields, Boolean[] notNull, Int32 j, SqlCommandInfo sql, Object obj, ISessionImplementor session)
at NHibernate.Persister.Entity.AbstractEntityPersister.Insert(Object id, Object[] fields, Object obj, ISessionImplementor session)
at NHibernate.Action.EntityInsertAction.Execute()
at NHibernate.Engine.ActionQueue.Execute(IExecutable executable)
at NHibernate.Engine.ActionQueue.ExecuteActions(IList list)
at NHibernate.Engine.ActionQueue.ExecuteActions()
at NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions(IEventSource session)
at NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent event)
at NHibernate.Impl.SessionImpl.Flush()
at NHibernate.Transaction.AdoTransaction.Commit()
at VMware.Sim.ServiceCore.Persistence.Database.SimDbTransaction.Commit()
--- End of inner exception stack trace ---
at VMware.Sim.ServiceCore.Persistence.SimDaoHelper.LogAndThrow(Reason reason, String message, Exception inner)
at VMware.Sim.ServiceCore.Persistence.Database.SimDbTransaction.Commit()
at VMware.Sim.ServiceCore.SimServiceApiImpl.AddAdConfig(AdConfigEntry adConfigEntry), Machine Name: VC-server, Timestamp: 17.01.2011 12:28:00, App Domain Name: SviWebService.exe, Thread Identity: , Windows Identity: NT AUTHORITY\SYSTEM, OS Version: Microsoft Windows NT 6.0.6002 Service Pack 2, reason: Hibernate
I searched through the vmware knowledge base, and could not find a resolution for it.
Then I got around to checking the configuration of the DB instance running on SQL 2005 STD that was having this problem, and I noticed that someone had turned on "no count" as a default connection option.
Setting "no count" basically tells SQL server not to report back how many rows were affected by the last operation executed. Of course, this is a big problem for Hibernate which uses those row counts to determine if an update was unsuccessful.
After I uncheck that no count option, I can connect to composer from the connection manager.
You can find this "no count" setting by going to SQL Server Manager, right clicking on the DB Server instance you have registered in the Object Explorer, and selecting "Properties". Next, select the Connections page, and look in the "Default connection options" list for the "no count" setting. It must be unchecked for Hibernate to function properly.