How to create Directories using UNC Paths (DirectoryHandler.CreateDir )
Edited by: user643946 on 24.06.2009 03:47 (Deleted Thread, has been something for the School of Bleeding Obvious)
Hi,
>>When i created the directories in second schema, the directory paths of the first schema are automatically changed to the second path.
If you have removed the REPLACE clause of your create statement, then you would see that is not possible.
SYSTEM> connect scott/tiger
Connected.
SCOTT> create directory mydir as '/tmp';
Directory created.
SCOTT> connect legatti/pwd
Connected.
LEGATTI> create directory mydir as '/tmp';
create directory mydir as '/tmp'
ERROR at line 1:
ORA-00955: name is already used by an existing object
LEGATTI> select owner,object_name,object_type,created
2 from dba_objects where object_name='MYDIR';
OWNER OBJECT_NAME OBJECT_TYPE CREATED
SYS MYDIR DIRECTORY 19/12/2007Cheers
Legatti
Similar Messages
-
Can Additional Document Directories use UNC Paths?
For Sun One WS 6.0 SP 7 on Windows 2000
Can additional document directories use UNC paths, or does the directory containing the HTML documents have to be on the server running the Web Server? The documentation
http://docs.sun.com/source/816-5682-10/esapui21.htm#80857
says:
"Map To Directory. Specifies the absolute path of the directory you want the URL prefix to map to, for example,
C:/iplanet/marketing/pubdocs/index.html"
But could you instead use:
\\servername\path\somedocs\
Anyone ever tried this? And would you have to swap the direction of the slashes?
//servername/path/somedocs/
Thanks!
--JohnFor Sun One WS 6.0 SP 7 on Windows 2000
Can additional document directories use UNC paths, or does the directory containing the HTML documents have to be on the server running the Web Server? The documentation
http://docs.sun.com/source/816-5682-10/esapui21.htm#80857
says:
"Map To Directory. Specifies the absolute path of the directory you want the URL prefix to map to, for example,
C:/iplanet/marketing/pubdocs/index.html"
But could you instead use:
\\servername\path\somedocs\
Anyone ever tried this? And would you have to swap the direction of the slashes?
//servername/path/somedocs/
Thanks!
--John -
How to create and use mutable array of UInt8
Hello!
If I get it right, UInt8 *buffer, buffer - is a pointer to a start of array?
Then how to create and use mutable array of UInt8 pointers?
The main target is a creation of the module that will store some byte array requests and will send all of them at the propriate moment.I try
- (void) scheduleRequest:(UInt8 *)request {
if (!scheduledRequests) scheduledRequests = [[NSMutableArray array] retain];
[scheduledRequests addObject:request];
But get warning:"passing argument 1 of 'addObject:' from incompatible pointer type" -
HOW TO CREATE and USE EVENTS IN WORKFLOWS .
HOW TO CREATE and USE EVENTS IN WORKFLOWS with the help of classes.
What i am doing is..
open se24
event tab->event name->parameters
method tab->method name->event handler->copy parameters
interface tab->if_workflow->enter
tell me what else to do step by step
Another important thing is that HOW to use these class events to trigger the workflows.
REPLY ASAP
THXS IN ADVANCEHi,
Pl. see this blog...
Raising ABAP OO events for workflow
Regards,
JOy. -
how to Create and use of Coherence servers in weblogic serevr 11g (10.3.6)?
See the below discussion
How to create and use Webservice controls using WSDL in weblogic portal10.3
Thanks,
Venkat Sarvabatla -
How to create and use dynamic queue in JMS
Plz tell me how to create and use a dynamic queue in jms and can reciever file lookup it as it lookup any server configurred queue(written in the server).
Hi,
We can use Azure File services to do this, for more information, please have a look at this article:
http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx. The Azure File service exposes file shares using the standard SMB 2.1 protocol. Applications running in Azure can now easily share files between
VMs using standard and familiar file system APIs like ReadFile and WriteFile.
Best Regards,
Jambor
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. -
Requesting all to help me how to create lsmw using idoc method
hi
thanx for ur answer
requesting every body in the forum to help me how to create lsmw using idoc method.
regards,
balajiHi Balaji,
LSMW using IDOC is similar to using flat file method. Here you are getting data from IDOC container and mapping data with Idoc segments insted of flatfile column.
Hope this is what you are looking for. If helpful then dont forget to reward me for that
Darshan -
How to create database using shell script
hai
how to create database using shell scriptThe documentation details the steps to create a database manually. Another option is to use DBCA to create the scripts. DBCA will give you a complete set of scripts that will create a database.
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#sthref220 -
How to create indexes using CREATE TABLE statement
Hi,
Can anyone please tell me how to create indexes using CREATE TABLE staement? This point is part SQL Expert exam (1Z0-047) and please guide me to use which books for this particular exam.
Thanks in advance.Can anyone please tell me how to create indexes using CREATE TABLE staement?e.g. creating a primary key or a unique constraint will generate indexes along with the create table syntax:
SQL> create table t (a integer primary key, b integer unique)
Table created.
SQL> select index_name, index_type, uniqueness
from user_indexes
where table_name = 'T'
INDEX_NAME INDEX_TYPE UNIQUENES
SYS_C0016575 NORMAL UNIQUE
SYS_C0016574 NORMAL UNIQUE
2 rows selected. -
Windows Server 2012 - Printing using UNC path not working
Hi,
I have a problem printing using the printer's UNC path ("\\Server_Name\Printer_Hostname") to work with a web
app hosted on IIS 8. With a windows forms application the UNC path is working fine and the app prints.
With
the web app I receive an error "The data area passed to a system call is tool small".
Also,
in the event viewer under Applications and Services Logs -> Microsoft -> PrintService -> Operational, I receive the error "The print spooler failed to reopen an existing printer connection because it could not read the configuration information
from the registry key S-1-5-82-1980832875-2702362896-1795126167-3622310632-1152289074\Printers\Connections. The print spooler could not open the registry key. This can occur if the registry key is corrupt or missing, or if the registry recently became unavailable."I have contacted IIS forum support.
Please review the link: http://forums.iis.net/p/1213109/2079229.aspx?Re+Windows+Server+2012+Printing+using+UNC+path+not+working
Their final response:
Printing from ASP.NET using System.Drawing.Printing itself is a horrible approach, as this namespace was designed for Windows Forms only. The designers did not take everything about ASP.NET in mind, so any issue can happen. That can answer why the HP model
works while the Samsung fails, as the HP one just "happens
to work",
http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx
Similarly, System.Printing was designed just for WPF.
About which printing API to use in ASP.NET/IIS, there is no clear answer so far. Thus, your only resource is Microsoft support, who can perform further analysis (with their dedicate utilities and of course Windows source code) and might come across a solution
to help you out. This is not a trivial scenario. -
How to create crossword using Adobe captivate
how to create crossword using Adobe captivate
OK. Again I am not needing clarification here. Did you INSERT the SWF as an animation into the Captivate project? Or, did you keep the SWF as an external file? If the SWF is external to the main Cp SWF then perhaps it's not working when you publish because the content cannot find the SWF. If you have made sure that the SWF is definitely in the publish location, check whether or not you have that location set as a trusted location in your Flash Global Security settings.
-
Help configuring adobe media server's apache to use UNC paths and use multible VOD directories
I am experimenting with v 5.03 for media server with look to upgrade our current pool of v4.x server to support ipads etc.
i have set the ams conf file and have in the past use a unc paths for my VOD_Dirs
eg
VOD_DIR = C:\Program Files\Adobe\Adobe Media Server 5\applications\vod\media
VOD_DIR_1 = \\prodserver1\media\data\VOD\Media
VOD_DIR_2 = \\prodserver2\media\library\Preview
VOD_DIR_3 = \\prodserver3\media\preview
how and where do i need to do this for the http streaming ?
cheers
RobertYou use Apache config files for the same...namely httpd.conf.
-
Hi,
There isn't much info on this and I am hoping its possible.
I have come across the following article which explains how we can setup SharePoint 2013 Asset Library using video links using a website in IIS that is mapped to a UNC path.
http://stevemannspath.blogspot.com.au/2012/12/sharepoint-2013-videos-in-sharepoint.html
This is great. However we have an issue where I work and I need somehow to get SharePoint mediaplayer to point to a video directly using the UNC path like :- \\WINSP13\TempVideos\NTV_Carr_Indig.wmv without the use of a website in IIS.
I understand that we won't be able to stream the video then thats ok.
when trying to add a video link to an asset library using the UNC path, we get the following error: We don't support
playing a video of that format from a file share.
Is there a way or a workaround to do this? we are using only javascript to do this (AngularJS or any custom Javascript player such as MediaElement)
Thanks
Kind Regards,
WillFrom a SharePoint architecture perspective, this is a BAD design, since you are rerouting the communications (from the client to the UNC) away from and outside of SharePoint... as a result, SP cannot provide any level of guarantee about the ability for videos
to play on the client machine.
Secondarily, I'm not sure that the browser will let you pull resources from such different locations (doing so has been the root of several type of attacks, such as "Cross Site Scripting").
That said (and assuming the browser lets you), you can always use JS to handle creating the video player HTML and setting the UNC location... instead of using a site asset library to store the links, just create a list for the videos
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs -
Hi All
I am probably going to look stupid here but.... How do you use a UNC path in Safari?
When I type in \\myserver\ looking for a local server Safari converts it to http://myserver/ which obviously gives me a totally different result. Just used to doing this in i.e. and use it alot in my daily job.
Any advice appreciated?
Many thanks
TSMYou should file enhancement request regarding this issue to https://bugreport.apple.com. However I doubt Apple developers implement it since other tested browsers like Firefox and Opera don't support this paths either.
-
How to create directories with same name in different schemas
I have two schemas on the same database.
I am trying to create directories with same name, but different paths in both the schemas.
When i created the directories in second schema, the directory paths of the first schema are automatically changed to the second path.
Is there any solution to create directories with same name, but different path in two different schemas on the same database.
Thanks,
Sridhar.Hi,
>>When i created the directories in second schema, the directory paths of the first schema are automatically changed to the second path.
If you have removed the REPLACE clause of your create statement, then you would see that is not possible.
SYSTEM> connect scott/tiger
Connected.
SCOTT> create directory mydir as '/tmp';
Directory created.
SCOTT> connect legatti/pwd
Connected.
LEGATTI> create directory mydir as '/tmp';
create directory mydir as '/tmp'
ERROR at line 1:
ORA-00955: name is already used by an existing object
LEGATTI> select owner,object_name,object_type,created
2 from dba_objects where object_name='MYDIR';
OWNER OBJECT_NAME OBJECT_TYPE CREATED
SYS MYDIR DIRECTORY 19/12/2007Cheers
Legatti
Maybe you are looking for
-
How do I install OS on a new hard drive?
Recently my hard drive failed (for the second time in two months) and when I turn on my macbook pro, a blinking folder with a question mark appears. I opened up my laptop and a friend's laptop and put his external hard drive into my computer and it b
-
I want to download my incoming Google e-mails file attachments to a specific folder on my computer (within my Data structure - for ease in back ups). In Firefox, I went to Tools>Options>named the specific file folder to save the downloaded attachment
-
Problem with Foreign Key check in an editable ALV
Hi, I've implemented an editable ALV. The underlying context node is referenced to a structure and within the structure the foreign keys are defined. In my example, I have two editable columns with different foreign key checks. My problem is, the for
-
How to split XML document into two
I want to create new docuemnt by taking part of the existent XML document under the node document_text vNodeList := xmldom.getElementsByTagName(vdoc, 'document_text'); vNode := xmldom.item(vNodeList, 0); -- The xmldom.getNodeName(vNode) of this node
-
Hi, is it possible to set the PI Message State to Application Error in Message Mapping or/and in Adapter Modul ? best regards, Hai