I was trying to create an simple database-driven application in Visual Basic using Visual Studio 2010. It worked correctly while i tested in the visual studio environment. But, when i published it, installed and ran in the same computer. It didn’t open. And when i saw the error details it was like this:
Description:
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: billingsystem.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 5046c06e
Problem Signature 04: System.Data
Problem Signature 05: 2.0.0.0
Problem Signature 06: 4a275e65
Problem Signature 07: 1e65
Problem Signature 08: 85
Problem Signature 09: System.Data.OleDb.OleDbException
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 1033
PS: I run Windows 7 Pro. and I used a MSACCESS 2007 Database for my application. And Builded the executable (or published) using the Same Visual Studio I was developing in.
Possible reason why your application didn’t open is because (maybe) the
System.Data.dllwas not found on the system (or was not included during the publishing).When I deploy my application, I always build a separate project file for the
SETUP. BecausePublishis really calledClick Once, which is useful, but of course it can’t handle complicated stuff like drivers, registry entries, install location, and other stuff.Here’s a good tutorial to create
SETUP for deployment on your Application.