Group: StrataFrame Users
Posts: 939,
Visits: 40K
|
I am trying to get ES up and runing under the developer SDK license, we have two projects that I think are a great fit for ES. The error I get (via email from the ES server) when trying to connect is below. The hostname listed in the account section matches the name in my EnterpriseDataSourceItem so I am not sure what is next. Can you see if there is a licensing problem? I downloaded the license file twice and installed it. Status.ASPX works and shows the client connected. One odd thing is the status page shows the server hostname as "Unknown", maybe that is the problem but I sure dont know how to fix. Thoughts appreciated.Enterprise Server Error | Message: | This server is not licensed to run on the requested hostname. | Client IP: | 71.230.148.15 | Details: | Exception This server is not licensed to run on the requested hostname.
Source : MicroFour StrataFrame Enterprise Server
Stack Trace: at MicroFour.StrataFrame.Enterprise.Server.RemoteDataSource.ᜀ(String A_0) at MicroFour.StrataFrame.Enterprise.Server.RemoteDataSource.ProcessRequest(HttpContext context) |
| If System.IO.File.Exists("C:\EnableES.txt") Then'-- Create the ES data sourceDim ds As New EnterpriseDataSourceItem("", _"es.sigmaxxxx.com", 80, "ILA", _New SqlDataSourceItem(""))'-- Configure the compression and encryption (optional) ds.IsCompressed = Trueds.IsEncrypted = Trueds.EncryptionKey = New Byte() {1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4}ds.EncryptionVector = New Byte() {1, 2, 3, 4, 5, 6, 7, 8}'simple error display for testingTry'-- Add the EnterpriseDataSourceItemDataLayer.DataSources.Add(ds) Catch ex As ExceptionMsgBox(ex.ToString) End TryElse
Keith Chisarik
|
Group: StrataFrame Users
Posts: 939,
Visits: 40K
|
I was going to reload the license file but I see in my license summary area of the website the ES Server shows an IP of 127.0.0.1, dont think that will work. I dont run anything on localhost on the server. I can give you the IP for the correct hostname, does that help?
Keith Chisarik
|
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
|
OK...let's talk about a few things here so that we can make sure that we are on the same page. We had to change the License Base assembly in 1.6.6 so use a different public token. So this asssembly will not work with newer ES files, etc. Which makes sense as you should really have all of the same StrataFrame assemblies on the same machine. But here is the deal, there is one of two things going on here since the host name cannot be seen. There is a line of code that is used from the MicroFour License Base.dll assembly that attempts to pull the host name out of the licnese file (since the host name is stored within the license file). if it cannot be found within the licnese file, then Unknown will be returned. Since you are not getting an exception, I would think that all of you SF assemblies are on the same version, thus, it just cannot find the license file. Here are some other fields that will appear "empty" or with default values if the license file cannot be found: Stop Date: 1/1/1800 Host Name: unknown Registered Company: (empty string) Registered Name: (empty string) Serial Number: (empty string) There are some others, but this will be a good litmus. So let's basically go back to the beginning and just get your machine activated  Note: The license file "MicroFour License.dll" should be placed in the Bin folder of the ES site.
|