Jump to content

Recommended Posts

Posted

Further testing of printing issues from post #1122.

Edit in #1122 I said the permissions for the local backup had Everyone > read this I s wrong it was the Users > read so all local users of that PC have Read access.

 

Storing the backup file in the default location and printing is fine as soon as I change the backup location to a network drive e.g \\10.x.x.x\ExamWritePad I get issues but not always???? (~75% error rate). Always the same OpenXML error. Even when everyone has write access to that network location I still got one openXML error out of ten prints but need to test more as had several USB config file versions. Main goal was to find something for the rest of the exams that worked reliably which is leave the backups locally.

 

All testing done with 2.5.0.0 as this had been working fine for me till I started trying to store exam documents and backups in UNC paths. Storing the original exam document where I used to in the mapped home drive (H:\) of the exam user does not cause issue. I will test later today if a mapped Z:\ works for the backup file rather than UNC \\10.x.x.x\

I still have left top most priority disabled as it can take 5 seconds or more for printer selection to show and as I’m not in the exam room I don’t know what happens if/when students multiple click around the screen whilst waiting for printer selection to show.

  • Thanks 1
Posted
Further testing of printing issues from post #1122.

Edit in #1122 I said the permissions for the local backup had Everyone > read this I s wrong it was the Users > read so all local users of that PC have Read access.

 

Storing the backup file in the default location and printing is fine as soon as I change the backup location to a network drive e.g \\10.x.x.x\ExamWritePad I get issues but not always???? (~75% error rate). Always the same OpenXML error. Even when everyone has write access to that network location I still got one openXML error out of ten prints but need to test more as had several USB config file versions. Main goal was to find something for the rest of the exams that worked reliably which is leave the backups locally.

 

All testing done with 2.5.0.0 as this had been working fine for me till I started trying to store exam documents and backups in UNC paths. Storing the original exam document where I used to in the mapped home drive (H:\) of the exam user does not cause issue. I will test later today if a mapped Z:\ works for the backup file rather than UNC \\10.x.x.x\

I still have left top most priority disabled as it can take 5 seconds or more for printer selection to show and as I’m not in the exam room I don’t know what happens if/when students multiple click around the screen whilst waiting for printer selection to show.

 

I have now removed the function call to “OpenXML” when printing, as it was not needed any more, so that should get you passed that bit.

 

To not the printer dialogue will take longer to appear the more text and text styling you have. As it runs through each single character to verify what styling is applied and apply it to the hidden print window. Call it a series of pre printer checks. Again because its an old extended richtext control from 2010, I have to fudge it a little bit, hence why realistically I need to buy into a third party control set so that future builds will stand the test of time and will reduce the lines of code, where I have had to create a work around.

 

Thanks for testing so far...[emoji1303]

  • Thanks 1
Posted
Further testing of printing issues from post #1122.

Edit in #1122 I said the permissions for the local backup had Everyone > read this I s wrong it was the Users > read so all local users of that PC have Read access.

 

Storing the backup file in the default location and printing is fine as soon as I change the backup location to a network drive e.g \\10.x.x.x\ExamWritePad I get issues but not always???? (~75% error rate). Always the same OpenXML error. Even when everyone has write access to that network location I still got one openXML error out of ten prints but need to test more as had several USB config file versions. Main goal was to find something for the rest of the exams that worked reliably which is leave the backups locally.

 

All testing done with 2.5.0.0 as this had been working fine for me till I started trying to store exam documents and backups in UNC paths. Storing the original exam document where I used to in the mapped home drive (H:\) of the exam user does not cause issue. I will test later today if a mapped Z:\ works for the backup file rather than UNC \\10.x.x.x\

I still have left top most priority disabled as it can take 5 seconds or more for printer selection to show and as I’m not in the exam room I don’t know what happens if/when students multiple click around the screen whilst waiting for printer selection to show.

 

Thanks for testing this, I'm having similar issues too...

 

To clarify, do you set the default in config as:

 

%homedrive%

 

I still get the same print freeze when I try above, or should I just enter H:\ instead?

Posted
Thanks for testing this, I'm having similar issues too...

 

To clarify, do you set the default in config as:

 

%homedrive%

 

I still get the same print freeze when I try above, or should I just enter H:\ instead?

 

%homedrive% is resolved/converted to H: anyway so it is the same as using H:\

Posted

We're experiencing an issue where students will be typing and as exam writepad autosaves there will be a tiny bit of a delay causing the student to start typing a few letters behind where they were (almost as if they had selected the previous word with their cursor). We have tested and narrowed it down to when the document is being saved as it happens consistently at the same time as our document autosaves to our network location.

 

Has anyone else experienced this issue? Any ideas on how we could fix this?

Posted
We're experiencing an issue where students will be typing and as exam writepad autosaves there will be a tiny bit of a delay causing the student to start typing a few letters behind where they were (almost as if they had selected the previous word with their cursor). We have tested and narrowed it down to when the document is being saved as it happens consistently at the same time as our document autosaves to our network location.

 

Has anyone else experienced this issue? Any ideas on how we could fix this?

 

Just one report of it happening and it’s here at my school with one person.

 

And yes it’s down to the saving on a network drive. Even more so if your saves and backup files are both on network locations.

 

