Microsoft SQL 2000 Login Problem

Jun 18, 2004

Hi,

I'm trying to slove this problem from last few hours. I cannot slove this problem. Getting following error message if i try to login in Microsoft SQL Server 2000. Programming in Visual Studio NET -> MFC...


Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.



CDBVariant value;
CDatabase db;
char sql_statement [2048] = "";

//CDatabase object "db" created to connect database
db.OpenEx(_T("DSN=MQIS"),CDatabase::noOdbcDialog);
.
.
.
.


can someone please help me out, is something wrong with the code ??

View 8 Replies


ADVERTISEMENT

Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) Release A

Feb 17, 2004

My objective is to use Enterprise Manager to move (copy) my SQL db from the server to my windows desktop computer.

I downloaded MSDE and am having trouble installing it, no doubt because I do not understand the documentaion (ReadMeMSDE2000A.htm).

When I try to run setup, I get that message that says:

"A strong SA password is required for security reasons. Please use SAPWD switch to supply the same."

Considering my purpose, do I need a "strong" SA password? If not, how do I get around it? If yes, how do I set it up?

I am a Mac user so I have poor windows skills, please make it as painless as possible for me, thanks!

Ron

View 3 Replies View Related

Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) Release

Feb 16, 2006

venu writes "Hi,

Am very new to MS SQL adminstration
Can anybody help me out how to work on Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) Release A just for the practice.

The activity which am going to workout on MSDE is below.

How to install SQL(on XP)
How the layout will be(like if i insall MSDE what are all Application will be and how they depends on each other)
How to create/delete tables if so, how can we do it either by GUI or CUI

just i need a clarifications reg same

Thank you,
venu"

View 1 Replies View Related

Can't Login To Microsoft SQL Web Data Administrator With Sql Option

Feb 12, 2006

i have installed MSDE 2000 and Microsoft SQL Web Data Administrator.

at first i login using Windows Integrated option and created an account for sql login.

but when i tried to login using newly created account i get the following error.

Invalid username and/or password, you are using a windows login that is not your own, or server does not exist.

i am using XP SP2.

View 3 Replies View Related

Login Error At Microsoft SQl Server 2005

Nov 22, 2006

when i tried to login at SQL server 2005 by my local account i found an error (i login by the administrator account and use windows authentication) ... can any one help me plz??

View 2 Replies View Related

Property Login Was Not Set. (Microsoft.SqlServer.Express.ConnectionInfo)

Feb 3, 2008

Hi, having a bit of a problem - I'm trying to attach a database in MS SQL Server Management Studio Express. When I try in Windows Authentication I can't see any of my databases when I try to browse, so I had a look around on Google a saw mentioned that I should maybe use SQL Server Authentication. Only I don't know my user name and password, where can I configure this? I remember when I was setting up entering a password, but not a user name. Any ideas? thanksmander 

View 2 Replies View Related

Create Failed For Login 'NT AUTHORITYNetwork Service' (Microsoft.Sqlserver.Smo)

Mar 6, 2008

I'm installing Windows Small Business Server 2003 R2 Premium. I am at the stage where I am installing the Premium Technologies. Specifically, I am trying to configure permissions for the new SHAREPOINT instance of SQL Server 2005. When I try to create the new login NT AuthorityNetwork Service, typing it exactly as specified in the instructions, I get the following error:

Create failed for Login 'NT AUTHORITYNetwork Service' (Microsoft.Sqlserver.Smo)


For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+Login&LinkId=20476

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

ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

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

Windows NT user or group 'NT AUTHORITYNetwork Service' not found. Check the name again. (Microsoft SQL Server, Error: 15401)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.1399&EvtSrc=MSSQLServer&EvtID=15401&LinkId=20476

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

BUTTONS:

OK

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


The following links yielded nothing:

http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates

http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.1399&EvtSrc=MSSQLServer&EvtID=15401&LinkId=20476

Does anyone know what's causing this? I've done a few installs of SBS R2 Premium and this is the first time I encountered this.

View 1 Replies View Related

Microsoft SQL Server 2005 Cannot Install On Vista, Problem With 'sa' Login

Feb 3, 2008

Hi

I have just installed Vista on my computer and now has problems with installing: Microsoft sql server 2005. In the last part during the installation the following error occurs:

"SQL Server Setup could not connect to database service for server configuration..... Login failed for user 'sa'....,"

What is wrong? Why cant I install? Thank you for your help.

Here are more details from log:

SQL service MSSQL$SQLEXPRESS started successfully waiting for SQL service to accept client connections
Service MSSQL$SQLEXPRESS started at Sun Feb 03 09:01:52 2008
SQL_ERROR (-1) in OdbcConnection::connect
sqlstate=28000, level=-1, state=-1, native_error=18456, msg=[Microsoft][SQL Native Client][SQL Server]Login failed for user 'sa'.
Error Code: 0x80074818 (18456)
Windows Error Text: Source File Name: libodbc_connection.cpp
Compiler Timestamp: Wed Jun 14 16:28:15 2006
Function Name: OdbcConnection::connect@connect
Source Line Number: 148

---- Context -----------------------------------------------

Connecting to SQL Server
ExecuteSqlCommands
Originial error was 80074818 (18456)
ipt
SqlScriptHlpr

Error Code: 18456
MSI (s) (04!E8) [09:02:52:245]: Product: Microsoft SQL Server 2005 Express Edition -- Error 29515. SQL Server Setup could not connect to the database service for server configuration. The error was: [Microsoft][SQL Native Client][SQL Server]Login failed for user 'sa'. Refer to server error logs and setup logs for more information. For details on how to view setup logs, see "How to View Setup Log Files" in SQL Server Books Online.
Error 29515. SQL Server Setup could not connect to the database service for server configuration. The error was: [Microsoft][SQL Native Client][SQL Server]Login failed for user 'sa'. Refer to server error logs and setup logs for more information. For details on how to view setup logs, see "How to View Setup Log Files" in SQL Server Books Online.
<Func Name='GetCAContext'>
<EndFunc Name='GetCAContext' Return='T' GetLastError='203'>
Doing Action: Do_sqlScript
PerfTime Start: Do_sqlScript : Sun Feb 03 09:02:52 2008
Service MSSQL$SQLEXPRESS with parameters '-m SqlSetup -Q -qDanish_Norwegian_CI_AS -T4022 -T3659 -T3610 -T4010' is being started at Sun Feb 03 09:02:52 2008
Attempt to start service when it is already running
SQL service MSSQL$SQLEXPRESS started successfully waiting for SQL service to accept client connections
Service MSSQL$SQLEXPRESS started at Sun Feb 03 09:02:52 2008
SQL_ERROR (-1) in OdbcConnection::connect
sqlstate=28000, level=-1, state=-1, native_error=18456, msg=[Microsoft][SQL Native Client][SQL Server]Login failed for user 'sa'.
Error Code: 0x80074818 (18456)
Windows Error Text: Source File Name: libodbc_connection.cpp
Compiler Timestamp: Wed Jun 14 16:28:15 2006
Function Name: OdbcConnection::connect@connect
Source Line Number: 148







View 21 Replies View Related

Login Failed For User 'sa'. (Microsoft SQL Server, Error: 18456)

Aug 25, 2006

I just upgraded SQL Server 2000 to 2005 without any errors. Afterwards, I tried registering with sa and it failed. I registered with another sysadmin login to get into most of my databases, but I need sa to work for my backup software Idera SQLSafe to login to the database.

Does anyone have any experience or recommendations? I know my password is correct.



Mindy

View 4 Replies View Related

Login Failed For User &&<user_name&&>. (Microsoft SQL Server, Error: 18456)

Aug 25, 2007

Please help I keep getting this message when I log on to my data base. Not sure what state 1 relates too

TITLE: Connect to Server
------------------------------
Cannot connect to <server_name>
------------------------------
ADDITIONAL INFORMATION:
Login failed for user <user_name>. (Microsoft SQL Server, Error: 18456)

------------------------------
BUTTONS:
OK
------------------------------
Server Name: <server~name>Error Number: 18456
Severity: 14
State: 1
Line Number: 65536

View 13 Replies View Related

Login Failed For The User'xxxx'(Microsoft SQL Server 2005. Error:18456)

Mar 3, 2008

hi,
i am getting the following error message while i am trying to login to the SQL Server 2005 on my vista laptop. i installed the server with dual authentication modes.

Login failed for the user'xxxx'(Microsoft SQL Server 2005. Error:18456)

if you have solution for my problem please send a reply as early as possible.

thanks,
ravi kishore.ch

View 12 Replies View Related

Error: Login Failed For User ... Microsoft Sql Native Client . In Remote Connection On Integration Service

