Fail to connect database using UNC path
I have encoutered problem to connect sample database which is located at share drive such as J: drive.
I setup up the environment at follow:
The database is save at J: drive such as J:\xtreme.mdb
I use crystal report 2008 to create report template and the database location is J:\xtreme.mdb
[http://i105.photobucket.com/albums/m229/kenkit/diagram1.jpg]
Then, I published the report into CRS2008. While I preview the report. I got the error message
"The database logon information for this report is either incomplete or incorrect. "
The report database configuration is at below:
crosspost
Similar Messages
-
Fail to connect database using network drive
I have encoutered problem to connect sample database which is located at share drive such as J: drive.
I setup up the environment at follow:
The database is save at J: drive such as J:\xtreme.mdb
I use crystal report 2008 to create report template with sample database which is location at J:\xtreme.mdb
[http://i105.photobucket.com/albums/m229/kenkit/diagram1.jpg]
Then, I published the report into CRS2008. While I preview the report. I got the error message
"The database logon information for this report is either incomplete or incorrect. "
I am successful to map the network drive and open it.
[http://i105.photobucket.com/albums/m229/kenkit/picture5.jpg]
The report database configuration at CRS2008 is at below:
[http://i105.photobucket.com/albums/m229/kenkit/picture2.jpg]
[http://i105.photobucket.com/albums/m229/kenkit/picture3.jpg]
In addition, I had already started SIA service with domain administrator account.
[http://i105.photobucket.com/albums/m229/kenkit/picture4.jpg]
So, anybody can give idea or suggestion to solve this problem?
Edited by: Ken Hui on Apr 21, 2011 5:37 AM
Edited by: Ken Hui on Apr 21, 2011 5:50 AMcrosspost
-
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. -
Failed to connect database...
Hi,
i am getting following error.how to overcome from this error
unable to connect database : testuser@test
Failed to connect database -ORA-12521 not found ;product=RDBMS80:facility=ORA
Thanks,Mohammed_82 wrote:
Hi,
Oracle version =10.1.0.5.0
Client version =8
Only 8.1.7 client has been certified to connect to a 10.1 database, please, tell us your exact 8 version you are using.
Nicolas. -
Connect database using ext javascript or applescipt in indesign
Hi,
I need to connect oracle database using extended javascript or apple script in indesign. Can somebody help by giving any suggestion. Or is there any possibility to connect database using the two scripting methods.
It is really urgent.
Thanks
Karthik BExtendScript has a Socket object prototype you can use to e.g. connect to the internet. Calling a web service would probably be more elegant than addressing the database directly. Socket is fairly low-level, though. If you need something easier, you could always try out http://extendables.org/docs/packages/http/doc/readme.html
I seem to recall some InDesign plug-ins you could buy that allow you to connect to a database directly, but you'd have to google that yourself. -
How to connect database using coding in trigger in forms
Oracle forms6i
Hai All
Is there any possiblity to connect database using coding.
For example when we open a form and we use some button and write some coding and when we execute a small will appear and we give username,connection identifier and database name.
Is it any possible there when we create a button and in that button we write coding our database name,connectionid and user and when we exe it will internally connect database Pls tell me..
Regards
Srikkanth.Muse LOGON Procedure
PROCEDURE LOGON
(username VARCHAR2,
password VARCHAR2);
logon('scott','tiger@orcl');Mr.Srikkanth.M if u dont close ur old questions dont expect others to answer ur question everytime......so plz remember if u think the person's answer is helpful or correct mark it accordingly
Thanks :)
Baig
[My Oracle Blog|http://baigsorcl.blogspot.com/] -
Is it possible to connect database using session bean
Dear all,
Is it possible to connect database using session bean without using entity beans like cmp,bmp.
if ur answer is yes, then pls tell me where to put the select statement and transaction attribute like(6 types).
if u have sample code, then it is good for me.
Hope I will get answer.Sure it is.
Try something like this (and maybe get a book on JDBC):
String name;
try {
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup(Constants.MY_DATASOURCE);
Connection connection = ds.getConnection();
String sql = "SELECT * FROM TABLE";
PreparedStatement statement = connection.prepareStatement(sql);
ResultSet rs = statement.executeQuery();
while (rs.next()) {
name = rs.getString("NAME");
if (rs != null)
rs.close();
if (statement != null)
statement.close();
if (connection != null)
connection.close();
catch (NamingException e) {
// Can't get JDBC datasource
// ... do something with this exception
catch (SQLException e) {
// SQL exception from getter
// .... do seomthing with this one too
} -
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 -
Using UNC Path With Execute Process Task
I have an Execute Process task in which the process can either delete, get or put files to an SFTP site. The executeable takes arguments in the following format:
"host" "user" "password" "put" "full local path/filename" "full remote path/filename"
I have the task configured as follows:
RequireFullFileName: True
Executeable: \\server\groups\Development\ETLFiles\ETL_Utilities\ocsshhelper\ocsshhelper.exe
Arguments: sftp user password \\server\groups\Developmement\ETLFiles\ETL_Data_Files\CT_FS_Export_20081113.csv stateExport\export
WorkingDirectory: \\server\groups\Development\ETLFiles\ETL_Utilities\ocsshhelper
WindowStyle: Hidden
Arguments, Executeable and WorkingDirectory have been configured as Expressions. When I execute the package in BIDS from my Windows XP SP3 machine, The task fails with the following error:
[Execute Process Task] Error: In Executing "\\server\groups\Development\ETLFiles\ETL_Utilities\ocSSHHelper\ocsshhelper.exe" "sftp user password put \\server\groups\Development\ETLFiles\ETL_Data_Files\CT_FS_Export_20081113.csv stateExport\export" at "\\server\groups\Development\ETLFiles\ETL_Utilities\ocSSHHelper", The process exit code was "-532459699" while the expected was "0".
My domain account has 'effective' full control rights to the location of ocsshhelper.exe.
It could be that the executable does not support UNC paths, and I'm checking that. I have another package that uses this same application, but uses the physical path, and there are no problems. Does the Execute Process task have issues with UNC paths?
Thank you for your help
cdun2Actually it doesn't work properly in SQL Server 2008 R2. I have a similar EP task. If I set the working directory to \\server\share\subdir the task fails. However, if I map a drive latter to the \\server\share and set working directory to <drive>:\subdir
it works -
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 Connect Database Using Script?
Hi all,
Am using Adobe InDesign CS3. Is there any way to connect database from Adobe InDesign CS3 Scripting (Javascript)? Thanks in advance.
Regards,
MohanI don't know javascript so I can't help with that part.
The system plug in you need is from Actual Technologies : http://www.actualtechnologies.com/ The setup for that is detailed in their instructions. You will probably want to set it up for system-wide access, not by user. I found system-wide access more reliable, fwiw.
For Applescript I send a command through the Terminal/command line that returns the data from the query.
Here is Applescript:
set query to "YOUR DB QUERY"
set results to (do shell script "echo \"" & query & "\" | iodbctest \"dsn=" & dsn & ";uid=" & uid & ";pwd=" & pwd & "\" | awk '{ if (match($0,\"SQL>\")) {k++; if (k==1) next; if (k==2) exit; } if (k==1) print; }'")
You can probably do something similar in Javascript. You'll have to parse out the text data returned then. I think there may be plug-ins for InDesign that can directly connect to a database (?). Or some plug-ins like inData can take their data passed from a script as well.
Chris -
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.
-
Use unc path in gui_exec function
Hi,
is it possible to use an UNC path in the GUI_EXEC function?
For example:
call function 'GUI_EXEC'
exporting
command = '\\192.168.8.43\myfolder\myexec.bat'
importing
returncode = i_returncode.
Thanks in advance.
Regards.Calling an external program
You want to call a program on your PC from an ABAP program ? try this function :
*This example calls the dos prompt DATA:
i_returncode TYPE i.
CALL FUNCTION 'GUI_EXEC'
EXPORTING
command = 'CMD' <<==-- CMD calls the DOS prompt but you can put any program here
PARAMETER = 'test'
IMPORTING
returncode = i_returncode.
there is a lot of other functions to communicate with the PC like:
GUI_CREATE_DIRECTORY GUI_DELETE_FILE GUI_DOWNLOAD
GUI_EXEC
GUI_FILE_SAVE_DIALOG
GUI_GET_DESKTOP_INFO
GUI_GET_FILE_INFO
etc... -
Sharepoint 2013 Does not open files using UNC path from Server
Hi All,
Just setup our new 2013 sharepoint intranet site , I tried adding a hyperlink to a document stored on our server using a UNC path file://servername/share/filename.doc but when i click on it it takes me to a blank Webpage in a new tab.
I have turned on "open client applications" in the site collection features hoping that would help ....buuuuuut it did not.
Also tried variations in the UNC path eg: \\servername\share\filename.doc etc..
Any help would be greatly appreciated
ThanksOpen start run > type > file://servername/share/filename.doc Does this works
http://social.technet.microsoft.com/Forums/sharepoint/en-US/63b229de-ce4a-42be-b209-2c0f33d4b0d5/problem-opening-an-access-file-from-a-unc-file-link-in-sharepoint?forum=sharepointgeneralprevious
Actually the problem I described is an Internet Explorer issue and I will try to get resolution in the appropriate forum. IE exhibits the described behavior whether the link is in a Sharepoint site page, or in a regular non-Sharepoint web page.
Mozilla does not have the issue.
Check below:
http://social.msdn.microsoft.com/Forums/en-US/3f2c34cc-5686-4e03-ba26-092aaa29ff33/link-from-document-library-to-unc-path
If this helped you resolve your issue, please mark it Answered
Maybe you are looking for
-
Importing Video Without Copying
Hi, on the Mountain Lios OSX iMovie i had the option to Import Videos to the Event Library just moving, without doing a duplicate copy. I dont want my MAC to waste time doing the COPYING because I have 120 Gbs files and it takes a lot of time doing t
-
Suspending USB Device [SOLVED]
I had 2.6.32 a while ago and wrote a script that allowed me to turn a certian usb device on and off (I used my usb mouse as a demo). When I upgraded to 2.6.33, the way I was doing this stopped working. I was using this (with $port being something lik
-
Computer crashed had to uninstall everything and re-install now it will not let me activate my photo
computer crashed and had to re install photoshop CS2 and CS# it installed but will not let me activate them
-
How to run a bulk turn on\turn off of the physical machines from UCS?
Hi, all: I'm a newbie using UCS 2.0(1.x) and would like to reset multiple servers in a single command instead that doing one by one? Regards, Alberto.
-
When I click File > Render > Menu it goes through all the Frames until the last one. Right now it is just sitting at 415 and going no where. Sometimes when I do this, it will flicker between 415 and 411. Anyone have any ideas? I have already left it