IIS Problem please Help!!

This is a discussion on "IIS Problem please Help!!" within the Classic ASP section. This forum, and the thread "IIS Problem please Help!! are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 7th, 2004, 09:26
New Member
Join Date: Feb 2004
Location: Saudi Arabia
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
IIS Problem please Help!!

hi,

I have just updated my Windowx XP Machine with the latest Patches & Security Fixes provided by Microsoft. be4 things were goin fine but now after I Installed all of that, my IIS or some thing else has a Problem I get this Message:

##############################################
Error Type:
Microsoft JET Database Engine (0x80004005)
Unspecified error
/forum_2/common.asp, line 250
##############################################

I cant access the Database on my local Server. The problem seems 2 be as if its not allowing the ASP script 2 write on the DB in using Access DB.

please Help me out if u can. [xx(]
Thanx

__________________________________________________ __________________
__________________________________________________ __________________

Previously my problem was solved my addin the IUSR account in the Admin group, but i have checked & the IUSR account has Admin Group rights I also added it to guests group. & Also restartd the IIS several timez But its not connecting 2 the any of the Database again! the ASP pages are workin fine!

any suggestions plzzzzzzzzzzzz

Regards,
>Da^Master<

  #2 (permalink)  
Old Mar 7th, 2004, 10:55
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Firstly.... it is a BAD security risk adding the iusr_computername account to admin group because then you are unleashing all permissions to an anonymous user (BAD IDEA!).

Remove it from admin group.

Next, right click on your iis root, and select 'security'. Give read, write permissions to iusr_computername.

Problem solved.... although from your error message, it doesn't look like a database permissions error.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #3 (permalink)  
Old Mar 7th, 2004, 12:17
New Member
Join Date: Feb 2004
Location: Saudi Arabia
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
errrr... can u tell me the steps 2 that? cuz I couldnt find that Security oh btw im using windows XP Pro.
  #4 (permalink)  
Old Mar 7th, 2004, 12:28
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
ok....

Open up folder options on any folder (tools, folder options)

On the view tab, untick 'use simple file sharing' (last option)

You will then get the security tab when you right click wwwroot and select properties.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #5 (permalink)  
Old Mar 8th, 2004, 05:01
New Member
Join Date: Feb 2004
Location: Saudi Arabia
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
well... I got that done.

I gave full control to the IUSR_XXX for wwwroot folder
Also I keep all the databases in the wwroot\admin\database folder
I have also given Full premission to IUSR_XXX on this folder as well.

but its still the same!

U know I tired to connect with Snits Forums as well. which i had running previously on my machine as well

* it gave me the following Error!

************************************************** ****************************************
The database could not be opened !!
Check your config.asp file and set the
strConnString so it points to the database.
Also check if strDBType is set to the right databasetype.

Code : 80004005

Error Description :
[Microsoft][ODBC Microsoft Access Driver] Disk or network error.
************************************************** ****************************************

any other suggestion?
  #6 (permalink)  
Old Mar 8th, 2004, 09:27
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
Try compact and repair on the database. Make sure there are no strange permissions set on the database itself.
  #7 (permalink)  
Old Mar 8th, 2004, 10:56
New Member
Join Date: Feb 2004
Location: Saudi Arabia
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
well i dont think its a database problem cuz i have like more than 20 ASP applications using different databases in the same folder. but all are returning the same error message. from which it is sure that there is a problem in reading or writing to the database!
  #8 (permalink)  
Old Mar 24th, 2004, 08:59
New Member
Join Date: Feb 2004
Location: Saudi Arabia
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
thanx fellas the problem is solved now.. it was a security issue for the IUSR_XXX i changed the password for that user & its workin fine now..
  #9 (permalink)  
Old Aug 4th, 2004, 12:34
AJ AJ is offline
New Member
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for your email, Da^Master. I had already done all the security stuff prior to my post - should've mentioned that.

I finally fixed this by setting the ConnectionTimeout property of the connection object to 20:

SET oConn = Server.CreateObject("ADODB.Connection")
oConn.ConnectionTimeout = 20

Thanks for your help.
  #10 (permalink)  
Old Nov 24th, 2004, 23:25
Anonymous User
Guest
Posts: n/a
How did changing the password help? Where did you change the password?

(I have the same problem...)
  #11 (permalink)  
Old Nov 25th, 2004, 11:42
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
If the IUSR_xxx accounts do not have good read/write/execute access to your www folder and database folders, then they cannot perform some actions and you get these sort of problems.
Closed Thread

Tags
iis, problem, help

Thread Tools

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

BB 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
First image problem and inline list problem konnor5092 Web Page Design 8 Dec 1st, 2007 09:08


All times are GMT. The time now is 00:04.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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