WEBUTIL problems importing a file with the HOST command.
We are investigating a problem where the users are trying to import a file in from the webserver to be used by the application. The users have successfully moved the file from their local PC to the application server. But, when we perform a HOST command to have the form moved to the UNIX directory, the form hangs. The very last statement of the .BAT file used in the HOST command does the move of the file. And, we can see the entire file in the UNIX directory, we just don't get return back to the form.
I added displays before and after the HOST command in the form. I see the display before the command but don't receive anything after. The weird thing is this is only happening in our development server. The same issue is not happening in production. Also, if I run the form in client server mode, it works fine also. So, it has to be something on the development application server.
If anyone has any advice, I would appreciate their help.
Thanks.
On the server (assuming Windows since you mention a batch file), locate the Oracle Process Manager Service (for mid tier) on the MS Services Console. Open the properties for this service and click on the "Log on" tab. Check the box labeled "Allow service to interact with desktop".
That said, if you are executing a batch file on the Windows server to transfer another file to a Unix machine, the above likely won't work either. This is because Windows will not allow a service permission to access network resources (for security purposes). In this case, rather than the above, you will need to change the same setting so a real domain user and not the "Local System" account.
Similar Messages
-
Problems with the Host command (copying files)
i am trying to copy a file from one location to another.
i use the get_file_name function to select the file i want to copy.
it does not work when in the path, if the directory name has a space in between.(e.g New Folder).The error i get is(the system cannot find the path specified)
it works fine when a folder name does not have any space(e.g NewFolder).
y:='o:\documents\filname.doc';
x := get_file_name(null,null,null,null,open_file,true);
host('cmd /c start /w copy '|| x ||' '|| y,no_screen);
any help would be appreciated
ThanksBut this is all me, and I do A LOT of scrolling back and forth to cross check facts and so on. Having to constantly switch between files would be a huge pain.
I guess it's a matter of work styles, but I'd much prefer to switch around among a batch of open chapters with a simple key combination, as opposed to scrolling back and forth through pages in linear fashion.
How would ID handle a document of this complexity?
With the limited information you've offered, I'd say I have experience with similar documents, (product catalogs/pricelists), that ID handled just fine, and other cases in which seemingly simple files choked it. I can say the same of Quark. No one can answer your question definitively; there are too many variables. Chances are it's not (only) the size and complexity of your document in itself that are causing your problems. There can be any number of hardware or OS issues contributing, to name a couple. -
Problem import csv file with SQL*loader and control file
I have a *csv file looking like this:
E0100070;EKKJ 1X10/10 1 KV;1;2003-06-16;01C;75
E0100075;EKKJ 1X10/10 1 KV;500;2003-06-16;01C;67
E0100440;EKKJ 2X2,5/2,5 1 KV;1;2003-06-16;01C;37,2
E0100445;EKKJ 2X2,5/2,5 1 KV;500;2003-06-16;01C;33,2
E0100450;EKKJ 2X4/4 1 KV;1;2003-06-16;01C;53
E0100455;EKKJ 2X4/4 1 KV;500;2003-06-16;01C;47,1
I want to import this csv file to this table:
create table artikel (artnr varchar2(10), namn varchar2(25), fp_storlek number, datum date, mtrlid varchar2(5), pris number);
My controlfile looks like this:
LOAD DATA
INFILE 'e:\test.csv'
INSERT
INTO TABLE ARTIKEL
FIELDS TERMINATED BY ';'
TRAILING NULLCOLS
(ARTNR, NAMN, FP_STORLEK char "to_number(:fp_storlek,'99999')", DATUM date 'yyyy-mm-dd', MTRLID, pris char "to_number(:pris,'999999D99')")
I cant get sql*loader to import the last column(pris) as I want. It ignore my decimal point which in this case is "," and not "." maybe this is the problem. If the decimal point is the problem how can I get oracle to recognize "," as a decimal point??
the result from the import now, is that a decimal number (37,2) becomes 372 in the tableSet NLS_NUMERIC_CHARACTERS environment variable at OS level, before running SqlLoader :
$ cat test.csv
E0100070;EKKJ 1X10/10 1 KV;1;2003-06-16;01C;75
E0100075;EKKJ 1X10/10 1 KV;500;2003-06-16;01C;67
E0100440;EKKJ 2X2,5/2,5 1 KV;1;2003-06-16;01C;37,2
E0100445;EKKJ 2X2,5/2,5 1 KV;500;2003-06-16;01C;33,2
E0100450;EKKJ 2X4/4 1 KV;1;2003-06-16;01C;53
E0100455;EKKJ 2X4/4 1 KV;500;2003-06-16;01C;47,1
$ cat artikel.ctl
LOAD DATA
INFILE 'test.csv'
replace
INTO TABLE ARTIKEL
FIELDS TERMINATED BY ';'
TRAILING NULLCOLS
(ARTNR, NAMN, FP_STORLEK char "to_number(:fp_storlek,'99999')", DATUM date 'yyyy-mm-dd', MTRLID, pris char "to_number(:pris,'999999D99')")
$ sqlldr scott/tiger control=artikel
SQL*Loader: Release 10.1.0.3.0 - Production on Sat Nov 12 15:10:01 2005
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Commit point reached - logical record count 6
$ sqlplus scott/tiger
SQL*Plus: Release 10.1.0.3.0 - Production on Sat Nov 12 15:10:11 2005
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from artikel;
ARTNR NAMN FP_STORLEK DATUM MTRLI PRIS
E0100070 EKKJ 1X10/10 1 KV 1 16/06/2003 01C 75
E0100075 EKKJ 1X10/10 1 KV 500 16/06/2003 01C 67
E0100440 EKKJ 2X2,5/2,5 1 KV 1 16/06/2003 01C 372
E0100445 EKKJ 2X2,5/2,5 1 KV 500 16/06/2003 01C 332
E0100450 EKKJ 2X4/4 1 KV 1 16/06/2003 01C 53
E0100455 EKKJ 2X4/4 1 KV 500 16/06/2003 01C 471
6 rows selected.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
$ export NLS_NUMERIC_CHARACTERS=',.'
$ sqlldr scott/tiger control=artikel
SQL*Loader: Release 10.1.0.3.0 - Production on Sat Nov 12 15:10:41 2005
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Commit point reached - logical record count 6
$ sqlplus scott/tiger
SQL*Plus: Release 10.1.0.3.0 - Production on Sat Nov 12 15:10:45 2005
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from artikel;
ARTNR NAMN FP_STORLEK DATUM MTRLI PRIS
E0100070 EKKJ 1X10/10 1 KV 1 16/06/2003 01C 75
E0100075 EKKJ 1X10/10 1 KV 500 16/06/2003 01C 67
E0100440 EKKJ 2X2,5/2,5 1 KV 1 16/06/2003 01C 37,2
E0100445 EKKJ 2X2,5/2,5 1 KV 500 16/06/2003 01C 33,2
E0100450 EKKJ 2X4/4 1 KV 1 16/06/2003 01C 53
E0100455 EKKJ 2X4/4 1 KV 500 16/06/2003 01C 47,1
6 rows selected.
SQL> Control file is exactly as yours, I just put replace instead of insert. -
Problems importing mpg files with premiere cs4
First of all, sorry for my english!!1
I couldn´t import mpg files from my dvdcam to premiere cs4.
I capture that files from dvdreader with other program to hard disk without problems, but when I want import files from priemier says that isn´t possible to import this file or file is damaged.
waiting a prompt answer
thank youFAQ: How do I import VOB files / edit a DVD?
FAQ: How do I import xyz format files?
Cheers
Eddie
PremiereProPedia (
RSS feed)
- Over 300 frequently answered questions
- Over 250 free tutorials
- Maintained by editors like
you
Forum FAQ -
Joining files with the "cat" command
I have four files, ending in .rar, .r00, .r01, and .ro2. They need to be joined. I have tried:
cat filename1 filename2 filename3 filename4
the result is an output string of apparent gibberish, with a lot of beeping noises. I let it run overninght and it was still the same in the morning with no results.
I need to join these files.
1. Is cat the right command to join them? If not, what is the correct command and how do I use it?
2. If cat is the right command to join the files, what am I doing wrong?
Thank you.Typically, binary files, e.g., archive and image files, have some structure to them. Catenating files with cat won't recognize or honor that structure, so the resulting file won't be useful.
You're other problem, as already pointed out, is that cat's output defaults to your terminal window, so you need to redirect its output to a file with "> filename". Because it was a binary file, you saw gibberish and heard beeps. -
Postscript file with the RUN command
I have inherited some code that I'm trying to fix. The postscript file contains a 'RUN' command. When I try to open the file, I get the error unable to recognize the command. Understandable since that command does not reside on my server. It resides on a UNIX box which controls the printer. However when I try to print the file to the printer nothing happens. Neither is the command run and the results printed out nor the contents of .PS file is printed. Please help.
I have included an old PostScript program I wrote from the early 1990's that will print a directory of the interpreter's file system, which is a good place to start.
If there are no files matching the string FG530 then you are out of luck, unless you can find it and download it to the PostScript file system again.
I added the commented lines about file paths and the included image is of the first page of the generated output:
%!PS-Adobe
%%Creator: Marvin R. Horton, Macore Company, Inc.
%%BeginProc:
/Buff 100 string def /Wipe 100 string def
/Rebuff {Buff 0 Wipe putinterval} def
/startpage {18 756 moveto gsave (P O S T S C R I P T F I L E S Y S T E M D I R E C T O R Y ) show 400 0 rlineto .5 setlinewidth stroke
grestore 0 -6 rmoveto}def
/Dir {0 -6 rmoveto gsave Buff show Rebuff grestore
currentpoint 6 sub 30 lt{450 eq{showpage startpage}{144 720 rmoveto}ifelse}if }def
%%EndProc:
/Courier findfont 6 scalefont setfont
startpage
(*) {Dir} Buff filenameforall
%%How to get file list from a subdirectory of...: (fonts/*) {Dir} Buff filenameforall
%%How to get file list within specific naming "FG...": (FG???) {Dir} Buff filenameforall
showpage -
Problem importing text file with null value
I used the following codes to import a text file and it
worked perfectly.
However, it skipped the TAB (chr(9)) on the imported row when
there is no data (empty string) in one of the columns.
Can someone help? thanks!
sample text file data:
00001 desc1 12.00
00002 25.00
00003 desc2 15.00
Code that I used:
<cffile action="read" file="#FilePath#"
variable="data">
<cfset newLine = chr(13) & chr(10)>
<cfset tabChar = chr(9)>
<cfoutput>
<cfloop list="#data#" index="row"
delimiters="#newLine#">
<cfset cols = listToArray(row, tabChar)>
ID = #cols[1]#
desc = #cols[2]#
price = #cols[3]# <br>
</cfloop>
</cfoutput>There is no perfect way to handle this with out you writing
more complicated code.
A good compromise is to replace this line:
<cfset cols = listToArray(row, tabChar)>
with this:
<cfset cols = listToArray (Replace (row, tabChar &
tabChar, tabChar & "{empty}" & tabChar, "ALL"),
tabChar)> -
Getting problems importing universes - Desginer with the BOE server
Hey Guys,
Im getting a problem, i have 2 clients Windows XP with Designer.
One client is connecting normaly, I can connect in the server, import universes and work on them.
The other one, its connecting as well, but when i try to import, i get the folow error:
Failed to initialize import/export dialog.
Previous Error: Failed to retrieve root universes folder. You may not have permission to view this folder.
Some consideration:
1) Both computers are using the same user, Adminitrator.
2) The second client, connect in the server.
Have you guys got this problem?
ThanksHey Guys,
I still trying to solve the problem.
Do you know if i need to have the oracle client installed so the Designer could work?
the computer that works has the oracle client installed. Thats the only difference.
Thanks -
Files with the suffix .mts
Dear All,
I purchased some years ago the Adobe premier elements version 3.0.
I try to import video files with the suffix ".mts" but it didn't worked. I have some question in this regards:
1. Does this version (3.0) of Adobe Premier elements support those kind of files (with the suffix .mts)?
2. If the answer to the first question is positive - What is the way to import and worked with those kind of files? if the answer to the first quesion is negative - do the latest version (ver. 13) of Adobe Premier Elements support those kind of files?
Kind regards,
GUyHamtsani
Your files probably are ones that use AVCHD (MPEG4 AVC/H.264) video compression and the .mts file extension (which is referred to as a container format).
Putting the file extension aside for the moment, I believe it was not until Premiere Elements 7 that Adobe supported files that use AVCHD video compression.
AVCHD is a resource demanding format, and your Premiere Elements 3.0/3.0.2 is only a 32 bit application which has resource implications.
What is your computer operating system? Premiere Elements 13 does not support Windows XP or Vista. And, Premiere Elements 13 Windows is only a 64 bit application when it is run specifically on Windows 7, 8, or 8.1 64 bit. That has lots of resource implications.
I do not recall the Sharing opportunities in Premiere Elements 3.0/3.0.2, but you could consider converting what I believe to be your AVCHD.mts into a MPEG2.mpg file and then trying to import that into your Premiere Elements 3.0/3.0.2 project with the most appropriate project preset available.
Please review and consider.
Thank you.
ATR -
How to attach HLP file with the existing forms
We have FORMS 5.0 application running. We have developed .HLP and .CNT files using ROBOHELP utility. I would like to attach the help file to the existing form. I want to use the registry to set the help file path so that I won't hardcode the path. I tried
using WINHLP32.exe file using the HOST command. This need path settings in the machine. Does any body know other methods instead of using HOST command.
Thanks in advance.
Bye
Meenakshi Sundaram GaneshYou could use the d2kwutil.pll and execute the Win_api_shell.Winhelp procedure
-
Problems with importing .MP4 file and the audio in FCP 6
Hi all,
I am pretty new to Final Cut Pro and have just approached my first project.
I have a Samsung VP-MX20
http://www.samsung.com/uk/consumer/detail/spec.do?group=cameracamcorder&type=cam corder&subtype=flashcamcorder&model_cd=VP-MX20/XEU&fullspec=F
*Codecs H.264, AAC.*
I needed some space on the camera so halfway through a holiday i transfered all the video files from the camera to my Laptop.
I have imported these files from the hardrive
Vid rate - 25 fps
compressor - H.264
Pixel Aspect - PAL - CCIR 601
What seems to be the problem is ok when i drag the clip from the viewer to the canvas and apply insert, i get the box that says 'Change Sequence settings to match the clip settings?
i click yes and when the clip is layed out on the timeline there is a red line above the timeline, when i play the clip i only get bleeps as audio and not the original sound.
If i drag the playhead i can hear the audio but if i try to play all i hear us bleeps plus if i import an mp3 the red line appears above the timeline and the same applies
can anyone help me here.
Thanks
EllesHi Zak,
many thanks for your reply, i have contacted Apple and taking your advice and using compressor i have converted the codec H.264 to Apple Pro Res 422 for interlaced material.
I have imported this file and when i drag once again from the viewer to canvas i get the standard box asking to change the sequence to match the clip.
I am still getting the red line above the timeline and bleeping as audio.
any idea? -
I upgraded from Dreamweaver CS4 to CS6. but now when I want to upload I get "an TFP error occured - cannot make connection to host". I spent hours with the host technician and we cant find the error. I reinstalled DW4 and it connects to host perfectly. Anyone else seen this problem?
Mac OS 10.8.5
None of these issues are causing the error in DW CS6. We have double checked all of them and we have everything exactly right. Also I have exactly the same SiteSetup in DW CS4 and that works perfectly well. Could there must be factor in 6 that didn't exist in 4? Something that isnt in the SiteSetup but in some hidden dialog box ?
I can also upload to my host using Fetch, a third party FTP. And as I said DW CS4 works fine. So the problem is not with my host, its with DW CS6 in particular.Thank you Jon, that fixed it perfectly. You have saved me from going crazy. The only difference I see now is in "Server Name" it changed what I had entered (my ftp address) to "Remote Server"; which seems odd -- but it works! Although I know there maybe also some other dialog box I have never seen
Of course I saw that menu item "Import" and but I thought thats obviously not for me: "Why would I want to import an entire website?". I did not however see "Export the selected site" for thats only a tiny icon in the footer. However I would have thought the same: "Why would I want to export my entire website?".
An observation: I've seen this problem in a lot of Adobe software, the menu-names of items are obscure, non descriptive. What would be better would be for the menu names or popups to say "Export Site Setup settings" and "Import Site Setup settings" -
I had some FCP projects on an old G3 tower that I finally want to finish. I was able to grab everything, media, etc. to my macbook pro but all of the Final Cut Pro actual movies/projects have turned into "linux executable files" that FCP X won't import.
I tried googling this issue but didn't really see any good answers. Would it be as simple as renaming the files with the .fcp extension? I can't recall if my old version (really old) of FCP saves projects as .mov or .fcp files, but I'm assuming I'm not the only person this has happened to.
Thanks for your help!I had some FCP projects on an old G3 tower that I finally want to finish.
What version of FCP was this? The project files can probably no longer be opened in the newer version of the OS. You could try adding the .fcp suffix, but I don't think it will help for this. Projects files are .fcp.
Regardless of the version, no legacy FCP projects will import into FCPX.
Media is a different matter. These are probably QuickTime .mov files. If these are appearing as Unix ececutables, they're probably not recoverable either. -
I downloaded CS6 Red Plug-In and added to Package Contents, replaced the current files with the new without backing up, now my RED footage thumbnails and color-correction don't WORK! How do I get my old importerRed file back!!?? HELP!
Try asking in the Premiere Pro forum seems to be an Adobe Lab for Premiere Pro
-
I have problems saving pdf files in the web when I use Safari. I don't have this problem with firefox.
do they save ok if Safari - Preferences - Security - Allow all other plug-ins is unchecked ?
If so, likely an adobe or other pdf plugin
Re-check the setting above & quit any browsers,
Look in this folder by triple-clicking the line below, then ctrl-clicking it & choosing Services - Open
/Library/Internet Plug-Ins/
remove anything with pdf in the filename & test again
Sometimes, plug-ins can be in the User Library folder :
~/Library/Internet Plug-Ins/
Maybe you are looking for
-
I want to delete all photos on my new iPad...I've tried several times but they won't delete frm photo stream. Can anyone help??
-
So I went ot update my ipod on itunes....and a box appeared saying to make sure the internet setting are correct and active, but my internet is working fine. What do I do?
-
Reinstalled OSX on 13" Macbook to sell. What do I do about setup?
Following instructions here, I reset my PRAM and other things, and have just reinstalled the OSX using the disks. Now it is asking me the setup instructions. Shouldnt that be for the new user to do? I"m not sure what to do next. Thanks
-
Assignment of documents to hierarchy nodes???
Hi, We are using a NW2004s BI system. After executing a query (BEx Launcher) and when the "Comments" button is selected, we receive the following error: =========================================================== Assignment of documents to hierarchy
-
Buy a movie from USA when account in Greece
I have an iTunes account in Greece, but I want to buy a movie from USA iTunes store, because the greek itunes store do not have movies option but only songs. I do not care about the english language only. What should I do? I have only a Greek credit