Enterprise Server Host Name


Author
Message
Chris Diesel
Chris Diesel
StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)
Group: StrataFrame Users
Posts: 74, Visits: 300
I'm having a hard time testing our project using ES.  I created and installed a SDK CAL with the server name srv09.  I access the status page via: http://srv09/strataframees/status.aspx.  Should I have activated the licenses using srv09/strataframees instead?  I keep getting a message: "The remote server returned an error: (500) Internal Server Error." when I try to run in developer mode on srv09.
Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
No.  When you reference the machine directly, this may not be the hostname.  It has to be a qualified name respected by IIS.  When you use the machine name, it redirects to an IP in the browse internally, which doens't qualify as a host name in some cases. 

Just FYI, I have reset your activation so you can try again. Smile

Chris Diesel
Chris Diesel
StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)
Group: StrataFrame Users
Posts: 74, Visits: 300
Thanks w00t

I activated and downloaded the license again with the "correct" host name Hehe but I'm still getting error (500) Internal Server Error.

Here's my SetDataSources() code:

//-- Create the data source

EnterpriseDataSourceItem ds = new EnterpriseDataSourceItem("IwSystemsSQL", "srv09.stllv.insware.com", 80, "IwSystemsES", new SqlDataSourceItem("IwSystemsES"));

//-- Configure the compression and encryption (optional)

ds.IsCompressed = true;

ds.IsEncrypted = true;

ds.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 };

//-- Add the EnterpriseDataSourceItem

DataLayer.DataSources.Add(ds);

//Set the data source key for the security tables

SecurityBasics.SecurityDataSourceKey = "IwSystemsSQL";

Here's my DataSources.config code:

<?xml version="1.0" encoding="utf-8" ?>

<DataSources>

<DataSource DataSourceKey="IwSystemsES">

<ConnectionString>server=srv09;Database=IwSystems;User Id=IwSystemsES;Password=IwSystemsES;</ConnectionString>

<TypeFullName>MicroFour.StrataFrame.Data.SqlDataSourceItem</TypeFullName>

<TypeAssemblyName>MicroFour StrataFrame Base</TypeAssemblyName>

<TypeAssemblyVersion>1.6.0.0</TypeAssemblyVersion>

<TypeAssemblyCulture>neutral</TypeAssemblyCulture>

<TypeAssemblyPublicToken>99fe9917f71608a7</TypeAssemblyPublicToken>

<IsEncrypted>True</IsEncrypted>

<IsCompressed>True</IsCompressed>

<EncryptionKey>1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4</EncryptionKey>

<EncryptionVector>1,2,3,4,5,6,7,8</EncryptionVector>

<TransactionTimeout>3600</TransactionTimeout>

</DataSource>

</DataSources>


Chris Diesel
Chris Diesel
StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)StrataFrame User (182 reputation)
Group: StrataFrame Users
Posts: 74, Visits: 300
Never mind.  Working now somehow... Unsure
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
It was because the application pool was reset.  When you made the changes, you either needed to restart IIS, or recycle the application pool.  If you wait long enough, it will do this itself.  Glad its working Wink
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search