SQL Server 2000 Database

I just started learning ASP.NET and i need to learn to use the database for SQL Server 2000 quickly. First, (forgive me for my ignorance) what is a database? Do you guys know any good sites that teach you how to access the database for SQL Server 2000? and have tutorials, and sample code?

View Replies


ADVERTISEMENT

How To Access An DSN In The Connection String To SQL Server 2000 Database?

Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "DRIVER={SQL Server}; Server=;Database=pubs;Uid=myUsername;Pwd=myPasswor d;"

Instead of database, how can I set the DSN in this connection string?

DSN is DSNName. I am trying to connect to a SQL Server 2000 database.

View Replies View Related

Error In COM+ While Migrating From 2000 Server To 2000 Advace Server

I have one 3 tier architecture application running on Windows 2000 Server.

I have created replica of same machine on another machine where OS is
Windows 2000 Advance Server.

But when I port same running application on new machine i.e. Machine with OS
as Windows 2000 Advance Server, my middle tier (Active-X Dll, COM+
application) fails.

It throws common error
Invalid Procedure Call or argument

What could be the problem? Do I need to change any settings for running
application on Windows 2000 advance Server.

View Replies View Related

Access 2000 Or SQL Server 2000

I am planning to design a database (destined for the web) that will have
between 20000 and 45000 records in it and will receive a lot of reads but
very very few writes (just from me).

Now the question is should I use:

1) The combination of Access 2000 (accessible through ASP or ASP.NET) using
OLEDB Jet

or

2) SQL Server 2000 ?

Of course I know that the SQL Server option is a better one, especially
since it's said that an Access DB can have about 9 users or so accessing it
at the same time. But is that a general rule or is it about many people
writing to the DB? In other words, if an Access DB has hardly any writes
and 99.9% reads can it be used as efficiently as it would be used on SQL
Server 2000?

View Replies View Related

SQl Server 2000

i get this error
Code:


HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'IUSR_MOHD'.
/sql1/data.asp, line 16

when i try to add data to my sql server 2000 database throw asp?!? so whatz the problem , i try to connect it to access on the same lginuser and it works well

View Replies View Related

ASP / SQL Server 2000

We are not using Active directory and as such do not have access to Kerberos authentication methods. What I need to do is connect to an SQL (2000) database using ASP 3.0 - I have setup an account on SQL Server with read access to two tables (and no password). Just to complicate the issue even further, the IIS server and the SQL server reside on different machines on the network. Code:

View Replies View Related

Configuring Win 2000 Server + ASP

I'm just after installing windows 2000 server. It seems to be running fine. I can log onto sites stored within etc. However I'm having major problems trying to sending email forms. I am using an asp form to send the details however I never receive them. After completing the form and submitting the user is brought to a confirmation window which displays all the form details. There are no errors howver the email is never recieved.

With the errors I cannot say if the email was sent or not. So i do not know if it is the server settings or the asp file.

Do I need to preform additional installation of configuration to get the smtp server up and running as I am only using the default settings.

View Replies View Related

Excel To SQL Server 2000

Is it possible to convert from excel to SQL sever .. I have data in my excel which i want to convert to SQL server.If any body have the information.

View Replies View Related

Exchange Server 2000

How would I be able to simply read an MS Exchange Server 2000 mail and transfer it to a SQL Server 2000 database programmatically. I need reference for this an has been unsuccessful in looking for any for the past week already.

View Replies View Related

SQL 2000 Server Timeout

I've noticed a few times yesterday I recived this error on my web
server:

