I used to do this by using win remote-desktop to windows server 2003, but since the administrator's password had changed (for security reason), I can do that anymore.
The sys.Admin allow me to make changes in server room but I dont want them watching what I am doing, I may want to add some table, some field depend what users demand. what I have in my notebook is SQL2000 personal edition which cannot modify table's structure.
I am trying to use the Import Wizard to setup a daily job to import new records based on an ID field (PK). The source database is remote and a replica. I am inserting new records to update my table called the same thing. Both are SQL Native Client
Code Snippet select * from [CommWireless].[dbo].[iQclerk_SaleInvoicesAndProducts] as S1 join [IQ_REPLICA].[dbo].[iQclerk_SaleInvoicesAndProducts] as S2 on S1.SaleInvoiceID = S2.SaleInvoiceID where S1.SaleInvoiceID > S2.SaleInvoiceID
When I parse the query, I keep getting an error message.
Deferred prepare could not be completed. Statement(s) could not be prepared. Invalid object name 'IQ_REPLICA.dbo.iQ_SaleInvoicesAndProducts'. (Microsoft SQL Native Client)
Anyone know an easy why to get this to work? Or should I add a create table to verify new records?
I've used the ADS sample program and it works well. I looked at the code and changed it to VB (sorry, I'm not biligual yet), and have tried to 'adjust' it so I can connect to a remote PC (XP running IIS) instead of the local PC using the workgroup information database (system.mdw). Any ideas of the connection string that could make the connection?..my intention is to RDA once a week between a mobile device (3g/gsm) and a 'poor man's' IIS web server. I've tried everything I can think of, and I'm sure its possible since all I'm doing is changing the connection path.
How can I connect to a remote database, based on Microsoft sql server? Is there any article that can help? I have read few over the net, but not working for me yet
I am using SQL Server 2000 database in my VB.Net project. My VB.net application is installed one two machines in different cities i.e. there are two separate databases. First machine's IP address is say 202.33.44.55 and other machine IP address is say 203.33.55.66. Now I want to use each others databases i.e. I want to set their database group. So that in my VB.Net's application which is installed on 202.33.44.55 I could see data of the 203.33.55.66 by just changing the connection string
Hi can anybody know how to connect remote database with asp.net application? Actually my database is in different machine (in different server, different location) so i want to connect that server. Every time I'm getting the fallowing message
An error has occured while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. Thank you, Nagu
hi all, I have a remote(online) database of my web portal. I want to take backup of that remote(online) database to my local machne. This is SQL Server 2005 database. Please tell me how I take backup of my database?
My database stays in a remote site and I have access it through VPN. I would like connect my current Windows based Asp.Net application with this database. What are my options? Can I connect remote database with SqlDataAdaper, will that be slow? Should I sue Web Services to connect database?
Hi to all: I always had a problem connecting to SQL Server from home using EM. I do add a new server registration, but i always get the following exception:
A Connection could not be established to IP ADDRESS Reason: SQL Server does not exist or access denied. ConnectionOpen(Connect()) At the same time, I do use a utility, found at http://sql.bhaidar.net to connect to the same database and works perfect. Is there any configuration I should do to my pc, don't know maybe some port configuration or so, to allow EM to connect to those remote databases? Thanks in advance. Regards
I have a need to connect to a remote (i.e. database on the clients site) SQL Server database from a live application. It is relatively easy under Oracle, but I havent tried to do to an SQL Server. Has anyone done this? The remote SQL Server database in question is 6.5 You can set up odbc connections to remote clients (99% sure on this) so you could go this way. You can also connect directly to a sql box through an IP address in sql7, but I am not too sure how it is with 6.5.
I got a problem when I tried to backup SQL 7.0 database to a remote location. The situation isthat I have two SQL Servers (both are SQL Server 7), They are in the same domain, but in two different NT servers mechines. When I create a new backup device, I can only see the local partitions.
I tried to use T-SQL to create the backup device. It can create it, but when I tried to use it, I got a error message, saying the disk not exist.
I thought that might have something to do with disk sharing, but not sure. Can any of you give me some advice on how I can access the remote partitions from SQL's Enterprise Manager? Thank you very much!
We have 2 Windows server installed . A installed with Windows 2000 server with SQL server 2000 and B is installed with only Windows 2003.
We setup the SQL database on Windows 2003 using a control panel and the database will be setup remotely on the Windows 2000 server.
Is it possible so that the SQL database file to be placed locally on Windows 2003 server instead on the Windows 2000 server which has the SQL 2000 server installed?
Hi, We are using SQL-Server (2005) for the first time and have developed an app that uses 2 dozen tables and a bunch of SP, triggers, etc. How do we get our entities to our client site without a lot of copying and pasting? How about the data we want to upload for lookup tables - how would we get the data there? Moreover, how do we sync stored procedures with the live database as we make changes during development? Thanks, Mark
Hi, I´m new on this forum, I just need help to solve or avoid better saying attacks to a SQL Server 2005 database. I ´ve had some intruders on my database, changing some data on 2 tables. the information there is too important. But i need to know how can i get all the remote address that make some masive updates on my DB. I´ve make some triggers to avoid that, but those peaoples have reach modify data. I think is some user on the same VPN.
Help me please what can i do to get the ip address.
Hello,First, sorry for my bad English.Here is my problem:BoxA: XPpro + Apache + php (using php_mssql.php)+ ADOdb + MS SQL Server+ My_Prog (using local MS SQL PUBS database)BoxB: NT4 + Apache + php (using php_mssql.php)+ ADOdb + My_Prog (usingremote BoxA PUBS database)BoxC: W2KMy_Prog uses:$serveur = '10.0.0.1'; BoxA's IP address$admin_nom = 'sa';$admin_mdp = '';$base = 'PUBS';$conn = &ADONewConnection($sgbd);$conn->debug = true;$a = $conn->Connect ($serveur,$admin_nom,$admin_mdp,$base);From BoxC, using IE, connecting to:- BoxA My_Prog : I access PUBS, that's OK- BoxB My_prog : "Warning: mssql_connect(): message: Echec de laconnexion de l'utilisateur 'sa'. Raison : Non associé à une connexionsécurisée SQL Server. (severity 14) in ...adodb-mssql.inc.php on line438." (I prefer to report the "French" message)Anyone knows about ?Thanks in advance,Eric
I just installed the 90 day VS2005 Professional Edition - prior to this I was using VS2005 Beta 2 -
I have a database on a remote server that I have been using in VS2005 Beta 2 with no problems - In VS2005 Beta 2 I succesfully ran aspnet_regsql against this database and set up connection strings in the Web.config file and everything ran fine.
Now after installing VS2005 ( I re-installed Windows XP Pro to make it a clean install - this has not been a short process ) anyway the same projects are not working in VS2005 90 day edition
I get the error An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
I tried enabling TCP/IP and named pipes in the server manager but no luck
I have a remote SQLExpress instance running. I can connect to its databases with the SQL Server Management Studio Express and Visualstudio (Datasources) on a remote system and on a local system.
But as soon as I try to run or debug a vb application a system security error apears.
I am trying to conect to a remote database using SQL Management Studio Express from inside a LAN but get an error message indicating that the server does not accept remote connections. However, I can connect with no problems from outside our LAN. I am looking for suggestions on how to resolve this issue
I've been reading the threads about using a mdf on a remote machine.
I've enabled TCP/IP and started the browser service as well as adding sqlserver.exe and sqlbrowser.exe to the firewall exception list.
I'm still unable to create/connect to a mdf using the data source wizard and that seems in line with the threads I've read.
I've found examples on how to write the connection code in my program but I'm still unsure about a couple things.
If I create the mdf on my local machine and then copy it to the remote machine, does sql server express have to be installed on the remote machine or just the local machine? It seems like just having the mdf on the remote machine would mean that for multiple users to access the mdf, there would be several copies of sql server trying to manage the mdf or do I misunderstand what is going on here?
I am running the SQL express advanced on the same PC that also hosts my Visual Basic Express application. I have user instances turned off and full-text enabled and working from within a SQL query window. However, I can not create a working connection to the database using the data source wizard from the server explorer within VB.NET. Since this is on the same PC, do I need to enable anything other than shared memory? I get the error: Provider SQL Network Interfaces, error 26 Error locating server/instance.
Hi, I'm using "Microsoft SQL Server Database Publishing Wizard" to import and create database on a remote server. Is there a convenient tool to update SQL database on a remote server to match with database that I have on my computer?
I use SQL 2005 Database in my ASP.Net 2.0 site, I have to require admin backup db for me every time, I hope to I can backup by myself , how can I do? You know Microsoft SQL Server Database Publishing Wizard can restore DB easily! Many thanks!
Here is my environment and problem: I have VWD 2005 and SSE 2005 installed on my local machine. I also have these installed on my Windows 2003 Server. I developed my database using SSE on my local machine but pointing to directory on my server. I have been developing the web app using VWD on my server. I now want to use VWD on my local machine and point to the project on my server. I am able to open the project. In order to access the database in the "Database Explorer" I use as my "Data Source", "MS SQL Server (SQL Client) and it attaches fine and I can see my tables and data. Now for my problem: When I try to run the application "VIew in Browser", which login.aspx page is my first page, I get the page, but it doesn't inherit my master page which has the basic navigation and layout. Then after I try to login I get this message. The file "W:BBAppApp_DataTimeTracker.mdf" is on a network path that is not supported for database files.An attempt to attach an auto-named database for file W:BBAppApp_DataTimeTracker.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. Here is a portion of my web.config file for the connection string.<connectionStrings> <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="Data Source=.SQLExpress;Integrated Security=true;AttachDBFilename=|DataDirectory|TimeTracker.mdf;User Instance=true" /> My website I started with the source code for the TimeTracker start kit and have added more pages and changed the sitemap. In general I guess I need to know how to handle using VWD on my local machine, but accessing the project on the server. The reason I'm doing this is because my colleague needs to be able to access the web app too to add pages to the site. Thank you for any help.
HI I have installed VS 2005 with that SQL express edition came default and i then installde SQL server Enterprise Edition .....There i created database and tables and other my colleagues are not able to connect to the Database from there System...........I am using This on XP.......Is it possible to access databse from other remote systems .....IF yes What is the procedure to connect from my other computer to my database which is on XP not any Server OS..
I have my normal SQL 2005 database....and another database (on the same machine) that is the default aspnet database. I use that for authentication of course. Everything is working well except now I need to (for a SP I'm creating) access the UserID field in the Users table (without the customer logged in). I know this isn't the best way to do it but....Can someone tell me how to programatically (from an existing SP) access the aspnet database? So I can just check something against the UserID (providerkey) I already have? The customer isn't logged in at this point. I have their UserID from somewhere else. Here is what I am trying to use now. IT Works in Query Manager but throws an error (...in this security context) when I run it in ASP.NET...SELECT @UserName=(select UserName from [aspnetdb].dbo.aspnet_Users where UserID=@UserID) Thanks.
I've downloaded a copy of Microsoft SQL Server Management Studio Express from MS. Can this product be used to query an SQL database at a web site. Conversely, is there a command line utility for running SELECT statement queries on my remote web site database?
I have a database on my web hosting site. It is a sql server 2005 database that was created in sql server management studio express. I can access this database in code using a connection string and do things like show results on my page. However I now want to do things like delete certain records, or update stored procedure criteria, usually I would do this by running sql in management studio but as my database is now online with the hosting company how would I do this?
Is there any tool that will allow me to create a script for creating a database with all its objects like triggers, indexes, relationships etc. and also populating the tables with data ? So far I haven't found any.
I have a database on my local system and I use Sql Server 2005 express. Now I need to upload the database in the hosting server. I have tried Management Studio Express.
I have an sql 7.0 server. I need to run a query on a remote oracle server then take that output and inner join it with another table on the remote oracle server... then I need to put it a table in a database on my sql server... Anyone know how to do it? Help would be greatly appreciated...