Very very useful tutorial! Within 14 Minutes, everything is clear. (I am wondering why MS i unable to create this kind of useful tutorials). Thanks for your time!
Hi, first thanks for the videos I really enjoy them. I wanted to know how I can create a setup project with sql without running as an administrator, I also do not want to re-enter the files and change their permissions every time, in the search I did I saw that there is a possibility to change the permissions from the code, and for some reason it still does not allow me For response
Hi I Am Using 3 Tables In My DB Can I Use The Same Method For 3 Tables Because These Tables Are Necessary To Attach With The Project So Please Tell Me That I Can Do This Or Not. And Can I Run This Project When Setup Is Ready And Insatlled It On The Other System Please Reply I Am Waiting For Your Reply? Thanks In Advance
Hi can I included my db that is have extention .mdf and mdl in setup without need to connect to sql server . I am already have database can do it?? thank you foxlearn
I get to 10:45 in the video, following the steps. But then instead of running fine when opening as admin, I get an "access denied" Error. Any idea what i could do to fix this?
Didn't Work, Can you help me? in my case this lead to an unhandled exception writen that "An attempt to attach an auto-named database for file C:\Program Files (x86)\Kost_Inc\Inventory Management System\Data\List_Tools.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. Log file 'C:\Program Files (x86)\Kost_Inc\Inventory Management System\Data\List_Tools_log.ldf' does not match the primary file. It may be from a different database or the log may have been rebuilt previously. The log cannot be rebuilt when the primary file is read-only." the database is already in the DATA Directory
System.Data.SqlClient.SqlException: 'A network-related or instance-specific error occurred 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 configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)'
@@foxlearn I am sorry for the late respond but I had a lot of troubles so I followed your tutorial for this installer, because it is the best, but how can I create a updater for my app? Thank you in advance and thank you for your channel because it keeps me learning programming every day!!!
You don't explain any thing, just showing the moves fast and with no teaching even pros get confused of your teachings. unfortunately the connection in your application configuration is . which refere to local and this way it does not work on clients servers. Thanks for nothing
Very very useful tutorial! Within 14 Minutes, everything is clear. (I am wondering why MS i unable to create this kind of useful tutorials). Thanks for your time!
Thank you so much !
Hi, first thanks for the videos I really enjoy them. I wanted to know how I can create a setup project with sql without running as an administrator, I also do not want to re-enter the files and change their permissions every time, in the search I did I saw that there is a possibility to change the permissions from the code, and for some reason it still does not allow me For response
yeahhhhhhhhh welcome back Fox thanks
Thank you !
Hi I Am Using 3 Tables In My DB Can I Use The Same Method For 3 Tables Because These Tables Are Necessary To Attach With The Project So Please Tell Me That I Can Do This Or Not. And Can I Run This Project When Setup Is Ready And Insatlled It On The Other System Please Reply I Am Waiting For Your Reply? Thanks In Advance
Do you suggest to store the database in the %appdata% Roaming folder, or (like in your example) in the project folder \Data?
Yes. thank you !
But how can i save file on appdata
Amazing Job worked Amazingly....
Thank you !
Thank you for this tutorial. 😊
You're welcome. Thank you !
How can i create the setup with the database include i it so i won't need to install SQL server on clients system?
Sql express user runtime i think
Hi there,
I watched almost all your videos, great job.
What could you say about unhandled exception at 13:33?
Hello, it seems be for permissions on the database file location folder.
Hi can I included my db that is have extention .mdf and mdl in setup without need to connect to sql server . I am already have database can do it?? thank you foxlearn
I get to 10:45 in the video, following the steps. But then instead of running fine when opening as admin, I get an "access denied" Error. Any idea what i could do to fix this?
I think you should run your application with administration mode
Didn't Work, Can you help me? in my case this lead to an unhandled exception
writen that "An attempt to attach an auto-named database for file C:\Program Files (x86)\Kost_Inc\Inventory Management System\Data\List_Tools.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Log file 'C:\Program Files (x86)\Kost_Inc\Inventory Management System\Data\List_Tools_log.ldf' does not match the primary file. It may be from a different database or the log may have been rebuilt previously.
The log cannot be rebuilt when the primary file is read-only."
the database is already in the DATA Directory
You should detach database, then try to attach again. I think you can't attach your database to sql server if you have attached
@@foxlearn how? in what minutes the attach is? i'm pretty new in this
Same problem
Thanks aloooot :) :)
You're welcome. Thank you !
Does this work on the previous version of vb
You can do the same way with vb.net
thnx for video .. please make the same video for mysql database
OK. Thank you for your suggestion
Does it require "Run As Administrator"?
Yes, you can configuration your app run as administrator
No
But you can
How to make a installation that look like Avast installation
Queria pidirles si pueden hacer un video para crear archivos binary que contengan componentes como imagenes y archivos mp3.
Gracias
You can do as same as this video. Thank you for your suggestion. I'll make as soon as possible !
Will it work in another computer without sqlserver but with SqlCE?
yes, You can use sql express, or your app using sql ce
need to install SQL server to client system???
Yes, Install sql express
when I make the database detash , it does not appear again
Hi! Thank You for tutorial!!! Can You write the tutorial: How to Create Setup.exe file in Visual Studio 2017 with SQLite? Please :)
@Barrett Derek Thank you ))
System.Data.SqlClient.SqlException: 'A network-related or instance-specific error occurred 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 configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)'
Can you solve this problem ??
Same issue
Good work but i want learn how make setup file exe and using sql server by windows form Application pleass ???
OK. Thank you for your suggestion !
Thank a lot please create file exe in visual basic with sql server .
OK. Thank you for your suggestion !
How can we redistribute this to client pc?
You can sent to your client the setup file
Can client/server MDF file ?
You should install sql server, then restore or attach sql database file, change the connectionstring to connect to your sql server
Fox Learn ...... Thanks and now subscribe time.
You helped me very much :)
Thank you !
I´m only copy and paste the mdf file,
this is not working on another computer. why??
You should check prerequire install sql express, you application can't run if your computer haven't got sql server. Thank !
thanks but my software is like 10mb but installation time is like 15 min. i want to know how to minimize the installation time
Like other softwares
Perhaps you have checked out the prerequire, it will install donet before installing your application
@@foxlearn use virsual box application to test ur app
hey I know this video is a little old but someone who can tell me how can I update this app.
Can you describe more details? thank you !
@@foxlearn I am sorry for the late respond but I had a lot of troubles so I followed your tutorial for this installer, because it is the best, but how can I create a updater for my app? Thank you in advance and thank you for your channel because it keeps me learning programming every day!!!
login failed for user sa
please help
You should enable sa user, login with windows authentication mode
You don't explain any thing, just showing the moves fast and with no teaching even pros get confused of your teachings. unfortunately the connection in your application configuration is . which refere to local and this way it does not work on clients servers. Thanks for nothing
aiman malkawi please help me there's an error when i set it to "."