Opening read-only Environment

Hi,
I have following settings to open an read-only and non-transactional environment.
          EnvironmentConfig envConfig = new EnvironmentConfig();
          envConfig.setTransactional(false);
          envConfig.setLocking(false);
          envConfig.setReadOnly(true);
          DatabaseConfig dbConfig = new DatabaseConfig();
          dbConfig.setTransactional(false);
          dbConfig.setReadOnly(true);
          Database catalogDb = env.openDatabase(null, "catalog", dbConfig);
          catalog = new StoredClassCatalog(catalogDb);
          keyBinding = TupleBinding
                    .getPrimitiveBinding(Integer.class);
dataBinding = new SerialBinding(catalog, Object.class);
          db = env.openDatabase(null, "hellowworld", dbConfig);
It takes varying time to open an environment, say on average ~1 sec.
Currently the database size is ~200MB
Is it possible to reduce the time to open an read-only environment ?
Am I missing any other parameters?
Thanks,

Hi,
Open time can be adjusted by checkpoint frequency. You should ensure that when the environment was opened r/w that it was closed cleanly (and therefore a checkpoint was performed). I suggest that if you are unsure if your environment was shutdown cleanly that you re-open it read-write and call Environment.close() on it. Or better yet, just to be sure, call Environment.checkpoint() on it before you call close().
Let me know if that reduces the open time.
Regards,
Charles Lamb

