New installation - can't get connected in Mgmt Console

Installing an App-V environment; Client, Server, Sequencer components; Best Practices, Videos, How to Guides

Moderators: jur, kirk, kkaminsk

New installation - can't get connected in Mgmt Console

Postby wfrush » Thu May 26, 2011 8:14 am

This is a question from an AppV newbie.
I am attempting to install AppV on a virtualized Windows 2008 R2 64-bit server. I made the server part of the AD domain, which is a Small Business Server domain. I had lot's of trouble getting the AppV Management Server component to install. I was following the implementation blog at
http://blog.augustoalvarez.com.ar/2009/ ... vironment/
which seems pretty clear. I took a fresh install of 2008 R2, added the IIS role with all the management services, downloaded a current copy of SQL 2008 Express, and felt that I had met all the base requirements. I was able to log in to the SQL Management Studios and attach to my the SQLEXRESS instance. However, when I got to the installation page that connects to the database, my local instance didn't show in the list. Only when I chose port 49256 with my server name of APPV\SQLEXPRESS did the application move ahead. Then at the end, I got the 25109 error. I read with disappointment that a limitation of SQL Express 2008 is that it does not use the fixed 1433 port, and instead uses the 49256 port. I put the SQLserver.exe and both 1433 and 49256 as open port exceptions in the firewall. SQL seemed to be working OK, but I couldn't get the installation program to finish using this instance.

So I decided to start over using the SQL 2005 instance in the SBS server. That completed successfully. I rebooted and started up the App Management Console. It won't connect. I'm on the "Connect to Application Virtualization System" panel, and I've tried all kinds of names for the Web Service Host Name. Since the server name is APPV, that seems like what should go there. I'm unchecking the "Use Secure Connection" and trying to use the Domain Admin account credentials (which is what I logged in with). I get an error "Unable to log into the Application Virtualization System. Invalid user name or password. Error Code: 0000C801." I've tried using the Specify Windows account with the same result.
I've tried looking around in the IIS Manager, but since I'm new at the AppV process, nothing jumps out at me.
When I look at the file sftmmc.log, I see the results of my unsuccessful connection attempts. Here's a sample:
5/25/2011 11:53:03 PM http://APPV/
ManagementConsole.MCException: The remote server returned an error: (401) Unauthorized. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.

Server stack trace:
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessResponseException(WebException webException, HttpWebResponse& response)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SoftGrid.Management.IAuthorization.Authorize()
at ManagementConsole.ManagementSession.connect(String urlPrefix, NetworkCredential cred)
--- End of inner exception stack trace ---


So, I'm stuck. Somewhere I saw something in a log that I can't find right now that gave me the impression that I might be having this problem because the SQL instance is on one server (not APPV) and the IIS installation is on this server. It's probably something simple, or maybe I just need to trash the VM and revert to my "fresh" copy.

Does any of this make any sense to you AppVirtGuru-s?
wfrush
Still installing locally
 
Posts: 3
Joined: Thu May 26, 2011 7:38 am

Re: New installation - can't get connected in Mgmt Console

Postby wfrush » Thu May 26, 2011 8:19 am

By the way, I'm using the 4.6 SP1 to do the installation.
wfrush
Still installing locally
 
Posts: 3
Joined: Thu May 26, 2011 7:38 am

Re: New installation - can't get connected in Mgmt Console

Postby wfrush » Thu May 26, 2011 8:38 am

What directories should I have in my inetpub directory? I currently have
AdminScripts;
custerr;
history;
logs;
temp; and
wwwroot.

In wwwroot, I only have
aspnet_client (folder)
iistart.htm (file) and
welcome.png. (file)

Seems like I'm missing something here.
wfrush
Still installing locally
 
Posts: 3
Joined: Thu May 26, 2011 7:38 am

Re: New installation - can't get connected in Mgmt Console

Postby OmarB » Thu May 26, 2011 6:31 pm

Just an idea, but have you started the App-V Management Server service ?

After the installation the service is not started and you cannot login with the console.

Also, the service won't start automatically at reboot, you have to set the starting option to "delayed".
OmarB
 

Re: New installation - can't get connected in Mgmt Console

Postby ksaunam » Fri May 27, 2011 11:37 am

OmarB wrote:Just an idea, but have you started the App-V Management Server service ?

After the installation the service is not started and you cannot login with the console.

Also, the service won't start automatically at reboot, you have to set the starting option to "delayed".


Management Server -service is not connected to Management Console usage in any manner, so that shouldn't be a factor here.

There's likely something wrong with the authentication process in overall, maybe the connection between Web Service host and SQL box is the issue in here? In the more recent App-V versions, due to integrated authentication model, you need service principal names (SPNs) registered to the AD in certain scenarios so maybe this article is of use to you: http://blogs.technet.com/b/appv/archive ... guide.aspx

Btw, I'm fairly certain that you can use fixed 1433 port for SQL Express 2008 as well but you just need to use SQL Server configuration manager to change the default dynamic bindings to the static ones.
Kalle Saunamäki
Enhance your App-V packaging - http://www.gridmetric.com/
Blogging on the App-V - http://blog.gridmetric.com/
ksaunam
Elder
 
Posts: 1562
Joined: Fri Jun 04, 2004 7:58 am
Location: Helsinki, Finland

Re: New installation - can't get connected in Mgmt Console

Postby kirk » Mon Jun 06, 2011 11:46 am

On the SQL Server, can you check if some tables have been created on the App-V database? Also, there should be a "Login" <domain-name>\APPV$ that has access right to the DB.

In the Management Service's Installation folder ("C:\Program Files (x86)\Microsoft System Center App Virt Management Server\App Virt Management Service"),
there should be an .udl file. Open it (double click) and check if you can "Test Connection" to the database.

During instalaltion you have specified two groups - one for the Admins and one for the "Default provider". Make sure that your logged-on user is member of the Admin group.

What about Dot.Net 4.0 - do you have that installed on your App-V Manageemnt server box? If so, this could be an issue as well.
Falko
kirk
Guru
 
Posts: 604
Joined: Fri Aug 27, 2004 2:32 pm
Location: Germany

Re: New installation - can't get connected in Mgmt Console

Postby porpoise1877 » Wed Jun 08, 2011 9:12 pm

Did you get this fixed up? I'm having this same issue. I've googled my brains out on this - to no avail.
porpoise1877
Still installing locally
 
Posts: 1
Joined: Wed Jun 08, 2011 9:06 pm

Re: New installation - can't get connected in Mgmt Console

Postby istefanos » Tue Aug 16, 2011 8:38 pm

Check permissions on the ("C:\Program Files (x86)\Microsoft System Center App Virt Management Server\App Virt Management Service"),
there should be an .udl directory , you should have read/launch permissions on this file minimum
Right click on the file, check security make sure the Appv admin group is listed there
Does the console work locally on the server ?
Also what does the sftmmc.log under this path say C:\Program Files\Microsoft System Center App Virt Management Server\App Virt Management Console
istefanos
Still installing locally
 
Posts: 5
Joined: Thu Jul 21, 2011 6:36 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests