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 RepliesI 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 RepliesHow 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 ?
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?
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 written an ASP.NET 2.0 application that uses Active Directory or ADAM
to manage account users - the site has a page that allows people to create an
account (much like any site). The page populates the AD with all the
information and the user account but I am unable to enable the account.
Microsoft has information on how to do that here -->
http://msdn.microsoft.com/library/d...ting_a_user.asp
(the sample is for Visual Basic) - and I am unable to complete the bottom
portion of the script. Can some one point me in the right direction - or can
you tell me how I can add a snippet of VBscript code to an ASP.NET page.
I am using the Active DS Type library - not sure why there are multiple ones
(System.DirectoryServices) but it is rather confusing - I seem to accomplish
one thing with one and another with the other (they did have trouble
co-existing however). Anyway my script works very well but I am not able to
access the properties required to enable the account.
Here is a simple version (no error checking) of the code.....
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 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 Relatedhow to go about setting up an asp script or flash action script to take the input from a user of his/her username and password then send an email to the user with the information. I am able to do all of this but the problem is that the users pc is the one sending the email. I want the server to send the email instead.
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 RelatedI'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.
I would like to display an Exchange 2000 contact list in the public information store. Is it possible through asp? If yes, anybody have some info?
View Replies View Relatedi did try using tables created in SQL Enterprise 2000 and then use it in ASP and it works well. However, I wanted to create a table in ASP. I created a page that asks for a Name and is supposed to create a new Table, not just a new record in an existing table. is this possible? have you guys encountered this? Code:
View Replies View RelatedI have trouble to set up mail server at window 2000 IIS 5.0. My code like this: Set ObjNewMail = Server.CreateObject("CDONTS.NewMail")
I did check SMPT service, but I still could not sent the mail from this machine. Any idea?