Standalone Database Application??

Mar 24, 2006

Hey guys,

I'm really new to this so this might look dumb, but I need to know what all has to be done to develop a standalone database application.....The frontend is going to be on VC++...which are the best tools I'll need to use. I need to know if the user has to install the database app to use the program to make this possible......Also will he have to keep it running everytime to use the program.

Thanks a lot for you time and patience,
Dhaval

View 1 Replies


ADVERTISEMENT

Standalone Server 6.5

May 12, 2000

Yesterday I asked question to make a copy of the server but actually I want to make a Standalone server 6.5.
Please Advise.
How to create the DB and How to restore. Even I want to restore master but for restoring master how to start sql server in single user mode. If any body has document please post me.

Thank you very much!!!!!!!!!
Joe

View 1 Replies View Related

Standalone SQL Server Access Via ASP.NET

Jun 27, 2004

I have a need to demonstrate an application I built in ASP.NET with SQL Server as the back-end database. The problem is when I don't have a network connection, I get an exception thrown..."SQL Server does not exist or access denied." This is the connection string I use (via ASP.NET/ADO.NET): "server=localhost; uid=xxxx; pwd=xxxx; database=mydb"
I've tried Query Analyzer and it too, doesn't work - I get an error message that reads: "[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied." However, via SQL Server Enterprise Manager, I can connect and do what I want to the database.
As soon as I connect my laptop to any network, the web application works fine (no errors), as well as the Query Analyzer.

Any insights are greatly appreciated. Thanks.

View 2 Replies View Related

Vbs Script Runs As Standalone, But Not In Dts Or Sql Job

Jun 19, 2001

I have a vbs script to try to prove that I can perform vbs scripting in either a job step or a dts package
The script is

dim rs, sql,adoconn, adocommand, dataconnstring

set adoconn = createObject("ADODB.CONNECTION")
Set rs = CreateObject("ADODB.Recordset")
set adocommand = CreateObject("ADODB.Command")
adoconn.ConnectionString = "Provider=SQLOLEDB;Server=myserver;Database=pubs;U id=myuser;Pwd=mypass;"

adoconn.Open
sql = "select * from import"
rs.Open sql, adoconn,adOpenForwardOnly
while rs.EOF = false
sql = "insert into zz default values"
adocommand.ActiveConnection = adoconn
adocommand.CommandText = sql
adocommand.Execute

rs.MoveNext
wend

rs.Close
adoconn.Close
set adoconn = nothing


However,
when I run this from windows explorer it works fine,
but when I try to run it as an activeX script, I get the error ActiveX scripting: Function not found

As a cmdexec step in a job, I use the line c:inetpubwwwrootvbsvbstest1.vbs
It failed with the error
The process could not be created for step 1 of job 0x119BDBD264AD9B4597A9302786F0E250 (reason: %1 is not a valid Win32 application). The step failed.


What is wrong with the vbs script ?, or do I need to invoke it a different way ?

thanks in advance

View 1 Replies View Related

BCP Slower Standalone Vs. A/P Cluster ???

Aug 24, 2004

I have an issue with the BCP util, it is extremely slow when running a BCP in to the same database on an A/P cluster vs. Standalone system. It is a vendor application, so I have little control as to what I can do. The BCP runs from a jobserver (remote) through the network, but it runs the same way in the standalone system, yet the process is about 10X as slow with the cluster, and the only diff is cluster vs. standalone.

SQLClusterName is specified in -S, not the active node, and it uses a trusted connection, not a local account. Is there anything about a cluster config that would cause the BCP to run slower ?

Any thoughts ??


Thanks,
Paul

View 3 Replies View Related

Logging On Problem On Standalone

Aug 12, 2007

I have installed SQL Server 2005 on my laptop that has Vista OS.
I want to log on only to teach myself. Is there a way that i could use the program without having to set it up on a server.

View 13 Replies View Related

SQl Mobile For Standalone Apps?

Dec 8, 2006

Hello,

i am planning to build Pocket Pc App and i would like to know if i can use Sql Mobile as my data store. The data base design is quite complex.
I wont be using any recplication/synchronization in my app since its a standalone app.
pls suggest.


