Pages

Friday, December 20, 2013

Internet explorer Security Warning

Do you want to view only the webpage content that was delivered securely?

For sometime I am using Internet Explorer version 8 on Windows XP operating system. Every time I browse any website I get a pop up warning message. 

The message is : ""Do you want to view only the webpage content that was delivered securely?"" 

It is very disturbing message ,and it keeps annoying you every moment. Being official browser we are bound to use IE more and most of the time. 
So what is the solution , How we could get rid of it???

I tried a few things but finally I got a solution for this silly problem. 
Go to IE 
Tools
Internet Options
Security
Select Internet and choose your security level, for me it was "Custom Level"
Under Miscellaneous 
Locate "Display mixed content"
Check the "Enable" Radio Button. 


Voilla!!!!!!!!!!!!

Have Fun :-)

Wednesday, September 11, 2013

Common Ports for IT use


Port Number
Description
1
TCP Port Service Multiplexer (TCPMUX)
7
ECHO
20
FTP -- Data
21
FTP -- Control
22
SSH Remote Login Protocol
23
Telnet
25
Simple Mail Transfer Protocol (SMTP)
43
WhoIs
53
Domain Name System (DNS)
80
HTTP
109
POP2
110
POP3
115
Simple File Transfer Protocol (SFTP)
119
Newsgroup (NNTP)
137
NetBIOS Name Service
139
NetBIOS Datagram Service
143
Interim Mail Access Protocol (IMAP)
150
NetBIOS Session Service
161
SNMP
389
Lightweight Directory Access Protocol (LDAP)
443
HTTPS
546
DHCP Client
547
DHCP Server
1433
SQL Server Database
1521
Oracle Default Listener
3389
RDP (Remote Desktop Protocol)
No Port req
Ping
3306
MySQL

For more information, see RFC 1700 (http://www.ietf.org/rfc/rfc1700.txt)
  

Thursday, August 29, 2013

CS0002: Unable to load message string from resources



Symptom: - An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0002: Unable to load message string from resources.
Source Error:   [No relevant source lines]
Source File:    Line: 0
Show Detailed Compiler Output:

c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\18f0b9ce\205e538f\assembly\dl3\888f84d6\2e57f359_b4b6ca01
fatal error CS0002: Unable to load message string from resources.
fatal error CS0002: Unable to load message string from resources.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

Cause: –

This is a common problem which happens when you install ASP.NET 4.0, and it happens when ASP.NET 4 is not installed properly.

Temporary Workaround: -

Copy “C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\” directory from any other server and paste to the problem server will resolve the problem.  

Resolution: -

Uninstall and Reinstall ASP.NET 4.0 resolve this problem.

Reference: -

Faulting application w3wp.exe, version 6.0.3790.1830, stamp 42435be1, faulting module mscorwks.dll, version 2.0.50727.42



Description: - A .NET Framework 2.0 application that runs under a user account context when no user profile is associated with the user account context may crash, or you may receive an access violation error message
Symptom: -
Consider the following scenario: • An application is built by using the Microsoft .NET Framework 2.0.
• The application runs in the Microsoft .NET Framework 2.0.
• The application runs under a user account context.
• No user profile is associated with the user account context.
In this scenario, the application may crash, or you may receive an access violation error message. If you debug the crash, you find an access violation in the mscorwks!SecurityConfig::GetCacheEntry function.

If you experience this problem in a Microsoft ASP.NET application, you receive error messages in the event log that are similar to the following:

Error message 1

Event ID : 1023
Raw Event ID : 1023
Record Nr. : 14
Category : None
Source : .NET Runtime
Message : NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506)

Error message 2

Event ID : 1000
Raw Event ID : 1000
Record Nr. : 15
Category : None
Source : .NET Runtime 2.0
Error Reporting Type : Error
Message : Faulting application w3wp.exe, version 6.0.3790.1830, stamp 42435be1, faulting module mscorwks.dll, version 2.0.50727.42, stamp 4333e7ec, debug? 0, fault address 0x000e9f96.
Notes

• Error message 2 immediately follows error message 1.
• This problem occurs with ASP.NET 2.0 applications. This problem may occur with other types of applications that run under non-interactive accounts, such as Windows services.
Additionally, in Microsoft Windows SharePoint Services 3.0 or in Microsoft Office SharePoint Server 2007, you may be prompted for authentication when you connect to the Site Usage Report page of a Web site to view the usage data for that Web site. Then, you may recieve the following error message:
The request failed with HTTP status 401: Access Denied
The following event is logged in the event log:
Event ID : 1023
Raw Event ID : 1023
Record Nr. : 14
Category : None
Source : .NET Runtime
Message : NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506)
CAUSE

This problem occurs when a null reference is in the user policy cache.

RESOLUTION

Hotfix for ASP.Net 2.0 needs to be applied from Microsoft.

References

The IIS Admin Service service terminated with service-specific error 2148073478 (0x80090006).



Error: -
Source:        Service Control Manager
Event ID:      7024
Task Category: None
Level:         Error
User:          N/A
Computer:      Server
Description:
The IIS Admin Service service terminated with service-specific error 2148073478 (0x80090006).
Event Xml:
http://schemas.microsoft.com/win/2004/08/events/event
">
 
   
    7024
    0
    2
    0
    0
    0x80000000000000
   
    49238816
   
   
    System
    Server
   
 

 
    IIS Admin Service
    2148073478 (0x80090006)
 


Symptom: -
Windows could not start the IIS Admin Service on Local Computer.
World wide service may or may not start.
System can not find the file specified.

Cause and overview: -

The reason IISADMIN fails to start in this scenario is because of a failure to decrypt secure data (User ACLs, Passwords) in Metabase.xml file, and the connectivity with MachineKeys. The MachineKey is a file that IIS uses to decrypt secure data in the Metabase.xml. There can be many machine key files in machineKeys directory, but the Machinekey for IIS starts with “c23”.
We can see machinekeys in two locations:
The first location which is well known: -
%ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA\MachineKeys
The other location:-
 %windir%\Profiles\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys

How to locate correct location for MachineKeys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
And from this path we can confirm the correct location for MachineKeys

Checks for resolution: -


1)      Make sure we’ve a metabase.xml file at C:\windows\system32\inetsrv folder
2)      Make sure we’ve a C23 MachineKey file at the location found in above path
3)      Ensure we’ve necessary permissions as per http://support.microsoft.com/kb/278381/en-us
4)      If you’ve only one instance, then check and make sure that the date on the key matches the date from the time when IIS was installed on the server. If the date is newer than the last IIS install date, then the MachineKey that was used to encrypt the metabase got lost and you’d have to reinstall IIS (if you don’t have the MachineKyes backup anywhere)
5)      Or else you could look at the suffix of C23 key (the entire length that follow “_” in the C23 key) and check if it is different from any of the suffixes for other keys in the container. This means that the machineKey (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptographic\MachineGUID) for the machine has changed since the IIS was last installed on the machine. If you don’t have a second instance of the “C23” key, then replace the suffix of the older key with the MachineGUID value found the the registry and delete the newer key. You should be able to restart IIS admin at this point. Also remember that this does not fix IISadmin service startup problem, but prevents the C23 duplicate issue from happening again (which might be the cause of IISAdmin startup issue).
6)      Finally if it does not help to get the service start then you can use MSConfig to disable all the third party (Non-Microsoft) service and see if it help to get the service start.

***Additional Recommendation

Ensure that you backup IIS with password secure option on regular basis, you can use this copy to transfer as well. The full procedure to perfrom that can be found here
Ensure that the machine keys are also backed up in the full system backup jobs.

References