Loading ...
ASP.NET Blogs | CodeAsp.Net
home
browse
articles
blogs
events
forums
jobs
people
wiki
Login
Register
×
Choose a location:
home
articles
forums
blogs
jobs
events
wiki
people
home
»
blogs
blogs
most recent
Most viewed
Highest rated
Most commented
IPV4 address in Bit by Bit
Sometimes it is useful to display IPv4 address in binary to compare it with subnet mask
Viral Pandya Vasaiwala
· yesterday ·
0
·
267
IPV4
Powershell
4.82
/5
Avg:
4.82
/5: (
1
votes)
IE10 Login not working in ASP.NET
ASP.NET FormsAuthentication Login cookie not working in Internet Explorer 10
Vivek Thakur
· yesterday ·
0
·
33
0
/5
Avg:
0
/5: (
0
votes)
Disable third party plugins in Visual Studio
Using devenv.exe /SafeMode allows you to run any version of visual studio (devenv.exe) in SafeMode with 3rd party plugins disabled.
Raghav Khunger
· 3 days ago ·
0
·
33
visual-studio
visual-studio-2010
0
/5
Avg:
0
/5: (
0
votes)
"ipconfig /flushdns" not working. Still coming old ip.
We shifted one of our sites to new server today. While accessing the new site (which was running on new IP now) I started getting 404 error. I did the ping for that site and it was still whoing the old ip. I tried "ipconfig /flushdns" and it didn't work. I was still seeing the same response.
Raghav Khunger
· 6 days ago ·
0
·
59
ipconfig-flushdns
0
/5
Avg:
0
/5: (
0
votes)
Adding line breaks in tooltip text
Today, I was trying to add line breaks in one of the anchors on my page, I tried various solutions like adding "<br/>" or "\n" to my title text but none of these solutions was working consistent across different browsers. Then I tried the line separator as "
" and it worked.
Raghav Khunger
· 17 days ago ·
0
·
1479
HTML
tooltip
0
/5
Avg:
0
/5: (
0
votes)
Detect the http or https scheme in ASP.NET in server side code
To detect the http or https scheme in ASP.NET in server side code we can use Uri.Scheme property. Below is the sample code to do the same: string url = "https://www.yourwebsite.com/"; Uri uri = new Uri(url); string scheme = uri.Scheme; Response.Write(scheme); The output of above code is "https"
Raghav Khunger
· 19 days ago ·
0
·
198
asp.net
0
/5
Avg:
0
/5: (
0
votes)
Navigation error. The remote host name was not found Details
We were getting the following error while trying to access a url from server side code. It was working without any issue locally but after deploying it to remote server we started getting the error: "Navigation error. The remote host name was not found Details" Solution: The solution for this issue was to enter the domain of that url in h
Raghav Khunger
· 22 days ago ·
0
·
124
0
/5
Avg:
0
/5: (
0
votes)
ReSharper: Change CLR types to built-in C# type aliases
If you are using ReSharper and want to change CLR types to built-in C# type aliases (i.e. Int32 to int, String to string etc.) in an existing file, this blog will help you. I am writing the steps which will help you to change CLR types to built-in C# type aliases
Raghav Khunger
· 28 days ago ·
0
·
231
Resharper
resharper7
stylecop
0
/5
Avg:
0
/5: (
0
votes)
ReSharper: Sort properties alphabetically in a file
If you are using ReSharper and want to sort your properties in an existing file, this blog will help you. I am writing the steps which will help you to sort the properties alphabetically
Raghav Khunger
· 28 days ago ·
0
·
197
Resharper
resharper7
sort-properties
0
/5
Avg:
0
/5: (
0
votes)
The tail of the log for the database "XXXX" has not been backed up. Use BACKUP LOG WITH NORECOVERY to backup the log if it contains work you do not want to lose
While resotring one of my db backup I was getting the following error: TITLE: Microsoft SQL Server Management Studio ------------------------------ Restore failed for Server 'WIN-LGFVOMLC8S4'. (Microsoft.SqlServer.SmoExtended) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1750.9+((dac_in
Raghav Khunger
· 4/25/2013 ·
0
·
328
restore
ssms
0
/5
Avg:
0
/5: (
0
votes)
Excuses by lazy programmers
I would say excuses by lazy, having no goal kind of programmers: It is a hardware problem. RAM must be increased to make the program fast. My code has been edited by someone. I have to find out who did that. Virus has corrupted the application. It worked yesterday. This was new to me, no big deal if bug appeared. Hmm.. (and deep thinking forever) I
Raghav Khunger
· 4/24/2013 ·
0
·
351
0
/5
Avg:
0
/5: (
0
votes)
Login prompt keeps on coming in Firefox for Windows Authentication in Windows Server 2008 R2
I was facing a weird issue where I was putting a valid set of credentials in login prompt of Firefox and was getting login prompt again and again i.e it was not accepting the credntials. I was using Windows Server 2008 R2. Solution : I am writing the settings which I turned on which was set to off in my Firefox. I opened the following URL in the Fi
Raghav Khunger
· 4/24/2013 ·
0
·
193
windows-authentication
firefox
0
/5
Avg:
0
/5: (
0
votes)
Avoid windows authentication login prompt in IE
If you are using Windows Authentication and want to avoid the login prompt which comes when you try to access the application this blog will help you. The solution I am writing below is only for IE. In order to avoid that and let IE use the same credentials by which you are logged in into the Windows. Go to Tools -> Internet Option ->
Raghav Khunger
· 4/19/2013 ·
0
·
220
asp.net
c#
iis7
windows-authentication
0
/5
Avg:
0
/5: (
0
votes)
Start Visual Studio with a solution|project opened at Windows start
If you want to save few clicks to start Visual Studio with a particular project|solution opened at Windows Start, this blog will help you. Below are the steps which will help you to do the same: Copy the Visual Studio shortcut. Select the "StartUp" folder from "AllPrograms" Right click it and select "Open all users" op
Raghav Khunger
· 4/16/2013 ·
0
·
207
visual-studio
windows-start
0
/5
Avg:
0
/5: (
0
votes)
Find the missing properties from a class by comparing with other class
Lets say we have two classes Person1 and Person2. Below is the code for it: public class Person1 { public int ID { get; set; } public string Name { get; set; } public string FirstName { get; set; } public string Age { get; set; } } public class Person2 { public string Name { get; set; } public string FirstName { get; set; } } Our goal is to find ou
Raghav Khunger
· 4/15/2013 ·
0
·
161
.net
c#
0
/5
Avg:
0
/5: (
0
votes)
Start SSMS with a instance connected and logged in with a user at Windows Start
Whenever I start my Windows. I open SSMS, select server, select user and database to connect to database. This process I have to do every time when Windows is restarted. I decided to make Windows do the same work for me when it is restarted. Below are the steps which will help you to do the same: Copy the SSMS shortcut. Select the "StartUp&
Raghav Khunger
· 4/14/2013 ·
0
·
220
sql-server
0
/5
Avg:
0
/5: (
0
votes)
How to delete server entries (server, user names) which come in SQL Server Management Studio login screen
On my machine I had so many unwanted entries (server names, usernames) coming in my SSMS login screen. I wanted to delete them but there was no simple way to delete it. After spending few minutes to get the solution for this I came across the following resource Sql Server 2008 MRU Updater . It is a program which is simple (and somewhat ugly) UI tha
Raghav Khunger
· 4/14/2013 ·
0
·
282
0
/5
Avg:
0
/5: (
0
votes)
RegEx: Quantifier {x,y} following nothing error
While parsing one of my regex pattern based on input data I was getting the following error: RegEx: Quantifier {x,y} following nothing error I was having the following code: string pattern = string.Format(@"\b({0})\b", string.Join("|", dic.Select(p => p.Key).ToArray())); Regex reg = new Regex(pattern, RegexOptions.IgnoreC
Raghav Khunger
· 4/11/2013 ·
0
·
265
c#
regex
0
/5
Avg:
0
/5: (
0
votes)
Windows Authentication type missing in IIS
Today I wanted to test Windows Authentication on my local IIS server. I went to one of my site and I noticed the windows authentication type was missing. To enable it I did the steps which I am writing below: Go to Control Panel\Programs. Select Turn Windows Features on or off Go to "Windows Authentication" as mentioned in the image below
Raghav Khunger
· 4/11/2013 ·
0
·
116
iis7
windows-authentication
0
/5
Avg:
0
/5: (
0
votes)
HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.
HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set
Raghav Khunger
· 4/6/2013 ·
0
·
244
0
/5
Avg:
0
/5: (
0
votes)
How to disable USB or Flash Drive Copy in Windows 7
Step to disable users from coyping files to a flash drive or USB on a Windows 7 machine If not already done, then create a normal user account (non-administrator) for that user in Windows 7 (via Control Panel->Manage Users->Create new user). This is needed because normal users cannot access/change registry settings. Then login via an
Vivek Thakur
· 4/4/2013 ·
0
·
214
usb-copy
0
/5
Avg:
0
/5: (
0
votes)
PlatformNotSupportedException: This operation requires IIS integrated pipeline mode.
I was working with File Download stuff in ASP.NET and started getting the following exception: Platf
Raghav Khunger
· 3/23/2013 ·
0
·
410
asp.net
file-download
PlatformNotSupportedException
3.82
/5
Avg:
3.82
/5: (
1
votes)
MVP India Group: Sad state of affairs and poor management
I had been an MVP (Microsoft Most Valuable Professional) since 3 years. Over the years, I have seen
Vivek Thakur
· 3/12/2013 ·
0
·
517
mvp-india
poor-management
0
/5
Avg:
0
/5: (
0
votes)
Windows7: Internet not working in Chrome, Firefox and Safari but only in Internet explorer
As soon as I opened my machine today I noticed internet stopped working on Chrome, Firefox and Safar
Raghav Khunger
· 3/9/2013 ·
0
·
473
windows-7
0
/5
Avg:
0
/5: (
0
votes)
Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\xxx' -- 'Access is denied. '
Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64
Raghav Khunger
· 2/21/2013 ·
0
·
1877
iis7
0
/5
Avg:
0
/5: (
0
votes)
Page 1 of 40 (991 items)
« Previous
1
2
3
4
5
6
7
8
9
10
11
Next »
Go to page:
[Go]
Filter blogs
Tags
asp.net
c%23
jquery
Sql
javascript
regex
wcf
iis7
.net
.net-4
IIS
SQL+Server
textbox
sql-server
regular+expression
HTML
form-authentication
visual-studio
windows-7
windows-authentication
Category
--- all categories
Microsoft.NET
Project Management
Publish date
Top Producers
Raghav Khunger
504 Blogs
Vivek Thakur
134 Blogs
Hajan Selmani
79 Blogs
Vijendra Shakya
46 Blogs
mohit kumar
40 Blogs
Vinay Gupta
22 Blogs
Tim Eisenhauer
20 Blogs
Sumit Arora
18 Blogs
Ajit Gupta
16 Blogs
Shaitender Singh
14 Blogs
Blog Archives
May 2013 (7)
April 2013 (14)
March 2013 (3)
February 2013 (14)
January 2013 (8)
December 2012 (4)
November 2012 (7)
October 2012 (17)
September 2012 (10)
August 2012 (19)
July 2012 (24)
May 2012 (5)
April 2012 (1)
March 2012 (1)
February 2012 (5)
January 2012 (3)
December 2011 (5)
November 2011 (12)
October 2011 (7)
September 2011 (12)
August 2011 (9)
July 2011 (14)
June 2011 (17)
May 2011 (7)
April 2011 (8)
March 2011 (6)
February 2011 (26)
January 2011 (15)
December 2010 (24)
November 2010 (31)
October 2010 (27)
September 2010 (34)
August 2010 (27)
July 2010 (29)
June 2010 (33)
May 2010 (24)
April 2010 (17)
March 2010 (8)
February 2010 (2)
January 2010 (2)
December 2009 (28)
November 2009 (39)
October 2009 (29)
September 2009 (17)
August 2009 (36)
July 2009 (33)
June 2009 (65)
May 2009 (40)
April 2009 (25)
March 2009 (33)
February 2009 (13)
January 2009 (36)
December 2008 (34)
November 2008 (1)
March 2008 (15)
December 2007 (1)
March 2007 (8)
Quick Vote
What kind of email newsletter would you prefer to receive from CodeAsp.Net?
18
A monthly digest
A weekly digest
A daily digest
All of the above
None of the above
×
Loading ...