StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      


«««123

The remote server returned an error: (500)...Expand / Collapse
Author
Message
Posted 01/28/2010 10:34:24 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 9:24:10 AM
Posts: 6,216, Visits: 6,078
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.
Post #25639
Posted 01/28/2010 10:51:39 AM
StrataFrame Team Member

StrataFrame Team Member

Group: StrataFrame Users
Last Login: 02/25/2010 6:11:20 PM
Posts: 298, Visits: 633
Sorry about that! I had the form pulled up but didn't press save .

You should be good to re-register now.

Post #25643
Posted 01/28/2010 3:00:46 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 11:20:22 AM
Posts: 160, Visits: 340
Good news.  ES is finally up and running on my test server.  I hope that once I get my testing done that my production server will be a lot easier to setup.

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

Post #25645
Posted 01/30/2010 9:40:19 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 9:24:10 AM
Posts: 6,216, Visits: 6,078
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.
Post #25662
Posted 01/30/2010 6:29:22 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 11:20:22 AM
Posts: 160, Visits: 340
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

Post #25667
Posted 01/31/2010 10:23:57 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 9:24:10 AM
Posts: 6,216, Visits: 6,078
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

Post #25670
Posted 01/31/2010 3:44:41 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 11:20:22 AM
Posts: 160, Visits: 340
Hi Trent,

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

Jeff

Post #25673
Posted 01/31/2010 6:45:19 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 9:24:10 AM
Posts: 6,216, Visits: 6,078
Glad it helped.
Post #25678
« Prev Topic | Next Topic »

«««123

Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 12:59pm

Powered by InstantForum.NET v4.1.4 © 2010
Execution: 0.047. 9 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.