Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 09-07-2002, 03:42 PM
New kid on the block
 
Join Date: Jul 2002
Location: Melaka
Posts: 4
Rep Power: 0
irwanbaharom is on a distinguished road
Send a message via Yahoo to irwanbaharom
ASP, IIS5.0 and SQL Server 2000 in the same server problem.

I have a problem with my ASP program.

It's a store, retrieve and update program from a database.

previously it connect to access 2000 db and its work perfectly.

Then somebody ask me to change to SQL Server 2000 (IIS5.0 and SQL Server 2000 in the same web server).

Then the following problem occurs :
When try to connect to the SQL Server it state the following error "...... login fail as user........ "

Actually there r no security setting set. means UID=; PWD=; or
Trusted_Connection=yes;

Then we try to use my pc using PWS as a server and link to SQL server it can work perfectly. That's mean if separate machine it work (IIS5.0 and SQL Server 2000 in separate server).

Can u pls help me solve this problem b'coz i've tried for long time to solve it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-07-2002, 11:01 AM
Novice Webmaster
 
Join Date: Mar 2002
Posts: 13
Rep Power: 0
njzone is on a distinguished road
SQL Server

hi!

try this:

1. go to Services (My Computer->Manage->Services & Applications->Services).

2. Find MSSQLServer, go to Properties

3. Go to Log On tab, check (tick) Local System Account, then click OK.

check your authentication mode (you have set it during the SQL Server installation. by default the password is Administrator or sa).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 13-07-2002, 09:33 AM
New kid on the block
 
Join Date: Jul 2002
Location: Melaka
Posts: 4
Rep Power: 0
irwanbaharom is on a distinguished road
Send a message via Yahoo to irwanbaharom
Hi NjZone,

Thank u for ur reply for this problem.

The system is already set that option:

3. Go to Log On tab, check (tick) Local System Account, then click OK.

but still the same error came out.

I'm still new with the IIS5.0 and SQL server 2000 setting and troubleshooting, can u pls tell me how to do the following item below.

check your authentication mode (you have set it during the SQL Server installation. by default the password is Administrator or sa).

I think it should be with the authentication problem.

Is there any other way to solve this problem.

Regards,
IrwanBaharom
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 15-07-2002, 09:26 AM
Novice Webmaster
 
Join Date: Mar 2002
Posts: 13
Rep Power: 0
njzone is on a distinguished road
my mistake

sorry, i meant the username is "Administrator" or "sa". if the error message is "login failed as user", then i believe your username is "user" and UID in your connection should be "user". check it out.

also, try to look at your SQL Server Registration properties:

1. Start->Programs->SQL Server->Enterprise Manager
2. Right click on your server under SQL Server Group and click on "Edit SQL Server Registration properties".

lastly, can you post your connection as well as the error that you are receiving in details? i'll see what i can do.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 20-07-2002, 04:21 AM
ReaLSyLo's Avatar
Novice Webmaster
 
Join Date: Jul 2002
Location: SomeWhereOnTheEarth
Posts: 15
Rep Power: 0
ReaLSyLo is on a distinguished road
Send a message via ICQ to ReaLSyLo Send a message via AIM to ReaLSyLo Send a message via Yahoo to ReaLSyLo
Exclamation !!!!

maybe u install that sql server 2000 by default setting..
if default the username & password is...

UID=sa; PWD=; .....the password is blank, no password
__________________
ReaLSyLo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 22-07-2002, 11:54 AM
New kid on the block
 
Join Date: Jul 2002
Location: Melaka
Posts: 4
Rep Power: 0
irwanbaharom is on a distinguished road
Send a message via Yahoo to irwanbaharom
Solve Already

Thanks for ur all support,

Reason of the problem :
1) The user automatically create a IUSR_machinename user. This user is a Internet User, guest created by default by IIS5.0.
2) When try to login to the SQL Server 2000 DB it will says login fail as user IUSR_machinename.

To solve this problem :
1) Go to the SQL server 2000 DB.
2) Click the DB which has error.
3) Go to the user
4) Add new login user
5) Create IUSR_machinename.

Then all the problem is solved

Thank u
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 14-09-2005, 02:06 PM
New kid on the block
 
Join Date: Sep 2005
Location: Kl
Posts: 1
Rep Power: 0
eric_punk is on a distinguished road
convert database access ker ms sql server

Boleh ker nak import database access ke ms sql server.....? Satu lg kalau guna dreamweaver MX nak link database cammaner

aku dah install IIS kan..aku guna dreamweaver MX
database aku guna access.aku guna la connection server.mappath:

"Driver={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath ("/db/databaseaku.mdb")

tapi tak boleh link ke database.....klau boleh pun table dier tak jumper......
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
WAP server arifjoe Website Design 12 08-10-2005 01:19 AM
All About Server ajamz Mamak Stall 5 08-02-2005 02:25 PM
pasal server... Server sniperock Website Programming 2 25-01-2004 06:51 PM
need 1U server websource82 Other Webmaster-related Services and Promotion 1 13-06-2003 10:40 AM
need ded. server fweikeong Other Webmaster-related Services and Promotion 1 21-12-2002 06:20 PM



All times are GMT +8. The time now is 06:27 AM. Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58