Environment variables (user) created at OS level dont show up in BIDS 2008
Environment variables (user) created at OS level don't show up in BIDS 2008.
I had a variable ConfigLocation created and it is not showing up when I am trying to configure it in BIDS
Is this a known issue or a bug?
Now in BIDS it doesnt show up
Mudassar
Yes it shows up after restart of BIDS .
But during design time this is a bug I hope Microsoft fixes this bug in the future releases
Mudassar
It's not really a bug. Visual Studio loads the environment variables when starting up.
In future releases you use projects and parameters instead of environment variables, so the issue goes away ;)
MCSE SQL Server 2012 - Please mark posts as answered where appropriate.
Similar Messages
-
Best practices for defining Environment Variables/User Accounts in Linux
Hello,
After reading throught the Quick Install guide for 10gR2 on x86_64 Linux, I see that it is not recommended to define ANY variables in .bash_profile.
I'm hoping to get a Best practices approach for defining environment variables - right now we use the oracle linux account for administration including sql*plus. So, where should the myriad variables be defined? Is it important enough to create a user account in linux to support best practices?
What variables, exactly, should be defined? It seems that LD_LIBRARY_PATH is no longer being used?
Thanks in advance
DougSomething that I've done for years on unix/linux boxes is to create a seperate environment variable setup file for each instance on the box. This would include things like ORACLE_HOME, ORACLE_SID, etc. Then I would create an alias in my .bash_profile that would execute this script. As an example, I would create a orcl.env file that would hold all of the environment variables for this instance. Then in my .bash_profile I would create a line like the following:
alias orcl=". $HOME/orcl.env"
Then from anywhere you could type orcl and you would set your environment to connect to that database.
Also, if you are using 10g, something else that is really nice if you are using sqlplus, and you connect to different databases without starting a new sqlplus session is to set a parameter in your $ORACLE_HOME/sqlplus/admin/glogin.sql file:
set sqlprompt "_user 'at' _connect_identifier >"
This will automatically change your command prompt to look like this:
RALPH at ORCL >
if you connect as GEORGE, your prompt will immediately change to :
GEORGE at ORCL >
This way you can always know who and where you are connected to.
Good luck! -
How can I reading environment variables (user variables)
Hi,
I hope someone can halp me out:
In the software that I develop it is neccessary to read some user (environment) variables, such as the temp folder of the current user.
I know that I can read out some system variables like this:
String homePath = System.getProperty("user.home");
But how can I read out some other variables, especially the temp folder of the current user?
ThanksI might have misunderstood you, but I am notlooking
for the PATH variable. I need the location of
the
temp folder of the current user. This should be
called TEMP or so, but this does not work.Can you deduce from the link he provided, to lookat
System.getenv(), and find the "TEMP" environment
variable in what it returns to you?That said, I believe the "temp" folder may be
provided in one of the normal System properties
anyway, so you probably don't need to go that route.
Print all your System.getProperties() values, and see
if it's in there.Yepp. os.io.temp or something. -
Variables - User Created - Font Size
Greetings,
Using Framemaker 7 and find that I have a copyrighted term to include. I created a variable and was able to use the 'Superior' tag (?) to make the copyright symbol that's superscript, unfortunately it makes the rest of the variable superscript.
I like the variables because I can change it once and the entire book is updated.
The term in question is often part of the document title, and so would need to be 18 points on that one occasion. I notice that using the superior tag gives MUCH smaller than the 36 used for the document title page. So the copyright symbol ends up near the bottom of the previous, 36 point, type. Unfortuantely, if I use the [tag] Default ¶ Font [tag] variable, it returns to the document's default font.
In any case, it raises a question: Is it possible to 'unapply' a character format inside a user-created variable, or perhaps to set a font size within the variable? Maybe back to the 'original' (not default) font size so that no matter what the document has on the cover, it would start and end using that font?
I'd rather not have multiple variables for the same information, if possible.
I've seen a couple of posts here that talk about creating a set of 'master variables' in a template or something. I also found the information here:
http://www.freeframers.org/archive/98/msg00499.html
It's got some interesting variable ideas, but when I tried to create anything like that I ended up seeing, as the output, the actual 'angle bracket' tags and everything as though it were all text. There is clearly 'variable' information that I'm just not finding in the Help info.
Any info would be much appreciated.
Thanks,
SolonHi Solon,
You've got some things right, but I'll walk you through your example for the variable to define: "Term®"
First, you need to create the <Superior> character tag, and ensure that only the Superscript property is enabled.
One quick way to do this is to click anywhere outside the text frame (to ensure that no text is currently selected). Then open the Character Designer (ctrl + d) and set all of the properties to AsIs (use the shift + F8 shortcut).
Now set ONLY the superscript property for the tag, enter the name of the tag "Superior" and click Apply or the Commands > New Format to add it to your Character catalog.
Now that you have the character tag defined, you can create your variable.
Open the Special > Variable... window and click on the Create Variable button.
In the Edit User Variable window enter a name for what you want to call this variable, e.g. myProduct.
Now enter the defintion using the building blocks as required, i.e. enter the "Term" then click on the <Superior> in the Character formats building block list on the right. Then enter the ® and stop the superscript formatting by either clicking on the <Default ¶ Format> building block OR entering </> building block. You can continue entering content in the variable at this point and the superscript formatting will not affect anything following the </> entry.
Click on the Add and then the Done buttons to add your definition to the Variable catalog.
Now click on the Insert button to actually insert the variable into your document.
If you need to use the variable again, you use the shortcut key sequences to quickly insert: ctrl + 0 (zero) to activate the Variable selection in the Status bar (lower left corner of the document window will show a Blue section) and then start typing your vairable name, e.g. myProduct. FM will match the characters to the variables in the catalog as you type, so you may already have a match by the second characer. The variable name is displayed in the blue area at the lower-left. As soon as you see the match, hit the ENTER key to insert the variable.
I hope this helps takle some of the mystery out of defining and using variables. -
Tables created in Enterprise Manager dont show up in SQLPLUS
I am struggling with Enterprise console manager and command line SQLPLUS.
I have tried scott/tiger , system/manager and the new user that I have created. But I am having the following problems:
1. I cannot connect as NORMAL through Enterprise Console Manager if I use scott/tiger OR new/paswd. Only way I can connect as NORMAL is using system/manager
2. The tables that I create using Enterprise Console Manager (while connected as system/manager in NORMAL mode) do not show up in the command line SQLPLUS. I am check this by running the following command:
SELECT OWNER, OBJECT_NAME FROM ALL_OBJECTS WHERE OBJECT_NAME LIKE '%TEST%';
While running the above command I am conected to SQLPLUS using system/manager WITHOUT SYSDBA
3. Lastly, I have a JAVA class which establishes as connection to the database using system/manager. But I can access only the tables that I create using the Enterprise Console Manager. If I create a table using command line SQLPLUS (while connected as system/manager), I cannot access it through Java program.
I am struggling with this since last morning and now I have run out ways to debug what is happening. Can anybody suggest any ways to tackle this?
Thanks in advance,
MaheshIf you are using oracle below version 9 then I suggest you use DBA Studio for creating tables otherwise just create tables from SQLPLUS.
-
Simple question about environment variables and setting the class path???
ok I have been trying for a few months now ontrying to set the class path..
I work with windows vista..
on the environment variables user variables,
I have the name of the variable as class
and the value as C:\Program Files\Java\jdk1.6.0_04\bin;.
where javac is...
on the system variables I have
its name as class
and the value as C:\Program Files\Java\jdk1.6.0_04\bin;.
why is this not reading javacThe PATH environment variable should have as an entry the directory containing your javac executable. The CLASSPATH should have have entries which define your library directories and entries which are your jar file libraries. In the early days, probably the only CLATHPATH entry you will need will be a '.' to indicate the current directory.
The Java tutorial covers ALL of this. -
I am not getting User Environment Variable Value
Hi Team,
I have been Trying to recover variables values using an anonym procedure from Windows XP SP3
I have already executed following procedure.
BEGIN
DECLARE
gf_filelog UTL_FILE.file_type;
v_file_log VARCHAR2 (1024) := ' ';
gv_path_log VARCHAR2 (1024) := ' ';
gv_path_log2 VARCHAR2 (1024) := ' ';
gv_file_log VARCHAR2 (1024) := ' ';
BEGIN
DBMS_OUTPUT.put_line ( 'obteniendo valores of vars: '
|| gv_path_log
|| ' '
|| gv_file_log
DBMS_SYSTEM.get_env ('ORACLE_HOME', gv_path_log);
DBMS_SYSTEM.get_env ('PATH_MODULO', gv_path_log2);
DBMS_SYSTEM.get_env ('FILELOG', v_file_log);
DBMS_OUTPUT.put_line ( 'valores vars ORACLE_HOME: '
|| gv_path_log
|| 'PATH_MODULO:'
|| gv_path_log2
|| ' FILELOG:'
|| v_file_log
gv_file_log :=
v_file_log || TO_CHAR (SYSDATE, 'yyyymmddHH24MISS')
|| '.log';
DBMS_OUTPUT.put_line ( 'Nombre de Archivo creado'
|| gv_path_log
|| ' '
|| gv_file_log
gf_filelog := UTL_FILE.fopen (gv_path_log, gv_file_log, 'w');
DBMS_OUTPUT.put_line ('Archivo creado' || gv_path_log || ' '
|| gv_file_log
UTL_FILE.put_line (gf_filelog,
|| TO_CHAR (SYSDATE, 'HH24:MI:SSSSS')
|| ']--> '
|| 'Prueba de escritura'
|| gv_path_log
|| ' '
|| v_file_log
UTL_FILE.fflush (gf_filelog);
UTL_FILE.fclose (gf_filelog);
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line ( '[reporta_log]Error en :'
|| SQLCODE
|| ' - '
|| SQLERRM
raise_application_error (-20000,
'[reporta_log]Error en :'
|| SQLCODE
|| ' - '
|| SQLERRM
END;
END;
I show you data result after procedure was excecuted.
obteniendo valores of vars:
valores vars ORACLE_HOME: E:\oracle\product\10.2.0\db_1PATH_MODULO: FILELOG:
Nombre de Archivo creadoE:\oracle\product\10.2.0\db_1 20111122171625.log
[reporta_log]Error en :-29280 - ORA-29280: invalid directory path
BEGIN
ERROR at line 1:
ORA-20000: [reporta_log]Error en :-29280 - ORA-29280: invalid directory path
ORA-06512: at line 55
I see that only ORACLE_HOME variable value was got, question is why, of course, variable values are already defined as user variables.
Variables PATH_MODULO and FILELOG was defined using windows maintenance variable method, that is :
1.- settings
2.- system
3.- advanced options
4.- environment variables
Here my oracle version
SQL> select version from v$instance;
VERSION
10.2.0.1.0
SQL>
Is this an Oracle Issue or variables would be defined in another way?
ORACLE_HOME VARIABLE was created when oracle engine was installed.
I have got same result after computer was restart.
I appreciate wathever clue.Ok, that is , I only can read environment variables values, but not variables values at user profile. It happends in unix environment too. So I tried to use another instruction sequence in order to read user variables values.
Regards -
RE: (forte-users) FORTE_ROOT environment variable
Simply :
myVar : string = ${forte_root};
It works in the current partition, if you want to know about variables
in another partition or
another machine, you'll have to use the
task.part.operatingsystem.GetEnv() syntax.
Patrice BOURDON
Alliance Sante France
ZIAP Chtx-Deols - BP 30
Place Marcel Dassault
31630 DEOLS
FRANCE
e-mail: mailto:[email protected]
web : http://www.alliance-sante.frDear Jane,
In order to see the new value of the environment variable you have to
reboot your forte, or it is also possible to write a simple forte program
which sets the environment variable (SetEnv), in this case you can change the
value without rebooting.
Best Regards,
Tamas Deak
Jane Patterson wrote:
Dear Forte Users,
I am using a Windows 95 machine running Forte 30G2 and I am trying to get
the value of FORTE_ROOT within a method so I can create the full path and
name for the applications helpfile. I have tried many, many ways to get
the value out of this environment variable, but with no joy!
All ideas or samples will be welcome.
Thanks,
Jane Patterson
Jane Patterson
Analyst/Programmer, Administrative Technology Services
P.O. Box 56, University of Otago
Dunedin, New Zealand
Business Phone: +64 (0)3 479 8286
Business Fax : +64 (0)3 479 5080
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: [email protected]
Tamas Deak
Lufthansa Systems Hungary
(forte developer)
2-6 Mazsa ter, Budapest, 1107, HUNGARY
(36-1) 4312 973
[email protected]
[email protected][email protected]- -
Environment variables in a OS User-Defined Metric Page
I'm creating an OS-based User-Defined Metric in a Grid Control through a perl script
How can I pass my own environment variables in the script setting the User-Interface Element- Environment, where for example i can specify var1=%perlBin% var2=%scriptsDir% etc ?
The description in the User-Defined Metric Page says:
Environment
See Available Properties box for values you can assign to environment variables. Enter as space-separated list: var1=prop1 var2=prop2
-r
JoshThat's exactly correct, you can specify them in the Environment field as defined here:
Table 15-3 Create User-Defined Metric Page: Definition
User-Interface Element Description
Metric Name
Metric name identifying the user-defined metric in the Enterprise Manager user interface. This name must be unique for all User-Defined Metrics created on that host.
Metric Type
Type of the value returned by the user-defined script. Choose "NUMBER" if your script returns a number. Choose "STRING" if your script returns an alphanumeric text string.
Command Line
Enter the complete command line entry required to execute the user-defined script. You must enter the full command path as well as full path to the script location. For example, to run a Perl script, you might enter something like the following in the Command Line entry field:
/u1/bin/perl /u1/scripts/myScript.pl
The content of the Command Line is passed as a literal string, so you may use any syntax, special characters, or parameters allowed by your operating system.
Environment
Optional. Enter any environmental variable(s) required to run the user-defined script. A list of predefined properties that can be passed to your script as variables is listed in the Available Properties box. You may also specify your own environment variables. Multiple variables can be defined as a space-separated list.
Example: If your script uses three variables (var1, var2, var3) where var1 is the location of the Perl directory (predefined), var2 is the directory where your Perl scripts are stored (predefined), and var3 is an Oracle home, your entry in the Environment text entry field would appear as follows:
var1=%perlBin% var2=%scriptsDir% var3=/u1/orahome10
For example, simply set var1=/this/is/the/directory/i/want/to/have/set/in/var1
then var1 will be /this/is/the/directory/i/want/to/have/set/in/var1 -
Using a environment variable that was created during the Task Sequence process - SCCM 2012 R2
Hi,
I'm triyng to use a environment variable that is create in the beginning of the Task Sequence.
1. I'm using a VBScript that get the Exit Code of an application, and create the environment variable "iReturn" with the value of the exit code. (This is working)
2. I add this variable in the CustomSettings.ini, like this "iReturn=%iReturn%
3. After the step that I run the VBScript I put the "Gather" step to get the variables, but looking in the BDD.log the iReturn variable appears the same as the CustomSettings.ini configuration "iReturn=%iReturn%". (But, if I put a "Restart
Computer" step after the VBScript, the BDD.log shows the iReturn variable with the right code.)
Question: How can I update the environment variable of Windonws XP to use in the Task Sequence without restart.
OR
How can I configure autologon in SCCM 2012 (if have no way to update withou restart computer).
I already tried the autologon with registry settings and a specific user, If I starts the process with this user works, but If I starts the process with other user, after the autologon the process doesnt continue, I have to do logoff and login with the user
that I started the process.
PS: All this steps have to be executed before the WinPE phase.Environment variables must be explicitly set every time a system boots so unless you have a process to repopulate it after the reboot, it won't persist automatically.
Why not store the value in a task sequence variable so that it persists after a reboot?
Jason | http://blog.configmgrftw.com | @jasonsandys -
Environment Variables in a single host same user two Oracle homes OAS
Hello All.
I've been googleing and looking over otn site but I cannot find solution to my question that, perhaps, is pretty easy.
I have an OAS 10g installation in a Linux single node.
I've made the installation the INFRA and the MT with the same user (oracle)
If I set the ORACLE_HOME in the oracle user .bash_profile my command lines will work just for the ONE of the Oracle Home (the one pointed in the profile).
I have two solutions:
1. Make the .bash_profile dynamic. that is to program like a menu to ask what Environment Variables to load (infra's or MT's.)
2. Make like .bat files to just call them and set whatever I need.
Sounds simple, but I have no idea how to make or program any of them. I am pretty much a newbie in unix shell script programming.
Thanks in advance any help.Ricard wrote:
Hi
This is for test purpose.
I know oracle dont enjoy having same SID for 2 instances in same host.
I was reading about it and seems is possible on UNIX machines. So i tried to do in a red hat linux enterprise 4.
But with dbca, im always stoped by oratab, cause cant have same oracle_sid in oratab.
Any idea how to do it?
Not using dbca and making the database manually via script?
ThanksWell, if you read this link,
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/startup.htm#CNCPT601
And from here, this quote,
>
Multiple instances can run concurrently on the same computer, each accessing its own physical database. In large-scale cluster systems, Real Application Clusters enables multiple instances to mount a single database.>
One instance can be used only by one single database on a box. There may be another instance of the same name available but Oracle won't let you open that database. You will receive,
ORA-01102 cannot mount database in EXCLUSIVE modeCause: Some other instance has the database mounted exclusive or shared.
Action: Shut down the other instance or mount in a compatible mode.>
So , in any case, you are limited to one single database and one instance. As Paul mentioned, using different case, you may be able to achieve this but that still can't be called a true test as on *nix, case does matter and ORCL and orcl are going to be considered as two different databases.
HTH
Aman.... -
Creating filtered view on the physical layer ussing session variable USER
Hi:
I´m creating a view on the physical layer, the view needs to be created dynamically. So depending on the user (using the session variable USER) the view is created with the data a particular user is able to see.
Fisrt I imported the table and changed it´s properties to be created through a "Select Statement" so i don´t needed to change the mapping on the bussiness model layer.
The consistency check was OK but i´m not able to see data in answers, even using the Administrator user. Have anyone tried to do this? Here is my query.
Thanks
A Garcia
Select * from D_ESTRUCTURA_RH2 where Region_ID
IN
select distinct a.REGION_ID from APP_INDPERSONAL_DM.D_ESTRUCTURA_RH2 a
inner join (
select distinct b.REGION_ID from APP_INDPERSONAL_DM.D_ESTRUCTURA_RH2 b
where exists (select 1 from APP_INDPERSONAL_DM.Autorizacion a, usuarios c
where a.app_id = 1
and a.usuario_id = c.Usuario_Id
and UPPER(c.Nombre_Usuario)=UPPER(':USER')
and a.miembro_id = 'REGION_ID'
and a.operador = '='
and (b.REGION_ID = (case when valor = 'Todo' then 0 else valor end) or valor='Todo'))
) seguridad
on
a. REGION_ID = seguridad.REGION_ID
)whay not use the same filter in the content tab of the logical table source?
check the physical sql sent to databse using web-admin-manage sessions-view log and see if there is any unexpected behavior. also run the same query in db and see iff you get the results in databse itself. -
Can not create a environment variable from a script
Hi I need to develop a script that allows me to create and set two environment variables in my system but I can�t get it ....
This is what I got till now ...
#!/sbin/sh
SEISDB_HOME=/usr/local/
export SEISDB_HOME
LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH
If I run this commands directly in the shell it works Ok ... but calling the sentence from a script nothing happens ....
Thanks ....
Edited by: Jes_79 on Sep 18, 2007 1:58 PMdo this
create a script file
vi /tmp/temp
in /tmp/temp add
GLOBAL_VARIABLE="Hello World"; export GLOBAL_VARIABLE
save and quit vi
fix the permissions and run /tmp/temp from a shell prompt
then
echo $GLOBAL_VARIABLE
should show as empty
from a shell window type
. /tmp/temp
period space /tmp/temp
echo $GLOBAL_VARIABLE
for you script, do the same.
do not type the script name, but source it (add a period and space)
alan -
How does java access user specific environment variables ?
Hi,
I'm running a java application on a W2K o/s. My application needs to be able to access the user environment variables in Windows but I don't know how to do this. Can anyone help ?
Thanks.http://www.rgagnon.com/javadetails/java-0150.html
-
Captivate 4 issue.
Okay, I use Captivate 4 almost every day for eLearning development, so I know the program pretty well.
As our LMS is horribly difficult to use, I typically create a certificate at the end of the course I am working on that will display the user's name on it that they can print and give to their supervisor.
On the first page of the course, I put a text entry box in where they key in their name, and I capture that in a user variable (typically called staff_name) that I then drop into a text caption on the certificate.
This has worked successfully numerous times.
Now, for some reason, it doesn't. One of two things happen:
1. The entire text caption with the variable in it does not display....it's just a blank space where that caption should be, and that includes any other text in the caption.
2. The caption appears with all of the other words...just not the variable.
Is there anything that I might have overlooked? Some strange captivate bug where user created text variables disappear over time.
Oh yea, that reminds me...system variables don't work either. I put the date string on the certificate as well, and that wasn't showing up either.
It's like all of a sudden, the ability of Captivate 4 to drop a variable into a text caption just doesn't work anymore.
Ideas?
Thanks so much.
RobHi Lilybiri.
It's been awhile since this post...I ended up just re-installing Captivate onto my system, and that cleared up the problem.
It has since, however, reared its ugly head again.
I had a lesson set up that had a page counter at the bottom. Simply said "Page 1 of 25" then "2 of 25" etc. on each page using the current slide info and slide count variables.
It worked perfectly up until today when a reviewer suggested changing the caption text to simply "2/25"
So, I edited the caption with the variable, and the exact same symptoms described above came to pass again....any text captions with variables in it will not show up in the running .swf file. I tried deleting the .dat file, and that didn't help. In addition, the variable length is not 0.
As I work remotely and re-installing captivate would take hours upon hours (or a trip to the office) I don't see re-installing it as a viable option at this point.
Anyway, it's pretty frustrating, and an obvious bug. I wish my company would just upgrade to 6 already...
Other ideas, though?
Rob
Maybe you are looking for
-
In text equations in epub do not format correctly.
Hi folks, I am authoring a text which uses mathematical equations quite frequently. (These are made with Framemaker's equation and not mathml) I notice, however, that equations (say a three by three matrix) leave white space correctly above the matri
-
Hi i have problem in my account
hi i have problem in my account I Tsat secret question for the account and I want to use in the procurement process from iTunes didnot send email to Rest
-
When retrieving SQL data in Data Prep editor, field names are replaced with SQL View field names. From what I can find this was supposed to be fixed in the patch for 11.1.2, can anyone confirm or deny that... Is this only a problem with OCI and ODBC
-
Delivery Document Not Printing
Dear All, I have a requiremnt where in Delivery Document is not getting printed. We are usng Z transaction's to access the Delivery Documents. Any suggestions why this issue is coming. Appreciate your early response. Thanks GS
-
Hi, We have 2 Excise Groups for One Plant (Becaz they have two Excise Regn) .If the user forgor to Change proper excise group at the time of GR (MIGO) Then How to correct it he has to cancel the Migo and then hehas to post again with reqd excise grou