[POL-3267] read-only database or critical section not allowed

After each execution of the application, the base is left in state read-only, which produces error POL 3267 in the following execution.
Which could be the reason?
How can it be solved?
Thanks,
German Gioia
[email protected]
ANGRAS SRL

Never mind, I am answering my own thread.
The code posted by Balaji Rathakrishnan
from SQL Server dev team no longer works on SQL 20012, without additional annotation:
Here is the fix: (add DataAccess = .....Read etc) as below
  [SqlFunction(FillRowMethodName = "FillRow", TableDefinition = "FileContents varbinary(max)", DataAccess
= DataAccessKind.Read)]
    public static IEnumerator GetFile(String FileName)
        return new SingleFileLoader(FileName);
All is well now.
Yuri Budilov
Yuri Budilov

Similar Messages

  • Can a read-only snapshot site be refreshed from a read-only database?

    Hi,
    Here is the database configuration.
    Database 1: master site
    Database 2: has materialized views (read-only snapshot site)
    If DB1 becomes read-only, is it possible to refresh the materialized views in DB2? I was told that it is not possible because some m$log tables in DB1 need to be updated when the DB2 is refreshed . If it is DB1 is read-only, the meta data tables can not be updated so the refresh will fail.
    Does anybody have experience with a scenario like this?
    Thanks very much.

    Why do you need to put the database in read only mode anyway. Why not control "readability" through security, ie roles. Then it won't really matter.

  • Run Preclone merge in read only database

    HI ,
    I have a production database is reserved for normal clone ( multi node clone ) . I have a new assignment that need to merge a appltop for a single node clone . so we choose a DR database as source , which is a read only database . When I run perl adpreclone.pl merge and enter apps password It return “ORA-01033: ORACLE initialization or shutdown in progress
    Is any have any idea how to get around this problem so that I can continue my preclone merge ?
    Thanks
    Felix

    This is DR site . It is a data guard server . so this database is not open . Below is messgae I get .
    /oracle/prod/db/prodcomn/admin/scripts/PROD_usla1-vts-mgr-1$ perl adpreclone.pl appsTier merge
    Running adgenhfver.pl with command...
    perl /oracle/prod/db/prodappl/ad/11.5.0/bin/adgenhfver.pl isPrimary=y applsysusr=APPLSYS tempdir=/oracle/prod/db/prodcomn/temp
    Please enter the APPS User [APPS]:
    Please enter the APPS password: XXXXXXX
    This is the merge Primary node:
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Do you have any idea how do I get around this problem so that I can finish preclone ?
    Thanks
    Felix

  • Scheduling workbooks in read only database

    We have a standby server for our OLTP and it is read only database. Read only database is not allowing to schedule discoverer reports. Can anyone suggest how to handle this?

    Its a replication of OLTP. Every day night OLTP logs are applied into this read only database. We cannot change anything in EUL. Whatever the changes we do in OLTP EUL it gets reflected in the read only database.

  • Should I rebuild my read only database every time I launch my server?

    I'm getting into web development, and I'm trying to get a grip on databases.
    In an app I want to make, there is a read only database that will be filled up with a large amount of data, which will be the heart of the application, and also a lot of work to put in.
    I'm uncomfortable with putting all this data into the database, as the database is "separate" from my web app code. I feel like I should rather write my data in code somewhere, and then have my application put the data into the database for me.
    This way I would have my entire project written in code, and not an integral part of my software hidden away in the database, which is a bit complicated to work with, and seems difficult to move from computer to computer.
    But is this a sensible way to do this, however? Should I write my data in code, and every time I launch the server, make the application drop all the tables and read them in from my code again?
    Is this the wrong way to go about it? Would it cause considerable overhead? How do people do this?

    Why are you uncomfortable in separating the data into a database? Don't you follow a modular approach when it comes to coding and separate the UI layer and the business layer? The data you are referring to, that many legacy applications will have at least
    some of it embedded in the code in the form of constants, is an ideal lookup table data that should be stored in a database. 
    >>>"This way I would have my entire project written in code, and not an integral part of
    my software hidden away in the database, which is a bit complicated to work with, and seems difficult to move from computer to computer."
    You can locate your database centrally and connect to it from any computer. The maintenance of your read only data in your DB is much more easier than embedding it in
    the code
    >>>"Should
    I write my data in code, and every time I launch the server, make the application drop all the tables and read them in from my code again?"
    This is totally unnecessary. If you will be entering a lot of read only data into your DB, you can have
    a small utility program that provides an interface to enter the data into a DB - if you are uncomfortable with using the SSMS UI or TSQL to enter the new data. Also, reloading the data every time will only make your application look very slow and unacceptable. 
    To summarize, store your data in a DB. Even it if is small application, you can start with SQL Express
    edition to store the data as you will most likely need a proper DB in future if not now as your application functionality grows.
    Satish Kartan www.sqlfood.com

  • Using Session Beans on a read only database

    Hi,
    i am working on a weblogic 6.1 server and have to access a read only database
    using session beans. The transaction attributes of all session beans (we are using
    no entity beans) are set to NOT_SUPPORTED but every time a method is accessed
    an error message is thrown
    BEGIN TRANS in read only database .....
    Is there a way to avoid this?
    Regards
    Edmund

    I guess it is NotSupported. If not try Never.
    --Jay   
    www.architectslobby.org
    An exclusive community for Enterprise Architects

  • Using BC4J on a read-only database?

    Is it possible too configure BC4J to run against a read-only database?
    I only have query-based view objects (no Entity objects) and the data is updated by another application. The user I use to atatch to the DB only has read-only access, and when trying to run my BC4J app I get the following errors:
    Error Message: JBO-28006: Could not create persistence table PS_TXN
    Error Message: ORA-01950: no privileges on tablespace 'USERS'
    Is this PS_TXN table required even if I only want read-only transactions?
    thanks
    Brigette

    Thanks Shay,
    In conjunction with http://otn.oracle.com/products/jdev/howtos/bc4j/howto_dynamic_jdbc.html (which showed me how/were to set the property), this has solved the problem!
    keep smiling
    Brigette

  • Backing Up Read-Only Databases

    Below Link looks like applies to SQL2008 and 2008R2, 
    https://technet.microsoft.com/en-us/library/ms190374(v=sql.105).aspx 
    Will that be the same case for all the SQL2012 also ?
    Thanks in Advance.
    Regards,
    Ram.
    ramakrishna

    https://technet.microsoft.com/en-us/library/ms190374(v=sql.105).aspx 
    Will that be the same case for all the SQL2012 also ?
    Hi Ram,
    Yes. It will be the same case for SQL Server 2012. For more details about
    backing up Read-Only databases in SQL Server 2012, you can also review the following articles.
    Partial Backups (SQL Server)
    https://msdn.microsoft.com/en-us/library/ms191539(v=sql.110).aspx
    Differential Backups (SQL Server)
    https://msdn.microsoft.com/en-us/library/ms175526(v=sql.110).aspx
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Looking for advice on what which freamework or dev. methodology for read only database centric web application

    Hello, I hope the experts here can advise me on which development approach for a new .net web application that  I am to begin development shortly.  I have the back end stored procedures complete and now I will build a .net front end. 
    This front end will be 95% populating custom html5/css3/jquery pages from c# DataSets which are themselves populated from calls to oracle stored procesures.  There will be no updating - this is read-only querries of OLTP prpared tables off of a data
    warehouse schema.  I am a verteran at the back end stuff but my web app development skills are new so I hope to get a recommendation form the experts on what approach I should persue to build the front end.  From what I have seen I might start
    with MVC5 framework and build the web pages with RAZOR embedded c# code looping through the DataSets to create the html. I need to the ability to create very custom div elements throughout, so I understand I should not use some high level code generation
    tool.  Thanks so much for the feedback. 

    Hello Jay,
    This forum is discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.
    >>I hope the experts here can advise me on which development approach for a new .net web application.
    From this message, you are doing web applications, you will need to post this thread to Asp.Net  forum for some advices. For MVC issues, please post
    Here.  Thanks for your understanding.
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I am having trouble with an excel file wanting to save when no changes were made & opening as read only for the 2nd person - but allowing them to save the file.

    1) I am having trouble with an excel file wanting to save when no changes were made.  As soon as you open the file and exit.  It prompts for a save.
    All excel versions are 15.0.4701.1002.
    Using a table.
    the functions CELL, OFFSET, TODAY, INDIRECT, NOW, INFO and RAND are not being used.
    2) Same file.   2nd person is being told they are opening the file as read only - but when they are quitting excel prompts them to save the file. 
    Everything was working fine.  I started having problems with Excel, IT wiped my version out and re-installed office. 
    File is on networked server HP - Windows Server 2012 Essentials.  
    We are all on Windows 8.1 Pro.
    I really hope someone can help - the excel expert had no answer - and passed me along to here.

    I copied the whole file and started deleting worksheets one at a time and testing it by closing it and re-opening it then closing it again – to see if it wanted to save. 
    Once all the pivot tables were deleted – the problem went away. 
    I found that some of the pivot tables had automatic refresh upon open, so this caused the excel to think data had changed. 
    It is fixed now.  By clicking on one cell of the pivot table, analyze, options, data and uncheck the 3<sup>rd</sup> square down to not automatically refresh.  NOT A NETWORK ISSUE.

  • TS1550 OSX Upgrade (Mountain Lion) turned external drive to "read-only" and now I can not do back-ups on time machine.  How do I fix this?

    I recently upgraded to mountain lion, latest version OS and now my external drives are read-only.  They are formatted Mac OS Extended and I have been using one of them for Time Machine.  How do I fix?
    Thanks

    http://pondini.org/TM/C6.html

  • Storage section not allowed

    I was trying to create a TO with LT01 and mvt type 999.
    Its giving an error - 'Putaway in storage section 'A' is not allowed.
    It is not allowing to delete these storage sections. I have only 2 storage sections for this storage type.
    1.Why this error is coming?
    2.What controls this?
    Please explain.

    SPRO>Logistics Execution>Warehouse Management>Strategies>Putaway Strategy>Define Strategy for XXXXXBins>Click on any of the entries(the bins and data u r working on) and click on the glass symbl...then you will the indicator for Addn Stock....
    If you also go through the below, check there as well...
    SPRO>Logistics Execution>Warehouse Management>Define Storage Types>Click on any of the entries(the bins and data u r working on) and click on the glass symbl...then you will the indicator for Addn Stock....

  • Acrobat Reader 9.0 PDF - Commenting property "Not Allowed"

    Hi,
    I saved a document in Illustrator as PDF but unfortunately the Commenting property is set to "Not Allowed" and I cannot mark-up the file in Acrobat Reader. What is strange is all properties are set to "Allowed" when I open the same document in Acrobat Pro!
    Can I do anything in Illustrator or Acrobat Reader in order to have this Commenting property set to "Allowed"?
    For info, I am using Illustrator CS2 and Acrobat Reader 9.0
    Cheers!

    This is normal. Reader cannot normally add comments.
    HOWEVER, a file can be prepared in Acrobat Pro (See the Comments menu)
    so Reader can add comments. This locks out certain other things: read
    the warning carefully.
    Aandi Inston

  • I am using Firefox 3.3.23 which works fine for me. Whenever I try a newer version, I find that I can read my email, but I am not allowed to send email messages. Is there a fix for this problem so I can switch to the latest version of Firefox??

    I am using a web-based email system maintained by my university, not gmail or yahoo or outlook.

    Firefox 3.6 needs the Java Second Generation Plugin which comes with newer versions than 1.6.0_03 - update Java, the latest version is 1.6.0_22

  • 10.5.5 sets external volume to read-only

    Bizarre.
    I have 4 external volumes (2 FW800, 2 USB 2.0) and one of the volumes suddenly shifted to read-only status after updating to 10.5.5 this afternoon. At least, that's the error message I get when I try to touch a file anywhere on the volume.
    Problem started when I tried to open iTunes and got the error message "The folder 'Music' is on a locked disk or you do not have write permissions for this folder." Get Info indicates that this user account does, in fact, have Read & Write permissions. Group and Other permissions are set to Read Only. Get Info does not allow me to select the lock to make changes, however, but nor is the "Locked" checkbox selected.
    In Terminal, permissions for Volume "Little Brother" are indicated as:
    drwxrwxr-x 11 <adminuser> staff 442 Aug 13 13:11 Little Brother
    The Music folder in question appears to have the appropriate permissions as well:
    drwxr-xr-x 14 <adminuser> staff 476 Sep 18 11:17 Music
    Aside from the 10.5.5 update there have been no changes to the filesystem, and no files written to this drive.
    I can touch files on each volume except for "Little Brother". Aside from chmodding the **** thing, does anyone have any recommendations for what I can do?
    Thanks.

    I think Ill just keep responding to this, every time Apple issues an update (patch) that causes the problem to resurface. I have contacted tech support. And they tell me they no nothing about this and have never heard about it. Then I tell them to check my support records. The issue is well documented there and goes back for many, many months.
    So, today I came home to find that apparently my software update utility (which is set to NOT update the software) has updated my software. My brand new Western Digital external 2TB disk is off line and my Time Machine drive (1.5TB Maxtor) now appears to be completely after being kicked from the USB ever friggin time there is a software patch.
    I'm trying one last time to recover following the procedure above - but once again I am running the procedure above against my 2TB user disk - so hopefully in 8 or 12 hours Ill know something. Thanks again to all the Windows developers who are now obviously working at Apple.

Maybe you are looking for