Auto Incrementfield In Sqlserver 2000
i would like to get last value entered in an autoincrement field in sqlserver 2000 from asp.
View Repliesi would like to get last value entered in an autoincrement field in sqlserver 2000 from asp.
View RepliesWe'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.
Can you tell me the code for pagination in asp where the database is Sql Server ?
View Replies View RelatedI 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?
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 RelatedI 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?
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 RelatedI'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:
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.
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?
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 RelatedIn 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 RelatedDoes 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.
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
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?
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 RelatedI 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 RelatedI 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 Relatedif 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 RelatedOvernight 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?
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.
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 RelatedI 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?
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 RelatedI'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.
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 RelatedI 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 RelatedI 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.
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 ?
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 RelatedHow 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 RelatedI'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 RelatedI 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