SqlserverExpress With External E-sata Drive???
Mar 7, 2008
If I have a sqlserver express database (very simple, 3 tables) where I have installed sqlserver express on my main internal "C" drive but changed the data files location to an external fast E-sata drive, my question is whether I can use an identical computer with an identical copy of sqlserver express installed, and the database tables etc set up the same, to access and use the same data as the first, assuming of course that I disconnect the e-sata drive from the first computer and plug it in to the second one??? Will this work?? Im trying to quickly get a small but critical data aquisition system back up with minimal loss of time and data if the first computer fails. O.S. is windows xp.
Thanks
View 3 Replies
ADVERTISEMENT
Feb 14, 2006
I have a guy who wants me to move his databases to an external drive. Hardware is my major weakness and I usually think I am McGyver when I can swap out a RAM board in my home PC. Whenever guys in the office start talking hardware, I go hide in the bathroom.
I know I have read that this is a very bad idea in some book and a few message board threads. This guy is going to use SCSI and it is going to be attached to the same controller as his other disks. I know he should have a battery backup for the drive especially if it employs write caching and that it should be formatted to NTFS and not FAT32.
I googled echnettedBOLedMSDNed this for 2 hours yesterday because I remember reading something about disc controllers and external drives and SQL Server being a recipe for disaster but I could not find anything to back me up.
Any words of wisdom or advice?
View 2 Replies
View Related
Apr 9, 2007
I need to create a SQL server database and add some tables to it. Then access it with a C# application. The problem is that the new SQL server database and it's tables must reside on an external hard drive. How do I point SQL server to this external drive, so that I can create a database on this drive and then create tables and access data on it?
View 7 Replies
View Related
Jan 8, 2008
I'm a long time user of sQL Server just getting started with SQL Server Express 2005 and I'm alittle confused about how to tell the difference between a SQL Server DB and an Express DB. I understand they both appear in SS Management Sudio. Actually I'm trying to create my first SQL Server Express database, and I'm not seeing any switches in the Create Database statement for specifying an Express database. Is there no difference between a regular and Express datbase?
View 2 Replies
View Related
Mar 12, 2008
Hello !
I have installed msde2000A , but wanted to use Adventure Works database for which I am trying to install sql server express edition 2005 ,
But I want to install it w/o removing earlier msde2000A .
Is it possible.. I was guessing I could install 2 instances .
1st of mase200A and 2nd that of sql express edition 2005.
If it is poss , how to do that ? any other particular procedure / or normal install procedure .
Any one can help ?
Thanks
Bobo
View 2 Replies
View Related
Jun 9, 2006
I have Visual Studio 2005 standard installed and want to add SQL server managment studio can I just install the extras pack or do I need to re-install SQL server express with the advanced options.
Thanks Paul
View 1 Replies
View Related
Mar 2, 2007
hello, i´d like to work with (first learn) all features of the SQL Server Express Advanced Service and Visual Basic 2005 (incl. Connect SQL Server databases from Visual Studio/ VB2005). Before I´ll make a mistake with the install (the numerous versions make me confused) I´d like to ask you which is the correct way to install both:
1) Should I first install SQLServer Express Advanced Service and then Visual Studio (Visual Basic without SQLServerExpress - if it´s possible switch off this compound) ??
or
2) Install Visual Studio Express (I´ve got the DVD from Microsoft) with (or without ?) the SQLServerExpress Edition and then upgrade to the SQLServer Express Advanced Service by starting the SSE Advanced-Service setup-file ??
thank you very much in advance
View 5 Replies
View Related
Apr 4, 2008
Hi
I have been trying to use openrowset with a shared drive, and even though the share has "full control" permissions granted to "everyone" and the accout that SQL runs under has been granted explicit full control permissions I am unable to open the file which itself has no security on it.
Can I not use a \ path and only use mapped drives?
Thanks
below works...
SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;Database=C:5People.xls', [Sheet1$])
below doesn't work...
SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;Database=\cluster02FileManager5People.xls', [Sheet1$])
View 3 Replies
View Related
Nov 9, 2000
I am trying to move a log file from one drive to another.
What I have done is add another file to my file group. So now my log has a file on the 'e' drive and one on the 'f' drive. I now want to remove the file on the 'e' drive. I have emptied the file on the 'e' drive. When doing the command:
ALTER DATABASE Uniprodruntime
REMOVE FILE m_rk_runtime_log
I get the following error message..
Server: Msg 5020, Level 16, State 1, Line 1
The primary data or log file cannot be removed from a database.
I have also gone into enterprise manager and tried to delete the file and it does nothing.
Has anyone run into this?
View 2 Replies
View Related
Feb 12, 2007
How do you compare SAN drive vs local drive on a 32 bit server?
Is it good idea to move my DB files to a SAN instead of local?
Canada DBA
View 4 Replies
View Related
Nov 28, 2015
Server: SQL 2008 R2
 1: TempDB keeps getting filled.  Restart of the server has not fixed it. I shrink it, but the space gets filled again. Now I can't even shrink it anymore
