That must be a lot of records. I think the command times out that is a setting you can't manage from the web.config file. I'll create a hotfix for you will be available later today.
I've created a hotfix. You can download it from http://hotfix.soetemansoftware.nl/Memberexport/ copy the dll's from the zip file to your umbraco install and the timeout error should be gone. I've set timeout to 100000 should be enough.
In case of SQL Server I use the sql command directly instead of Umbraco data layer
var sqlConnection = new SqlConnection(Application.SqlHelper.ConnectionString);
sqlConnection.Open();
var command = new SqlCommand(sql, sqlConnection);
command.CommandTimeout = 100000;
return new SqlServerDataReader(command.ExecuteReader());
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Hi
We are getting the following when exporting all our member data.
Hi Ed,
Can you append a connection timeout to your connection string in the web,.config file? Example:
;Connection Timeout=30
You might need to increase the number.
Hope this helps,
Richard
Hi Richard,
I tried that out, updated the UmbracoDbDSN adding the connection timeout parameter. Still timesout after 30 seconds.
Any ideas?
Regards
Ed
Hi Ed,
That must be a lot of records. I think the command times out that is a setting you can't manage from the web.config file. I'll create a hotfix for you will be available later today.
Sorry for the inconvience.
Best,
Richard
Great stuff Richard
Not so much the number of members but the number of members attributes which is > 30. If I just extract a subset of the attributes it works fine.
Thanks in advance.
Ed
Hi Ed,
I've created a hotfix. You can download it from http://hotfix.soetemansoftware.nl/Memberexport/ copy the dll's from the zip file to your umbraco install and the timeout error should be gone. I've set timeout to 100000 should be enough.
Please let me know if this helped you.
Thanks,
Richard
Fantastic Richard, that fix did the trick.
Regards
Ed
Hello,
I'm experiencing the same issue now but the link for the hotfix is broken? Is there any chance of getting this?
Thanks,
Phil
Hi Phil,
Hotfix should be in the latest release, which version are you using?
Best,
Richard
Hi Richard,
I think to have the same problem with a function of my project FALM Housekeeping.
Where did you set the timeout to 100000?
Thank you
Hi Adriano,
In case of SQL Server I use the sql command directly instead of Umbraco data layer
Hope this helps,
Richard
just like I thought
thank you richard.
I also get a timeout when using one of the following commands:
ApplicationContext.Services.MemberService.GetAllMembers() Umbraco.Core.ApplicationContext.Current.Services.MemberService.GetAll()
about two months ago I did not get a timeout.
The member count is about 4000
Hi Ed,
This is the forum to report memberexport utility bugs. Best to use http://issues.umbraco.org/ to report Umbraco bugs.
Best,
Richard
is working on a reply...