By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,990 Members | 2,279 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,990 IT Pros & Developers. It's quick & easy.

VB.Net or Visual studio

P: 5
I have created a application setup.when i installed on another computer than the application not working because of file permission. now what i do??
(this has sql server database)
Mar 30 '12 #1
Share this Question
Share on Google+
6 Replies

Expert Mod 10K+
P: 12,383
They just have to install it as an administrator.
Mar 30 '12 #2

P: 5
i do this but it shows "Unhandled exception". it niether reading database nor writing..
Mar 30 '12 #3

P: 5
i open it the software first loads welcome screen but after that a error pops up which has a label of microsoft .net framework and inside it the error is

"Unhandled exception has occurred in your application.If you click continue the application will ignore this error and attempt to continue. A network related or instance specific error occured while establishing a connection to SQL Server. The server was not found or was not accessible.Verify that the instance name is correct and that SQL Server is "
Mar 30 '12 #4

P: 5
and the connection string is like this "Data Source=.\sqlexpress;Initial Catalog=loan_management;Integrated Security=True"
Mar 30 '12 #5

Expert Mod 10K+
P: 12,383
I would check that the server is set up correctly on the computer you're trying to install the program to.
Mar 30 '12 #6

P: 51
...why dont you try to test the database connection in your splash form..
im not good enough in .net because in my college life we only use vb6..

'test the connection
'if database exist show Main Form
'if error create first your database then show Main Form..

'we only use msaccess in college so i need to add my database in the package..
'because im using the app.path to locate my db..
Mar 31 '12 #7

Post your reply

Sign in to post your reply or Sign up for a free account.