The remote server returned an error: (500) Internal Server Error.


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Glad it helped. Smile
Jeff Pagley
Jeff Pagley
StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)
Group: StrataFrame Users
Posts: 223, Visits: 893
Hi Trent,

Thank you so much for the example. BigGrin I'm using VB.NET, but after looking at the example, I believe I can convert the C# code.

Jeff

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
To save you some time, I have created a sample showing how to do this.  I couldn't remember what language you used, so it is in C#.  It is easy to convert, though, and I will try to post a VB.NET sample later.  But either way, this should get you going and you can see what I was getting at.  Here is that sample:

http://forum.strataframe.net/FindPost25669.aspx

Jeff Pagley
Jeff Pagley
StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)
Group: StrataFrame Users
Posts: 223, Visits: 893
Hi Trent,

I agree with you.  I am going to have to provide some filtering capabilities for the client that will meet his requirements as you suggested.  I have no experience with threading.  So would you provide me some code examples about how I can accomplish this incremental search.

Thanks,

Jeff

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
This would be on the SqlCommand, not the server timeout. So you would create the SqlCommand and set the timeout to a really high number or 0 for infinite.



However, let me suggest possible another route. Why would you need all 100,000 records at once? If you are trying to perform an incremental search, then you can create a threaded loader so that every time you type in a new character, it gets added to the queue, gets passed over to the server to s SPROC which executes the query, and sends back a TOP result set. Generally I limit my TOP results to 100 (or possible 1000) when I do something like this. This way you get a really fast, real-time search. To date, I have never needed or seen a reason for having 100,000 records client side.
Jeff Pagley
Jeff Pagley
StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)
Group: StrataFrame Users
Posts: 223, Visits: 893
Good news.  ES is finally up and running on my test server.w00t  I hope that once I get my testing done that my production server will be a lot easier to setup.BigGrin

One question I do have.  The database has a table with over 100,000 records that the client needs to see all at one time, but I got a timeout error when loading these records into a grid using a BO mapped to SQL Server View.  Where do I increase the timeout to adjust for loading these records using ES?

Thanks,

Jeff

Dustin Taylor
Dustin Taylor
StrataFrame Team Member (652 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
Sorry about that! I had the form pulled up but didn't press save Smile.

You should be good to re-register now.

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Jeff, I have reset your ES license again so that you can take another stab at it. Let me know if this doesn't get you going.
Jeff Pagley
Jeff Pagley
StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)
Group: StrataFrame Users
Posts: 223, Visits: 893
Hi Dustin,

I've freed up your activation in case this is hte issue.  If it is, re-activate enterprise server, this time being sure to attach it to your external network card.

My licenses have not been reset as you said so I can re-activate it with the settings I now have for my test server.  I have move the test server outside of the firewall/proxy and gave it a new URL to eliminate any problems caused by them.  Please reset the licenses so I can update it with the new URL.  The MAC address is still the same.

Thanks,

Jeff

Jeff Pagley
Jeff Pagley
StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)
Group: StrataFrame Users
Posts: 223, Visits: 893
Hi Dustin,

1) The IP that came accross when you activates was 127.0.0.1. You did attatch the license to your external network card, not one used for your internal netowrk, correct? In other words, your external IP to your website will be attached to one of your network cards. That is the network card that you need to attach the ES license to. I've freed up your activation in case this is hte issue. If it is, re-activate enterprise server, this time being sure to attach it to your external network card.

Now that you mention this.  My server does NOT have 2 nic cards, but I think my network admin put the server behind a proxy/firewall.  I do not know a whole lot about this stuff, but I think this may be distorting the MAC Address/IP Address references.  Is this a probable cause?  I will discuss this with my admin.

2) It is possible that it is pulling licensing informaiton from an incorrect MicroFour License.dll. You may check to ensure you don't have any extra copies of that .dll in the GAC or in another folder that the ES might be grabbing unexpectedly. If so, remove them, restart the website, and see if that alleviates the issue.

I did not find MicroFour License.dll listed in the GAC.  Therefore, this should not be a problem.

Thanks,

Jeff

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