473,394 Members | 2,100 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Reinstalled SQL-server

Hi all,

After I reinstalled my SQL-server I cannot use my ASP page with:
====================================
Set Conn=Server.CreateObject("ADODB.Connection") conn.Open
"Provider=sqloledb;" & _ "Data Source=test.my.company.se;" & _ "Initial
Catalog=MyDatabase;" & _ "User Id=sa;" & _ "Password=SaPwd;" set
rs=Server.CreateObject("ADODB.Recordset")
====================================
I have the user on the server.
What can be wrong?

/Kent J.
Nov 19 '05 #1
5 883
You mean just install SQLServer only.
if you get login failed error you may need to Configure your sqlserver to
use MixedMode Authontication or u have to use trusted connection.

or you hv problem in IIS? try to run
"C:\WIN\Microsoft.NET\Framework\v1.1.4322\aspnet_r egiis -i" may help

"Kent Johnson" <08********@telia.com> wrote in message
news:o6*********************@newsc.telia.net...
Hi all,

After I reinstalled my SQL-server I cannot use my ASP page with:
====================================
Set Conn=Server.CreateObject("ADODB.Connection") conn.Open
"Provider=sqloledb;" & _ "Data Source=test.my.company.se;" & _ "Initial
Catalog=MyDatabase;" & _ "User Id=sa;" & _ "Password=SaPwd;" set
rs=Server.CreateObject("ADODB.Recordset")
====================================
I have the user on the server.
What can be wrong?

/Kent J.

Nov 19 '05 #2
Did you check the Provider , is the provider installed perfectly.
Is the object being created perfectly

Nov 19 '05 #3
Hi,
Maybe your right!
Where can I check the Provider?

/Kent J-


"kunal" <ku**********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Did you check the Provider , is the provider installed perfectly.
Is the object being created perfectly

Nov 19 '05 #4
Yes, I just reinstalled SQL-server so I figured that the problem was there.
"Islamegy®" <Is******@Private.4me> wrote in message
news:#c**************@TK2MSFTNGP09.phx.gbl...
You mean just install SQLServer only.
if you get login failed error you may need to Configure your sqlserver to
use MixedMode Authontication or u have to use trusted connection.

or you hv problem in IIS? try to run
"C:\WIN\Microsoft.NET\Framework\v1.1.4322\aspnet_r egiis -i" may help

"Kent Johnson" <08********@telia.com> wrote in message
news:o6*********************@newsc.telia.net...
Hi all,

After I reinstalled my SQL-server I cannot use my ASP page with:
====================================
Set Conn=Server.CreateObject("ADODB.Connection") conn.Open
"Provider=sqloledb;" & _ "Data Source=test.my.company.se;" & _ "Initial
Catalog=MyDatabase;" & _ "User Id=sa;" & _ "Password=SaPwd;" set
rs=Server.CreateObject("ADODB.Recordset")
====================================
I have the user on the server.
What can be wrong?

/Kent J.


Nov 19 '05 #5
So is the problem solved....

Kunal Ramesh Lalwani
Software Developer (ASP.NET 1.1)
Fahm Softwares
India

Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: george lewycky | last post by:
I am trying to take a field description for a column of about 200+ bytes and wrap the field into 3 lines of 70 bytes apiece in PL/SQL!!!!!! I know this can be done in SQL*Plus as show below but...
2
by: Peter | last post by:
I run most of my SQL scripts via kornshell on AIX. I use the "here-document" to run some of the smaller ones. Example: #!/bin/ksh # Analyze the table. sqlplus...
0
by: Jan | last post by:
I store sql-commands in a database table. In the first step I get the sql command out of the database table with embedded sql. In the second step I try to execute the command, which i got from the...
3
by: Ira Baxter | last post by:
Hi. We are working on tools to process PL/SQL code. What we need are precise details on the full PL/SQL syntax. We have the Oracle 9/10 documentation, but it seems a little fuzzy on the...
5
by: Penny | last post by:
Hi again, Thanks to those who helped before but I'm afraid I waisted your time and effort(especially Bob's) by not detailing the way I was trying to dynamically create the select statement. I...
4
by: jrefactors | last post by:
I want to distinguish between static SQL, dynamic SQL, and embedded SQL, but couldn't find too much useful resources in the web. For example, if we put SQL statements (SELECT, INSERT, UPDATE,...
10
by: Jean-David Beyer | last post by:
I have some programs running on Red Hat Linux 7.3 working with IBM DB2 V6.1 (with all the FixPacks) on my old machine. I have just installed IBM DB2 V8.1 on this (new) machine running Red Hat...
11
by: Mark Yudkin | last post by:
The documentation is unclear (at least to me) on the permissibility of accessing DB2 (8.1.5) concurrently on and from Windows 2000 / XP / 2003, with separate transactions scope, from separate...
6
by: sghi | last post by:
Hi All, I'm new to this group and quite new to access/vba. So, shortly after beginning to write a simple application for my wife, I came across a blocking problem: I need to intercept the sql...
5
by: dbrother | last post by:
Access 2003 Win XP Pro SP3 Using SQL /ADO Recordsets in a Do Loop Hello, I'm using a random number generator based on an integer input from a user from a form that will get X number of random...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.