Thursday, March 13, 2014

Startup The Database In Archivelog Mode / NoArchivelog Mode

Startup The Database In Archivelog Mode


Steps Required To Take A Database Not In Archive Log Mode And Alter It To Archive Log Mode

SELECT log_mode
FROM v$database;

SHUTDOWN;

STARTUP MOUNT EXCLUSIVE;

ALTER DATABASE ARCHIVELOG;

ALTER DATABASE OPEN;

SELECT log_mode
FROM v$database;

 

Startup The Database In NoArchivelog Mode


Steps Required To Take A Database In Archive Log Mode And Alter It To No Archive Log Mode

SELECT log_mode
FROM v$database;

SHUTDOWN;

STARTUP MOUNT EXCLUSIVE;

ALTER DATABASE NOARCHIVELOG;

ALTER DATABASE OPEN;

SELECT log_mode
FROM v$database;

 

Source: http://psoug.org/reference/archivelog.html

Thursday, February 6, 2014

allowDefinition='MachineToApplication' beyond application level

When am trying to build a web application through visual studio 2010, I was getting the following error message.

·         "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. 
This error can be caused by a virtual directory not being configured as an application in IIS. "

 

The solution is to check whether the is any other sub folder which is having web.config file. After removing it, The build was successful.

 

Best Regards