Server Times Out


Author
Message
lastcanary
lastcanary
StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)
Group: StrataFrame Users
Posts: 81, Visits: 270
Unfortunately it didnt work.



Here is my code:



//-- Create the data source

EnterpriseDataSourceItem ds = new EnterpriseDataSourceItem("",

"192.168.1.147", 80, "MyDataSourceKey",

new SqlDataSourceItem("MyDataSourceKey"));



//-- 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);



The IP address of the server is 192.168.1.147.



Could youo please help?
Trent Taylor
Trent Taylor
StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Well, your first problem is that you are using an IP address instead of a hostname. The host name is used not only for resolution, but for licensing. I have reset your account so that you can activate this again, but you will need to use a hostname versus an IP address. You can use the hosts file on your local machine to re-route the IP to a host name which will then allow you to work off of your local machine (or another internal machine) without the need for a direct IP connection.



Let's start here and we will see if that gets you going.
lastcanary
lastcanary
StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)StrataFrame User (141 reputation)
Group: StrataFrame Users
Posts: 81, Visits: 270
Thank you for the answer. I dont know how to use hosts file. Could you please help?
Trent Taylor
Trent Taylor
StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
There are a ton of articles that you can find through a Google search. But in short, the hosts file short circuits the DNS for a host name. So if you wanted the domain "www.mydevmachine.com" to point to your localhost, then it would look like this in the hosts file:



127.0.0.1 www.mydevmachine.com




You can locate the hosts file here:



c:\windows\system32\drivers\etc\hosts

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