Error Messages for Mega Menu, Alerts, Header and Footer [Provided menu no longer exists]. Updating the Database Connection Strings for Prime, TURBO and TURBOView.

Vahe Voskanian -

This is for releases of Emgage Products prior to 2016. All new versions of the Emgage Products have a different set of connection strings. Please follow this article for all brand new versions.

 

TODO: Add article for current version. 

Error messages for the Mega Menu, Header or Footer are displayed because of reconfigured or missing Emgage databases This article explains the steps that need to be taken in order to connect the Emgage databases to your environment. If the database does not have the correct connection strings in place, in the web.config of the server, an error messages will be displayed when trying to customize the Mega Menu, Header and Footer. Here is a screen shot of the error.

Updating the Connection Strings:

 

  1. Go to your Desktop on your web front end server then right click on a blank space, and select New > Text Document.
    Rename the document to CN.udl and select Yes on the resulting "Are you sure you want to change it?" alert.
  2. Double click that file and it will open as shown below. If it opens in a text editor, first confirm that the file extension has been changed to .udl, then right click on the file, select Open with..., and select OLE DB Core Services.


  3. Provide all details as shown in a screen shot below. (NoteUsername: primeSettingsUser. Please contact Emgage Support for the password.

  4. Click Test Connection.
  5. If the connection is successful, a Test connection succeeded message will display. If the connection is not successful, please confirm that the server name is correct and at the User name and Password do not contain errors. (Note: The server name must be the same name as the actual server; Instances will not work.)
  6. Select OK, and then Yes in the resulting alert.
  7. Right click on the CN.udl file and open it using Notepad.
  8. You will now see a connection string for the ateraLicenseUser.
  9. Copy the text starting from Password till the end.
  10. Go to C:\inetpub\wwwroot\wss\VirtualDirectories. (web.config)
  11. Select the folder corresponding to your web application.
  12. Make a backup of the web.config.
  13. Open the web.config file using Notepad.
  14. Search for the tag <connectionstrings>.
  15. Replace a connection string for the AteraPrimeLicensing with the newly generated connection string from the above steps.
    Here, we will replace everything contained within the double quotes following the text "connectionString=" with what we have copied for the CN.udl file. When updated, the connection string will look as follows (the bold portion is what was copied from the CN.udl file):

    <add name="AteraPrimeLicensing" connectionString="Password=yourpassword;Persist Security Info=True;User ID=ateraLicenseUser;Initial Catalog=AP_LicenseManagement;Data Source=SERVERNAME" providerName="System.Data.SqlClient" />

  16. Login to your site and confirm the Product Licensing page is available by navigating to Site settings > Product Licensing (found under the Emgage Settings heading).
  17. Repeat this process for the web.config of all web applications on all WFE’s using Emgage products (Prime, Turbo, or Turbo View).
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk