Enterprise Server Host Name


Author
Message
Chris Diesel
Chris Diesel
StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 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.
Trent Taylor
Trent Taylor
StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
It isn't the server name that you enter but rather the hostname.  The hostname would be the named address to which the ES server is accessed.  For example, "myes.mydomain.com."
Chris Diesel
Chris Diesel
StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)
Group: StrataFrame Users
Posts: 74, Visits: 300
So even though I can access the status page using srv09 it's not the host name?  I just want to be able to do a test from my dev workstation and another workstation on the same lan (didn't want to use localhost).
Trent Taylor
Trent Taylor
StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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 Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 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 Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)StrataFrame Novice (74 reputation)
Group: StrataFrame Users
Posts: 74, Visits: 300
Never mind.  Working now somehow... Unsure
Trent Taylor
Trent Taylor
StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)StrataFrame Developer (6.6K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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
lastcanary
lastcanary
StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)
Group: StrataFrame Users
Posts: 81, Visits: 270
My problem seems to be similar so I thought that it is better to post here.

My hostname is server2008.outsource and I used this name together with the MAC address to create a license dll and put it to the bin folder.

I have installed the enterprise server by specifying server2008.outsource as the host name.

http://server2008.outsource/
Server status link gives access denied error

http://server2008.outsource/RemoteDataSource.ashx
This link gives 5.7.1 Unable to relay for admin@mydomain.com error

In program.cs

            EnterpriseDataSourceItem ds = new EnterpriseDataSourceItem("",
                                                                       "server2008.outsource", 80,
                                                                       "MyDataSource",
                                                                       new OracleDataSourceItem("MyDataSource"));
            DataLayer.DataSources.Add(ds);

In DataSources.config

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

<DataSources>
    <DataSource DataSourceKey="MyDataSource">
        <ConnectionString>Data Source=orcl_tr;User Id =CONTACTS; Password =CONTACTS;</ConnectionString>
        <TypeFullName>MicroFour.StrataFrame.Data.SqlDataSourceItem</TypeFullName>
        <TypeAssemblyName>MicroFour StrataFrame Base</TypeAssemblyName>
        <TypeAssemblyVersion>1.7.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>

When I try to execute the following line HTTP 500 error is received

DataLayer.DataSources[0].ExecuteNonQuery(sSql);

Could you please help me to fix this problem?

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