[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL
Server does not exist or access denied.

I know for sure the server is running and at the time was under a load of about 2,900 page views for the hour. By far not my largest audience. What could cause this? Is ODBC having some issues? FYI, the database server isn't on the web server, they are physically two different machines connected via LAN.

View Replies View Related

MSSQL SERVER 2000 Connections

i just want to ask how many online connections can mssql server 2000 accomodate at the same time?

can it handle 250 to 400 simultaneous connections? the specs of my pc is pentium4, 2gb ram, 80gb hd..is this enough?

View Replies View Related

Session Not Working On Server 2000

I am creating a small program for my workplace in asp. It runs fine o
my laptop using XP Pro through IIS. I set IIS up on the server runnin
Windows 2000 Server Standard, have IIS set up identically, and i
doesn't recognize the session variables. Even trying to run i
directly on the server, not through the network, it doesn't work.

View Replies View Related

Windows Server 2000 Question...

Will CDO work under Windows Server 2000? I'm guessing it will. The problem is that I wrote a nice little ASP app under Windows Server 2003 which works REALLY well. Sends out the email with NO problem. 'Course, it uses an external SMTP server, but I'm assuming this shouldn't matter, right?.

Because when I port it over to Windows Server 2000, it blows right past it. Is there a particular setup procedure that needs to be done for Windows Server 2000 to enable CDO to work properly?

View Replies View Related

Index Server Upgrade From NT4 To 2000

I've not used Index Server since I set it up about 4 years ago on a Windows NT 4 machine.

I now have to move the site to a Windows 2000 machine. I've hunted high and low and have yet to find anything on the subject. Anyone point me in the right direction?

View Replies View Related

Empty @@identity (sql Server 2000)

Am having a bit of trouble with the @@identity field - I probably just have that friday feeling and am missing off something obvious, but the below code brings back am empty identity value ("sid" appears empty). I've definitely set up an identity field in the tblSurvey:

set rsAdd = Server.CreateObject("ADODB.Recordset")
rsAdd.open "tblSurvey", conn, 3 , 3
rsAdd.AddNew
rsAdd("title") = title
rsAdd("intro") = intro
rsAdd("enddate") = enddate
rsAdd.Update

Set rsIdentity = Conn.Execute("SELECT @@IDENTITY AS sid")
sid = rsIdentity("sid")

....any ideas would be greatly appreciated.

View Replies View Related

Menu.asp In Commerce Server 2000

My client had someone modify their home page of their commerce site. Howerver when then did they removed the include for store/template/menu.asp and created a hard coded menu on the default.asp (home page). Now the client wants this static menu to replace all of the dynamic menu's throughout the site. I found the area in menu.asp that pulls the data from the commerce server and if i delete this section the old menu item go away. I need to know how to insert the static HTML menu items in its place.

View Replies View Related

Asp Program Cannot Talk To Sql Server 2000 An

Our site is down, because of our hosting company applied sql server 2000 sp4
on windows 2000 server.

right after it applied the service pack, our sql server database is down and
no conn etc. When one technical support restart the server,

the obejcts like tables in database cannot be recognized from our asp pages
anymore, data cannot be inserted into any database table and data cannot be
pulled out correctly from database table through asp program, but I can run
query and look at data through sql analyzer.

what is the problem, is it because of connection string? before this service
pack 4, everything runs fine and we never had this kind of disaster.

I have connection string like this: Code:

View Replies View Related

Access SQL SERVER 2000 DB From An Asp Page

I'm using sql server 2000 database and trying to access it using asp. when i installed sql server, i selected the mixed mode of authentication(windows and sql server). Code:

View Replies View Related

Asp/access Sql Page Works In Xp But Not In Server 2000?

I have a page which works fine testing locally on my win XP PC, using an access database file. When I place it on the server (all code and database file being the same)... it gives an SQL error :

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2

The SQL statement is as follows: Code:

View Replies View Related

Connecting To SQL 2000 Database In Windows 2003 X64

I'm trying to connect to a SQL 2000 database on my Windows 2003 x64 Enterprise edition server, and so far I've got the error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Driver Manager] Data source name not
found and no default driver specified

My ASP code is straight forward: Code:

View Replies View Related

Connection String From Include File ASP To SQL Server 2000

I am working on a App. at my work place, now wanting to set it up at home
but for some reason I keep getting this error :

