Editing prtDefault.properties to set mandatory system language

I have seen a few threads suggesting that if you want to force a language for the portal to do it by editing the "prtDefault.properties " for the following two values:
request.mandatorylanguage=en
request.mandatorycountry=gb
However, I was curious if there is any other way to do this than editing a operating system level file.  The "request.defaultlanguage" version of these parameters is editable in the System Administration -> System Config -> Service Config->Portal Runtime
Any chance there is a cleaner way to edit achieve this goal?

Hi,
prtDefault.properties can only be modified at operating system level. Save a copy of the old one, modify, save again and restart the portal afterwards.
The one at System Administration -> System Config -> Service Config->Portal Runtime is not prtDefault.properties. There you can only set the default language, not the mandatory one.
Anja

Similar Messages

  • Error trying to run SSIS Package via SQL Server Agent: DTExec: Could not set \Package.Variables[User::VarObjectDataSet].Properties[Value] value to System.Object

    Situation:
    SSIS Package designed in SQL Server 2012 - SQL Server Data Tools
    Windows 7 - 64 bit.
    The package (32 bit) extracts data from a SQL Server db to an Excel Output file, via an OLE DB connection.
    It uses 3 package variables:
    *) SQLCommand (String) to specify the SQL Statement to be executed by the package
    Property path: \Package.Variables[User::ExcelOutputFile].Properties[Value]
    Value: f:\Output Data.xls
    *) EXCELOutputFIle (String) to specify path and filename of the Excel output file
    Property path: \Package.Variables[User::SQLCommand].Properties[Value]
    Value: select * from CartOrder
    *) VarObjectDataSet (Object) to hold the data returned by SQL Server)
    Property path: \Package.Variables[User::VarObjectDataSet].Properties[Value]
    Value: System.Object
    It consists out of 2 components:
    *) Execute SQL Task: executes the SQL Statement passed on via a package variable. The resultng rows are stored in the package variable VarObjectDataSet
    *) Script Task: creates the physical output file and iterates VarObjectDataSet to populate the Excel file.
    Outcome and issue:The package runs perfectly fine both in SQL Server Data Tools itself and in DTEXECUI.
    However, whenever I run it via SQL Server Agent (with 32 bit runtime option set), it returns the errror message below.
    This package contains 3 package variables but the error stating that a package variable can not be set, pops up for the VarObjectDataSet only.  This makes me wonder if it is uberhaupt possible to set the value of a package variable
    of type Object.
    Can anybody help me on this please ?
    Message
    Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  6:40:20 PM  DTExec: Could
    not set \Package.Variables[User::VarObjectDataSet].Properties[Value] value to System.Object.  Started:  6:40:20 PM  Finished: 6:40:21 PM  Elapsed:  0.281 seconds.  The package execution failed.  The step failed.
    Thank you very much in advance
    Jurgen

    Hi Visakh,
    thank you for your reply.
    So, judging by your reply, not all package variables used inside a package need to be set a value for when run in DTEXEC ?
    I already tried that but my package ended up in error (something to do with "... invocation ...." and that error is anything but clearly documented. Judging by the error message itself, it looks like it could be just about anything. that is why I asked my
    first question about the object type package variable.
    Now, I will remove it from the 'set values' list and try another go cracking the unclear error-message " ... invocation ...". Does an error message about " ... invocation ..." ring any bells, now that we are talking about it here ?
    Thx in advance
    Jurgen
    Yes exactly
    You need to set values only forthem which needs to be controlled from outside the package
    Any variable which gets its value through expression set inside package or through a query inside execute sql task/script task can be ignored from DTExec
    Ok I've seen the invocation error mostly inside script task. This may be because some error inside script written in script task. If it appeared after you removed the variable then it may because some reference of variable existing within script task.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Reading locale system properties like set-variables of a windows Client

    Hello,
    is there a possibility to read locale system properties like set-variables of a windows Client?
    We want to read path-Info and user-info. Can I perhaps user javascript?
    Best regards
    Oliver Prodinger

    Hi Oliver,
    This code will work (assuming the client approves running of ActiveX)
    <html>
    <script>
      var shell = new ActiveXObject("WScript.Shell");
      var env = shell.Environment("process");
      alert(env("COMPUTERNAME"));
      alert(env("USERNAME"));
    </script>
    </html> 
    You can't really run it from WD, but what you can do is run this code from a portal component (DynPage/JspDynPage) that is running in the same page as your WD application and pass data by using portal eventing.
    The portal component iview can have size of 1 pixel so it won't be seen...
    Regards,
    Omri

  • 1.5 How to globally set the System Cache location

    FROM ANOTHER USER ON ANOTHER BOARD:
    This one did not get answered completely.
    ************************* Question:
    Hello,
    I want to deploy JWS on a client PC with Microsoft XP OS. This client have multiple users. JWS put a file deployment.properties in the directory "documents and setting" for the current user.
    How can I create a uniquely file deployment.properties for all users of this client (new and existing profiles) ?
    Create a directory "documents and setting/all users/application data/sun/java/deployment/" with the file deployment.properties don't work.
    Create a directory "documents and setting/default user/application data/sun/java/deployment/" with the file deployment.properties is working but is not good for the existing users. This is good uniquely for new users.
    is there a solution ?
    King regards,
    funchung
    ************************* ANSWER:
    For windows, the system config file is at:
    {Windows Directory}\Sun\Java\Deployment\
    The value of the {Windows Directory} is determined by using the Win32 API GetWindowsDirectory.
    So for example, on XP, the system config file is:
    c:\WINDOWS\Sun\Java\Deployment\deployment.properties
    The settings in this system config file will be used by all users on the system.
    ***************************** HIS REPLY
    I've tried this and it doesn't seem to work.
    I've also tried createing a deployment.config file as per the http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html article and this doesn't work for me.
    Has anyone done this successfully??
    ******************************** MY REPLY:
    This is true.
    I can get the system install to work if I add the parameter:
    deployment.system.cachedir=C\:\\testcache
    to the deployment.properties file found under:
    C:\Documents and Settings\username\Application Data\Sun\Java\Deployment
    but it will NOT work by adding it to the:
    C:\WINDOWS\Sun\Java\Deployment
    directory. It just creates a new default one in the user's folder.
    What am I doing wrong?
    If there is not a way to globally set the System Cache location, then this isn't much better than the user cache for being able to "install" the software once on the PC and let any user that signs in access that application.
    We had high hopes for this, since this functionality was taken away from us once the java cache started being stored in the user's folders.
    More details:
    I just tried setting the mandatory=true setting and it tells me that it is not allowed to start because it can't find the
    deployment.properties in the same folder (full path is displayed) but I know it is there, because it is the same folder. I even double checked the spelling.
    Maybe there is a bug in the way it finds that properties file, or maybe I need to include something in that file that I didn't find in documentation?
    All it has in it is the one line:
    deployment.system.cachedir=C\:\\testcache
    Can anybody help shed light on this?
    It seems to be a bug that it can't find the deployment.properties file in the 'system' folder.
    -Chris

    I now found more on another thread:
    http://forum.java.sun.com/thread.jspa?messageID=3500778&#3500778
    You can close this one.
    Sorry.

  • How do I set the document language in Pages '13?

    In Pages '09 it was possible to set a document's language by going to the More tab in the Text menu of the Inspector and selecting the language from the pull-down menu.
    In Pages '13 this has disappeared from the text format More sidebar, and I cannot find any way to set the language at all. It is possible to alter the spell-checking language in the Spelling and Grammar menu (under Edit in the menu bar), but this also indicates that the document language is set somewhere centrally. See this screenshot, where I have a document that was obviously set to Br. English and I want it in Am. English:
    I have to work in multiple languages and various flavors (it's the same in German). My system language is set to English and my keyboard to Am. English.
    Any idea of what to do?
    Thanks,
    Pato

    Patito wrote:
    It is possible to alter the spell-checking language in the Spelling and Grammar menu (under Edit in the menu bar)
    That is all you can do at present with Pages 5.  Like Peter said, if you want something more, you need to go back to Pages 4.

  • Different Safari and system language

    Hi, I would like to ask, if it is possible to have different system language (System Preferences > Language/Religion/Preferred Languages) and Safari language. The problem is, that I want to have my Mac in english (Preferred Language - English), but Safari in Czech language, because if I set my Mac language english, then safari automatically turns pages into english language, and i have to click back on the Czech flag. I'm sure everybody knows the option which some webpages have - its usually on upper right corner, where are two or more flags depending on what language do you want to have the webpage.
    Theres an option in Chrome to change this (Chrome > Preferences > Show Advanced Settings > Languages > Language and imput settings), but for Safari I'll have to figure it out by Terminal or something I believe..I don't know. Eventually that's why I'm here asking you.
    Thx a lot guys! x)

    vlčák wrote:
    Funny is that before Lion or Mavericks there was no Czech language option in System Preferences, so I had to use English, but Safari didn't have problem automatically set language of the pages into Czech.
    Before there was a Czech localization, you could use the Edit button to put Czech at the top of the list in system preferences and the OS would stay in English but Safari would ask for Czech web pages.   But I don't know how Safari could ask for Czech pages without doing that.

  • SharePoint Designer 2007 - Errors with Edit Document Properties Form

    All,
    I'm using SharePoint Designer 2007 and in two of my document libraries when I upload content I get this error:
    Object reference not set to an
    instance of an object.   at
    Microsoft.SharePoint.ApplicationPages.UploadPage.GetEditFormUrl(SPFile spfile)
       at Microsoft.SharePoint.ApplicationPages.UploadPage.OnSubmit(Object o,
    EventArgs e)
       at
    System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e)
       at
    System.Web.UI.HtmlControls.HtmlInputButton.RaisePostBackEvent(String
    eventArgument)
       at
    System.Web.UI.HtmlControls.HtmlInputButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
    eventArgument)
       at
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl,
    String eventArgument)
       at
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
       at
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)
    So - when I open the EditForm.aspx page and attempt to add the proper Document Library Properties - and see that the Edit Document Properties Form is blank no matter what File - I try to add I get this Error: 
     “The page you have selected does not contain a reference to the correct SharePoint list”
    Therefore - since the EditForm.aspx page hasn't been changed in a while - what are some items to look at to remedy this odd problem.

    All,
    I fixed this - by Opening the page in Designer - going to Insert -> SharePoint Controls -> List Form then selecting the proper library from the list - then selecting Edit Item Form. I then right mouse clicked the library and selected Properties
    -> clicked List Properties then clicked the Supporting Files tab and under the Edit Document Forms Property - selected the item as such - clicked OK - saved everything -> refreshed the browser then all worked! 

  • How to get current language bar setting for input language

    I am using Flex Builder 3, IE 7 and windows OS. Is there a
    way to determine the current input language as set in the "language
    bar"? The Capabilities class always returns "en" even after I set
    Chinese ("ch") as my input language.

    Hi Dragon Cao,
    No need to create any customer exit variable for this ..
    You have standard variable CMONTH this displays current month summation. Just restrict your Key figure with this variable.
    And in properities of Key figure goto Calculations> Local Calculations> select Summation.
    If you want to assign some calday at run time sure you need to create customer exit variable using Step_2 value in enhancements(CMOD).
    Regards,
    Rajeswari.
    Edited by: mrajeswari on Aug 24, 2011 12:35 PM

  • The File Replication Service has detected that the replica set "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)" is in JRNL_WRAP_ERROR.

    Hi!
    I recently took over management of a Windows 2003 domain that had only one domain controller.  I was building a second DC for redundancy and discovered that the SYSVOL share on the original DC is in "JRNL_WRAP_ERROR" after the SYSVOL and NETLOGON
    share would not create on the new DC.  This error goes back as far as the log goes back so I don't know how long it has been in this state. 
    The message in the event log states to enable "Enable Journal Wrap Automatic Restore" but I found a KB article that says to use the BurFlags key instead. http://support.microsoft.com/kb/290762
    Should I run an authoritative restore since I don't have another domain controller with a good SYSVOL?
    The File Replication Service has detected that the replica set "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)" is in JRNL_WRAP_ERROR.
     Replica set name is    : "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)"
     Replica root path is   : "c:\windows\sysvol\domain"
     Replica root volume is : "\\.\C:"
     A Replica set hits JRNL_WRAP_ERROR when the record that it is trying to read from the NTFS USN journal is not found.  This can occur because of one of the following reasons.
     [1] Volume "\\.\C:" has been formatted.
     [2] The NTFS USN journal on volume "\\.\C:" has been deleted.
     [3] The NTFS USN journal on volume "\\.\C:" has been truncated. Chkdsk can truncate the journal if it finds corrupt entries at the end of the journal.
     [4] File Replication Service was not running on this computer for a long time.
     [5] File Replication Service could not keep up with the rate of Disk IO activity on "\\.\C:".
     Setting the "Enable Journal Wrap Automatic Restore" registry parameter to 1 will cause the following recovery steps to be taken to automatically recover from this error state.
     [1] At the first poll, which will occur in 5 minutes, this computer will be deleted from the replica set. If you do not want to wait 5 minutes, then run "net stop ntfrs" followed by "net start ntfrs" to restart the File Replication
    Service.
     [2] At the poll following the deletion this computer will be re-added to the replica set. The re-addition will trigger a full tree sync for the replica set.
    WARNING: During the recovery process data in the replica tree may be unavailable. You should reset the registry parameter described above to 0 to prevent automatic recovery from making the data unexpectedly unavailable if this error condition occurs again.
    To change this registry parameter, run regedit.
    Click on Start, Run and type regedit.
    Expand HKEY_LOCAL_MACHINE.
    Click down the key path:
       "System\CurrentControlSet\Services\NtFrs\Parameters"
    Double click on the value name
       "Enable Journal Wrap Automatic Restore"
    and update the value.
    If the value name is not present you may add it with the New->DWORD Value function under the Edit Menu item. Type the value name exactly as shown above.

    > The message in the event log states to enable "Enable Journal Wrap
    > Automatic Restore" but I found a KB article that says to use the
    > BurFlags key instead.
    http://support.microsoft.com/kb/290762
    >
    > Should I run an authoritative restore since I don't have another domain
    > controller with a good SYSVOL?
    The automatic restore process AFAIK will initiate a D2 restore. And if
    there's no other DC, sysvol might be gone.
    I really would prefer to have control - this means I would do a D4.
    Absolutely I would :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • How to edit hyperlink properties in Acrobat Pro 9?

    I'm trying to edit a PDF document (generated from Windows Word) on my Mac with Acrobat Pro 9.
    What I want to do is make the borders invisible, because in Mac Preview the hyperlinks appear with ugly boxes around them. Apparently when no borderWidth property is set, Acrobat Reader defaults to a value of 0, but Preview defaults to a value of 1.
    I selected Tools > Advanced Editing > Link tool and can see all the hyperlink boxes.
    But I can't find a way to edit their properties.
    I tried double-clicking on the rectangles, which is what it says to do in the manual, but nothing happens.
    I tried control-click on a rectangle and a dialog pops up. I select properties from the dialog, but no properties appear.
    Anybody know how to get this to work?
    Thanks,
    doug

    Wow GQDiaz,
    What a wonderful gift you have given us! You have saved me hours of shuffling pages one by one between large cumbersome document scans.
    Your script works like a dream. Thank you for this gift.
    With kind regards,
    jaxios

  • Can you edit file properties using Labview?

    Except for the file attributes like 'read-only' and 'hidden', Windows 2000 & XP also have file properties like 'keywords', 'comments' and 'description'.
    Is there any way that I can edit these properties in Labview?

    RichElswick wrote:
    nope, we never got that far and I am no longer on that project.
    And it would be a bitch to implement. Basically those properties are implement using propertysheet handlers. That are shell extensions that can be installed in Windows and in the registry added to one or more file types. On loading the property dialog the shell (basically only an Explorer thing) sees that for that specific file type there are property sheet handlers registered and then loads them as an extra property sheet into the dialog.
    There is no common API to retrieve and lets forget about changing the information those property sheet handlers deal with programmatically. And every property sheet handler retrieves the actual properties according to his own private information, such as image properties in JPG files but possible also extra information in the meta data of a file on advanced files systems such as NTFS (the security property sheet for instance).
    So you would have to create a Windows dialog, load the according property sheet handlers into it and then have the user deal with that interactively. I doubt that this is what you want.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Preferred display language in safari without modifying the system language?

    Hi
    I have my system language set to US English.
    I want to change only safari preferred language to another language without having to change the default OS language.
    In firefox it's easy to have firefox in english but the default language for site specific languages another language.
    any idea how to do this in safari 4.x for osx?
    Cheers

    I don't think there is no way to do what you want.
    http://www.w3.org/International/questions/qa-lang-priorities
    Ask Apple for fix it here:
    http://www.apple.com/feedback/macosx.html

  • Event ID - 13568 The File Replication Service has detected that the replica set "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)" is in JRNL_WRAP_ERROR.

    We had a major storm over the weekend which caused an unexpected shutdown.
    I am having an issue with one of my domain controller with Event ID 13568
    The domain controller which is running Windows Server 2012 was added successfully just a couple of days ago.
    I do not have a full backup of the server yet.
    It only has a GC role on it.
    What are the things I should look out for before I attempt to Enable Journal Wrap Automatic Restore and set it to 1?
    Would it be safer to just demote the server and start from scratch?
    Thank you all for reading!
    Mladen
    The File Replication Service has detected that the replica set "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)" is in JRNL_WRAP_ERROR.
     Replica set name is    : "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)"
     Replica root path is   : "c:\windows\sysvol\domain"
     Replica root volume is : "\\.\C:"
     A Replica set hits JRNL_WRAP_ERROR when the record that it is trying to read from the NTFS USN journal is not found.  This can occur because of one of the following reasons.
     [1] Volume "\\.\C:" has been formatted.
     [2] The NTFS USN journal on volume "\\.\C:" has been deleted.
     [3] The NTFS USN journal on volume "\\.\C:" has been truncated. Chkdsk can truncate the journal if it finds corrupt entries at the end of the journal.
     [4] File Replication Service was not running on this computer for a long time.
     [5] File Replication Service could not keep up with the rate of Disk IO activity on "\\.\C:".
     Setting the "Enable Journal Wrap Automatic Restore" registry parameter to 1 will cause the following recovery steps to be taken to automatically recover from this
    error state.
     [1] At the first poll, which will occur in 5 minutes, this computer will be deleted from the replica set. If you do not want to wait 5 minutes, then run "net stop ntfrs"
    followed by "net start ntfrs" to restart the File Replication Service.
     [2] At the poll following the deletion this computer will be re-added to the replica set. The re-addition will trigger a full tree sync for the replica set.
    WARNING: During the recovery process data in the replica tree may be unavailable. You should reset the registry parameter described above to 0 to prevent automatic recovery from
    making the data unexpectedly unavailable if this error condition occurs again.
    To change this registry parameter, run regedit.
    Click on Start, Run and type regedit.
    Expand HKEY_LOCAL_MACHINE.
    Click down the key path:
       "System\CurrentControlSet\Services\NtFrs\Parameters"
    Double click on the value name
       "Enable Journal Wrap Automatic Restore"
    and update the value.
    If the value name is not present you may add it with the New->DWORD Value function under the Edit Menu item. Type the value name exactly as shown above.

    I set Enable Journal Wrap Automatic Restore to 1 and it was
    successful.
    I will monitor it to make sure it does not occur again.
    Thanks everyone on your replies
    Mladen

  • Azerty keyboard but english system language: what is the shortcut for forwards??

    Hello,
    I had to buy a new computer and since I live in France, I bought a second hand, but almost new one, with a french keyboard. Apple assured it was possible to set english as the main system language and use a french keyboard.
    But when I'm in Safari and I want to go forward, I can't do it like I used to, because there is no "hook"-key on the french keyboard!
    What to do now, if I want to use a keyboard shortcut instead of the mouse and menu?
    thanks in advance!

    margarix wrote:
    it works with shift, alt, cmd, ( all at the same time!
    Good news!  Yes, that is the same as Apple (=command) + [ on the US keyboard.  It just takes a lot more keys, shift plus alt plus ( , to make the [  on the French keyboard.

  • Setting my system in order to get better results in burning the SD AND HD

    I need help with setting my system in order to get better results in burning the SD AND HD DVDs
    here are my system details:
    Camera : SONY HVRZ5U
    COMPUTER SYSTEM: MAC PRO 10.6.6
    SOFTWARE: FINAL CUT PRO 7
    Question #2:
    My camera has a built in Firewire output, do I need a AJA capture card for my Mac PRO?

    I have a Z7u, Mac Pro running 10.6.5, FCP 6.0.6
    You can capture HDV via Firewire. Make your preset HDV and edit in that timeline. But I would set the RENDER as Pro Res.
    I have an AJA IoHD so I capture as Pro Res. Probably a better way to go, but certainly not necessary if you don't have a dedicated capture card.
    After editing I take the resultant exported edited,self-contained .mov into compressor to make the mpeg2 and ac3 to take into DVDSP. These are SD DVD's. They come out just fine.
    What don't you like about your results?

Maybe you are looking for

  • Satellite U400 - Recovery disk is maybe corrupted

    Hi all, I have my Satellite U400, I created the recovery DVD and I used two or three times to restore my system. But now I tried but always failed during the installation, I think some of the restore files are corrupted and can't be coppied to the co

  • Formating problems when printing from googlemail text program

    I often use the text program in my google mail account to write letters. However when I click on print preview the format is altered in an undesireable way. How can I avoid such unwanted format changes?

  • Connecting "regular" speakers to MacPro

    Okay, I had a G4 Mirrored door that I used a Griffin ProSpeaker Breakout adapter to connect my Tannoy monitors using regular speaker wire. With its internal amp, this was a great way to take advantage of the G4. Anybody know if the new MacPro has the

  • Love this java language

    I am a software engineer with mosly C background and a lot of experience in real-time software development. I wanted to learn Object Oriented programming and started learning java, mostly because of free tools and good tutorials on this site. I love

  • E-mac freezing issues

    Hey all- My mac is freezing up. I am having issues in Safari as well as Photoshop CS2 (the things I work the most in). I have done a hardware test and had nothing come up wrong/error code. I also reinstalled my OS and Studio 8 and nothing has changed