Apr 10, 2007

Hi



i connect to remote Integration Service. i configure server for remote connection( on component services and DCOM config , ... ) .and now i can connect to Integration Service remotely and correctly.



but when i expand Stored Package and then click to expand MSDB this error will hapen:

login failed for user ... .(microsoft sql native client )



please help me



thanks in advance

View 1 Replies View Related

Microsoft Sql Server 2000

Apr 26, 2006

asif writes "sir i have microsoft server 2000
and i have to use taht in my pc only
i have instaled taht in my pc but when i run sql query analyser then its asking for database and many more please solve my problem.
i am using windows xp service pack2
so please help me
"

View 2 Replies View Related

Microsoft Sql Server 2000

Jul 20, 2005

i wanted to restore user DB from one sql server to another sql server ,one database is having so many table and have user called digihe is created so many SP and some tables., when i restore the db itrestored without any problem.,after restoring application is not workinghow to ensure that restored DB is having same security as the originalfor that user .when i tried to run the script of that db over that restored DBit was showing user digi does not exist. but i have creted user digiwhere can i get the useful information about this/sreeni--srinPosted via http://dbforums.com

View 1 Replies View Related

Updating Microsoft SQL Server 2000 SP 2 To SP4

Jan 31, 2006

Greeetings!

I am newbie in SQL, asking help from you people.

We are using Microsoft SQL Server 2000 Service Pack 2 running on Windows 2000. We are planning to update service pack from to 2 to SP4...Is it okay? What are the requirements? Will there be side effects in our systems?

Hope to hear from you soon.

Regards,
Len

View 1 Replies View Related

Indexed View In Microsoft SQL 2000

Nov 19, 2004

Just wonder how many of you are using or had used indexed view in SQL 2000? Please, share any details/info.

We are currently using in and having problems as we are getting Errors 644, 'Couldn't find index...' every time we try to update the underlying tables.

View 2 Replies View Related

Microsoft SQL SERVER 2000 Not Working!!!

May 7, 2004

I'm unable to gain connectivity to two stand- alone PC's having WIN XP PROFESSIONAL, v. 2002, through Microsoft SQL SERVER 2000. :eek:

Both the PC's are stand-alone and have both have WIN XP PROF. I installed Microsoft SQL SERVER 2000 in which only the Client Components were successfully installed.

I have the Administrator Rights on both the PC's.

The Problem on both the PC's that I'm facing is as follows:-

On starting SQL Server Enterprise Manager, the PC was not detected as a Server under the SQL Server Group, and thus I selected the option 'New SQL Server Registration', then I gave my full computer name (as appears in the properties of 'my computer'), selected Windows Authentication and then selected OK to start or connect.

It did not connect and then I got the following error message:

-------------------------------------------
A connection could not be established to 'COMPUTER NAME'.

Reason: SQL Server does not exist or access denied.

ConnectionOpen(Connect())

Please verify SQL Server is running and check your SQL Server registration property (by right click on the COMPUTER NAME_node) and try again.


OK

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


On starting the SQL Query Analyzer, firstly the message connecting to 'COMPUTER NAME' was seen and then it also gave the following error message:

-------------------------------------------
Unable to connect to server 'COMPUTER NAME':

Server: Msg 17, Level 16, State 1

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


OK

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

where the 'COMPUTER NAME' stands for the name of the particular system that can be seen in System Properties-> Computer Name-> Full computer name.

I had installed the MDAC Components from the Windows Update website.

I checked the registration properties and have tried many times but everytime the same error messages were received in both the systems and all the efforts bore no fruits.

Both the systems are:
Intel P4
WINXP PROF. v2002
128MB DDR RAM
40 GB HDD

Please help soon as I am studying SQL Server!

THANKS. ;)

View 14 Replies View Related

Can I Start With Microsoft SQL Server 2000

Jul 31, 2006

Hi

I never use Microsoft SQL Server .. somebody told me to start with 2000 version .. but I know that there is 2005
I want to know if it is ok to start with 2000 version and at the same time i can follow others who use 2005?
Thanks

View 4 Replies View Related

Microsoft Support For SQL Server 2000

Sep 19, 2006

Hello,
I would like to see if Microsoft has issued any announcement on SQL Server 2000 end of support. If anyone is aware of this or seen new posts/articles, please let me know.
Thank you!

View 3 Replies View Related

Federation/replication - DB2 && Microsoft SQL Server 2000

