Contents tagged with asp.net
-
The underlying provider failed on Open
The underlying provider failed on Open is an entity framework error and with a simple fix it is little difficult to sort out what is going wrong.
1) if you are using IIS 7 with Integrated Security in connection string. Make sure your IIS user have appropriate permissions to access database.
2) If you are using Visual Studio built in Web Server and facing this issue. Simple fix is to either re-start Visual Studio or Kill the process of Web Server which is (WebDev.WebServer*.exe).
I was in the second case and killing the process of Web Server did the job for me. -
Get Countries Name in .Net
In this post, I will explain you how can we get the countries name filled in any collection using .net without using any database.
-
Show Loading Message in Asp.net AJAX
In this post, I will explain you how can we show Loading message in asp.net ajax without using Update Progress. Now some one may asked, why do I want to skip Update Progress ?
-
Migrate from WordPress to BlogEngine.net
In this post, I will explain how to migrate a blog running on Word Press (Self Hosted) to BlogEngine. But before I start let me say, that Word Press simply rocks. The reason why I plan to switch my blog is customization. Since I am a dotnet geek, I really have no great idea of what I can make out of Word Press using PHP and when it comes to Blogging in .net, I guess I made a very right decision to use BlogEngine. It is open source and included all the necessary blogging utilities.
-
How to show and select month/year in Calendar Extender
In this post I will explain you, How to make calendar extender control to show month / year view by default and instead of selecting dates how can we use calendar extender to select months.
-
Show images on Grid View from File Stream SQL Server 2008
-
Custom Paging in Grid view
So, it takes too long for me to write this post. even though I completed the coding stuff a week back but it is really hard to manage time these days.
-
Datatable to JSON
In this post I will explain you, how can we serialize Datatable to JSON. So that, it can easily pass to JavaScript to get the AJAX done.
-
Authenticated File Access using HTTP Handler.
In this post I will explain you how authenticate the request directly coming to access a file that is downloadable. some thing like *.pdf or *.zip.
-
How to pass parameters to the dynamically added user control
In this post, I will explain how you can pass parameter to the dynamically added (from code behind) User Control. Most of you might aware of how we can achieve this in web application project. Following is the code for that