2: TempDB is at the wrong location. Its current location is this :C:Program FilesMicrosoft SQL ServerMSSQL10_50.SQLPROD6MSSQLDATA empdb
How do I change its location?Â
C:Program FilesMicrosoft SQL ServerMSSQL10_50.SQLPROD6MSSQLDATA empdb
Correct location of TempDB should be: TempDB(T:) But its not there
View 13 Replies
View Related
Jan 31, 2008
Being a very novice SQL Server administrator, I need to ask the experts a question.
How do I go about moving a database from 1 drive to another? The source drive (C is local to the server, but the target drive (E is on a Storage Area Network (SAN), although it is still a local drive for the server. I want to move the database from C: to E:. Can someone provide me with instructions?
Thanks,
Rick
View 4 Replies
View Related
Jan 16, 2015
How to backup half of dbs from a server on C drive and the other half on D drive and vice versa, first half on D drive and other half On C drive using only one job and one stored procedure??
Using scheduling from job add 2 schedules to the job so first schedule backup first half to C and second half to D , the second schedule backup first half to D and second half to D.
View 1 Replies
View Related
Jan 10, 2008
I'm trying to develop an application for a friend, who has his own server and SQL 2005 setup on it Is it possible to add a connection to an externally hosted SQL Database using VWD2008? I have a login and password for it, I just don't know where I set the IP address to connect to and the name of the DB etc...?Any help greatly appreciated.
View 3 Replies
View Related
Oct 17, 2005
hi,am working with my friend so we need to use the same DB ..how can i get him DB and insert it in mine to use it.i 've try to copy it and paste in C:Program FilesMicrosoft SQL ServerMSSQLData then try to connect it by New connection bt it doesn't workNote:am working n Web Matrix ProjectRegards,
View 3 Replies
View Related
Mar 25, 2001
For every one
Visual basic permit use shell command to execute any file
shell "c:programs Filesword.exe
How could I make it in SQLServer 7.0
Sincerely.
Fain Boris.
View 2 Replies
View Related
Feb 20, 2007
have setup SQL 6.5 on a machine. I have verified that port 1433 is opened for SQL. I am also using a router dell 2300. I am running Windows XP.
I have set up my machine to port forward and have setup a static ip 192.168.2.136 nothing I do seems to work.
I can connect to the server by name
ex:
MyStr = "Provider=sqloledb;Data Source=MYSQLPC,1433;Network Library=DBMSSOCN;Initial Catalog=master;User ID=myusername;Password=password;"
Conn.open MyStr
I can also connect using internal IP address
ex:
MyStr = "Provider=sqloledb;Data Source=192.168.2.136,1433;Network Library=DBMSSOCN;Initial Catalog=master;User ID=username;Password=password;"
Conn.open MyStr
but when I try to connect to the external IP 12.xxx.xxx.xxx
I get the dreaded sql does not exist error.
I can register the server by external ip. When I try to start the server I get an (RPC server unavailable) error.
I can ping the external ip.
I can telnet 192.168.2.136 1433 without error
I can connect though security manager using 12.xxx.xx.xx
I can't telnet 12.xxx.xx.xx.
I think its router but I do not know what I'm missing. I have static ip 192.68.136 set up.
Router Port Forward Settings
Service Enabled In Port Dest Addy Dest Port Type
MSSQLSER Y 1433-1434 192.168.2.136 1433-1433 TCP
MSSQLSER Y 1434-1434 192.168.2.136 1434-1434 UDP
I have also read that some ISP's block port 1433 due to the worm problem. So I changed the listining port from 1433 to 1971. I am still able to connect using this new port with local ip or local name. I still cannot connect to external IP. (I did change router setting to reflect new port forward to 1971)
I am not sure what I missing.
Thanks in advance for any help
Chris
View 1 Replies
View Related
Jul 23, 2005
Hello,I want to access my database server from the internet. I've created a ruleon my router to redirect port 1433 to the desired machine, but still get aServer does not exist, or access denied message. When I change the(external) ip to the local IP address, connection succeeds. Is thereanything i need to change within SQL Server to allow external (internet)access?
View 2 Replies
View Related
Jan 15, 2008
Can I include an external file (html) in report's definition? Like a subreport, and expecting show the file content...
thanks
View 5 Replies
View Related
Oct 15, 2007
Hi Experts,
I am looking for some guidance on the following CE based project. The project would mean placing a program on multiple appliances (either PDA mrtphone) which would then periodically connect onto a SQL 2005 server and both read and right to a table on the server. This would mean multiple connections to the server.
I have read various articles which discuss the use of SQL_ce to achieve this but SQL_ce is a single user application. Is it possible to achieve this objective by publishing a share of the SQL 2005 database tables to an internet share folder to allow multiple external connections? Also if it is possible can I test the application on a windows XP platform?
Thanks in advance,
Joe
View 1 Replies
View Related
Sep 12, 2005
I know that the BI studio can build a nice flow document that is associated with the package. Is there an easy way to build a series fo documents that can be shared with other users without having them go into Visual Studio?
View 15 Replies
View Related
Jul 13, 2007
Hello,First, I tried to find the answet to this question, but no luck - so I decided to post it.
When I was creating my applications in asp.net - for the first time I decided to start using external DataSets. I think they are great and work very nice!But once I pushed the application to GoDaddy, I got an error of this nature:I was trying to access the exterbal dataSet like this:Dim productsAdapter As New NorthwindTableAdapters.ProductsTableAdapter()
Dim products as Northwind.ProductsDataTable...And got an error saying that it couldn't find this type (but it worked fine on my local machine in visual studio).So did I miss something that prevented this application working on GoDaddy? or there are some limitations on GoDaddy? ...or something else.Thank you for looking into this for me.Valera
View 7 Replies
View Related
Mar 12, 2004
Hello.
I'm making an application that uses MS SQL as a database engine.
However, I need to read some data found in a DBISAM database.
Can anyone help me how to do this?
I'm trying to use BULK INSERT, but it seems that all the fieldterminators, or rowterminators that i'm trying are not working.
Please help me this is very urgent
View 5 Replies
View Related
Dec 14, 2001
How can I read one external file (*.txt,*.csv) through
stored procedure in MS Sql Server 2000 ?
On the database Interbase its very simple :
[CREATE TABLE table [EXTERNAL [FILE] ’ <filespec>’]
( <col_def> [, <col_def> | <tconstraint> …]);
EXTERNAL [FILE]“<filespec>
” Declares that data for the table under creation resides
in a table or file outside the database;
<filespec> is the complete file specification of the
external file or table]
Please advice
Thanks
Patricio
View 1 Replies
View Related
Jun 9, 2004
Hi,
I have been developing an app using SQL Server 2000 and am ready to transfer to a server located offsite. How can I connect to this server through enterprise manager or anything else so that I can use the copydatabase wizard to move it to the live server?
Thanks
Wheelz
View 4 Replies
View Related
Jan 29, 2004
Hi everyone,
I have a problem with my MS SQL Server 2000 (SP2). My task is to restore a backup from a database on another computer.
The server makes a backup everyday. If this server gets a hardware problem there must be a chance to replace it by another server which is made by the backup files.
In this scenario I don't have the possibility to copy the whole folder of the old server.
Is it possible to restore the bakup so that the new server looks like the old one?
Thanks for every response.
View 2 Replies
View Related
May 7, 2004
Hi I am a complete sql newbie :)
With that being said I am trying for the life of me to link to a table in another sql database.
For some reason its not letting me link the table instead it is creating a query of the table.
I used the Access upsizing wizard and the access front end.
*grumbles - just wish I could find the upgrading handbook that tells you if you used to do it this way now do it this way*
Thanks
Sara
View 1 Replies
View Related
May 19, 2004
Hi,
Is there a stored proc or a function I can call from Query Analyzer to execute another .EXE and return when it's finished?
I'd like something like
SET @RET = sp_CallEXE('c:mypathmyprogram.exe myparameters')
(Except for the name of the function, there should be something that does this right? I mean, DTS does it already so it must be referring to a function or a SP.)
I want an answer to so that I can validate that everything went well (hence the @RET variable)
Thanks,
Skip.
View 1 Replies
View Related
Jan 24, 2007
Hi all... Very much a newbie here to setting up SQL server, and am pulling my hair out over a problem...
I have a VPS running Win2003 64bit and have setup my ASP forum on it (I also have SQLExpress 2005 installed on the VPS) - I have a SQL DataBase running on an external server which my old host setup for me and the old forum has been using... Now all I want to do is for my ASP forum on my server to connect to this external SQL DB... How easy!? Well not for me ..
This is the error
Microsoft OLE DB Provider for SQL Server
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied
I know its my VPS causing the problem, as I asked a friend to see if he could connect to it via his server and the forum worked straight off no changes...
After some investigating I have found a few threads about advice but still cannot get it to connect to the external SQL DB (BTW I can connect to a SQL DB on my server its just externally)... This is what I have done / Checked so far..
1. I have changed the connection string to include the port number 1433
(Provider=sqloledb;Data Source=THEIPADDRESS,1433;Initial Catalog=DB;User ID=xxxxx;Password=xxxx;)
2. I can ping the IP address of the external SQL Server with no problems
3. On my server I have enabled TCP/IP in SQLExpress & added sqlservr.exe as an exception in the Firewall
4. I have even tried turning the Firewall off completely while I tried to connect - But still nothing.
If anyone can help me I would be very appreciated.... I am starting to tear my hair out as I can't think what else I need to do???
Thanks
View 1 Replies
View Related
May 11, 2007
Hi,
I have two servers, namely ServerA and ServerB. These two servers are on the same subnet. ServerB has a database called DatabaseB.
I'm logged in in ServerA and trying to pull data from DatabaseB.
This is the query I do when I'm logged in in ServerB (note im using Microsoft SQL Server Management Studio):
USE DatabaseB
SELECT distinct b.Subject
FROM dbo.F_Class_Exam a
LEFT OUTER JOIN dbo.D_Course_Catalog b
ON a.Course_ID = b.Course_ID
WHERE a.Term = '2071' AND a.Class_Exam_Type = 'FIN' AND b.Term = '2071'
ORDER BY b.Subject
How would I do this same query on ServerA? Ideas? Thoughts?
Thanks,
Mikhial
View 7 Replies
View Related
Aug 21, 2007
I am getting the error
Unable to open the physical file "E:Navision SqlDataForentaSQL_Data.mdf". Operating system error 5: "5(Access is denied.)".
when I try to "attach" to a database located on an external hd. The database files on the external HD were copied from the original server location to the external HD. The file size is 51G+ which is why it is on the external HD.
Can anyone provide me the syntax to do the sp_attach taht will allow me to send the necessary connection string: server, user, pswd etc.
How can I get past this error?
View 1 Replies
View Related
Jan 31, 2008
Hi,
I am trying to print a PDF via a stored procedure in SQL Server 2005 using c#
I first wrote a stand alone version which works perfectly however after porting it into SQL server the program no longer works
Went back to basics and just tried to open notepad from standalone and from within CLR - again works until I put code into SQL Server DB
Trouble is that it seems to run ok - prints lines to console etc... but the notepad application doesnt start up - there are no errors so really struggling to find out why this might be
Anyone have any ideas, had similar issues?? - Only thing I can think of is a permissions/credentials issue of some kind but again dont have any errors???
I have created the dll file and assembly successfully (using unsafe mode)
Thanks in advance
Code sample below:
.
.
.
executable = "notepad.exe";
ProcessStartInfo starter = new ProcessStartInfo(executable, null);
starter.CreateNoWindow = true;
starter.RedirectStandardOutput = true;
starter.UseShellExecute = false;
Process process = new Process();
process.StartInfo = starter;
process.Start();
.
.
.
View 3 Replies
View Related
Aug 16, 2007
Hi!
I've got a real problem with inserting images into report. The problem is that I work with Reporting Services and SharePoint Portal. My employer wants to have CV created dynamically. Information for CV is taken from database under special account with read-only access. And photos of employees can be found with URL
http://corporate-site/Resources/Team/Name_surname.jpg (this string is also generated dynamically). When I preview report on my local machine, everything is Ok, I can see the images. But when deployed the images are not displayed. I have created an Unattended Report Processing Account to get photos. But if I want to use it I must change account for reading data from Data Source (in my case it is SharePointDB.rds) for €œCredentials are not required€?. And after it I can't get the information for CV.
Does someone know how to use one account for database and another one for getting external image? Or maybe there is another solution for this problem?
Thanks.
Yuliya
View 1 Replies
View Related