Dec 17, 2005

Hi all,

I'm new to this forum, though not new to sql server am new to DB2.

We are running Microsoft SQL Server 2000 but we have recently acquired similar business in another country which runs IBM DB2 database system. We are interested in incorporating the data from DB2 in our system. The tables are slightly different in DB2.
Q. what is the best way to integrate the two systems? Should we take the route of a federated system or replication of data?
We are interested in knowing what is happening in the other business (DB2) but we what the two systems to operate in parallel for about a year, before we come up with the best solution.

The company is after a short term and long term solution.

Can any one please help or point me to the right place?

Regards,
Chloe.

View 2 Replies View Related

Microsoft SQL Server 2000 Desktop Engine

Jan 29, 2004

Trying to install Microsoft SQL Server 2000 Desktop Engine on my laptop. I downloaded the software and opened it to a folder on the C drive. Then from the command prompt I entered this:

C:msderela>setup sapwd = hillary instancename=mjh targetdir=c:mike

The program starts to install and seems to get near to the end of instal and then the progress bar starts going backwards and nothing gets installed....any ideas of what I'm doing wrong....I really don't know anything about this at all.

Thanks

View 14 Replies View Related

SQL 2005 Express Together With SQL 2000 Ent.edt. Microsoft Support

Mar 27, 2007

Does Microsoft officially support installing SQL 2005 Express on a server where SQL 2000 Enterprise Edition is already running (a has to keep running).

In case they do, where do i find this official info / note.

Have they released white papers on this matter?

I know it is possible to install the two together and that they can coexist, but I am worried about how the two SQL installations wil behave when being updated with patches, security updates, service packs etc. do you run the possibility of them corrupting each other? Therefor it is vital to know if Microsoft supports the two running on the same system.

View 3 Replies View Related

[Microsoft][ODBC SQL Server Driver][SQL Server]Login Failed For User 'ErrorLog'.

Feb 22, 2005

Hi, all

recently, I use the following script(somebody else) to create a database on a remote server: the script is as follow:
/*************************/
CREATE DATABASE [ErrorLog]
GO

Use ErrorLog

CREATE TABLE [dbo].[Errors] (
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[SessionID] [char] (12) NULL ,
[RequestMethod] [char] (5) NULL ,
[ServerPort] [char] (5) NULL ,
[HTTPS] [char] (3) NULL ,
[LocalAddr] [char] (15) NULL ,
[HostAddress] [char] (15) NULL ,
[UserAgent] [varchar] (255) NULL ,
[URL] [varchar] (400) NULL ,
[CustomerRefID] [varchar] (20) NULL ,
[FormData] [varchar] (2000),
[AllHTTP] [varchar] (2000),
[ErrASPCode] [char] (10) NULL ,
[ErrNumber] [char] (11) NULL ,
[ErrSource] [varchar] (255) NULL ,
[ErrCategory] [varchar] (50) NULL ,
[ErrFile] [varchar] (255) NULL ,
[ErrLine] [int] NULL ,
[ErrColumn] [int] NULL,
[ErrDescription] [varchar] (1000) NULL ,
[ErrAspDescription] [varchar] (1000) NULL ,
[InsertDate] [datetime] NOT NULL
) ON [PRIMARY]



--Create the user "ErrorLog"

if not exists (select * from master.dbo.syslogins where loginname = N'ErrorLog')
BEGIN
declare @logindb nvarchar(132), @loginlang nvarchar(132) select @logindb = N'Navigator', @loginlang = N'us_english'
if @logindb is null or not exists (select * from master.dbo.sysdatabases where name = @logindb)
select @logindb = N'master'
if @loginlang is null or (not exists (select * from master.dbo.syslanguages where name = @loginlang) and @loginlang <> N'us_english')
select @loginlang = @@language
exec sp_addlogin N'ErrorLog', 'secret', @logindb, @loginlang
END
GO

if not exists (select * from dbo.sysusers where name = N'ErrorLog' and uid < 16382)
EXEC sp_grantdbaccess N'ErrorLog', N'ErrorLog'
GO

Grant select, insert On Errors to ErrorLog
/***************************/
in my *.asp program, I used the following string to connect to the database on the remote server.
/********
con.open "dsn=ErrorLog;uid=ErrorLog;pwd=secret;"
********/
the following message comes up:
/********/
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'ErrorLog'.
/*********/
what is the problem here?
when I set up dsn ErrorLOG, I used "abc" userID and password "XXX" which is our server database administrator assigned to me. I tested connection in odbc, it is OK
I just don't get, ther user ErrorLog already had login id and granted access to database errorlog. any clue, please help!
Betty

