Author Topic: Samba crashes!  (Read 6475 times)

andys49er

  • Newbie
  • *
  • Posts: 6
Samba crashes!
« 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?

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Samba crashes!
« Reply #1 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

andys49er

  • Newbie
  • *
  • Posts: 6
Re: Samba crashes!
« Reply #2 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.

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Samba crashes!
« Reply #3 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

andys49er

  • Newbie
  • *
  • Posts: 6
Re: Samba crashes!
« Reply #4 on: July 01, 2012, 11:09:31 am »
I'm running SQL Compact.

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Samba crashes!
« Reply #5 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.

andys49er

  • Newbie
  • *
  • Posts: 6
Re: Samba crashes!
« Reply #6 on: July 01, 2012, 01:03:05 pm »
Ok, sent with subject "Andys49er error"  Thanks!

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Samba crashes!
« Reply #7 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.

andys49er

  • Newbie
  • *
  • Posts: 6
Re: Samba crashes!
« Reply #8 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.

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Samba crashes!
« Reply #9 on: July 02, 2012, 03:43:10 pm »
Since you are running SQL Compact 4.0 you can try reinstalling it.

andys49er

  • Newbie
  • *
  • Posts: 6
Re: Samba crashes!
« Reply #10 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.

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Samba crashes!
« Reply #11 on: July 02, 2012, 03:53:24 pm »