Posts

Web.config in virtual directory is not overriding parent website's Web.config

Image
Lets look at the below example. we have two application's deployed under IIS, Default Website and ActionURLcode. We have webconfig for both the websites. When you try to run ActionURLCode website, it gives you an error as below. Connection string is already in the collection This is due to conflit between webconfig files, A sub web.config doesn't override a parent regardless of application. All web.configs will stack up all the way to the root of the primary application. In order for sub-application folder to make use of a connection string key that is already in use it must first be removed or all connection strings must be cleared. If you want this to be a truly stand alone application as a child add this to your connection strings. Resolution : In your webconfig you have to remove or clear the connection strings as below. <connectionStrings> <clear /> <your connection string > <connectionStrings>

Whatsapp icon missing on my Iphone

Very Simple work Around to fix the problem. Hold both Power and Home buttons together for 15 seconds approximately until the Apple logo appears. Then let go of the buttons and wait for the iPhone to restart. This should solve your problems and missing apps should be there again.

Unlock Excel spreadsheet with VBA code

Sub PasswordBreaker()      'Breaks worksheet password protection.        Dim i As Integer , j As Integer , k As Integer      Dim l As Integer , m As Integer , n As Integer      Dim i1 As Integer , i2 As Integer , i3 As Integer      Dim i4 As Integer , i5 As Integer , i6 As Integer        On Error Resume Next        For i = 65 To 66: For j = 65 To 66: For k = 65 To 66      For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66      For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66      For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126            ActiveSheet.Unprotect Chr(i) & Chr(j) & Chr(k) & _       ...