View 6 Replies View Related

Microsoft SQL Server 2000 Developer Edition Tools?

Oct 7, 2005

Ok so i am thinking of get the Microsoft SQL server 2000 Developer Edition, i have some questions. -  Does it include the server and tools?-  What tools does it include? The same as the Enterprise Version?-  Will it positively work on Windows XP Pro?-  Will you need to install anything else? Does it come with the Microsoft Server Desktop Edition as the server or something?-  Will this version allow me to use it to make databases for websites? I searched this forums but i can seem to find what "....it is prohitbited in production..." that means?Thank you and i have tried to search the forums but have gotten no real answers Hope you can read my questions clearly. Thanks!!!!

View 4 Replies View Related

Why Isn&#39;t Microsoft Actively Marketing SQL Server 2000 OLAP?

Apr 9, 2001

I recently wrote a white paper on OLAP and was having a hard time finding any information about what was new in SQL Server 2000 OLAP on the web. I didn't really find much until I downloaded a trial copy of SQL Server 2000 (which didn't have OLAP, but had links to information on it). We use Hyperion Essbase, and I was wondering if Microsoft OLAP 2000 would be a viable competitor.

View 2 Replies View Related

Dangerous MSI Microsoft SQL Server 2000 DTS Designer Components

Nov 17, 2006

Microsoft SQL Server 2000 DTS Designer Components has cause a total destruction of my Enterprise Manager.

In my workstation I've got Sql Server 2000 client and Sql Server 2005 client. Everything goes fine up to here.
But when I've installed that MSI I have not been able to open my Enterprise Manager.

From MMC appears: Error initializing component CLSID: {xxx.xxx}

My goal was be able to open 2000 stuff from Sql Management Studio. By the moment, I'm forget of that.

Does anyone have ever faced this issue?

QA is working.

Thanks in advance for any suggestion

View 6 Replies View Related

Microsoft Search Service Kills SQL 2000 Server

Apr 17, 2007

Hi all,

This may be more of a Sharepoint or server question but I thought I would post it here to start off with. I have an installation of SQL 2000 SP4 and sharepoint services 2003 all on one server. For example the SQL 2000 (SP4), sharepoint and its indexes all on the one server (HP G4 DL380). I have installed the index service and the full text services on the SQL server then configured searching in sharepoint. The search worked fine for about a year until one day the server started randomly hanging for no apparent reason. After a hard reboot the server would begin to hand again after around 2-3 minutes of being online, sometimes less. After lots of problem shooting I nailed it down to being the Microsoft search service that caused the issue. Basically if I set this service to manual and boot I have no problem. As soon as I start the service the server will start to hang about 2-3 minutes later.

I tried this again last night after trying some fixed and got the same result. The only error I get are in the application log which are about 4 of these with different file types.

One or more documents stored in image columns with extension €œX€? did not get full-text indexed because loading the filter failed with error '0x1'

The server continues to log messages while it is hanging and you can ping the server but you can not access sharepoint, remote in to the server, you can login locally but as soon as you try anything like bring up the start menu all resources will freeze up. During this time there is no disk activity and the CPU usage is 1-3% and mem usage is low.

Can anyone suggest anything to fix this problem so I can start the Microsoft search service and use search in sharepoint again.

Thanks,
LS

View 2 Replies View Related

How Can I Use Microsoft SQL Server 2000 DTS Designer Components On X64 Machine?

Feb 27, 2006

Is there a X64 version of Microsoft SQL Server 2000 DTS Designer Components from Feature pack for SQL Server 2005?

I have installed an X86 version on the AMD64 machine. But when I open a sql 2000 dts package, there is always a warning window.

The Message is as follows:

SQL Server 2000 DTS Designer components are required to edit DTS packages. Install the special Web download, "SQL Server 2000 DTS Designer Components" to use this feature. (Microsoft.SqlServer.DtsObjectExplorerUI)

at Microsoft.SqlServer.Dts.ObjectExplorerUI.LegacyActionBase.CreateLegacyDesigner()
at Microsoft.SqlServer.Dts.ObjectExplorerUI.OpenLegacyPackageAction.Act(INodeInformation nodeInfo)
at Microsoft.SqlServer.Dts.ObjectExplorerUI.DtsServerMenuItem.Invoke(INodeInformation parent, String mode, String assembly, String type)

