Download Data

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
Habtamu Eshetu Lema
Posts: 2
Joined: January 13th, 2022, 7:34 am

Download Data

Post by Habtamu Eshetu Lema »

Some errors happen when downloading's data from the Csweb server , is there any other option for downloading when the below errors occurred.

unhandled exception has occurred in you application. If you click continue the application was ignore this error and attempt to continue. If you click Quit the application was close immediately
Attachments
Error_Download.jpg
Error_Download.jpg (859.63 KiB) Viewed 3009 times
sherrell
Posts: 397
Joined: April 2nd, 2014, 9:16 pm
Location: Washington, DC

Re: Download Data

Post by sherrell »

One, could you click on the Details button and do a screenshot of what that says and post it?

Two, could you also post your sync.log ?

Thanks,
Sherrell
Habtamu Eshetu Lema
Posts: 2
Joined: January 13th, 2022, 7:34 am

Re: Download Data

Post by Habtamu Eshetu Lema »

Where I can find Sync Log ?

This is the detail information (Detail Button)




See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
at SyncClient.syncData(SyncClient* , SyncDirection , ISyncableDataRepository* , CStringT<wchar_t\,StrTraitMFC_DLL<wchar_t\,ATL::ChTraitsCRT<wchar_t> > >* )
at CSPro.Sync.SyncClient.syncData(SyncDirection direction, DataRepository repository, String universe, IProgress`1 progressPercent, IProgress`1 progressMessage, ValueType cancellationToken, OnSyncError onError)
at DataViewer.Synchronizer.<>c__DisplayClass4_0.<SyncDataAsync>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at DataViewer.Synchronizer.<DownloadAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at DataViewer.DownloadDialog.<buttonDownload_Click>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
DataViewer
Assembly Version: 7.6.1.0
Win32 Version: 7.6.1.0
CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.6/DataViewer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4400.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
zDataCLR
Assembly Version: 7.6.1.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.6/zDataCLR.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
zDictCLR
Assembly Version: 7.6.1.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.6/zDictCLR.DLL
----------------------------------------
zUtilCLR
Assembly Version: 7.6.1.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.6/zUtilCLR.DLL
----------------------------------------
zSyncCLR
Assembly Version: 7.6.1.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.6/zSyncCLR.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Download Data

Post by Gregory Martin »

You can find the file by opening the CSPro Designer and selecting Help -> Troubleshooting -> Sync.log file. If you send it to cspro@lists.census.gov, it may provide some insights on this problem.

Have you tried this on another computer? If so, do you still have a problem on that machine? You can also try using CSPro 7.7 instead of the older version you are using.
Amad0u
Posts: 1
Joined: April 7th, 2022, 11:49 am

Re: Download Data

Post by Amad0u »

Bonjour chers tous,
Je ne sais pas si le problème initial a pu être résolu lorsque le fichier sync.log a été envoyé. Cependant, moi j'ai le même problème, la version de CSPro ainsi que celle de CSWeb étant le 7.6.
Il y a-t-il une raison particulière à la survenance dudit problème ?

Ci-joint, la capture en image du message.
Merci d'avance.
Attachments
CSPro Data Viewer 2022-04-07 160333.png
CSPro Data Viewer 2022-04-07 160333.png (23.77 KiB) Viewed 2538 times
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Download Data

Post by aaronw »

The sync.log gives us additional details into what is going on so we need to see it. Since you're downloading on Windows it is located here: Users\username\AppData\Roaming\CSPro\sync.log

Can you also confirm the applications was built using CSPro 7.6 and data collection was done using CSEntry 7.6?
fosuhene
Posts: 4
Joined: December 31st, 2021, 8:56 pm

Re: Download Data

Post by fosuhene »

Good day family,

I have been facing this for almost, a week now. I have tried all other means. Please house, can someone share notes on this.

I can't wait to see a member leading us through this tough time.

:D :D :lol: :lol:
sherrell
Posts: 397
Joined: April 2nd, 2014, 9:16 pm
Location: Washington, DC

Re: Download Data

Post by sherrell »

Fosuhene, we need to see the sync.log file in order to offer suggestions.

We did not receive one from Amadou, hence why there was no further postings from our side.

If you could post your sync.log here, that would help.

Thanks, Sherrell
Enkhbayar
Posts: 68
Joined: November 10th, 2014, 11:48 pm

Re: Download Data

Post by Enkhbayar »

Hi had same issue:

I attached Sync.log here.

also, this is the detail info:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
at SyncClient.syncData(SyncClient* , SyncDirection , ISyncableDataRepository* , CStringT<wchar_t\,StrTraitMFC_DLL<wchar_t\,ATL::ChTraitsCRT<wchar_t> > >* )
at CSPro.Sync.SyncClient.syncData(SyncDirection direction, DataRepository repository, String universe, IProgress`1 progressPercent, IProgress`1 progressMessage, ValueType cancellationToken, OnSyncError onError)
at DataViewer.Synchronizer.<>c__DisplayClass4_0.<SyncDataAsync>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at DataViewer.Synchronizer.<DownloadAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at DataViewer.DownloadDialog.<buttonDownload_Click>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4510.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
DataViewer
Assembly Version: 7.7.0.0
Win32 Version: 7.7.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.7/DataViewer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4395.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
zDataCLR
Assembly Version: 7.7.0.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.7/zDataCLR.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4161.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
zDictCLR
Assembly Version: 7.7.0.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.7/zDictCLR.DLL
----------------------------------------
zUtilCLR
Assembly Version: 7.7.0.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.7/zUtilCLR.DLL
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4161.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
zSyncCLR
Assembly Version: 7.7.0.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/CSPro%207.7/zSyncCLR.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Attachments
sync.log
(8.03 KiB) Downloaded 108 times
savy
Posts: 159
Joined: December 27th, 2012, 1:36 pm

Re: Download Data

Post by savy »

It looks like someone modified the partial save status in the database. It is unlikely that the software caused this state. Your options are to clear the partial save status (in MYSQL DB)
UPDATE `<dictionary name>` SET `partial_save_mode`= NULL WHERE (`partial_save_mode` = 'modify' OR `partial_save_mode` = 'add') AND `partial_save_field_name` is NULL
OR set some valid partial field using a dictionary item that is on the form
UPDATE `<dictionary name>` SET `partial_save_field_name`= '<FIELD_NAME>', `partial_save_record_occurrence` = 1, `partial_save_item_occurrence`=1 WHERE (`partial_save_mode` = 'modify' OR `partial_save_mode` = 'add') AND `partial_save_field_name` is NULL
Post Reply