Post

1 follower Follow
0
Avatar

Installing Express - Validation Step Errors

I cant seem to get past these few errors in validation step:

  1. Validating Domain Account Credentials - ensure the "...Replace a process level token and ensure the Administratirve User account has this privelage"
         Does this change need to be made to the admin account Im using to install, or the admin account created by Apprenda?

 

  1. Validating SQL Server Installation on Database Targest - I followed the first set of instructions to set the default data paths and change them to something and change them back to use default. After that I now get "Default Data/Log location [location] does not exist"    which it does.

 

  1. Validating MSDTC Configuration - the service IS running. I have run Validation a few times and it has not gone away as the help document suggests.

  2. Validating Windows Identity Foundation Installation - This seems to be an extra piece of software  you must buy a license for. Is this correct or is it a role service i can install?

 

Help!

 

As a side note, you should make the "Validate My Configuration" button clickable at all times. I can only re-test if i click on "Change Account" and then save it again without making changes to the account.

Also, by clicking "Edit Settings" and clicking on something you end up skipping the validation step. This cant be right, is it?

Kiel Diller

Please sign in to leave a comment.

20 comments

0
Avatar

Kiel,

Do you have administrative rights on your machine? The installer should be fixing all of these for you, so long as you are running it as a user with the appropriate permissions.

Matt

Matt 0 votes
0
Avatar

Yes, my user has administrative rights. I have been using this account for the admin from the beginning. I wouldn't think that would be an issue...

Kiel Diller 0 votes
0
Avatar

Hi Kiel,

See answers below:

  1. The admin account created by the installer however as Matt said if you are running the installer as a network admin, the installer should be able to configure the account properly for you. Also if you are installing the platform in more than 1 machine you should change the accounts used to be domain accounts.

  2. Somehow the account being used by the installer is not able to see the location so make sure that it is visible to the account running the installer.

  3. Make sure you are using a local admin account to run the installer as this should be getting configured by the installer automatically. It might help to restart your machine if you are using the proper account but are still running into problems.

  4. I see you solved number 4 already!

Cheers,

Abe 

Abraham Sultan 0 votes
0
Avatar

I restarted and logged in as the apprenda admin account. I still fail on the sql server data folders but I copied and paste the directory into windows eplorer and it shows up just fine.

Still failing on:

Validating Domain Account Credentials         (this Server is NOT a DC, is that an issue?)

Validating SQL Server Installation on Database Targets

Validating MSDTC Configuration for Distributed Transactions on Target Servers

Kiel Diller 0 votes
0
Avatar

Can you please send us your installation logs to support at apprenda dot com. You can find them on %appdata%\Apprenda\Logs\installWizard.log on the machine you ran the installer from.

Thanks

Abe 

Abraham Sultan 0 votes
0
Avatar

Attached is the log. The SQL section says "Network path not found" but its not a network path, its a directory on local machine.

Kiel Diller 0 votes
0
Avatar

Hi Kiel,

Are you running the installer from a network path by any chance? Make sure that you copy the executable locally and run it locally as a local admin. For some reason it thinks that you are trying to install to/from a network path. To get a clean set of logs please delete this folder and try running the installer again (close it and run the executable again after deleting the folder): %appdata%\Apprenda\Logs.

Once you try installing again please send us your logs again if you have any problems. It may also help restarting your machine in case there are rogue processes locking configuration files before trying to run the installer the second time.

Abe

Abraham Sultan 0 votes
0
Avatar

Running it from the desktop of the remote desktop session. Should be a local file.  Trying your suggestion now and will upload new log.

Kiel Diller 0 votes
0
Avatar

Kiel, it appears like there are several problems so let's try to resolve each one at a time. Let's start with the MSDTC one since that one should be trivial and it could be affecting the others:

The error shown on the logs indicates that the installer can't find the framework Config directory to read the machine.config file. This is normally found under the following location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config

Can you please confirm if this directory exists as well as a file called machine.config in it.

Thanks,

Abe 

Abraham Sultan 0 votes
0
Avatar

Sorry the response was slow, I was out of town all weekend.

Yes, the machine.config file exists in that directory.

Kiel Diller 0 votes
0
Avatar

Hi Kiel,

