Тёмный

ConnectionStrings in web.config configuration file - Part 3 

kudvenkat
Подписаться 836 тыс.
Просмотров 376 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 83   
@chenxuanzhang4287
@chenxuanzhang4287 9 лет назад
I think this is a pretty good series. Very straightforward and clear. I just watched the first 3 parts and will definitely keep benefiting from it! Thanks!
@tanyaroberts3600
@tanyaroberts3600 9 лет назад
Such an thorough resource - thank you for helping me to fill in the gaps in my class curriculum in a way that really helps me feel like I understand. Your explanations are so helpful, especially alongside seeing you write the code.
@mikejackson4788
@mikejackson4788 10 лет назад
I wanted to tell you how much I have learned from you. Your doing a great job of educating so many.
@lynndemarest1902
@lynndemarest1902 5 лет назад
Sadly, he's not a spelling/grammar teacher. :)
@lynndemarest1902
@lynndemarest1902 4 года назад
@Dr Moriarty I agree. I don't know what I was thinking. Venkat is great!
@j00medina
@j00medina 11 лет назад
Venkat, this is a great video series. The information is very pertinent to the subject discussed and share best practices. Could you add a request to your series? I looking to understand the configuration file risk and how to protect and or encrypt the app.config and web.config. How to set it up and how to use it in the application. Maybe add a discussion on when to use encryption and when not to use it.
@solutions9991
@solutions9991 5 лет назад
I am learning from all your videos, its high-quality information.
@NVAKAYAMINI
@NVAKAYAMINI 2 года назад
Such a great explanation sir
@IBRA8000
@IBRA8000 Год назад
"'connection string from app.config"" that what i was looking for. Many thanks Bro.
@jahirulislammonir3490
@jahirulislammonir3490 6 лет назад
I am so happy sir.. I learned a lot from Ur great explanation.. Thanks for Ur great priceless service... You booked a place in my heart sir... And again Thank you sooooooooooooo much......
@sskrypt460
@sskrypt460 10 лет назад
Venkat, love to watch your videos. Thanks a million from every other learner here. you are a Marvelous tutor
@radhikaganji1
@radhikaganji1 6 лет назад
hai Sir ,Learned so many things from Your video's,So many Thanks .
@tharakaherath8671
@tharakaherath8671 10 лет назад
great teacher ever!! Thanks for all the things!
@kris4117
@kris4117 7 лет назад
Well done with patience, proper explainations
@Pulaha2009
@Pulaha2009 11 лет назад
I have one question sir what is integrated security?I understand it's used only windows authentication. This video and all videos are very useful for me.Thanks a lot sir.Your nice explanation also me became your fan.Your teaching style is unique.I'm freshers also.keep it up.Please try to upload more video.I love your explanation and coding style.
@bhagawanshirsath1104
@bhagawanshirsath1104 5 лет назад
Thanks for adding both asp.net and windows form configuration file.
@PriyankaSingh-vz6cg
@PriyankaSingh-vz6cg 3 года назад
Thank you soooo much. God bless you, Sir!
@spidersilk06
@spidersilk06 11 лет назад
all of ur tutorial so far i hav watched are sooo amazing...sir im requesting u to add videos on windows application...
@ALBERTORAYGOSA
@ALBERTORAYGOSA 5 лет назад
My man!!! God VEnkat!
@BigyanChap
@BigyanChap 6 лет назад
Awesome Tutorial. But its old. Do have any recent one on the same topic?
@slappinmixtapes4264
@slappinmixtapes4264 9 лет назад
Great tutorial! Very easy to comprehend and to follow as well.
@jsgovind
@jsgovind 8 лет назад
This channel is great for revising your basics. thanks a lot for the resources! :)
@gagik7783
@gagik7783 7 лет назад
very good tutorials, thank you very much!!!
@shail4400
@shail4400 7 лет назад
Hi sir, I have learned lots of c# concepts from your videos. I want to know how to read custom section from web config file in c#. My custom section contain nested nodes (not key value pair). I have already read it using StreamReader class but when I create SqlConnection then it gives exception like "Bad configuration in web config". Please help me.
@Hasan10474
@Hasan10474 6 лет назад
Brother u have done a great service to all of us students...Allah Bless U.
@muslehhaj4164
@muslehhaj4164 6 лет назад
Thanks for this valuable information sir can we do same technique in VB.net while using master ASPX page?
@AkashTripathi5
@AkashTripathi5 11 лет назад
u know what you'r the best
@timw1834
@timw1834 6 лет назад
Awesome work!
@glorylandingloryland4433
@glorylandingloryland4433 5 лет назад
you make me brighter, thank you dude!
@abhishekprasad5165
@abhishekprasad5165 8 лет назад
Thanks a lot Sir !!! The videos are awesome!
@devilji4
@devilji4 3 года назад
Dude you are awesome!
@md.mahbubrahman7891
@md.mahbubrahman7891 5 лет назад
Sir, thank you very much for details discussion.
@sharifkhan4594
@sharifkhan4594 10 лет назад
Thanks and nice explanation
@kumite9268
@kumite9268 11 лет назад
Thank You, I remember now you said it in the video, sorry for the inconvenience, and keep up the good work!
@kumite9268
@kumite9268 11 лет назад
Hello Venkat, Thanks for these videos! I have a question: What if I'm using a static variable for store the ConnectionString, and referencing that in every class?
@lowellabraham6966
@lowellabraham6966 9 лет назад
Great! Thank you! Awesome tutorial.
@amitgawade4184
@amitgawade4184 8 лет назад
simply great ..
@jasbirsingh1729
@jasbirsingh1729 8 лет назад
Thanks a lot sir venkat
@ANOOPSINGH-gr8ko
@ANOOPSINGH-gr8ko 10 лет назад
So much nice tutor.Thank you so much Sir :)
@PrashanthOlekar
@PrashanthOlekar 7 лет назад
Good Job Sir..thank you so much
@khajaaleem5927
@khajaaleem5927 11 лет назад
hi sir, i want to know in which order shall we learn these videos mean initial step to start with and its order please reply me so i can follow the order to learn the videos..Thanks in advance..
@johnsongeorge5906
@johnsongeorge5906 7 лет назад
GOD BLESS YOU SIR
@srinathnair159
@srinathnair159 3 года назад
I had a query: I am currently working on server migration and as part of this activity we changed the server (data source) name in connection string in web.config file. However, after doing so we are getting an error that states "Cannot find Table 0". Any suggestions as to why we may be getting this error?
@raviduttjangid7304
@raviduttjangid7304 3 года назад
it is possible for connection string out side of project like c drive ,d drive on remote server, please reply ASAP
@rifaqatullah2379
@rifaqatullah2379 7 лет назад
sir i need to know that when to close the connection. please kindly teach us in detail. please also teach us about connection pool and how does it become full.
@EstebanQuijadaSuazo
@EstebanQuijadaSuazo 7 лет назад
Thanks, for the job....
@shwetasahu1845
@shwetasahu1845 6 лет назад
Thanks for the video .. it is very helpful :)
@shahjahanblouch3096
@shahjahanblouch3096 8 лет назад
thanks sir app too much great....
@Csharp-video-tutorialsBlogspot
+shah jahan blouch Thanks a million for taking time to give feedback. I am glad you found the videos useful. Free Dot Net & SQL Server videos for web developers ru-vid.complaylists?view=1&sort=dd If you need DVDs for offline viewing, you can order them using the link below www.pragimtech.com/Order.aspx Code Samples, Text Version of the videos & PPTS on my blog csharp-video-tutorials.blogspot.com Tips to effectively use our channel ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-y780MwhY70s.html Want to receive email alerts, when new videos are uploaded, please subscribe to our channel using the link below ru-vid.com Please click the THUMBS UP button below the video, if you think you liked them Thank you for sharing these links with your friends Best Venkat
@abpetta8485
@abpetta8485 4 года назад
In web.config file, can we change a value for a key in app settings, without application build ? What happens if we just change web config file on the server ?
@harikaaakutota7776
@harikaaakutota7776 11 лет назад
hi venkat, string ConnectionString = ConfigurationManager.co .ConnectionStrings["DatabaseConnectionString"].ConnectionString; in the above statement if v write webconfigurationmanager instead of configurationmanager then also it works ...could u let us know the difference b/w configurationmanager and webconfigurationmanager pls
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 11 лет назад
If the connection string has to change, then that requires an application build, where as this is not the case if web.config file is used.
@MuhammadIbrahim-uc1nc
@MuhammadIbrahim-uc1nc 3 года назад
sir can u tell me how to run my exe file on client pc?
@mukeshreddy4405
@mukeshreddy4405 10 лет назад
great sirrr
@bobmanuelake4304
@bobmanuelake4304 10 лет назад
Sir, i try to do exactly same thing on my machine but did'nt get any output. Just wondering why?
@zoeliu2651
@zoeliu2651 7 лет назад
Thanks a lot.
@coolwaterdvr
@coolwaterdvr 11 лет назад
Question: What is the difference between configurationmanager and webconfigurationmanager?
@rajeshpai252
@rajeshpai252 4 года назад
Can u add git link in video description..it will be great help to us
@plamivanov9120
@plamivanov9120 8 лет назад
Connection String example...."Data Source=ServerName\InstanceName;Initial Catalog=DatabaseName;Integrated Security=True;MultipleActiveResultSets=True" this is for Windows Authentication,you need to escape "\" with another "\" of course
@mukeshreddy4405
@mukeshreddy4405 10 лет назад
good explination
@abhishekjilla6782
@abhishekjilla6782 9 лет назад
Thank you sir
@1kfredo103
@1kfredo103 8 лет назад
I don't understand any thing what am I suppose to do when it's saids server error in rts application Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". help please
@saadebad4123
@saadebad4123 7 лет назад
can anybody or sir venkat help me that my project have another layers so when i write connection string in web.config file which is present in main project (Entry layer) then connection string cannot access to the other layer ...Please help me that how can i access connection string in web.config to the other layer?
@siddharthvyas731
@siddharthvyas731 9 лет назад
an error occured datagridview1.databinding(); in vs 2013 their no func. databind() in vs 2013 what i do?
@saleem1029
@saleem1029 9 лет назад
hi sir, I get an error when i give integrated security as SSPI
@starun88
@starun88 9 лет назад
Saleem Javeed write True instead of SSPI
@prvnpn216
@prvnpn216 10 лет назад
You are Awesome ;-)
@nelsondicross
@nelsondicross 10 лет назад
Sir, m getting runtime error in {Con.open(); } as it shows can't connect to SQL database as check provider. and instance. But in same time if I change the piece of code into this code, It's working fine, string cs = "data source=MOM-PC\\MOM; database=Mymom; integrated security=SSPI;"; SqlDataSource sqlDatSource = new SqlDataSource(); sqlDatSource.ConnectionString = cs; sqlDatSource.SelectCommand = "Select * from tblCustom"; GridView1.DataSource = sqlDatSource; GridView1.DataBind(); Checked web config file, & provided proper namespace using System.Configuration; using System.Data.SqlClient; Please suggest...As i m beginner in asp.net
@amardutttiwari6876
@amardutttiwari6876 8 лет назад
i am getting the sameproblem,have u resolved it?
@saleem1029
@saleem1029 9 лет назад
NOTE: You receive this error message specifically when you use integrated security (when you include the integrated security=sspi attribute in a connection string). When you use ASP.NET, the default security context is the aspnet_wp for both aspnet_wp.exe and the request to SQL Server. By default, the aspnet_wp account does not have any permission in SQL Server, and therefore it cannot access the database. Solution To resolve this problem, use any of the following methods: · Programmatically change the security context of the ASP.NET worker process to a user that has the proper SQL Server permissions. COULD YOU PLEASE EXPLAIN HOW TO RESOLVE THIS ISSUE, THANK YOU
@mubeenrizvi256
@mubeenrizvi256 6 лет назад
in my web.config, there isn't any ?????
@sabnekarasha5381
@sabnekarasha5381 4 года назад
hi sir windows form is not getting executed plz help
@dragonv7863
@dragonv7863 11 лет назад
on the connection string, I had to change to server= your server name; instead of datasource=. for sql server 2012
@muhammadmasoodmirza8290
@muhammadmasoodmirza8290 8 лет назад
sir I want to learn error exception
@akashjivtode8351
@akashjivtode8351 7 лет назад
sir, interviewer ask me if hacker hack the web.cong file to avoid this where we store connection string ..
@ashutoshpareek2501
@ashutoshpareek2501 7 лет назад
There is no way that web.config can be hacked as it's not served to users by IIS. But what kind of information are you worried about to get exposed, I guess username and password stored in plaintext. In that case you can encrypt it . See this link:msdn.microsoft.com/library/dtkwfdky.aspx
@romeshreddy6341
@romeshreddy6341 7 лет назад
I got error connection obj will not accepted
@shivanisingh-ed9vs
@shivanisingh-ed9vs 6 лет назад
Sir connection krne pr error aa rahi hai
@asadali9504
@asadali9504 5 лет назад
7:10 again we need to change the name of database in all the 100 files
@satinderpalsingh455
@satinderpalsingh455 7 лет назад
i m having problem typing configuration Manager
@turboDout
@turboDout 6 лет назад
something Complicated If given this issue: you probably need to reference the System.config files with a using statement. I.e; using System.Config
Далее