.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

How to Add SqlDataBase or Excel DataBase To C#.Net(WinForm)Application Before Create A Setup ?

Posted By: Mahi     Posted Date: November 27, 2012    Points:5   Category :C#


i was crate a Desktop Application Using C#.Net(Windows Forms) .and Using Excel or SqlServer2008 as DataBase . and i was Create Setup File and Install on My PC.. It will Run properly. When ever i am trying to Install On OTHER PC it will show Error like [ Micro soft ][odbc Excel Driver]External table is not in Expected format(Using Excel DataBase as Back-end) and Object Reference not Set to In Instance of an Object(Using SqlDataBase as BackEnd).

My Question is How to ADD Database to Application Before Create a Setup properly ?

Can Any One Give Me Solution for It ...

Thanks and Regards

Author: Narayanan             
Posted Date: November 27, 2012     Points: 20   

Hi Dileep,
First , Backup your Database[Without Data] and Store in your Setup folder .
Restore in your working PC before Installed Application .

Try this link for Restore Database .

Regards, Lakshmi Naraayanan.S

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend