Auto Incrementfield In Sqlserver 2000

i would like to get last value entered in an autoincrement field in sqlserver 2000 from asp.

View Replies


ADVERTISEMENT

SQLServer Login

We're looking at logging on to SQLServer using Windows Authentication from an ASP app, and trying to figure out what will work.

The following connection string works with Basic Authentication:

driver={SQL
Server};SERVER=MyServer;Database=MyDB;Trusted_Conn ection=yes;

Is there a way to do this with IIS security set to Integrated Windows authentication?This is an existing app where currently each user has a database login. We want to get away from that. Another option would be tocreate a database user for the app, so we may do that.

View Replies View Related

Pagination In ASP And SqlServer

Can you tell me the code for pagination in asp where the database is Sql 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

SQLServer Database To MS-Access

i want to convert MS SQL Server 2000 database into MS-Access and Excel.How can i do this using ASP.Is there any possible ways,if any. the solution.If any related URLS also.

View Replies View Related

Access SQL To SQLServer / VBscript SQL

I am not sure if this is the correct place to ask this question but it is close...
IN MSAccess I can create a select statment that filters on a calculated field:

SELECT xxx, len(yyy) as zzz FROM TblAAA having (len(yyy) = 5);

I am trying to create the same type of statment in an ASP that uses VBSCRIPT to access a SQL Server table.

I can not seem to figure out what the VBScript version of the Access statmen... or even if it is possible?

View Replies View Related

Creating Line Charts Of SQLServer Data

Is there a way to draw charts from SQL Server Data using ASP.? Is itpossible to use the SQL Reporting Services using ASP.

View Replies View Related

Connecting To SQLServer In VB6 (using ADODB) Works Fine Within VB Appliction But Not From ASP Page

I'm have a VB function that connect to SQL SERVER , get's information
and returns the relavant string.

using this function within VB application (say cmdbutton) works great,
but when trying to activate the function from asp page, i'm getting
nothing. Code:

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

If Condition Ans SQL 2000

i have got one field in sql server 2000 database. field1 char 50 in one record, i m storing value -1 but it doesnt satisfy following condition

if (rs("field1")) = cstr("-1") Then
response.write ("true")
end if

i already checked its value by response.write and
print -1 only..
then y its above condition is false?

View Replies View Related

SQl Injection Through ASP And MS SQl 2000

I have heard a lot about SQL Injection. I was wondering how does an injector come to know about the table/column name when they cannot see the asp codes in a website?

View Replies View Related

Win 2000 SP3iiss

In one Application (2) the client is redirected to a Logon ASP in a different Application (1). A Session Variable is made in Application 2 which needs to be recognized in Application 1. Can I do that in Windows 2000 SP3 IIS5 no .NET Framework?

View Replies View Related

Access 2000 Mdb

Does anyone know of a simple (and I stress simple as I'm a beginner with this asp stuff!!) script to allow for basic functionality of Add/Edit/Update/Delete ASP page which works with an Access 200 mdb. Something I may easily adapt for what I have??
I'm running Windows 2000 Professional with IIS 5.0.

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.NET On Windows 2000

Our current websites are hosted on Win2K Servers using classic ASP and IIS
5.0. We will be acquiring a 3rd party website that is written in ASP.NET.
Hate to sound stupid, but is it possible to run ASP.NET on Win2K or does it
need to be run under Win2003?

View Replies View Related

Going From Access 2000 To Ms Sql

What would I have to change in my code to make it work with sql, Just wanna see if its worth changeing to.

View Replies View Related

SQl Injection Through ASP And MS SQl 2000

I have heard a lot about SQL Injection. I was wondering how does an injector come to know about the table/column name when they cannot see the asp codes in a website?

View Replies View Related

New User In Win 2000 SRV

I would like to create, using ASP, a new user inside a "Group of User" that I prior have created, as Administrator (Eg. IUSRGroup), in order to use the internal Win 2000 SRV DB, Security and Permisions.

View Replies View Related

Frontpage 2000

if is it possible to connect a database (access 2000) through frontpage? i try to do this and i got an error. in frontpage, there is a option to connect database. then we have to publish a web and after you can store your data through form. all these steps i have already clear. but i can't.

View Replies View Related

PWS On Windows 2000

Overnight my work PC has been upgraded - I'm re-installing all my software, and PWS does not work

It may be that it's a permissions thing (I need to get this sorted, as it is stopping me from installing a few things) However, I also suspect that PWS for NT is no longer any good for W2K Is there a new version for W2K?

View Replies View Related

Access 2000

I have created an Access database with an Autonumber field and set as promary Key. When I insert a record from my ASP web page it insists on making me add a value to this field.
Is there anyway to set this as an IDENTITY field.

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

Win 2000 Professional + IE6 Problem

I have a simple .asp page with a text field and submit
button. When it runs on a Win 2000 Professional + IE6
client machine, and the .asp page is set "anonymous
access" only on IIS, the contents I entered to the text
field did not get submitted when I click the submit
button. If the setting is "Integrated Windows
Authentication" everything is fine. Has anyone had
experienced this problem?

View Replies View Related

Email Problem, Win Svr 2000

I have written some code that tries to send out an email, using CDONTS, in ASP. My problem is that the email just sits in the "Queue" folder in the Ipubnetmailroot directory. The server is Windows 2000.

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

Multiple MS SQL 2000 Connections

I was wondering if it was possible to have multiple server connections in one asp application. Like if one connection to the main sql server failed, it would connect to the backup sql server.

View Replies View Related

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 View Related

Cannot Connect To MSDE 2000

I am trying to connect to a MSDE 2000 database located on a server on my network. I can connect to a SQL Server 2000 database; however, I cannot connect to this MSDE database.

This is the error I get: Code:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

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

/attach2.asp, line 28

Here is my connection string: Code:

<%
Set conn2 = Server.CreateObject("ADODB.Connection")
conn2.Open "Driver={SQL Server};" & _
"Server=192.168.56.181;" & _
"Database=Attachments721;" & _
"Uid=attach12usr;" & _
"Pwd=***;"
%>

What am I doing wrong? I can't figure it out. The ASP page and the MSDE are on two different servers, if that makes any difference. I can add the MSDE server to Enterprise Manger using the same login information too.

View Replies View Related

Logging Off Windows 2000 From IIS

I will be traveling and I will need to show someone a
secure folder in an IIS website and I will be on a public
computer. When we are done, I will need to be able to log
off so no one else using that computer will find
their way into that part of the website. The security is
Windows authentitication using Clear Text.

Can ASP log me off. If so I will need to code this before
I leave. Can anyone point me to where I can get some
examples of code to do this ?

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

IIS Windows 2000 Not Loading

I've searched several articles about this and cannot get any suggestions to work. My IIS on Windows 2000 Server won't run ASP pages like default.asp. I've tried reinstalling IIS, syncing the passwords for IUSR....etc.

View Replies View Related

Importing XML Into Access 2000

I have an XML file that gets updated every 4 hours on a web server. I can check the XML modification time in ASP and compare to the databse. If it is newer, I need some ASP code to then import the XML into Access. Been trawling the net for an answer for a while .

View Replies View Related







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