Thanks
Karthik






View 3 Replies View Related

Compact Edition DVD Standalone

Nov 21, 2006

Is it possible to run SQL Server Compact Edition as a standalone application from a DVD?

i.e. it would not leave anything installed on the users computer after the DVD was ejected.

View 4 Replies View Related

Redudancy For A Standalone SQL Server

May 4, 2006

Here is my Question...

I have 3 server hardware and the whole purpose is to make one as a web server and another one a SQL server. The purpose of the 3rd server is purely a backup server, what that means is, in case if my web server nor my database server fails, I should be able to use the 3rd server as a backup. How do I achive this without using MS cluster service.

I can use NLB for Web, but what about SQL server ??

All I need to know is ,other than MS cluster service, is there any way I can create a backup SQL database server ( secondary database server) in case the primary fails with very minimal down time? I need my secondary ( backup) server up and running when the primary fails. I don't want to use Cluster service because of the cost for storage and license.

Any idea will be welcomed. I could have used the datamirroring option of the 2005 , but this is for a production deployment and is not recomended by microsoft. also, restore the backup from primary and make it work is not welcomed.



Thanks

Plakeezhu.









View 1 Replies View Related

Sql Server Standalone File

Jul 16, 2007

Hi,



I am developing a web project in VS 2005 Professional.

The site will be hosted on a machince that does not have an instance of Sql Server Express. Can I still use the standalone sql database file (.mdf) file? Are there drivers in ASP.NET that allow this or do I have to ask that an instance of either Sql Server or Sql Server Express be installed?



Thanks, Mike

View 11 Replies View Related

Can I Use Sql Server 2005 On My Standalone Laptop

Aug 13, 2007

Can someone please tell me if i can use SQL Server 2005 on my standalone laptop, and how do i connect, i dont know how to set up the password so i can connect

Many thanks Rob

View 15 Replies View Related

Torrid Time Installing SQL EE 2K5 SP2 On Standalone Basis

Feb 21, 2007

I've just spent the most frustrating 4 hours trying to install SP2.

I kept getting "unable to start SQL Server service....see BOL ...re starting the service manually" messages; with the only options being to Retry or Cancel. Retry resulted in the same message. Cancel resulted in all components except SQL (sqlexpress) being installed - therefore totally useless

No mater what I did i could start the SQLservice as it did'nt show in the list of Services; nor did the SQL EE programme show in the Add/Remove Programs...evenn though the other components did.

I deleted/removed everything that was istalled; cleaned up the Registry; and tried again...

..and again

..and again

FIVE install / re-install failures; numerous registry cleanups!!!!

I was at the point where it looked like i'd have to reformat my hard disk, and completely re-install XP, all aplications i.e. Office 2003 etc in order for the thing to work.

I gave it one more shot, but this time, during install

- selected all components except SDK

- I unchecked the Start SQL / BROWSER at startup

- Checked the Enable User Instances and Add to Administrators boxes

Lo and behold....it installed!!!

I'm still very worried as the registry is full of "duplicate" entries i.e. Blah blah blah and blah blah blah.1

But at least the thing is installed.

Would interested to hear if anyone has had similar or other problems with the SP2 install/upgrade

----------------------

For info:

I ran the install as Administrator

IIS not installed

Win XP Sp2 fully updated

Dell Inspiron XPS M1710 laptop with 2gb Ram; 2ghz Duo core processors

View 1 Replies View Related

What Is The Difference Between SQL Server 2005 Installed With .NET And A Standalone One

Aug 19, 2006

Please could anyone tell me what are the real differences between SQL Server 2005 bundled along with Visual Studio.NET and a standalone one.

Thanks in advance.

View 3 Replies View Related

Reporting Services :: Standalone Rdlc With External Dataset And PDF Rendering?

Aug 26, 2015

I need to create a report in SSRS 2015 but I need to bind that report to an external dataset .

 I need it to work with parameters  and stored procedure.

Another issue is that the report is standalone -rdlc.

Can I call the report from a webservice .asmx not wcf and render it automatically in pdf format?

