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



The record Save takes too much timeExpand / Collapse
Author
Message
Posted 06/11/2008 1:36:40 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 2 days ago @ 9:09:11 AM
Posts: 34, Visits: 287
Hi All,

What setup can cause the Save to take too long at least at the first time. Using maintenance forms with one or 2 tables I see this problem. I can have a table like Credit Card Type with 4 records and the Save took 8 seconds the first time. The second time it is instantly.

Regards,

Doron

Post #16993
Posted 06/11/2008 10:20:45 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 4:17:19 AM
Posts: 4,379, Visits: 4,420
This is kindof like asking, "how long is a string."  There are a lot of reasons, most of which comes from the server and connection setup.  This is especially common when a VPN is in the mix, talking to a web service, etc.  This can also happen based on how a SQL Server is setup.  This is not something I can give you a straight answer for, but I can tell you that you will want to look more in the direction of your configuration versus within the framework.  It sounds like the network connection is being established that first time, and any subsequent update (within a shorter given period of time) isn't having to deal with that same barrier.

If it were me, I would work backwards.  I would create a simple test app that just creates an SqlConnection, and determine if the bottleneck is at the time of the initial connection being created or something else.  This might even call for a packet sniffer if you can't pinpoint where the slowness is coming from.

Post #17005
Posted 06/12/2008 2:18:29 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 2 days ago @ 9:09:11 AM
Posts: 34, Visits: 287
Hi Trent,

Thanks for your reply.

Regards,

Doron

Post #17027
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

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

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.063. 12 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.