There are two same assemblys called 'Microsoft.SqlServer.DtsObjectExplorerUI' in the GAC, and one is GAC cache type, the other is zap cache type.

View 4 Replies View Related

Error String: [Microsoft][ODBC SQL Server Driver][SQL Server]Login Failed For User '(null)'. Reason: Not Associated With A Trus

May 14, 2008



Hi all

This Job ran yester day fine,to day It got failed with this error

any suggestion to troubleshoot problem is appreciated.


DTSRun OnError: DTSStep_DTSTransferObjectsTask_1, Error = -2147203052 (80044814)

Error string: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

Error source: Microsoft SQL-DMO (ODBC SQLState: 28000)

Help file: SQLDMO80.hlp

Help context: 1131



Error Detail Records:



Error: 0 (0); Provider Error: 0 (0)

Error string: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

Error source: Microsoft SQL-DMO (ODBC SQLState: 28000)

Help file: SQLDMO80.hlp

Help context: 1131



DTSRun OnFinish: DTSStep_DTSTransferObjectsTask_1

DTSRun: Package execution complete.

View 3 Replies View Related

How To Insert The Value From The Text Box (ASP.NET 2.0) To The Microsoft Sql Server 2000 Database - Dynamically.

Nov 16, 2006

Hello Friends,

I have a problem with ASP.net with dynamic data transfer from asp page to microsoft sql server 2000. For example , I have asp

web page with one text field and a buttion.

When I click the buttion, the value entered in the text field should be transfered from the text field to database. 



Kindly See the following section c# code .....



SqlConnection objconnect = new SqlConnection(connectionString);

SqlCommand cmd = new SqlCommand();
cmd.Connection = objconnect;
cmd.CommandText = " select * from Table_Age where Age = @Age";
cmd.CommandType = CommandType.Text;

SqlParameter parameter = new SqlParameter();
parameter.ParameterName = "@Age";
parameter.SqlDbType = SqlDbType.VarChar;
parameter.Direction = ParameterDirection.Output;
parameter.Value = TextBox1.Text;

objconnect.Open(); // Add the parameter to the Parameters collection.
cmd.Parameters.Add(parameter);
SqlDataReader reader = cmd.ExecuteReader();

********************this section c# code is entered under the button control************************************

connection string is mentioned in the web.config file.

In the above c# code , I have a text field , where I entered the age , the value entered in the text field should be sent to

database. I have used SqlParameter for selecting the type of data should be sent from ASP.NET 2.0 to the microsoft sql server 2000. I am facing a problem

where I am unable to sent the random datas from a text field to the database server.


I have a created a database file in the microsoft server 2000.after the excution of the fIeld  value is assinged to NULL in the main database i.e microsoft the sql server 2000.Can anyone help with this issue.My mail id phijop@hotmail.com- PHIJO MATHEW PHILIP.     

View 1 Replies View Related

Microsoft SQL Server 2000 Can't Stand Up After Change Administrator Password?!?!

Jul 20, 2005

HI!I have a little problem:I have change the administrator password (Windows 2003 Server) which MSSQL 2000 use to login.And now the SQL server can't stand up.What should I do?thx!gicio--Posted via http://dbforums.com

View 1 Replies View Related

SQL 2000 Beginner. Error Importing Data From Microsoft Access

Apr 11, 2006

Hi!

when i try to import data from Microsot Access to Microsoft OLDB DB Provider in the "DTS Import/Export wizard", an error occurs: Error Description: [DBNETLIB][ConectionOpen (Connect()).] SQL Server doesnt exist or the access was denied. I'm using windows autentication and the data base of destination is <default>.

Could you help me out?

Tank you

View 4 Replies View Related

Microsoft##EESS And MSDE SQL 2000 On Windows 2003 Small Business Server

Jan 25, 2007

Currently a server running 2003 small business operating system has MSDE 2000 and Microsoft##SSEE.

A memory problem exists with SQL consuming over 50% of RAM. Total RAM is 4GB.

There is a SQL 2000 patch for this type of problem. However, it calls for SQL to be upgraded to SP4.

Problem:
Can this MSDE 2000 be upgraded with SP4 and have memory patch applied with Microsoft##SSEE also on this box?



Please let me know. Thank you.

View 3 Replies View Related







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