Problems Accessing My Documents In Sql Server - Attach DB
Jan 2, 2008
I am trying to attached database which is My Documents using SQL Express, but when it goes to C:Documents and SettingsRAFAL I can not see any folders below.... I can see folders in Explorer!
Is this some kind of bug? I am using SQl Express 2005. I have shared C:Documents and SettingsRAFAL folder with everyone.
Also another problem is that when attaching database it does not rememeber the last path I was attaching from...
View 1 Replies
ADVERTISEMENT
Jan 26, 2007
Excel 2007 Documents Not Displayed in Windows XP Professional sp2
Start Menu's Recent Documents List:
Dear Microsoft Support:
I can't figure out how to get recently used Excel 2007 (new file formats) documents to show up in the Windows XP Professional (sp2) Start Menu's Recent Documents List. I checked the Internet, the knowledgebase, many parts of the MS web site, etc. for an answer but can't find one.
Are Excel 2007 documents supposed to show up in the XP Start Menu's Recent Document List? Is this a bug or do I have to do some sort of configuration to make it do so? If it's a bug, when will a fix be available?
Are these new Excel 2007 files filtered out like EXE files are which will not appear in the Recent Document List?
The Excel 2007 file types are listed in the Registry.
This question is also posted on Experts-Exchange...No solutions yet.
Thanks.
Jim.
View 1 Replies
View Related
Jan 30, 2007
Hi All,
I need to import multiple word documents of same structure into SQL Server table. Could anyone suggest the way of doing this?
Thanks,
View 4 Replies
View Related
Oct 17, 2004
Hi,
I have developed a Job Registration page, in which, the resume attached will be stored in the database in an image data-type field. Now, the client program includes migration of the database into local server and process the resumes.
After migration to the local database, if the client wants to process the resume and save directly to the database again, is it possible? This a very urgent requirement. Currently, i am separating the resume from the database and storing in a folder with the ID as the file name. But i want to convert it to a distributed application, which needs the resume to be in the database itself.
Can anybody suggest me the method to open .doc file from the database, process it and save directly to the database?
Thanks and regards,
mrc
View 2 Replies
View Related
Nov 21, 2007
An attempt to attach an auto-named database for file C:WebApp_Dataaspnetdb.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
My web.config file, the connection strings
<connectionStrings>
<add name="POAdatabaseConnectionString1" connectionString="Data Source=sss;Persist Security Info=True;Initial Catalog=POAdatabase.mdf;Integrated Security=SSPI" providerName="System.Data.SqlClient" />
</connectionStrings>
I cann't really find the statement for attaching aspnetdb.mdf. I don't where to find it. Is there any other web.config file in the C drive? Thanks for help!
View 3 Replies
View Related
Dec 11, 2006
How can I search throught DOCX (MS Word 2007) documents by SQL Server 2005 Full Text Search engine?
Should I something download?
View 6 Replies
View Related
Jan 31, 2007
Hello,I need to create a database to hold documents information.1. Basically, I need the following information for each document: Title, Description, LastUpdated, Category, Type, Url Should I create tables for Category and Type? And link them to my documents table? What type of relationship should I use?2. I also need to know how many downloads each document had Should I add a column in my documents table? Then I would increase it one by one. Or should I create a new table which would register each download.3. I need to let users to rate each document from 1 to 5. How should I implement this?Thank You Very Much,Miguel
View 3 Replies
View Related
Jul 20, 2000
I'd like to create an XML document from within SQL 7.0. Is the do-able? I know it's build into SQL 2K. But how is it done (or can it be done) in SQL 7.0.
Thanks,
Kurt
View 3 Replies
View Related
Feb 22, 2006
Yesterday I installed MS SQL 2000 for the first time and have no idea what I'm doing.
I have been sent a database and asked to convert this to MS Access, for most of the data that is ok and I have already managed to do this. My problem is that the database contains MS Word documents stored in some of the tables (field type - image). I need to extract these from the database and get them back to individual Word files, ideally with a file name that relates them to the primary key of the table from which they came.
I have less that 24 hours experience with SQL server and would be very grateful if anyone can explain how I can do this.
Thank you for your help
Shane
View 2 Replies
View Related
Jul 31, 2007
Hello All,
I have been experimenting with SQL Server 2005 partitions. I loaded a terabyte of information into 2 tables. The first holds the document information and the second holds the actual binary document (in this case pdf). Most of the documents are about 1 megabyte in size, but the largest is 212 megabytes.
SQL Server has no problem storing the blobs. The problem occurs when I attempt to get the data.
I did some quick tests to test how fast I could pull the documents out. The largest took about 24 seconds. The 1 meg documents are sub-second.
Here is how the 212 meg doc breaks down:
Time to load datatable: 18.79 seconds
Time to load byte array: 3.84 seconds
Time to Write and open document: 0.01 seconds
If I access the file from a file server, the time is 0.04 seconds to begin showing the document.
As you can see, the longest time period is related to retrieving the data from SQL, and it is much slower that launching it from disk across the network. (note: the sql server and file server used to test are next to each other).
My question is, how can I speed up the access from SQL Server? I believe the keys are "partition aligned". Any suggestions would be appreciated.
I will add the table definitions and partition information as a reply since only 5000 chars are allowed in the post.
View 12 Replies
View Related
Dec 14, 2006
This may be a stupid question but I'll throw it out here, is it possible to use sql 2005 to split up pdf files into individual files by a field on the form or an index?
Thanks.
View 1 Replies
View Related
Mar 28, 2008
We have a document library that we display on report manager. When we open a pdf document there is a print icon, but when we open an Excel document or a Word document, there is no ablility to print. The user must save the document locally and then reopen it to print from Word or Excel. Is there a setting somewhere that can be set to enable printing on the Excel and Word docs?
View 3 Replies
View Related
Sep 26, 2007
I cannot attach mdf files which i have substituted and reloaded sQl 2000 and 2005 after formatting my pc both of the sales gives errormdfs which i formatted and attached without any problem, now make a fussi thought that there may be problems with my files and i attached from my elder substitutes or from any other sample which i had downloaded from net, but still i have the same warningi have formatted my pc several times and tested themfor instance i tried to load only the sQl 2000 and to attach the mdfs which i have generated with sQl2000in case there is a superposition but i still have the same warningdo you have any idea ??the error message is below;TITLE: Microsoft SQL Server Management Studio------------------------------
Attach database failed for Server 'ASUS'. (Microsoft.SqlServer.Smo)
------------------------------ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
Could not find row in sysindexes for database ID 8, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes.Could not open new database 'yorumlat'. CREATE DATABASE is aborted. (Microsoft SQL Server, Error: 602)
View 3 Replies
View Related
Oct 12, 2007
Is there any way to attach a SQL DB to SQL Server 2005 using VB.Net? If so can you also set security?
View 3 Replies
View Related
Jan 29, 2008
hi. i've got database include cities of my country and i want to attach it. but sql server enterprice manager give me error where belov. how can i solve this problem
View 2 Replies
View Related
May 27, 2015
I have .mdf and .ldf file but .ldf was damaged when I try to attach this data base with out .ldf with this 3 method:
------method1
USE [master]
GO
CREATE DATABASE [eOrganization] ON
(FILENAME = N'E:FarzinDatabaseeOrganization.mdf')
FOR ATTACH_REBUILD_LOG
GO
-----method2
USE [master]
GO
CREATE DATABASE [eOrganization] ON
( FILENAME = N'E:FarzinDatabaseeOrganization.mdf' )
FOR ATTACH
GO
--------method3
USE [master]
GO
-- Method 1: I use this method
EXEC sp_attach_single_file_db @dbname='eOrganization',
@physname=N'E:FarzinDatabaseeOrganization.mdf'
GO
I got this errors:
Msg 1813, Level 16, State 2, Line 1
Could not open new database 'eOrganization'. CREATE DATABASE is aborted.
Msg 1813, Level 16, State 2, Line 1
Could not open new database 'eOrganization'. CREATE DATABASE is aborted.
Msg 3456, Level 21, State 1, Line 1
Could not redo log record (150978:161:48), for transaction ID (0:12118066), on page (1:94206), database 'eOrganization' (database ID 5). Page: LSN = (150974:24:3), type = 1. Log: OpCode = 2, context 1, PrevPageLSN: (150976:147:3). Restore from a backup of the database, or repair the database.
Msg 3313, Level 21, State 2, Line 1
During redoing of a logged operation in database 'eOrganization', an error occurred at log record ID (150978:161:48). Typically, the specific failure is previously logged as an error in the Windows Event Log service. Restore the database from a full backup, or repair the database.
I don't have any back up from this data base and I have to attach this .mdf.
View 3 Replies
View Related
Oct 8, 2007
hi,
i have a mdf database file and this file is created on sql server 2005. but i have sql server 2000 so i cant attach this file on my server and i need to see inside of this file urgnetly. Is there any other way of opening this file or is there anybody who use sql server 2005 could help me to open this file and export it somewhere else for me...
thanks for your concern..
have a good day..
View 2 Replies
View Related
Jul 2, 2007
Hi
I have created a test enviroment, by installing SQL server express and SSRS on my laptop.
I also have a production server, and i am trying to make a copy of one of its database and linked it to my test server.
How do i do it?
Thanks
View 3 Replies
View Related
Apr 4, 2006
Hi
I'm trying to attach a local mdf file to a remote Sql Server 2005 using Sql Server Management Studio. When I click add I can only browse what seems to be drive c of the server. How can I attach a mdf file from my local machine to a remote server?
Thanks!
Rudi
View 3 Replies
View Related
Jul 2, 2007
Hi
I have created a test enviroment on my laptop where i have installed SQL server Experss and SSRS.
I already have one production server, and I would like to have a copy of one of its databases linked to my test Server.
How do I do that??
Thansk
View 1 Replies
View Related
Apr 11, 2007
Hi,
I have the requirements to add the attachment, so i am saving the documents in sqlserver.
now i am facing the problem with openning the document.
can any body suggest me how to open the documents which are stored in sql server
View 4 Replies
View Related
Jun 1, 2001
Is it possible to bring the entire contentsof a Word document into text filed, in order to be able to use full-text indexing?
View 3 Replies
View Related
Oct 22, 1999
I need a help with respect to the storage of documents in SQL server. Is it possible to store Word documents in SQL Server straight away ? If yes, what is the data type that is supported for this kind of storage.
How do I read the data , store it & render it ( using both ado & Just TSQL)
Thanks,
Meera
View 1 Replies
View Related
Aug 22, 2007
Hi,
I was wondering if I can save documents e.g. pdf, word, excel or anyother format in sql2005.
If yes what datatype should I use and what would be the best way to go about it.
Thanks in advance
View 4 Replies
View Related
May 27, 2008
Hi all,
I need to migrate some documents(in GB's) from FTP Server1 with meta data information in SQLdbA to FTP Server2 with meta data information in SQLdbB. How can we achieve this?
Am new to this concept and got information that we can use FTP task. But unable to proceed how to achieve this. Please help me.
View 2 Replies
View Related
Oct 29, 2007
I have done this many times in the past but now I am seeing a error when I try to move my db from my local machine to the server and try to re attach it. The error I am receiving is:
TITLE: Microsoft SQL Server Management Studio Express------------------------------ Failed to retrieve data for this request. (Microsoft.SqlServer.Express.SmoEnum) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476 ------------------------------ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo) ------------------------------ CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataCuddleUpCabinRentals.mdf'. (Microsoft SQL Server, Error: 5123) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.2047&EvtSrc=MSSQLServer&EvtID=5123&LinkId=20476 ------------------------------BUTTONS: OK
------------------------------
When I right click the files and check their permissions I am noticing when its moved to the server it adds a few new ones and I can't make changes to them or anyting else. That is the only difference I am seeing from the ones I did earlier this week and now with the ones that are not working. I can't find anything in sql on what might cause this so any direction would be great.
ThanksRusty
View 4 Replies
View Related
Mar 21, 2002
What problems could be invoked by stopping SQL Server and copying a user databases data and log files and pasting these files over existing files on another machine.
Ex:
MyDB on Server1
MyDB on Server2
Stop SQL Server Server1 and Server2
Copy Server1.MyDB files
Over write Server2.MyDB files
Start SQL Server Server1 and Server2
Make sense. This scenerio seems to work but wonder what side affects could result.
Any comments would be helpful!!
View 1 Replies
View Related
Nov 28, 2007
Hi
I am very inexperienced with the Administration side of SQL Server 2005.
I have been given a .bak file which I need to restore onto my SQL Server. The database .bak file was created on another PC and I cannot seem to restore/recover the .bak file onto my SQL Server.
Can anybody help me with this?
Thanks!!
View 4 Replies
View Related
Jun 3, 2007
Hi,
Had a little research on the previous postings on this issue to attach Adventureworks, but could not fix my one! Need help. Here is my situation:
1. Tried to follow the article: http://msdn2.microsoft.com/en-us/library/ms310325.aspx, with no luck.
Get this error message
"Msg 1813, Level 16, State 2, Line 1
Could not open new database 'AdventureWorks'. CREATE DATABASE is aborted.
Msg 602, Level 21, State 50, Line 1
Could not find row in sysindexes for database ID 11, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes."
a. Ran the DBCC CheckTable on SysIndexes, but same result
2. Also tried to attach a new database from the Management Studio, but get the same error.
3. I have installed AdventureWorksDB.msi downloading from MS site and .mdf and .ldf files are in the right path as article on step 1 says.
Can anyone please suggest me what am I doing worng?
Looking forward for help!!
Thanks,
Roz
View 2 Replies
View Related
Nov 17, 2007
Dear All,
We have a DB on sql server 2000 64 bit and the build is 2187.
The database consisted of two transaction log files and several data files at the time we took backup. However, the backup taken was a cold backup (backup of files through OS). In this backupset, one transaction log file was skipped due to some error...... Now I want to restore the database for referring to some history data. Will I be able to attach the database with all MDF and one of the transaction log files.??
I heard this kind of recovery is not possible. If anybody can post some solution , I would be grateful...!!
Regards,
Chetan
View 2 Replies
View Related
Dec 25, 2006
Hi,
My last post was terminated without the error message. To recap, I am unable to re-attach a database to a SQL server 2000 server after I detached it and attached it to a 2005 Server. When I detached it from the 2005 server and tried to re-attach it to the 2000 server I got the following error message:
" Error 5123: CREATE FILE encountered operating system error 5(Access denied) while attempting to create the physical file ..."
I tried using both the 2005 Server Management Studio and the 2000 Enterprise manager to do the re-attachement but got the same error message.
Any ideas on how I can reattach the files?
Thanks for your help.
Ken McLean
View 1 Replies
View Related
Dec 2, 1999
Is it possible to have a word document as a datatype? I am attempting to create a searchable SQL 7 database of approximately 5000 resumes, adding anywhere from 10-100 every day (we are a recruiting/consulting firm).
I know index server is an easier way to do this, but my managers are against it for unknown reasons.
Other ideas are also welcome...
Thanks in advance,
Kevin
View 1 Replies
View Related
Jun 8, 2006
I am developing a resume storage system, and don't know the best way to store the resumes that come in to our company in both MS Word and text files. Should I store the files in the original format they come in, and reference the file name in the databse that points to a directory where they are stored, or should I store the text of the resumes directy in the database. There are 2 things that I must follow.
1: I need to have the documents keep their formatting.
2: I also need the capibility of conducting a full text search to pull out key words from the documents.
What is the best way?
View 1 Replies
View Related