Common Errors and Fixes in IIS and its applications

Service Unavailable:

If you face the error ‘Service unavailable’  while accessing the domains in the browser.

Cause:

Application pool gets stopped for that domain.

Fix:

In this case you have to  to start or restart the application pool belongs to that domain. If you are undable to start the applicaton poll and if you get any error message stating that the application pool cannot be started, run the “iisreset” command and then start the application pool.

——————————————————————–

Frontpage Extensions:

If you are unable to install Frontpage Extensions for a domain.

Cause:

The folder related to Frontpage Extensions will already exit in your web space.

Fix

Delete the folders that start with “_vti” and the reinstall Frontpage Extensions it will be installed successfully.

——————————————————————–

4o4 errors of ASP.NET MVC:

  1. Open IIS 6 Administrative Console and select the virtual folder of the deployed MVC application. Right click on the virtual folder and select Properties. It brings up properties dialog.
  2. Make sure you’re on the Virtual Directory tab and select Configuration. It brings up the Application Configuration dialog.
  3. In the Wildcard application maps section, click the Insert. button; it brings up the wildcard application mapping dialog.
  4. Enter the path as “c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll”.

Note: The path of the dll might differ on your machine. One easy way to find out is to look for the .aspx extension in the application extensions list and double click it to get the full path.

Uncheck the Verify that file exists checkbox and click the Ok button. Don’t forget to uncheck.

Save the changes by clicking on Ok.

———————————————————————

Mail Enable:

Error: Unable to load the inbox because it does  not exist on the hard disk.

If you face the above error while accessing the webmail. Please follow the following steps to fix the issue.

Fix:

E:\Mailboxes\Postoffices
==> provided permission to the following user
IME_ADMIN ==> Full
IME_USER     ==> Read only (default)

——————————————————————–

ODBC Connection:

Error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Microsoft OLE DB Provider for ODBC Drivers

Fix:

There are 2 versions of ODBC to worry about on 64-bit machines: the 32-bit version and the 64-bit version. So you have to Add or Change in 2 places to cover both types. Start – Admin Tools – Data Sources gets you to the 64-bit version; Start – Run –
C:\Windows\SysWOW64\odbcad32.exe gets you to the 32-bit version. Do all your adds/deletes/changes in both.

————————————————————————————–

Error: Unable to login using frontpage

Fix:

Necessary permissions are to be propagated  for  roles.ini file, it is available in the location “C:\Documents and Settings\All Users\Application Data\Microsoft\Web Server Extensions\50″.

————————————————————————————————————————

Error: Access to the path ‘c:\windows\system32\inetsrv’ is denied

Fix:

The NETWORK SERVICE account needs full rights, I would give this account full rights to c:\windows\system32\inetserv.

—————————————————————————————————————————

Error: Property Owner is not available for Database ‘[DBName]‘.

Cause:

Property Owner is not available for Database ‘[DatabaseName]‘. This property may not exist for this object, or may not be retrievable due to insufficient access rights.  (Microsoft.SqlServer.Smo)

****************

common errors

Fix:

Run the query “sp_helpdb” and you will getting the output as following

common errors


where the owner of the affected DB will pointing to “NULL”, it has to be changed. Use the following command/query

USE SampleDB
EXEC sp_changedbowner ‘sa’

and change the DBowner to sa. And check now by right clicking on the DB.

—————————————————————————————

Error: FATAL ERROR: register_globals is disabled in php.ini, please enable it!

Cause:

register_global is disabled in  ” php.ini ” file.

Fix:

You can locate the file :

C:\Windows\php.ini

Open php.ini in any text editor program and look for this section

;;;;;;;;;;;;;;;;;
; Data Handling ;
;;;;;;;;;;;;;;;;;

/—

Some other codes ….

; You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
register_globals = Off

–/

You will see ” register_globals = Off ” set to Off , just replace that with

register_globals = On

And you are set to go


Written by actsupp-r0cks