SambaPOS Forum

English Boards => Support => Topic started by: andys49er on June 30, 2012, 10:33:52 am

Title: Samba crashes!
Post by: andys49er on June 30, 2012, 10:33:52 am
Samba shuts down when I select a printer template and press "edit".  Also crashing when I select a report to view.  An error report comes up and it asks me if I want to send to Microsoft.  Any ideas/suggestions?
Title: Re: Samba crashes!
Post by: emre on June 30, 2012, 01:25:36 pm
Hi Andys, are you using TXT database? If so read this. http://doc.sambapos.org/doku.php/en/dbase/samba (http://doc.sambapos.org/doku.php/en/dbase/samba)
Title: Re: Samba crashes!
Post by: andys49er on July 01, 2012, 10:25:32 am
How do I tell if I am running on a TXT database.  Not sure... This is my first attempt at setting one up.  Downloading SQL Express now to see if that works.
Title: Re: Samba crashes!
Post by: emre on July 01, 2012, 10:45:25 am
Look at the end of the version number on login screen.
TX means TXT, CE means SQL Compact and SQ means SQL Express
Title: Re: Samba crashes!
Post by: andys49er on July 01, 2012, 11:09:31 am
I'm running SQL Compact.
Title: Re: Samba crashes!
Post by: emre on July 01, 2012, 11:51:06 am
I need to see an error message to be able to understand the reason.
There is a sambadata2.sdf file under my documents / SambaPOS 2
Send this file to info@sambapos.org
I'll try to find the error.
Thanks.
Title: Re: Samba crashes!
Post by: andys49er on July 01, 2012, 01:03:05 pm
Ok, sent with subject "Andys49er error"  Thanks!
Title: Re: Samba crashes!
Post by: emre on July 01, 2012, 04:48:55 pm
Hi andys49er. I tested your file on my computer and it works fine for me. The only similarity between report viewer and the printer template editor screen is the document displayer component that we use for displaying formatted data. This component is included in .net framework 4.0 so reinstalling it sholud solve your problem.

Hint: If you want to test it on a different computer copy that sdf file under mydocuments / SambaPOS2 folder and you'll be able to see your data.

Thanks.
Title: Re: Samba crashes!
Post by: andys49er on July 02, 2012, 03:40:00 pm
So I uninstalled and reinstalled .NET Framework 4.  Now I'm getting another error message on startup. 

Error Message:
Unable to find the requested .Net Framework Data Provider.  It may not be installed.
Title: Re: Samba crashes!
Post by: emre on July 02, 2012, 03:43:10 pm
Since you are running SQL Compact 4.0 you can try reinstalling it.
Title: Re: Samba crashes!
Post by: andys49er on July 02, 2012, 03:46:31 pm
OK, did that and got it running again, but still crashing when trying to view reports or edit printer templates.
Title: Re: Samba crashes!
Post by: emre on July 02, 2012, 03:53:24 pm
Can you try installing that?
http://www.microsoft.com/en-us/download/details.aspx?id=11816 (http://www.microsoft.com/en-us/download/details.aspx?id=11816)