View 6 Replies View Related

Absolute Beginner - How Do I Carry Out A STANDALONE Install Of MSSQL EE 2005

Feb 19, 2007

Help!!!

I want to install SQLExp2K5 with Advanced Services on a standalone basis on my Dell Inspiron XPS laptop (Win XP sp2, .NET 2.0; 2gb RAM; 8mb broadband; hardware firewall/router) so that I can learn SQL/VB/VWD, and want to use SQL E 2K5 without internet connectivity (at least until I know what the hell I'm doing!)

Really confused as to what component(s), and services I should/should not install - so I've listed my questions below:

1. Service Account: As I'm not on / dont have a domain, i presume using a domain user account is not an option for me. Should I use the Local Service account ? If so, what are/can be the issues in doing so?

2. Authentication Mode: Is Windows Authentication the one to use for a standalone install?; how would I enable the "sa" account and set an "sa" password? In fact, do I even need an"sa" account / password for a standalone, non internet connected install?

3. Components at install: Is it OK to install all components first off?

4. IIS: Is it possible to install IIS and not allow it access to the internet (or is this a stupid question -bearing in mind I dont really know what IIS is/does)

5: Business Intelligence Development Suite: How do I add BIDS once (IF) I manage to install SQLExp2K5-Adv.Ser,?

6. SQLExp2K5 Books on-line: Am I right in thinking that I should install this after installing SQLExp2K5?

7: Visual Basic Express/Visual Web Developer Express: Do these need to be configured seperately to work with SQLExp2K5?

Sorry about the length of this post, but have tried to be as clear as possible. Also apologise in advance for silly/stupid questions :)

All help and advice greatly appreciated.

Thanks,

sqlexpressbeginner

View 6 Replies View Related

One Application With 2 DataBase

Aug 6, 2007

Hai All ,
        Iam having the one Application in DotNet2005.But iam using the two database(SqlServer2005).If user's login the application it will check credentials in first database, if he is not having the login credentials it will cheek the second Database. How can I handle in the configuration file?. How can I change the connection string depending upon the Database in my application for database operation (like insert and update).Any one kindly provide the solution.Thanks and regards,sureshK 
 

View 7 Replies View Related

How Asp.net Application Communicates With MS SQL Database

Jun 13, 2007

Hi, I'm interested in how asp.net application communicates with MS SQL database. I mean, is communication encrypted or can it be? I have scenario where database and web application will communicate over Internet, they are not in the local network. Please share your opinions. 

View 1 Replies View Related

Application With Critical Database

Nov 6, 2007

Dear all
I am a pretty new in the development world fresh from uni. I am doing development on a system that has a security database. Access to the data in that database is pretty important. So in case the main server where the database is stored for soem reason fails or gets compromised i need to have a second copy with the most recent data in that database and keep the application up and running. The data i have is stored in a SQL 2005 database. What are the recomended aproaches for acheiving this needed reliability?
Would running the SQL Agent every 2 minutes do the trick? And replicate the database to another server and then have asecondary deployment on that server running as a backup? Or are there any other means?
Any advice is apreciated.
Sincerely
 

View 1 Replies View Related

Tell If Application Is Writing To Database?

Jan 12, 2015