Also it seems to only happen with those that are quick typists, others that are slower won’t notice.

 

The only way to be 100% is to save them on the hard disk.

 

The autobackups are not affected in the same way as the autosaves because it’s running on a separate threaded timer so effectively runs that process in the background away from the main UI thread.

 

I’m currently looking into doing both methods are background worker processes and will likely be ready after the exam season.

 

At the same time I’m also working on EWP3 with a new framework control supplied free from a third party so I’m currently doing a juggling act with both being actively developed.

  • Thanks 2
Posted
Thanks! Good to know it's an issue with network locations. We'll work around it in the meantime, looking forward to the updates. :)
Posted

I can now feedback that yesterday and this morning’s exams have printed with a 100% success rate just as they used to. 2.5.0.0 using Default local save location for backups and top most priority disabled. Thanks for the foresight to include a log file made it much simpler to work out the printing issue was linked to the backup file.

P.S Looking forward to EWP 3 and 4 sound s like you have some big plans for EWP

Posted
Also to add to this make sure your network card on each computer doesn’t not go to sleep and is running full performance then there should be no delay in accessing the network.
Posted
I can now feedback that yesterday and this morning’s exams have printed with a 100% success rate just as they used to. 2.5.0.0 using Default local save location for backups and top most priority disabled. Thanks for the foresight to include a log file made it much simpler to work out the printing issue was linked to the backup file.

P.S Looking forward to EWP 3 and 4 sound s like you have some big plans for EWP

 

Thanks for the info and all your testing, much appreciated [emoji1303][emoji1303]

Posted (edited)

I also know there is an issue after 1803 update that made network browsing slow for mapped drives.

 

Maybe applying them will help, so will post the fix in a minute.

 

Run "Regedit"

 

Find Key:

HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters

 

add or change the following values:

 

DirectoryCacheLifetime Dword = 0

 

FileInfoCacheLifetime Dword = 0

 

FileNotFoundCacheLifetime Dword = 0

 

And reboot the PC.

Edited by ass17
Posted

So I did as you said and disabled spell check as they type, but it's still crashes a lot when they press the spell check button.

 

There's also no log files in Temp, do I need to enable debug for this?

Posted
So I did as you said and disabled spell check as they type, but it's still crashes a lot when they press the spell check button.

 

There's also no log files in Temp, do I need to enable debug for this?

 

Yes turn on debugapplication in the config

Posted
So got it to crash a couple of times, the first didn't add anything to the log. However the second time it crashed, I got the following error in a dialogue box - See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ArgumentException: Argument 'Length' must be greater or equal to zero. at Microsoft.VisualBasic.Strings.Right(String str, Int32 Length) at NHunspellExtender.SpellCheckForm.cmdChange_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.3801.0 built by: NET48REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- ExamWritePad Assembly Version: 2.6.0.0 Win32 Version: 2.6.0.0 CodeBase: file:///***/SpellCheck/ExamWritePad.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 10.0.0.0 Win32 Version: 14.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.8.3801.0 built by: NET48REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.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 ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- ExtendedRichTextBox Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///***/SpellCheck/ExtendedRichTextBox.DLL ---------------------------------------- NHunspellExtender Assembly Version: 4.0.0.0 Win32 Version: 4.0.0.0 CodeBase: file:///***/SpellCheck/NHunspellExtender.DLL ---------------------------------------- NHunspell Assembly Version: 0.9.2.0 Win32 Version: 0.9.2.0 CodeBase: file:///***/SpellCheck/NHunspell.DLL ---------------------------------------- System.Deployment Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll ---------------------------------------- System.Management Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.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: 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.

 

Did by any chance the word that needed to be spell checked appear at the end of a paragraph?

 

And it was it hyphenated?

Posted
Did by any chance the word that needed to be spell checked appear at the end of a paragraph?

 

And it was it hyphenated?

Seems random, I've attached some example screenshots.

 

snip.pngsnip2.pngsnip3.pngsnip4.png

Posted
Sorry to interrupt, but @ass17 response to @Cthulhu's error message comes before the post he's responding to, and now I have a headache.

@ZeroHour, make the bad post go away!

 

The formatting on my post messed up, so I deleted and reposted so it's easier to read.

Posted
The formatting on my post messed up, so I deleted and reposted so it's easier to read.

 

And I've deleted the second one because it had personal info in there ;)

Posted
I have created a newer version of the spellchecking DLL.

Please can you download and replace it and test again.

 

It is attached to this post.

 

Doesn't crash anymore, but displays this box.

 

I figure you wrote this? If so, is the spelling error in the message a joke? :p

 

snip.png

Posted
Can you send me one of the files that is getting the error with spellings as I cant replicate it, then I can debug the spelling properly, otherwise im doing it blind and what to write in silly message boxes :-) :-)
Posted
Can you send me one of the files that is getting the error with spellings as I cant replicate it, then I can debug the spelling properly, otherwise im doing it blind and what to write in silly message boxes :-) :-)

 

Sent you a PM.

Posted
If I am upgrading from 2.5.0 to 2.6.0, what files do I need to replace? I guess the .exe.config isn't one of them?! Or do I need to generate the config file each time?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...