I'm not sure what else we can try but the error you are getting indicates that the directory does not exist which comes from a direct system API. I assume you already tried to restart your machine and that you are indeed running as a local administrator. Other than that I'm not sure what else we can try or why this call would be failing as this is unrelated to any of the Apprenda code. Let me try to see if we can send you a new installer with a bit more logging to verify that the proper directory is being read.

Cheers,

Abe 

Abraham Sultan 0 votes
0
Avatar

Hi Kiel, 

We've released 3.5 since you started trying to install Apprenda. I recommend that you download the latest version and try your problem again. The additional logging was added to the 3.5 release as well so if it is still unsuccessful we should be able to get better information.

Cheers,

Abe 

Abraham Sultan 0 votes
0
Avatar

OK, new progress!

I FINALLY got Apprenda to install. One major issue was that I could not access \pcname\c$ so the installer couldnt get to any config files or anything. I fixed this by installing "File and Printer Sharing for Microsoft Networks" on to my network adapter. After this, my shares worked fine and everything went ok.

 

My new problem(s) revolve around the website console not working. First, the URL rewrite rules killed every site I had in IIS already and "stole" any url request. The solution I saw so far said to move the rules into the application leve, rather than global. After disabling ALL url rewrite rules, my sites worked again.

The Apprenda console setup is a bit odd and I don't know how much I have changed, but I can get it to bring up a login page in the "authentication" section. Once I login, I get the following error:

ID1038: The AudienceRestrictionCondition was not valid because the specified Audience is not present in AudienceUris. Audience: 'https://apps.apprenda.local/account/'

 

Help!

Also, if you could send me a list of what the bindings for each site should be, I'd like to get them back to how they originally were. Thank you!

Kiel Diller 0 votes
0
Avatar

Kiel,

Not having sharing enabled in Windows would certainly block validation from completing.  The installation wizard should have tipped you off to that when validation failed.  The installer is designed to let you know when requirements aren't met - via failed validation, so it should have informed you that it could not access necessary shares (or create them).  This is precisely why you must validate your configuration on the Validation and Configuration page prior to running the installation on the Installation page.

Regarding the URL rewrite rules and IIS configuration:

You should understand that the purpose of the Apprenda platform is to manage these server technologies for you. To that end, the platform takes control of IIS and SQL server to the extent necessary to dynamically deploy and configure your guest applications' workloads - websites, web services, databases, etc.  The installer does not destroy existing websites (we wouldn't want to destroy a developer's workstation if they are testing Apprenda locally); however, we do turn them off - you'll understand that existing websites could interfere with the dynamic creation of future websites as you use the platform.  As for the URL rewrite rules, we have to remove existing ones because, as I'm sure you know, the order in which rules are processed has a profound effect on routing, and we can make no guarantees that the platform can reliably manage IIS and route HTTP requests properly if it has to interplay with existing developer configuration.

What I'm getting at here is that if you are intending to evaluate Apprenda as it would operate in a production capacity, you won't want to try to make it work on your developer workstation where there are other websites/configuration that could interfere with Apprenda.  You especially don't want to manually change the configuration Apprenda set up.

My recommendation at this point is that if you'd like to properly evaluate Apprenda, you setup a virtual machine that meets the pre-requirement checklist:  http://docs.apprenda.com/3-5/installation-checklist and install Apprenda Express there.  Allow the platform to perform its duties in terms of configuring and managing IIS and SQL server for you, and you'll have a much better evaluation experience and an overall better idea of how Apprenda will fit into your project.

Let me know if you have any further questions.

Matt

 

 

Matt 0 votes
0
Avatar

I don't have virtualization in use right now so a virtual machine is not going to work for me. I am not trying to use Apprenda on my workstation, it is installed on a dedicated server hosted with GoDaddy but it had some other client websites on it so those need to remain in tact.

To move forward, ignore all previous comments and focus on the new/current issues:

I go to "apprenda.local" and it redirects me to the login page successfully. Upon login, I get this error:

_ID1038: The AudienceRestrictionCondition was not valid because the specified Audience is not present in AudienceUris.

Audience: 'https://apps.apprenda.local/account/'_

_Any ideas here?

_

Kiel Diller 0 votes
0
Avatar

Also, my other question that remains unanswered is: What are the default bindings for each site in IIS that Apprenda creates? This should be fairly easy to figure out. Look at your own install of Express and go to IIS and just take a screenshot of the bindings of each site. That would help a lot to get my install back to where it should be. Thanks

Kiel Diller 0 votes