Similar Messages

  • Weird error: "Cannot write file summary in a read-only environment"

    Disclaimer: We are using an old version of bdb - 3.2.76 but are not able to easily upgrade.
    We see this occasionally in production. From looking at the code it looks like critical eviction is happening since more memory is used then the limit we set then eviction is happening but then failing since the env is read only. I'm just wondering how it got to this point. we set the max size (je.maxMemory) to 1572864 bytes.
    This is not urgent but is adding noise to logs so any suggestions would be welcome...
    <application specific exception>
    …causedBy com.sleepycat.je.DatabaseException: (JE 3.2.76) Cannot write file summary in a read-only environment
    at com.sleepycat.je.cleaner.UtilizationProfile.putFileSummary(UtilizationProfile.java:720)
    at com.sleepycat.je.cleaner.UtilizationProfile.flushFileSummary(UtilizationProfile.java:708)
    at com.sleepycat.je.cleaner.UtilizationTracker.evictMemory(UtilizationTracker.java:120)
    at com.sleepycat.je.evictor.Evictor.evictBatch(Evictor.java:314)
    at com.sleepycat.je.evictor.Evictor.doEvict(Evictor.java:253)
    at com.sleepycat.je.evictor.Evictor.doCriticalEviction(Evictor.java:279)
    at com.sleepycat.je.dbi.CursorImpl.close(CursorImpl.java:690)
    at com.sleepycat.je.dbi.CursorImpl.close(CursorImpl.java:660)
    at com.sleepycat.je.Cursor.endRead(Cursor.java:1820)
    at com.sleepycat.je.Cursor.retrieveNextAllowPhantoms(Cursor.java:1616)
    at com.sleepycat.je.Cursor.retrieveNext(Cursor.java:1397)
    at com.sleepycat.je.Cursor.getNext(Cursor.java:456)
    ...

    Hi Nick,
    It is strange to me also that this is happening in a read-only env. Looking at the code, we don't prevent this sort of eviction in the 3.2 release or later releases. Yet we've never seen this problem before.
    This sort of eviction only happens when writing is occurring. Of course, in a read-only env there is no writing. The only way I can think of for this to occur in a read-only env is when there is a very large recovery interval -- the amount of log between the last checkpoint start and the end of the log. This can occur if you didn't close the env cleaning when you last wrote to it, or if the last checkpoint just happened to be very large.
    So one thing you could try is to ensure that you have a small checkpoint when you write to the log, before opening it in read-only mode. To do this, just before you call Environment.close, call Environment.checkpoint(new CheckpointConfig().setForce(true)). This will do one checkpoint before closing the env, and then another during the close. The last checkpoint should be small.
    If you can't do this, or it isn't sufficient, you could increase the je.cleaner.detailMaxMemoryPercentage env config property. This is the max amount of memory (% of total cache) used for the information that is being evicted. Since nothing can really be evicted in read-only mode, there is no harm in setting this to a much higher value than the default (2). I would try 10. This doesn't reserve or waste any memory, it just prevents this sort of eviction from occurring until a larger part of the cache is used. This is probably the simplest solution.
    A third approach is to simply accept that this sort of eviction will be attempted, but try to prevent the exception. If you're willing to rebuild JE (and you're not a supported Oracle customer -- please contact us if you are), then you could simply replace the 'throws' statement with a 'return null' in src/com/sleepycat/je/cleaner/UtilizationProfile.java:
        private synchronized PackedOffsets putFileSummary(TrackedFileSummary tfs)
            throws DatabaseException {
            if (env.isReadOnly()) {
                throw new DatabaseException
                    ("Cannot write file summary in a read-only environment");
            }--mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Standby database errors - Alter database open read only

    alter database open read only
    AUDIT_TRAIL initialization parameter is changed to OS, as DB is NOT compatible for database opened with read-only access
    Signalling error 1152 for datafile 1!
    Beginning standby crash recovery.
    Serial Media Recovery started
    Managed Standby Recovery starting Real Time Apply
    Media Recovery Waiting for thread 1 sequence 216
    Mon Dec 20 11:58:18 2010
    Standby crash recovery need archive log for thread 1 sequence 216 to continue.
    Please verify that primary database is transporting redo logs to the standby database.
    Wait timeout: thread 1 sequence 216
    Standby crash recovery aborted due to error 16016.
    Errors in file /u01/app/oracle/diag/rdbms/mdm2/MDM2/trace/MDM2_ora_17442.trc:
    ORA-16016: archived log for thread 1 sequence# 216 unavailable
    Recovery interrupted!
    Completed standby crash recovery.
    Signalling error 1152 for datafile 1!
    Errors in file /u01/app/oracle/diag/rdbms/mdm2/MDM2/trace/MDM2_ora_17442.trc:
    ORA-10458: standby database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '+MDMDG1/mdm2/datafile/system.280.738243341'
    ORA-10458 signalled during: alter database open read only...
    Mon Dec 20 12:13:46 2010
    ALTER DATABASE RECOVER managed standby database using current logfile disconnect
    Attempt to start background Managed Standby Recovery process (MDM2)
    Mon Dec 20 12:13:46 2010
    MRP0 started with pid=23, OS id=18974
    MRP0: Background Managed Standby Recovery process started (MDM2)
    started logmerger process
    Mon Dec 20 12:13:51 2010
    Managed Standby Recovery starting Real Time Apply
    Parallel Media Recovery started with 2 slaves
    Waiting for all non-current ORLs to be archived...
    All non-current ORLs have been archived.
    Media Recovery Waiting for thread 1 sequence 216
    Completed: ALTER DATABASE RECOVER managed standby database using current logfile disconnect
    The above lines are from alert log of standby database.
    Standby standbase
    SQL> alter database open read only;
    alter database open read only
    ERROR at line 1:
    ORA-10458: standby database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '+MDMDG1/mdm2/datafile/system.280.738243341'
    Parameters set on primary are
    log_archive_dest_1 LOCATION=+MDMDG3/MDM1/ARCH VALID_FOR=(ALL_LOGFILES,ALL_ROLE ) DB_UNIQUE_NAME=MDM1
    log_archive_dest_state_1 ENABLE
    log_archive_dest_2 SERVICE=MDM2 SYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=MDM2
    log_archive_dest_state_2 ENABLE
    dg_broker_config_file1 +MDMDG2/mdm/dg_config/dgconfig1_mdm.dat
    dg_broker_config_file2 +MDMDG2/mdm/dg_config/dgconfig2_mdm.dat
    fal_server MDM2
    standby_file_management AUTO
    log_archive_config dg_config=(MDM1,MDM2)
    db_file_name_convert MDM2, MDM1
    ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE availability ;
    Standby pfile
    *.archive_lag_target=900
    *.audit_file_dest='/u01/app/oracle/admin/MDM2/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='+MDMDG1/MDM2/CONTROLFILE/controlfile01.ctl','+MDMDG2/MDM2/CONTROLFILE/controlfile02.ctl'
    *.db_block_size=8192
    *.db_create_file_dest='+MDMDG1'
    *.db_domain=''
    *.db_file_name_convert='MDM1','MDM2'
    *.db_name='MDM'
    *.db_recovery_file_dest='+MDMDG2'
    *.db_recovery_file_dest_size=10485760000
    *.db_unique_name='MDM2'
    *.dg_broker_config_file1='+MDMDG2/MDM/DG_CONFIG/dgconfig1_MDM.dat'
    *.dg_broker_config_file2='+MDMDG2/MDM/DG_CONFIG/dgconfig2_MDM.dat'
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=MDM2XDB)'
    *.fal_server='MDM11','MDM12'
    *.instance_name='MDM2'
    *.log_archive_config='dg_config=(MDM1,MDM2)'
    *.log_archive_dest_1='LOCATION=+MDMDG3/MDM2/ARCH VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=MDM2'
    *.log_archive_dest_2='SERVICE=MDM1 ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=MDM1'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='MDM_%t_%s_%r.arc'
    *.log_file_name_convert='MDM1','MDM2'
    *.memory_target=838860800
    *.nls_language='ENGLISH'
    *.nls_territory='UNITED KINGDOM'
    *.open_cursors=300
    *.processes=500
    *.remote_login_passwordfile='exclusive'
    *.sessions=555
    *.standby_file_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    On standby ASM
    ASMCMD [+] > find * *
    +MDMDG1/ASM/
    +MDMDG1/ASM/ASMPARAMETERFILE/
    +MDMDG1/ASM/ASMPARAMETERFILE/REGISTRY.253.737811541
    +MDMDG1/MDM/
    +MDMDG1/MDM2/
    +MDMDG1/MDM2/CONTROLFILE/
    +MDMDG1/MDM2/CONTROLFILE/controlfile01.ctl
    +MDMDG1/MDM2/CONTROLFILE/current.265.738243333
    +MDMDG1/MDM2/DATAFILE/
    +MDMDG1/MDM2/DATAFILE/CANVAS_POPULARITY_DATA.264.738243343
    +MDMDG1/MDM2/DATAFILE/CANVAS_POPULARITY_IDX.277.738243343
    +MDMDG1/MDM2/DATAFILE/MDM_SRC_DATA.282.738243343
    +MDMDG1/MDM2/DATAFILE/MDM_SRC_IDX.275.738243343
    +MDMDG1/MDM2/DATAFILE/MIPS_MDM_DATA.283.738243341
    +MDMDG1/MDM2/DATAFILE/MIPS_MDM_IDX.276.738243343
    +MDMDG1/MDM2/DATAFILE/SYSAUX.281.738243341
    +MDMDG1/MDM2/DATAFILE/SYSTEM.280.738243341
    +MDMDG1/MDM2/DATAFILE/TEST_TBSP1.273.738243345
    +MDMDG1/MDM2/DATAFILE/TEST_TBSP2.272.738243345
    +MDMDG1/MDM2/DATAFILE/UNDOTBS1.256.738243343
    +MDMDG1/MDM2/DATAFILE/UNDOTBS2.279.738243343
    +MDMDG1/MDM2/DATAFILE/USERS.278.738243347
    +MDMDG1/MDM2/ONLINELOG/
    +MDMDG1/MDM2/ONLINELOG/group_1.259.738243429
    +MDMDG1/MDM2/ONLINELOG/group_2.257.738243431
    +MDMDG1/MDM2/ONLINELOG/group_21.284.738243505
    +MDMDG1/MDM2/ONLINELOG/group_22.261.738243505
    +MDMDG1/MDM2/ONLINELOG/group_23.274.738243505
    +MDMDG1/MDM2/ONLINELOG/group_3.258.738243431
    +MDMDG1/MDM2/ONLINELOG/group_31.262.738243513
    +MDMDG1/MDM2/ONLINELOG/group_32.270.738243513
    +MDMDG1/MDM2/ONLINELOG/group_33.263.738243513
    +MDMDG1/MDM2/ONLINELOG/group_4.260.738243431
    +MDMDG2/MDM/
    +MDMDG2/MDM/DG_CONFIG/
    +MDMDG2/MDM2/
    +MDMDG2/MDM2/AUTOBACKUP/
    +MDMDG2/MDM2/AUTOBACKUP/2010_12_20/
    +MDMDG2/MDM2/AUTOBACKUP/2010_12_20/s_738242861.263.738244155
    +MDMDG2/MDM2/CONTROLFILE/
    +MDMDG2/MDM2/CONTROLFILE/controlfile02.ctl
    +MDMDG2/MDM2/CONTROLFILE/current.271.738243335
    +MDMDG2/MDM2/ONLINELOG/
    +MDMDG2/MDM2/ONLINELOG/group_1.270.738243429
    +MDMDG2/MDM2/ONLINELOG/group_2.269.738243431
    +MDMDG2/MDM2/ONLINELOG/group_21.268.738243505
    +MDMDG2/MDM2/ONLINELOG/group_22.272.738243505
    +MDMDG2/MDM2/ONLINELOG/group_23.262.738243505
    +MDMDG2/MDM2/ONLINELOG/group_3.273.738243431
    +MDMDG2/MDM2/ONLINELOG/group_31.266.738243513
    +MDMDG2/MDM2/ONLINELOG/group_32.265.738243513
    +MDMDG2/MDM2/ONLINELOG/group_33.264.738243513
    +MDMDG2/MDM2/ONLINELOG/group_4.261.738243431
    +MDMDG3/MDM/
    +MDMDG3/MDM/ARCH/
    +MDMDG3/MDM2/
    +MDMDG3/MDM2/ARCH/
    -- Please can I know how to open read only standby database.

    user5846399 wrote:
    ORA-16016: archived log for thread 1 sequence# 216 unavailable
    Recovery interrupted!archived log for thread 1 sequence# 216
    This file is needed for recovery, Find it and move it to the standby database side.

  • 11gR2 Real Time Apply / open read only

    Hi,
    I have a single instance primary database with a physical standby. The release is 11.2.0.1.0.
    Max Availability mode
    LGWR SYNC transport
    Data Guard Broker configuration enabled
    Both the primary and standby database are registered with the Grid Infrastructure (Standalone installation on each server, no cluster)
    When I stop and start the standby database it seems to default to open read only using Managed Real Time Recovery.
    SQL> SELECT DEST_ID, RECOVERY_MODE FROM V$ARCHIVE_DEST_STATUS
    2> WHERE DEST_ID=2;
    DEST_ID RECOVERY_MODE
    2 MANAGED REAL TIME APPLY
    I do not want to Active Data Guard on this particular database. So I removed and added the database again using srvctl this time supplying the -s mount flag. Now when I stop/start the standby it opens in mount mode and MANAGED recovery which is OK.
    My question is why did the standby automatically get opened in read only. Is the a change in behaviour introduced along with Active Data Guard? Is the default behaviour for a database registered with Grid Infrastructure to simply start the database in open mode and becuase this is 11.2 standby this means open read only?
    Thanks

    Dear user234564,
    This has been introduced in Oracle Database 11g Data Guard New Features and it is called the Active Data Guard. With the new release you can open the physical standby database in read only mode and the real time apply will continue as it is on the mount stage. This ability has not been granted on 10g. So i think it could be the normal behaviour.
    11g physical standby database will be opened and the MRP process will still apply the archivelogs to the standby database. You can simply have it tested.
    Please refer;
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10700/manage_ps.htm#CHDGJEFF
    Let me give you a quick hint but it is off topic;
    The number of standby databases that a primary database can support is increased from 9 to 30 in this release.
    The capability to create 30 standby databases, combined with the functionality of the Oracle Active Data Guard option, allows the creation of reader farms that can be used to offload large scale read-only workloads from a production database.Hope That Helps.
    Ogan

  • MS Access database opens read only

    An Access application with linked databases opens read only, but sometimes is editable. The system was developed in Access 10 on a Win 7 machine and migrated to a standalone laptop running Win 8 and Office 365.
    The Access 10 has no problem in operating the application. The Win 8 laptop randomly opens the application read only. I have reviewed Trust settings and there is no difference between the different laptops and systems. 
    Is this a common problem? Is it associated with Win 8? Is it associated with Access form Office 365? The application is crucial to the business and we are getting way behind because we don't have a reliable or useful system. Last year the same application
    ran satisfactorily on Win 7 and Access 10.
    I would welcome some thoughts leading too a solution.

    Hi,
    Did you get the error message like "You are trying to open a read-only database". If yes, this issue may be due to the permission of the Access database. If we migrate the Access database from Access 2010 to Access 2013, the user/account's permission
    may be changed with different Windows operation system. We need the full control permission of the Access database. To workaround this issue, follow these steps:     
    On the desktop, double-click My Computer.
    Locate the Microsoft Access database that you moved.
    Right-click the database name, and then click Properties.
    In the Properties dialog box, clear the Read-only check box under
    Attributes.
    Click OK to apply the change.
    Open your database in Access.
    Please note: Make sure the user has full control of the root folder.
    If no, please tell us the whole error message, we'd like to do further troubleshooting.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Oracle 9.2.0.2 fails open read only with java exception

    Hi folks!
    I hope you can help me to narrow down this issue.
    I've a database running on windows 2003 64 bits. Oracle version is 9.2.0.2.
    I'm experiencing the following issue:
    When I try to open my database in read only mode, it crashes with ORA-604 and ORA-16000.
    The trace is pointing me to some kind of connection to an SQL Server...., but, to tell truth, I'm not understandig the problem, can anyone help me?
    The error itself is:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]No ResultSet set was produced.
    Thanks!

    I know this is not an tail -f 50 ...., but the last 100 lines are equals to the following:
    "starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=12
    ARC0: Archival started
    ARC1 started with pid=13
    ARC1: Archival started
    Sun Aug 22 21:36:12 2010
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Sun Aug 22 21:36:12 2010
    ARC0: Thread not mounted
    Sun Aug 22 21:36:12 2010
    ARC1: Thread not mounted
    Sun Aug 22 21:36:13 2010
    ALTER DATABASE MOUNT
    Sun Aug 22 21:36:17 2010
    Successful mount of redo thread 1, with mount id 1255534413.
    Sun Aug 22 21:36:17 2010
    Database mounted in Exclusive Mode.
    Completed: ALTER DATABASE MOUNT
    Sun Aug 22 21:36:32 2010
    alter database open read only
    Sun Aug 22 21:36:34 2010
    SMON: enabling cache recovery
    Sun Aug 22 21:36:34 2010
    Database Characterset is WE8ISO8859P1
    Sun Aug 22 21:36:37 2010
    Errors in file c:\oracle\admin\orcl\udump\orcl_ora_32704.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-16000: database open for read-only access"
    Obviously, with the details of the startup.
    One additional detail:
    After that errors, I started the database on restrict mode, and it opens (I fact, this is not surprising, I was expecting that result)
    I'll keep working on this....

  • Collect signatures workflow - Signatures can't be added or removed because this document was opened read-only

    Hi, I have configured a "Collect Signatures" workflow for test Word document(.docx), then uploaded it to sample SP 2010 doc library  (content type "Document").  This Word document has 2 empty Signature Lines in it.
    After that i'm starting the Collect Signatures workflow on it , which is assigned to me and other user from my Active Directory. 
    Workflow is started and after that i'm receiving mail about assigned task which also contains link to document.
    When i click on link it opens IE which contains SP library file path, after a while doc is opened in Word client in Read-only mode. When i want to sign the document info window pops up : "Signatures can't be added or removed because this document was opened
    read-only" and i'm not able to compete task/sign doc from Word.
    It is possible to sign the document when i go to SP library and opens this file directly from there (file drop-down menu-> open in MS Word).
    I saw that this behaviour is similar to this article:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/31ba43ec-b04e-428d-9a66-0cc571934197/collect-signatures-workflow-using-firefox-not-showing-workflow-task-this-document-requires-your?forum=sharepointgeneralprevious
    but i'm using IE so it shouldn't be Active X issue.
    I have also checked this MS Fix:
    http://support.microsoft.com/kb/2661910
    but changing CA settings to Permissive didn't help
    Any ideas ?

    Hi bezcisnien,
    I could not reproduce this issue.
    When you open this file directly by clicking the document Name link from SharePoint library, is there a
    yellow message bar in Word document?
    Did this happen to all users on all PCs?
    Have you checked if it is a client side issue, test with different IE 8/9/10 versions for this issue (and IE compatibility mode, add-ons, trusted site zone etc)?
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Startup command starts database but alter database open read only gives error

    Hi,
    I'm having some strange behavior. I've 10.2.0.3 database on windows 2003.
    The startup command starts database without any issues.
    But if I try following it gives error.
    startup mount (successful no errors)
    alter database open read only; gives error that file Mnnnnnn is missing.
    Why this is happening and how to fix it?
    Thanks.

    You really need to show us exactly what Oracle is telling you, using copy and paste, so we can have some clue.  You can hide details like instance and host names if they show up.
    I'm wondering if you had some messed up offline datafile in a tablespace, where Oracle handles it with startup, but gets upset when you try to open read-only.  It's some bizarro sequence of events like: add a datafile to a tablespace, decide that was a mistake, alter it offline, then remove it from the OS without telling Oracle any more about it.  I've come back from vacation to find scenarios like this, it winds up being a time-bomb trying to recreate a standby later.  Or something like that, I could be unremembering some details.

  • Urgent :need help to setup Master to snapshot(read only) environement

    Hi,
    I need your help urgently. I don't know much about master to Snapshot configuration. I need to do prototype of master to snapshot(read only) as soon as possible. I need replication setup/configuration scripts.
    DB1 is master database (8i) and DB1 is Snapshot site db.
    both dbs are identical except they have different Global_name.
    I want to replicate table from DB1---> DB2 unidirectional.
    Global name for DB1 is DB1.world and for DB2 is DB2.world
    TNS names are DB1 and DB2 respectively and TNSNAMES.ORA file is same on both server.
    Schema owner of Mster site (who owns the tables that I want to replicate) is user 'SYNAPSE'. On DB2 I have also same schema with same tables. Lets say table called 'TEST' that I want to replicate from DB1 to DB2.
    for simplicity I want to have only one account(user) on both site who can do administration and take care of all other task including replication.
    I need scripts to do setup for the replication environment described above.
    In short please provide me script to replicate DB1 to DB2 (Master to snapshot).
    I appreciate your help very much.
    You can reach me at [email protected] as well.
    Thank you.
    Pravin

    Finally I figured out how to setup/configure master to Snapshot environment but I have to say that Oracle documents are very confusing.
    The problems I ran into are:
    User Repadamin can't create MV in schema owner other than repadmin. Work arround I used is let that schemema owner allow to create MV.
    Other proble ran in is Constraint(FK) violation when trying to do using refresh group. To resolve this problem either disable constraints on snapshot site or create constraints usinf deferred option.
    Pravin

  • Outlook Public Folders- Some Documents Persistently Open Read-Only

    We have been having this issue for a few months.
    Previously, users could navigate to Public Folders and open Excel or Word documents, make changes, save and close without issue.
    When this problem first started, users were getting files open as Read Only. We were unsure why this was happening and could not find a fix, so we put out an instructional document on how to: disable Protected view in Excel or Word, turn off attachment previewing
    in Outlook and disable the preview pane. If users performed these steps, they could then operate without an issue.
    Now it is occurring again, even with the above fixes in place. We tried setting up a Group Policy to make these settings and it didn't help.
    My sysadmin had me block the following updates in WSUS: 2687567, 2965295 and 2956128. We thought this may be the cause but to no avail. On my work desktop and laptop it occurs with these updates not installed.
    We can access the documents OK, without Read Only status using Outlook Web Access. We are using a mix of Windows 7 Professional and Enterprise. We are using Exchange 2008, Office 2010.
    Thanks for any help you can provide.

    Hi,
    Based on my knowledge, since Outlook 2010, it seems to be by design.
    The easiest way to open and modify the attachment in the message, is to "Edit" the message, then open the attachment, make changes in the attachment and save the attachment, then Save the Message.
    You mentioned "Previously", was that a previous version of Outlook?
    Regards,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here.

  • Files don't open or will only open 'Read Only'. Server reboot resolves issue for 1 day

    Greetings!
    We have a SharePoint 2010 Foundation server that I recently inherited. I'm a novice at SharePoint, but let me cut to the chase.
    Users have recently (within the last week) started experiencing a problem where if they open a file, it will error either saying that the file cannot be opened, or it will only open in read only. This occurs with Excel, Word, Power Point docs. They CAN however,
    open and edit these documents in the browser with web apps. After launching the full office application, if they click 'Edit Document', it will appear to switch to editable mode, but the title bar will still contain 'Read Only' and they can't save changes
    directly back and are forced to do a 'Save As'. The only thing I have been able to do to remedy this is to quiesce the server and reboot it. After reboot, it will work until something magical happens overnight and it's broken again the next morning. I'm trying
    to hunt down what this magical event is but could use some help.
    Note that after I reboot the server, users can access and modify normally, no rebooting of workstations or closing of any applications (including the browser that's already on SharePoint) for it to start working, so I believe we can eliminate an endpoint
    issue.
    Server Specs:
    VMWare VM version 9 (VMTools up-to-date)
    16GB RAM
    250GB HDD
    2x vCPU
    Windows 2008 R2 (latest updates installed)
    SQL DB Hosted remote on a SQL 2008 R2 server running on Windows 2008 R2. The SQL database is set up in a mirror configuration.
    I'm sure I missed a lot of pertinent information but want to get something out there. Thanks in advance.

    There are warnings that repeat every ~1hour and one critical that occurs daily. Under each error, I added notes of what I've done to remedy.
    Warning, Event ID 14
    The start address sts4://serveraddress/contentdbid={0d061a04-5c82-48e5-b381-e111d1926b8d} cannot be crawled.
    Context: Application 'Search_index_file_on_the_search_server', Catalog 'Search'
    Details:
        The SharePoint server was moved to a different location.   (0x8004fd12)
    I found in central management that the content database is pointing to an old SQL database but the failover server is set correctly. I assume that is what is generating this but I don't know how to fix it.
    Warning, Event ID 2138
    The SharePoint Health Analyzer detected a condition requiring your attention.  Drives are at risk of running out of free space.
    Available drive space is less than five times the value of physical memory. This is dangerous because it does not provide enough room for a full memory dump with continued operation. It also could cause problems with the Virtual Memory swap file: 
    (SERVERNAME- C:\).
    Examine the failing servers and delete old logs or free space on the drives. For more information about this rule, see "http://go.microsoft.com/fwlink/?LinkID=142688".
    I Resolved this already an hour ago, extended the HDD from 100GB to 250 GB and made pagefile 2x the RAM (it was set to 8GB, RAM is 16GB)
    Critical, Event ID 6398
    The Execute method of job definition Microsoft.SharePoint.Administration.SPTimerRecycleJobDefinition (ID b71cb245-29cf-49d5-a157-2c04b881f15f) threw an exception. More information is included below.
    The timer service was not recycled because the following jobs were still running: Microsoft SharePoint Foundation Usage Data Import
    The timer recycle job was set to run no earlier than 6am and no later than 6am. I manually ran the job and it completed. I set the times for it to run to be 4am - 8am to give it time to run.
    This was right after a reboot (barf of the errors below)
    Error, Event ID 7043
    Load control template file /_controltemplates/TaxonomyPicker.ascx failed: Could not load type 'Microsoft.SharePoint.Portal.WebControls.TaxonomyPicker' from assembly 'Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.
    Here's the App event log over the last 24 hours, filtered without informational items:
    Warning    1/31/2014 1:44:25 PM    SharePoint Foundation Search    14    Gatherer
    Error    1/31/2014 12:51:07 PM    SharePoint Foundation    7043    Web Controls
    Warning    1/31/2014 12:44:23 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/31/2014 12:15:07 PM    SharePoint Server    8088    Taxonomy
    Warning    1/31/2014 12:14:55 PM    MsiInstaller    1015    None
    Warning    1/31/2014 12:14:55 PM    MsiInstaller    1001    None
    Warning    1/31/2014 12:14:55 PM    MsiInstaller    1004    None
    Warning    1/31/2014 12:14:55 PM    MsiInstaller    1015    None
    Warning    1/31/2014 12:14:54 PM    MsiInstaller    1001    None
    Warning    1/31/2014 12:14:54 PM    MsiInstaller    1004    None
    Warning    1/31/2014 12:14:29 PM    ILM Web Service Configuration    234    None
    Warning    1/31/2014 12:14:29 PM    ILM Web Service Configuration    234    None
    Warning    1/31/2014 12:14:27 PM    ILM Web Service Configuration    234    None
    Warning    1/31/2014 11:44:23 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/31/2014 10:44:30 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/31/2014 10:20:01 AM    SharePoint Foundation    2138    Health
    Warning    1/31/2014 10:19:46 AM    SharePoint Foundation    2138    Health
    Error    1/31/2014 10:19:08 AM    SharePoint Foundation    7043    Web Controls
    Warning    1/31/2014 10:17:15 AM    SharePoint Foundation Search    57    Search service
    Warning    1/31/2014 10:17:15 AM    SharePoint Foundation Search    57    Search service
    Error    1/31/2014 10:04:10 AM    SharePoint Foundation    5586    Database
    Critical    1/31/2014 10:03:15 AM    SharePoint Foundation    6398    Timer
    Critical    1/31/2014 10:03:10 AM    SharePoint Foundation    6398    Timer
    Critical    1/31/2014 10:03:03 AM    SharePoint Foundation    3355    Database
    Error    1/31/2014 10:03:02 AM    SharePoint Foundation    6772    Timer
    Error    1/31/2014 10:03:02 AM    SharePoint Foundation    6772    Timer
    Critical    1/31/2014 10:03:01 AM    SharePoint Foundation    6398    Timer
    Critical    1/31/2014 10:03:01 AM    SharePoint Foundation    3355    Database
    Error    1/31/2014 10:03:01 AM    SharePoint Foundation    5586    Database
    Error    1/31/2014 10:03:01 AM    SharePoint Foundation    5586    Database
    Error    1/31/2014 10:02:56 AM    SharePoint Foundation    7043    Web Controls
    Warning    1/31/2014 10:00:44 AM    SharePoint Foundation Search    57    Search service
    Warning    1/31/2014 10:00:39 AM    VMware Tools    1000    None
    Warning    1/31/2014 9:59:41 AM    SharePoint Foundation Search    57    Search service
    Warning    1/31/2014 9:59:41 AM    SharePoint Foundation Search    57    Search service
    Warning    1/31/2014 9:59:37 AM    SharePoint Foundation Search    57    Search service
    Warning    1/31/2014 9:59:37 AM    SharePoint Foundation Search    57    Search service
    Error    1/31/2014 9:58:46 AM    WMI    10    None
    Warning    1/31/2014 9:58:42 AM    CertificateServicesClient-AutoEnrollment    64    None
    Warning    1/31/2014 9:57:16 AM    User Profile Service    1530    None
    Warning    1/31/2014 9:57:17 AM    VMware Tools    1000    None
    Warning    1/31/2014 9:44:29 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/31/2014 9:27:05 AM    CertificateServicesClient-AutoEnrollment    64    None
    Error    1/31/2014 9:15:13 AM    SharePoint Foundation    5586    Database
    Error    1/31/2014 9:03:05 AM    SharePoint Foundation    7043    Web Controls
    Error    1/31/2014 8:49:46 AM    SharePoint Foundation    2137    Health
    Warning    1/31/2014 8:47:01 AM    SharePoint Foundation    2138    Health
    Warning    1/31/2014 8:44:26 AM    SharePoint Foundation Search    14    Gatherer
    Error    1/31/2014 8:42:52 AM    SharePoint Foundation    7043    Web Controls
    Error    1/31/2014 8:41:57 AM    SharePoint Foundation    7043    Web Controls
    Warning    1/31/2014 8:37:32 AM    SharePoint Server    8088    Taxonomy
    Warning    1/31/2014 8:00:00 AM    SharePoint Foundation    2138    Health
    Warning    1/31/2014 7:44:23 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/31/2014 7:00:00 AM    SharePoint Foundation    2138    Health
    Warning    1/31/2014 6:44:20 AM    SharePoint Foundation Search    14    Gatherer
    Critical    1/31/2014 6:10:30 AM    SharePoint Foundation    6398    Timer
    Warning    1/31/2014 6:00:00 AM    SharePoint Foundation    2138    Health
    Warning    1/31/2014 5:44:28 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/31/2014 5:00:00 AM    SharePoint Foundation    2138    Health
    Warning    1/31/2014 4:44:26 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/31/2014 4:14:28 AM    CertificateServicesClient-AutoEnrollment    64    None
    Warning    1/31/2014 4:00:00 AM    SharePoint Foundation    2138    Health
    Error    1/31/2014 3:57:05 AM    SharePoint Foundation    7043    Web Controls
    Warning    1/31/2014 3:44:23 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/31/2014 3:00:01 AM    SharePoint Foundation    2138    Health
    Warning    1/31/2014 2:44:21 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/31/2014 2:00:00 AM    SharePoint Foundation    2138    Health
    Warning    1/31/2014 1:44:29 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/31/2014 1:00:10 AM    MsiInstaller    1015    None
    Warning    1/31/2014 1:00:10 AM    MsiInstaller    1001    None
    Warning    1/31/2014 1:00:10 AM    MsiInstaller    1004    None
    Warning    1/31/2014 1:00:10 AM    MsiInstaller    1015    None
    Warning    1/31/2014 1:00:10 AM    MsiInstaller    1001    None
    Warning    1/31/2014 1:00:10 AM    MsiInstaller    1004    None
    Warning    1/31/2014 1:00:01 AM    SharePoint Foundation    2138    Health
    Warning    1/31/2014 12:44:27 AM    SharePoint Foundation Search    14    Gatherer
    Error    1/31/2014 12:00:06 AM    SharePoint Foundation    5586    Database
    Warning    1/31/2014 12:00:00 AM    SharePoint Foundation    2138    Health
    Warning    1/31/2014 12:00:00 AM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 11:44:25 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 11:00:00 PM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 10:44:22 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 10:00:00 PM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 9:44:28 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 9:00:00 PM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 8:44:26 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 8:14:27 PM    CertificateServicesClient-AutoEnrollment    64    None
    Warning    1/30/2014 8:00:00 PM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 7:44:23 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 7:00:00 PM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 6:44:21 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 6:00:01 PM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 5:44:29 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 5:27:04 PM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 5:27:04 PM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 5:00:00 PM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 4:44:27 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 4:00:00 PM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 3:44:24 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 3:00:00 PM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 2:44:22 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 2:00:00 PM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 1:44:29 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 1:00:02 PM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 12:44:27 PM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 12:35:42 PM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 12:35:42 PM    SharePoint Foundation Search    57    Search service
    Error    1/30/2014 12:18:00 PM    SharePoint Foundation    7043    Web Controls
    Warning    1/30/2014 12:17:33 PM    SharePoint Server    8088    Taxonomy
    Warning    1/30/2014 12:17:06 PM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 12:15:56 PM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 12:15:56 PM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 12:15:51 PM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 12:15:51 PM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 12:15:31 PM    VMware Tools    1000    None
    Error    1/30/2014 12:14:54 PM    WMI    10    None
    Warning    1/30/2014 12:14:50 PM    CertificateServicesClient-AutoEnrollment    64    None
    Warning    1/30/2014 12:12:34 PM    VMware Tools    1000    None
    Error    1/30/2014 12:12:25 PM    SharePoint Foundation    7043    Web Controls
    Warning    1/30/2014 12:06:32 PM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 12:06:01 PM    VMware Tools    1000    None
    Warning    1/30/2014 12:05:21 PM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 12:05:21 PM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 12:05:17 PM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 12:05:17 PM    SharePoint Foundation Search    57    Search service
    Error    1/30/2014 12:04:22 PM    WMI    10    None
    Warning    1/30/2014 12:04:18 PM    CertificateServicesClient-AutoEnrollment    64    None
    Warning    1/30/2014 12:01:51 PM    VMware Tools    1000    None
    Error    1/30/2014 12:01:49 PM    WMI    10    None
    Warning    1/30/2014 12:01:44 PM    CertificateServicesClient-AutoEnrollment    64    None
    Warning    1/30/2014 11:59:46 AM    VMware Tools    1000    None
    Warning    1/30/2014 11:59:43 AM    User Profile Service    1530    None
    Warning    1/30/2014 11:46:40 AM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 11:45:08 AM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 11:45:08 AM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 11:44:47 AM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 11:44:47 AM    SharePoint Foundation Search    57    Search service
    Warning    1/30/2014 11:44:39 AM    SharePoint Foundation Search    14    Gatherer
    Error    1/30/2014 11:10:43 AM    SharePoint Foundation    7043    Web Controls
    Warning    1/30/2014 11:00:31 AM    SharePoint Foundation    2138    Health
    Error    1/30/2014 11:00:12 AM    SharePoint Foundation    7043    Web Controls
    Warning    1/30/2014 11:00:02 AM    SharePoint Foundation    2138    Health
    Error    1/30/2014 10:57:51 AM    SharePoint Foundation    7043    Web Controls
    Error    1/30/2014 10:51:41 AM    SharePoint Foundation    5586    Database
    Error    1/30/2014 10:51:41 AM    SharePoint Foundation    5586    Database
    Critical    1/30/2014 10:51:36 AM    SharePoint Foundation    3355    Database
    Error    1/30/2014 10:51:35 AM    SharePoint Foundation    5586    Database
    Error    1/30/2014 10:51:35 AM    SharePoint Foundation    5586    Database
    Warning    1/30/2014 10:44:28 AM    SharePoint Foundation Search    14    Gatherer
    Error    1/30/2014 10:32:16 AM    SharePoint Foundation    7043    Web Controls
    Warning    1/30/2014 10:00:00 AM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 9:44:26 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 9:00:01 AM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 8:44:23 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 8:00:00 AM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 7:44:21 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 7:00:00 AM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 6:44:28 AM    SharePoint Foundation Search    14    Gatherer
    Critical    1/30/2014 6:10:31 AM    SharePoint Foundation    6398    Timer
    Warning    1/30/2014 6:00:01 AM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 5:44:26 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 5:00:00 AM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 4:44:24 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 4:03:06 AM    CertificateServicesClient-AutoEnrollment    64    None
    Warning    1/30/2014 4:00:00 AM    SharePoint Foundation    2138    Health
    Error    1/30/2014 3:56:31 AM    SharePoint Foundation    7043    Web Controls
    Warning    1/30/2014 3:44:22 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 3:00:01 AM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 2:44:29 AM    SharePoint Foundation Search    14    Gatherer
    Warning    1/30/2014 2:13:20 AM    Microsoft Forefront Protection    7003    Health Status
    Warning    1/30/2014 2:00:00 AM    SharePoint Foundation    2138    Health
    Warning    1/30/2014 1:44:27 AM    SharePoint Foundation Search    14    Gatherer
    Error    1/30/2014 1:30:14 AM    GetEngineFiles    6020    Engine Error
    Error    1/30/2014 1:30:14 AM    GetEngineFiles    6014    Engine Error
    Warning    1/30/2014 1:13:28 AM    FIMSynchronizationService    2004    Server
    Critical    1/30/2014 1:00:00 AM    SharePoint Portal Server    5555    User Profiles
    Critical    1/30/2014 1:00:00 AM    SharePoint Portal Server    5555    User Profiles

  • Cant open same excel file when it is already open by another user (cant open read only)

    We have been having an issue for a while now where if a user has an network saved
    excel document open, another user cannot open it at all. We get the error
    "Sorry we couldn't find your file. Is it possible it was moved, renamed or deleted?"
    and/or simple "Could not Open _____" errors when this happens. We should certainly be able to open a read only copy at the least but office doesn't even give an option to do so. We are using office '07 Pro Plus. Thanks.

    We have been having an issue for a while now where if a user has an network saved
    excel document open, another user cannot open it at all. We get the error
    "Sorry we couldn't find your file. Is it possible it was moved, renamed or deleted?"
    and/or simple "Could not Open _____" errors when this happens. We should certainly be able to open a read only copy at the least but office doesn't even give an option to do so. We are using office '07 Pro Plus. Thanks.
    I'm facing the same issue.  Started only when my machine was upgraded from XP Pro to Win 7 Ent. Office 2010 is the version.  Hoping someone as a answer.
    Thanks.

  • HAL project opens read-only

    I'm using HAL 7.3 with Planning 9.3 and the projects (.prp) I have created open as read-only so I can't make any changes. Does anyone know how I can open the files so options can be changed?
    Thanks in advance.
    Ed

    Just create a copy of the .prp (just copy and paste the file to a new location) then you will not effect the original.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • WebEdit not working....opening read-only

    Just as a bit of an FYI for anyone that might be experiencing this issue with there WebEdit feature of Collaboration.If your WebEdit is opening files as read-only and thereby not allowing you to save them back to Collaboration, you can fix this issue by changing the nonGatewayedAccess enabled attribute to yes under the WebEdit Node in the Collaboration config.xml (see xml block below)
    <webEdit enabled="yes"> <nonGatewayedAccess enabled="yes"> <serverURL>http://collaboration_server_uri:11930/collab</serverURL> </nonGatewayedAccess> <tokenBasedAuthentication enabled="true"> <useClustering enabled="yes"> <maxWaitSeconds>30</maxWaitSeconds> </useClustering> </tokenBasedAuthentication> <truncateFileNames>75</truncateFileNames> <clientControl> <clsid>6882A029-D576-45FC-B966-7288891BDF58</clsid> <fileSpec>PTWebEditControl.CAB#version=1,0,0,0</fileSpec> </clientControl> <installOfficeToolsPopUp enabled="yes"/></webEdit>

    From initial observation what I see is that your SPLimitedWebPartManager is not created from an elevated web. Try like below
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using(SPSite elevatedSite = new SPSite(SPContext.Current.Site.ID))
    using(SPWeb elevatedWeb = elevatedSite.OpenWeb())
    using (SPLimitedWebPartManager wpManager = elevatedWeb.GetLimitedWebPartManager(HttpContext.Current.Request.Url.ToString(), PersonalizationScope.Shared))
    { //Rest of your code
    Geetanjali Arora | My blogs |

  • Can't open Read-Only Word Files

    Hi,
    I can't open word files that windoze has arked as Read-Only with pages 08. I get the error message, "the document FILENAME couldnt be opened."
    Anyone got ideas..

    Hi folks,
    I've solved the problem, so if anyone else is having the problem, I solved it this way. The files were on a memory stick, so when I read this: http://docs.info.apple.com/article.html?artnum=106712 it became obvious that if a dragged the files into my Documents folder OS X should give the correct file permissions automatically and it did. Well done Apple.
    The link also gives info on how to do this manually if you need help.
    Dave.

Maybe you are looking for