ADODB.Command (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable
range, or are in conflict with one another.

I did some research on the NET but I am still unable to figure out why I
cannot connect to my db. Code:

View Replies View Related

Uploading Test Asp Page With Sql Server 2000 Onto Webserver

I've been trying to create a test site - The site uses ASP with VBscript and talks to SQL Server 2000. I was able to complete and test it on my locally on my computer using Microsoft’s IIS 5.1. The website communicated fine with the database on the webserver/network server

However, when I tried to save the site from my local computer to the wwwroot folder in the server’s IIS hoping to make the internal site available to everyone here the resulting error comes up when we try to open a page with a recordset connected to the database: -

Our Error: -
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'AUMBSDDSSIUSR_AUMBCOMP'.
/mysite/htm/test2.asp, line 8

The page calls on an include file

Code: ....

View Replies View Related

Select Query According To User Input For A WebPage In C#.Net With SQL Server 2000

How to select query according to User Input for a WebPage in C#.Net with SQL Server 2000.I am trying to build a web page in C#.NET with SQL Server 2000 using Visual Web Developer 2005. I want to select and execute the query according to user input.

I have a form which has 2 textboxes which gets start date and end date from the user. Based on start/end date my 1st query runs. Now if user does not enter any start/end date I want to run another query which takes default dates from database(which is in varchar:ex. now()/now()-180) according to logged on user's permisstions.

How to select query ?

View Replies View Related

Database Connection String To MySQL-database On A Different Server

I work with ASP for several weeks now and i really like it! But until now i have just used it in connection with my localhost. I made connections to a SQL Database and to an ACESS Database with using the ODBC Tool from WIndows!!


Now i want to publish my website but i don't know how to handle the connection string kind of thing. My MySQL-Database is on a different server than the website and i need a connection string where i can type in the server, a password and a username and it should then connect.

View Replies View Related

How Do I Export Data Fom Local Database To Server Database?

I'm current working on a project which need to upload local data to
live server database.

Meanings that, i'm current having a server in my local mechine. I need
upload data from local database to live database which host at oversea
company. But i really have no idea how to do this in asp.

View Replies View Related

Server, Database Server

I'm new to ASP, I just started learning last week at an internship and I am taking interest to it.But at home I don't have a server to practice on.

My question is do I need to download a server and a database server, or are they both the same thing?Also, what is the best to download?

View Replies View Related

Database On Different Server

We have a server for our intranet and one that has this MS Access mdb database we need to use.So basicly we want our intranet asp page to show data from a database located on another computer in the same lan.
For some reason we can not use the database from the intranet computer.
We've tried so far:
-Direct approach with mapped drive
-Direct lan address.
-Linked access database on the intranet computer.
-Modifying user rights.

When one of these solutions are viewed on the intranet server, they work fine. When tried from client computers trough the intranet, we get error of thiskind:
Error Type:
Microsoft JET Database Engine (0x80004005)
The Microsoft Jet database engine cannot open the file 'M:TSTOITProject databasedata.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
/intra/db.asp, line 24

View Replies View Related

Connecting To SQL Server Database

my company is having me design a website for them and I did it in ASP (Classic), with the backend database being SQL Server 2000. I open the connection just fine, and everything seems to work but there's just one problem:

It only connects to the database when I'm logged in as Administrator on the machine (or from a remote machine); if I use my own username/password, I get a 500 Internal Server Error. What's funnier is that if I set IIS to allow anonymous access, it won't let ANYONE connect to it.

Any ideas what's the problem? I think it's something with the connection string (I told it to use a Trusted Connection because otherwise it was saying "[Username] is not associated with a trusted SQL Connection), but since I haven't used SQL Server in the past it might be something with that, as well.

View Replies View Related

ASP Database Connectivity Using SQL Server

I'm trying to add records from the ASP web page to the database using SQL Server..but i'm not able to do it..Can anyone send me the codes related to the database connectivity..

View Replies View Related

SQL Server Database Structure

I want to know the structure of SQL server database table using ASP.Is it possible to know?I want know the exact datatypes also.

View Replies View Related

Database On Remote Server

I try to get data from a database which is on an other server. I can view the files on this server via the directory "t:" from the machine the ASP pages are on.

Constring:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=t:database.mdb"

Error:
't:Database.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

View Replies View Related

Putting Database On Server

My database and ASPs are currently on my local server and now I want to put it on the company's server.

Any pointers how can I do that? Do I need to keep both the ASP's as well as the database on the server?

View Replies View Related

Excel To SQL Server Database

I have an application where I have to import data from excel to SQL Server using ASP. If someone can please give me some piece of code it would be of great help to me as I am new to ASP.

View Replies View Related







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