Saving a document in Database
Hi all,
I am opening file from Mysql server using JSP and Tomcat. It opens in the associated program not in the browser. when it opens say, a word file is opened from database in MS Word. When try to change anything on that file, if i press save then it saves but i realised that it is saving in my computers
C:/Documents/Local Settings/Temporary Internet Files/Content.IE5/UA40NN" folder
Not saving in the MySQL database from where it was opened.
This means that if anyone wants to change any document then they need to download that document, change it and then upload the updated version to the database.
But this is a time cosuming process for the organisation.
So can anyone please help me how can i save document in database by opening it and then making necessary changes in it.
Thanks
This means that if anyone wants to change any document then they need to >download that document, change it and then upload the updated version to the >database.Correct!!
So can anyone please help me how can i save document in database by >opening it and then making necessary changes in it.You cannot, you will have to change the local copy, then upload it as you originally thought.
An alternative would be to save the files on a networked drive which users can access directly. You could then store the file name and path in the database. Then when users opened the file, it would be the central copy.
You could add code to delete documents etc. through your web interface.
Similar Messages
-
When I was saving a document I previously duplicated, Pages unexpectedly quit three times in a row. Ideas?
Welcome to the Apple Discussions.
Are the photos still visible in the Library? If so, Back Up and try rebuild the library: hold down the apple and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
It’s possible that these crashes have damaged the database file. If the above does not help:
Try these in order - from best option on down...
1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library allowing it to overwrite the damaged file.
2. Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
3. If neither of these work then you'll need to create and populate a new library.
To create and populate a new library:
Note this will give you a working library with the same Rolls and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
Move the iPhoto Library to the desktop
Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
Go into the iPhoto Library on your desktop and find the Originals folder. From the Originals folder drag the individual Roll Folders to the iPhoto Window and it will recreate them in the new library.
When you're sure all is well you can delete the iPhoto Library on your desktop.
In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
Regards
TD -
Hi,
I'm getting the below error for reports.
The report terminated with error:
REP-110: File test2. cannot be opened. REP-1070: An error occurred while opening or saving a document. REP-0110: File test2. cannot be opened. .
When checked Environment using url 'http://host:port/reports/rwservlet/showenv?server=your_repserver_name"
found below
==================================================
Reports Servlet Environment Variables 11.1.1.4.0
Security Mode Non-secure
HTTP Environment Variables 11.1.1.4.0
SERVER_NAME 09.14.4.41
SERVER_PORT 8888
SCRIPT_NAME /rwservlet
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE undefined
GATEWAY_INTERFACE undefined
SERVER_PORT_SECURE undefined
ACCEPT image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
REQUEST_METHOD GET
REMOTE_HOST test-wam-app
REMOTE_ADDR 09.14.4.41
REMOTE_USER undefined
AUTH_TYPE undefined
PATH_INFO showenv
QUERY_STRING server=RptSvr_test-wam-app_wamtest
PATH_TRANSLATED undefined
CONTENT_LENGTH undefined
CONTENT_TYPE undefined
AUTHORIZATION undefined
USER-AGENT Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.3; MS-RTC LM 8)
REMOTE_IDENT undefined
REFERER undefined
Oracle Reports Services - Servlet Environment Variables Select to jump to the top of the page Return to Top
KeyMapFile /u03/apptest/FMW_11.1.1/user_projects/domains/WamTest/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/cgicmd.dat
DBAUTH /u03/apptest/FMW_11.1.1/apphome/reports/templates/rwdbauth.htm
SYSAUTH /u03/apptest/FMW_11.1.1/apphome/reports/templates/rwsysauth.htm
server rep_wls_reports_test-wam-app_wamtest1
DIAGNOSTIC yes
ERRORTEMPLATE /u03/apptest/FMW_11.1.1/apphome/reports/templates/rwerror.htm
SERVER_IN_PROCESS yes
COOKIEEXPIRE 30
ENCRYPTIONKEY reports9i
DIAGHEADTAGS undefined
DIAGBODYTAGS undefined
HELPURL undefined
RELOAD_KEYMAP undefined
IMAGEURL http://09.14.4.41:8888/reports/rwservlet
SINGLESIGNON no
Oracle Reports Services - Server and Engine Environment Variables Select to jump to the top of the page Return to Top
PATH /u01/wamtest/FMW_11.1.1/apphome/jdk/bin:/u01/wamtest/FMW_11.1.1/apphome/bin:/u01/wamtest/FMW_11.1.1/apphome/jdk/bin:/u01/wamtest/FMW_11.1.1/apphome/bin:/u01/wamtest/FMW_11.1.1/apphome/bin:/u01/wamtest/FMW_11.1.1/apphome/bin:/u01/java/jdk1.6.0_23/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
DISPLAY
LD_LIBRARY_PATH /u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/server:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/../lib/amd64:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/native_threads:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64:/u01/wamtest/FMW_11.1.1/apphome/lib:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/server:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/native_threads:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64:/u01/wamtest/FMW_11.1.1/apphome/lib:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/server:/u01/wamtest/FMW_11.1.1/apphome/opmn/lib:/u01/wamtest/FMW_11.1.1/apphome/lib
ORACLE_HOME /u01/wamtest/FMW_11.1.1/apphome
TNS_ADMIN /u01/wamtest/FMW_11.1.1/instance1/config
NLS_LANG AMERICAN_AMERICA.WE8ISO8859P1
USER_NLS_LANG
RW /u01/wamtest/FMW_11.1.1/apphome/reports
REPORTS_PATH /u01/wamtest/FMW_11.1.1/apphome/reports/templates:/u01/wamtest/FMW_11.1.1/apphome/reports/samples/demo:/u01/wamtest/FMW_11.1.1/apphome/reports/integ:/u01/wamtest/FMW_11.1.1/apphome/reports/printers:/u01/wamtest/FMW_11.1.1/instance1/reports/fonts:/u01/wamtest/FMW_11.1.1/apphome/reports/templates:/u01/wamtest/FMW_11.1.1/apphome/reports/samples/demo:/u01/wamtest/FMW_11.1.1/apphome/reports/integ:/u01/wamtest/FMW_11.1.1/apphome/reports/printers:/u01/wamtest/FMW_11.1.1/instance1/reports/fonts:
REPORTS_TMP /tmp
REPORTS_TAGLIB_URI /WEB-INF/lib/reports_tld.jar
java.class.path /u01/wamtest/FMW_11.1.1/apphome/reports/jlib/rwrun.jar
sourceDir
tempDir
useDataCache
ignoreDataParameter
=========================================================================
ORACLE_HOME is on mount point u03, checked config.properties but no mention of mount point /u01.
Dont know from where /u01 came. Could you please help me re configuring the env pointing to /u03.
Reports server is up though without any issues.
Regards,
DjayEnsure that the report name is correct. Also ensure that the report exist in REPORTS_PATH environment variable. Otherwise run the report including the reports path.
E.g.
report=<reports directory>/test2.rdf -
Data type for Saving Image in SQL database
Hi,
Which is the best way for saving images in the database? Filestream or Varbinary(max)?. Will the Varbinary max comsume much space or it will only take the actual size of the data?I've used FILETABLE for storing images in SQL 2012
You can configure it to have transact and non transact access if you want
see
http://visakhm.blogspot.in/2012/07/working-with-filetables-in-sql-2012.html
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
Error message: "Querying or saving changes to the database failed."
Hi all,
I can sense I'm becoming a regular on this particular forum - the problem of spending 8 hours a day trying to get this software working!
_*The problem*_
When i try and setup a new device, or modify an existing one, I get an error message when i get to the Transcode Settings page. The error message is "Querying or saving changes to the database failed." After this I get a blank screen and can no longer see my settings.
No amount of restarting has fixed this. And I cannot see a way to create a device through the client software and add transcode settings.
Help?
Thanks in advance,
BenAh very good!
Ok - it seems then that this works absolutely fine as a work around. I can create a device and then assign the device to transcode settings through the client adminsitration panel (which is indeed what I meant).
So, there is a work around. Far less pressing now, but I would like to know why I'm getting the error message all the same - I'm now concerned about the integrity of the database...
Thanks Tony!
B -
Error while saving shipment document
Dear Gurus,
While saving Shipment document i am getting this error
Transportation planning point not allowed for export shipment.
Please note i am not doing export shipment.
Thanks
KSI have checked all the settings and have found OK.
I am getting the above error even while making empty shipments, without deliveries.
I have used the same shipment type & transportation planning point earlier. I did not get these error at that time. I was able to create shipment cost document and other documents.
Please advise.
Thanks
KS -
I am trying to download and save a document from the apple support site (iPod classic (120GB) User Guide). Every time I click the save button I get the error message A file error has occurred. I tried reinstalling Adobe Reader9, with no luck.
Right-clicking on the link and choose "Save target as" works fine, thanks. Just up until now I have had no problem clicking the save button when viewing a PDF file on-line. This saved the document to my desktop. Still would like to know how to get rid of this error though.
-
I have a ton of documents and databases in AppleWorks v 6.0 that I can no longer open on my MacBook Pro. Is there any way to recover this info? Some documents can be opened and resaved with textedit, but not my database with all important addresses.
I tried Peggy's List > Select All > Copy > Paste into an AW spreadsheet suggestion.
In my case, pasting into the spreadsheet lost all text formatting (mostly text set to bold). The results of formulas were pasted, and checkboxes were pasted as "on" or "off". The DB did not contain any pop-up menus or radio buttons, but I expect they would transfer as a number showing the list position of the chosen item.
Pasting the copied List view data into a Numbers table gave a result similar to that with AppleWorks. I selected B2 as the target cell (for top left cell of the pasted data) to avoid any effects of posting into a header row or column. Bold and regular text formatting looked the same as it had in AW's List view.
Based on that, I'd slip the 'paste into an AppleWorks Spreadsheet step, and paste directly into a Numbers Table.
Regards,
Barry -
I am setting up a new iMac and need help syncing files to Dropbox. On my old computer I had it set where when I saved a document, it was saved on my hard drive, as well as to a folder in Dropbox. I can't remember how I set this up. Any help?
The way that Dropbox works is that it keeps a copy of all your files in your local Dropbox folder on your hard drive (which is, by default, directly under your home folder). Adding files to that folder will sync them to the Dropbox server.
You do of course have to download the Dropbox application to enable this (download link at the top right of http://dropbox.com ).
Matt -
Last night I downloaded the latest Word update. Today the first Word document crashed and I lost 45 minutes of work in spite of having saved the document numerous times. Why is Word crashing the day after a safety update? I have Office 2008 for Mac
One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
Reboot, test again.
If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or 3rd party add-on, Check System Preferences>Accounts>Login Items window to see if it or something relevant is listed.
Check the System Preferences>Other Row, for 3rd party Pref Panes.
Also look in these if they exist, some are invisible...
/private/var/run/StartupItems
/Library/StartupItems
/System/Library/StartupItems
/System/Library/LaunchDaemons
/Library/LaunchDaemons
Open Console in Applications>Utilities, check the system log for the date/time of the last problem & next startup for clues. -
Hi,
We have a SharePoint 2013 doc library based on a custom template, which has been migrated from 2010.
We are unable to see existing documents in a Document library created using this template while saving a document directly in it using explorer mode, However we can save files and even see them in explorer mode, only when we try to save a new document there
directly, we cant see the old docs.
All the OOB libraries work fine.
Below is the normal behavior while saving a file, however nothing comes up when saving on this custom template librarySolved it myself guys... (Well the major part)
Got help from here...
https://www.nothingbutsharepoint.com/sites/devwiki/articles/pages/blank-open-save-dialog-when-browsing-document-library-from-office-clients.aspx
and
http://www.sharepointconfig.com/2011/02/vs2010-list-definition-template-missing-file-dialog-view/
with some tweaks of my own..
Still working on it because its showing SharePoint 2010 header... And I need 2013 look... -
ABAP Runtime Error at the time of saving of Document Through CV01N tcode
Dear Experts
We have install seprate DMS Server for storing various documents of different module.
While saving of Document through Transaction CV01N one small screen gets pop up.Which is as follows
Check in Document:KPro
Storage Category Description
ZCITY123 DMS
I am selecting above line from Kpro, then when i click on save system gives ABAP Runtime Error.
Runtime Errors CALL_FUNCTION_NOT_FOUND
Except. CX_SY_DYN_CALL_ILLEGAL_FUNC
Date and Time 21.10.2008 18:35:26
Short text
Function module "PROJECT SYSTEM" not found.
What happened?
The function module "PROJECT SYSTEM" is called,
but cannot be found in the library.
Error in the ABAP Application Program
The current ABAP program "SAPLSDCE" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
I am not understanding why this dump is coming.
How i can come up from this issue.Pls guide me.If any customizing is required pls give the steps
Thanks in Advance.
Regards,
Sandeep TheurkarThere is a programming error somewhere.To get a solution quickly, do as follows:
1. Turn off all badi's, user exits and whatever you have changed in standard SAP.
2. Rerun - if it still fails - search in SAP notes for relevant notes
3. If it doesnt fail - you have an error in your own programming
4. If you are on relevant Support packages etc, send a message to SAP.
Regards,
Espen Leknes -
Store and display word document in database through forms
how can i store a word document in database through forms 6i or 10g, and display it through forms from database.
i know how to store a binary file in database through DBMS_LOB package, but i want to do it throug forms. is it possible?
regardsHi Alex
"Create a datablock and specify the item datatype as blob"
BUT: How to bring the document to the blob?
Hi user 611..
Warning: It is easy if you use an OLE-Object - but OLE is a special format. The result will not be the same as with dbms_LOB.
We have a application with documents stored via OLE - terrible!
OLE is no longer supported by forms 10. But webutil would help.
I asked a similar question and got a good answer:
OLE-Container and migration to the web
Wolfram -
Saving webi document from BOXI 3.0 in excel with special character
Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
This happens only with Mozilla, get correct file name in IE.
Steps to Reproduce:
1)Create a simple XI3.0 webi report through mozilla browser
2)Save the webi report with special character name for e.g øäåýþ.
3)Open the webi report and save it as excel or pdf file.
4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
5)When saving the save report through IE browser in excel or PDF display correct report name øäåýþ in excel and PDf file.
Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any difference.
Has anyone came across such type of issue?
Whether this is limitation of Firefox or bug.
Regards,
Ketki FadnavisIssue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
This happens only with Mozilla, get correct file name in IE.
Steps to Reproduce:
1)Create a simple XI3.0 webi report through mozilla browser
2)Save the webi report with special character name for e.g øäåýþ.
3)Open the webi report and save it as excel or pdf file.
4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
5)When saving the save report through IE browser in excel or PDF display correct report name øäåýþ in excel and PDf file.
Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any difference.
Has anyone came across such type of issue?
Whether this is limitation of Firefox or bug.
Regards,
Ketki Fadnavis -
Hi,
I am getting Message having CALL_FUNCTION_NOT_FOUND after saving my document in ME22N Tcode.
Message i am getting in my inbox:
Transaction.. ME22N
Update key... 80234FDE6D51F11C9004001A6435E8C6
Generated.... 02.06.2009, 05:15:29
Completed.... 02.06.2009, 05:15:31
Error Info... 00 671: ABAP/4 processor: CALL_FUNCTION_NOT_FOUND
Can any one please tell what will be the problem?
My out type also configured correctly with function module routine and program name.
Please reply.
Regards,
Kusuma.Hi Karthik,
Thank you for ur reply.
I did not implement any user exit/ badi. Dump is saying that my smarform function module does not exist in the se37 library.
I have excuted my form through se38, that time is working fine. When i tried through output type it is going to dump.
Regards,
Kusuma.
Maybe you are looking for
-
Hi All, I had a question about the front panel connectors. I have a Lian-Li PC60 series case. On the JFP1 slot I have the reset and power switch configured correctly in that they both work. However the HHD and Power LED aren't working. The HDD LED gl
-
Energy saver won't work in OSX 10.4.11
I have a Dual 2 Ghz PowerPC G5. Energy Saver crashes every time I try to access it in System Preferences even after reinstalling OSX.
-
I've had AppleTV for about a month now and I love it. There are little niggles that I'd love to see addressed - Maybe if enough folks participate in this thread, somebody will pay attention. Here are some of my suggestions: SCREEN SAVER I: When the s
-
Starting oc4j in the background
Hello All, Our server is on a Solaris box. I had to shutdown the oc4j server once. Now when I start the server, it is locked to my session..meaning when I exit my session (I'm using putty), oc4j shuts down too. How do I work around this? Thanks!!
-
I am running an animation mostly with line segments and filled circles moving around on screen. I have a bunch of lineTo statments, and would like to place my circles at the end of these line segments. When I draw circle and define it as a "moviecli