I was all set to build some triggers on some modified date tables when in the last minute I found out that the application (built in C#) was controlling the after update trigger.

Is there a tool you can use in SSMS to see if there is a connection set up like this?

View 7 Replies View Related

MSDE Database With VB Application

Jan 5, 2004

I have a vb application that uses sql server database , I want to move from sql server to msde file , wanna be able to attach msde file with vb app ,and run setup program
It looks like there is not much good info how to start with it
can anyone guide me ?
Thanks

View 1 Replies View Related

Connection Between A Win Application And Database

May 15, 2008

hi
i m making a win application
for which i have used sql server 2005 .i faced a very big problem that i have made the database but i cannot able to connect the database with winn application .for this purpose i ned coding.so please help me.i need your help urgent.

sheraz

View 4 Replies View Related

Distribute Database In Application

Mar 30, 2007

How can distribute an SQL database with my application in VB, does clickOnce may me do that? Should the final consumer install SQL Express Before installing my application. Can I create a unique package which may me do that?...

View 1 Replies View Related

How To Deploy A Database With Application

Jan 27, 2008

Hello,

We just converted one of our commercial applications over to using SQL Server. We have a database that is about 700megs in size, what I want to know is how is one suppose to actually deploy a database in an automated install? I have created T-SQL insert scripts, but it is 764M in size, and it takes forever to read the script in to send to the SQL Server. So I am looking for suggestions on how to actually do this.

Thanks
Bern

View 5 Replies View Related

Connect A Report To An Application Database

Aug 3, 2006

I added a database named appdata to the app_data folder to hold temporary application data.  I want to show this data in a report.  I created a dataset and an object to select the data.  I then created an report.fdlc and a report.aspx with a ReportViewer on it pointing to the dataset object.  If I right click on the report.aspx and View in Browser, it work perfectly.  But when I upload it to the server I get and browse to it I get (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified).  The server does allow remote connections.  So I am thinking it's my connection string of the fact that the server doesn't have Sql Server Express.?
Here's my connection string.  What am I missing here?
<add name="appdataConnectionString"
connectionString="Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|appdata.mdf;Integrated Security=True;User Instance=True"
providerName="System.Data.SqlClient" />
 

View 1 Replies View Related

Sql Server Database Administration Web Application

Sep 10, 2006

Hi All, I will shortly (hopefully) begin devleoping an ASP.Net web application to let users manage a remote sql server 2005 database (kind of like the php myAdmin tool for MySQL databases). Were not talking a server managament tool for DBAs, more an end user tool for managing personal databases (it seems that web hosting companies provide tools for MySQL, but if you use SQL Server, you're stuck unless you have management tools on your PC - and what about mac users?).Given that premise, what features should i attempt to include? Creating and modifying tables structures and data is an obvious inclusion, but what else? I also haven't yet decided whether to go about this using scripts or using SMO. I've read that SMO is backwards compatible across versions of SQL Server...how true is this? are there issues or is it seamless? Please post any comments or thoughts you have, and thanks for taking the time.

View 4 Replies View Related

Combine Aspnetdb With The Application's Database

Sep 19, 2006

I have tried to find all the threads related to this topic.  At this point I would like to find out what the best practices are for doing this. I plan to use Membership, Roles, and the login controls to handle my authentication and permissions issues.  I want to use the same database for my application data as for Application Services, using a standard SQL Server. So far, the easiest way to set this up that I can think of is to:1. Use aspnet_regsql.exe to create the Application Services Database schema2. Edit the "LocalSqlServer" entry in <connectionStrings> to point to the above database3. Add the tables, views, stored procedures, etc., that I need for my application into the database created in step 1Is there any more configuration I need to do to get Membership and Roles working?  When I did the Walkthrough, step 2 seemed to be the only requirement for getting Membership and Roles to work.Will I run into any trouble using LocalSqlServer for my application data updates?I would be interested in any other approaches to setting up a combined database, including opinions why and why not to do it.

View 1 Replies View Related

Connection To SQL 2000 Database With .Net 1 Application

Nov 12, 2007

Hi there,
 
Has anyone ever encountered problems making .Net applications connect to a SQL database on SQL 2000 with SP3a?
 
It's running on a virtual machine with a Windows Server 2000 Std with SP4, the .Net application is working with .Net Framework 1.1.4322.573. For some reason it can't connect to the SQL database using the specified username and password in the web.config file even though the user exists in the SQL database. I've tried using the SA password but this still doesn't work. I can logon to SQL Query Analyzer using the SA password but not using the other username.
 
The .Net application does work on other systems of mine all of which can run on Windows Server 2000 and 2003, I have compared them but can't find any differences. 
 
Any ideas anybody?
 
Thanks,
 
Chris

View 1 Replies View Related

Got Problem With Connecting Database To Asp Application

Mar 10, 2008

I got problem connecting database to my asp application (in teh code of sign up button)
 
here's the code
 
 
 SqlConnection con = new SqlConnection();con.ConnectionString = ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString;
 SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandText = "INSERT INTO Students (FirstName,LastName,Address,Birth_Day,Birth_month,Birth_year,Country,User_Name,Password,SecretQuestion,Answer,E_mail,Grade,Dep_Name) VALUES (@FirstName,@LastName,@Address,@Birth_Day,@Birth_month,@Birth_year,@Country,@User_Name,@Password,@SecretQuestion,@Answer,@E_mail,@Grade,@Dep_Name)";string firstname = this.FirstName.Text;
string lastname = this.LastName.Text;string address = this.Address.Text;
int bd = int.Parse(this.Birth_Day.Text);string bm = this.Birth_month.Text;
int by = int.Parse(this.Birth_year.Text);string cntry = this.Country.Text;
string UN = this.User_Name.Text;string pw = this.Password.Text;
string SQ = this.SecretQuestion.Text;string ans = this.Answer.Text;
string em = this.E_mail.Text;string grd = this.Grade.Text;
string dep = this.Dep_Name.Text;cmd.Parameters.AddWithValue("@FirstName", firstname);
cmd.Parameters.AddWithValue("@LastName", lastname);cmd.Parameters.AddWithValue("@Address", address);
cmd.Parameters.AddWithValue("@Birth_Day", bd);cmd.Parameters.AddWithValue("@Birth_month", bm);
cmd.Parameters.AddWithValue("@Birth_year", by);cmd.Parameters.AddWithValue("@Country", cntry);
cmd.Parameters.AddWithValue("@User_Name", UN);cmd.Parameters.AddWithValue("@Password", pw);
cmd.Parameters.AddWithValue("@SecretQuestion", SQ);cmd.Parameters.AddWithValue("@Answer", ans);
cmd.Parameters.AddWithValue("@E_mail", em);cmd.Parameters.AddWithValue("@Grade", grd);cmd.Parameters.AddWithValue("@Dep_Name", dep);
 
 
con.Open();
cmd.ExecuteNonQuery();  // the error appears here
con.Close();
 
could anyone Help me urgently???
 

View 1 Replies View Related

Application On Start And Database Connection

Nov 24, 2003

Hello,
I was wondering if someone could help me answer this question.

If I had a site like Yahoo, that constantly had users accessing it. Would it be a good or bad idea to automatically open a database connection to SQL Server on Application Start? What would you recommend? Would opening and closing the DB connection on every page save alot of overhead and bottleneck? Thank You.

View 2 Replies View Related

Deploy SQL Server Database In An ASP.NET Application?

Nov 24, 2004

hi

i want to develop a web application that use SQL Server Database, i have installed SQL Server & VS.NET in my local computer and i'm ready to develop, but before getting started, i want to know how i will upload mydatabae in my host,

actually i want to know should i know the settings & properties of my host that support SQL Server, or without know them i can devekop my apploication and after developing localy with just a few tasks upload my ( Sql Server) database?????

i'm worry actually about this, plz say what you know about this.
thanks

View 1 Replies View Related

ASP.NET Web Application, Problem Connecting To Database

Jul 15, 2005

Hi,
I have a problem connecting to database using windows authorization.
this is sample codeSqlConnection oSQLConn = new SqlConnection();oSQLConn.ConnectionString="integrated security=SSPI;Server=SHAREPOINT\EPM;Database=STS_sharepoint_1;Trusted_Connection=true;";oSQLConn.Open(); on Windows Aplication it work good but on ASP.NET Web application I got an Server Error - Login failed for user *****************is it problem with IIS configuration???

View 4 Replies View Related

Database Schema For HelpDesk Application

Nov 15, 2005

helloi have to make helpdesk application for teh IT Department of my company,so if anyone can help by supporting me by database schema for HelpDesk application.thank you for the help

View 1 Replies View Related

Connecting To A Database From VB Using An Application Role

Oct 6, 1999

I know how to create an Application role in SQL server 7. Now how do I connect to the database from VB using that Application Role? I can't find anything about this topic anywhere. Is this the purpose of an Application role or am I way off?

Thanks for the help

Steven Abt
StevenA@grsgroup.com

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved