IIS Problem!!!!!!!! (Full Version)

All Forums >> [Web Development] >> Server Issues



Message


damaster -> IIS Problem!!!!!!!! (2/25/2004 3:16:03)

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.
Thanx

Regards,

>Da^Master<




Giomanach -> RE: IIS Problem!!!!!!!! (2/25/2004 4:14:33)

Unless you allow write permissions through the IIS snap-in in The Management Console, the file Inetpub only has Read Only access when you access it through http://localhost

Dan




Doug G -> RE: IIS Problem!!!!!!!! (2/25/2004 17:21:51)

With that sticky key, maybe you got some !!!! in your connection string :)




damaster -> RE: IIS Problem!!!!!!!! (2/26/2004 1:02:23)

Very funny Goug!!! [8|]

any wayz seems like problem with my websharing cuz its not allowing 2 write 2 the Database it was working fine be4 I installed those stupid updates/Patches!! [:@] wt shall i do ... im lost! [X(]




Doug G -> RE: IIS Problem!!!!!!!! (2/26/2004 1:22:09)

Have you restarted the web server?

I suspect some permission issue somewhere. Make sure the IUSR_computername has full read/write capability to the database and it's folder. If you are using a DSN try using a connection string, pref. the OLEDB provider. If you mdb is Access 97 format, try updating it to Access 2000 or higher format. If you don't have the newest db drivers you can download them from www.microsoft.com/data




damaster -> RE: IIS Problem!!!!!!!! (2/26/2004 2:18:50)

how do i restart the web server?

+ im using ADO connection strings 2 connect with Access 2000 DB. I didnt find any user by that name IUSR_computername?!. Ok tell me when u right click on the folder which has the DB then wt permissions do u set? in the web sharing Tab I gave it a:

READ & WRITE in >> ACCESS PERMISSIONS

&

SCRIPTS in >> APPLICATION PERMISSION

wt else do i need 2 do? [8|]




Giomanach -> RE: IIS Problem!!!!!!!! (2/26/2004 3:29:23)

Restarting the IIS Server:

Right Click On My Computer> Manage> Go down to IIS and right click on it, and then go to All Tasks, select Restart IIS> follow on screen instructions

Dan




damaster -> RE: IIS Problem!!!!!!!! (2/28/2004 4:22:47)

well I tried All that! restarted the IIS service as well as restarted the machine as well.. but it is the same!! [:'(]
im completely lost now?? do u think istalling IIS only will solve the problem?? [8|]




Doug G -> RE: IIS Problem!!!!!!!! (2/28/2004 12:03:16)

I assume you are running XP Pro. If so you should have an IUSR_xxxxx user account, which is the default user account that IIS runs under. That user account needs permission to write to any mdb files.

Possibly removing and reinstalling IIS will help you out.




damaster -> RE: IIS Problem!!!!!!!! (2/29/2004 0:21:04)

Yes!!!!!!!!!!!!!![:D] problem solved Woooooohooooooo [8D]

Thanx man the User IUSR_xxxx was having no premission so i gave it the admin rights & ya it worked!! thanx a lot Doug G. [:)] really appreciated ur help.

This is wonderful community.




Doug G -> RE: IIS Problem!!!!!!!! (2/29/2004 16:03:48)

If you added the IUSR account to the administrator group, you might want to reconsider if you web is exposed to the Internet. If anyone hacked in your website they would have admin rights. The IUSR account on my XP Pro is a member of the Guests group only.




damaster -> RE: IIS Problem!!!!!!!! (3/2/2004 1:14:11)

well Doug ... Since its on my local Machine & then we are behind a firewall so, that would not be a problem.. [;)]




damaster -> RE: IIS Problem!!!!!!!! (3/7/2004 5:12:06)

im afraid I got the same problem again [:@] !!! Arggggggggggggh!

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! [8|]

any suggestions plzzzzzzzzzzzz [:(]




Giomanach -> RE: IIS Problem!!!!!!!! (3/8/2004 3:54:12)

You need to set the Read Write permissions on the IIS Snap-in, the default is read only. You need to set it to Write and execute scripts as well as read. Basically Full Control.

Dan




damaster -> RE: IIS Problem!!!!!!!! (3/9/2004 3:02:06)

R u talkin about the "wwroot" folder or the Folder on which my databases reside?

well i have tried that as well but no use!

ok tell me 1 thing wt if i install IIS again?

I mean wt do i need 2 do ?? should i take back up of the wwroot folder? or no need? plz advise

cuz I cant seem 2 get this thing working [X(]




Giomanach -> RE: IIS Problem!!!!!!!! (3/9/2004 4:02:00)

I don't mean setting the Read/Write permissions through Windows Explorer, I mean through the IIS Snap-in.

If you are going to re-install IIS, first of all, stop the server, and make a back up copy of the files within C:\Inetpub, then Start>Settings>Control Panel> Add/Remove Programs>Windows Components>Internet Information Services unchecked>Next

Allow it to finish, and just to be safe, restart the computer. Then re-install IIS in the same way, but make sure that the IIS check box in Add/Remove Programs is checked, and have you XP disk at hand, you might need it.

Then restart the server, and copy over your current files back into the wwwroot etc.

It will still have Read Only permissions, so you will need to set the Read/Write permissions from the IIS Snap-in in the Management console.

HTH

Dan




damaster -> RE: IIS Problem!!!!!!!! (3/9/2004 6:10:39)

well I did Install it again + I also tested it in another machine of my collegue it works fine on his machine!!

now I was checking the difference in his & my IIS Snap in on the "Default web site" panel & in the ISAPI Filters tab I found 1 filter which is additional to the other filters on the other machine, this filter is fpexedll.dll. I think this is installed with the Front Page 2003 Which i have recently installed a few dayz back do u think this could b the cause of the problem if yes then I can remove that filter! Cuz Front page has its own security on there web folderz [>:]

Do u think it could have been caused dude to the Front page installation? [8|]




Giomanach -> RE: IIS Problem!!!!!!!! (3/9/2004 6:13:35)

To use FP2003 you need at least FP2002 SE's installed, or am I wrong???




damaster -> RE: IIS Problem!!!!!!!! (3/9/2004 6:51:09)

-ive... I had FP XP installed previously but that doez not makes any difference... im completely lost now :(




damaster -> RE: IIS Problem!!!!!!!! (3/21/2004 1:24:00)

ok here is the screen shot of the configuration that I got:

[image]http://img4.photobucket.com/albums/0803/damaster/iis_config.gif[/image]

is it ok ? I mean i tried 2 install the IIS again.. but no use.. [8|]




ellipisces -> RE: IIS Problem!!!!!!!! (3/21/2004 3:38:50)

First and foremost, if it is a permissions issue, then an entry is being made in the server log. Look in there and see what you will see.

Second, in the very first message it says there is an error on line 250 of the script. Have you checked that line...




damaster -> RE: IIS Problem!!!!!!!! (3/21/2004 5:39:45)

well .... as u know I have already tried all the thingz stated above.. yes it seems like its a premission issue, I mean I even deleted the IUSR_XXX & then the system created a new 1 but ?? no use!!! [:@]




ellipisces -> RE: IIS Problem!!!!!!!! (3/21/2004 15:05:53)

Have you looked in the server access logs, or not?

Have you checked line 250 of your script?




damaster -> RE: IIS Problem!!!!!!!! (3/22/2004 0:32:55)

Are you talkin about the Computer Management console?

in EVENT VIEWER >> SYSTEM ?

yes I have checked that.

& on line 250 its tryin to open the database connection to read & write to it. but this is just 1 of the applications i got on my local server. I have tried all otherz but they also reurn the same sorta messages. [&o]

so? I have also uninstalled & installed the IIS again? but its the same..

As im on a net work, so does it matter i I have a dymanic IP or a Dedicated 1? [8|]




ellipisces -> RE: IIS Problem!!!!!!!! (3/22/2004 3:26:43)

quote:

EVENT VIEWER >> SYSTEM ?

yes I have checked that.

& on line 250 its tryin to open the database connection to read & write to it
so there are no entries for either one of these?
quote:

As im on a net work, so does it matter i I have a dymanic IP or a Dedicated 1
Oh yeah, this matters a lot. If your servers IP changes (dynamic) then how in the world are you supposed to code a database connection? Your servers should be using a static IP address!




Richard Dudley -> RE: IIS Problem!!!!!!!! (3/22/2004 8:55:33)

quote:

I even deleted the IUSR_XXX & then the system created a new 1 but ?? no use!!!


You do know that even though this user has the same name, it's not technically the same user? Windows keeps track of users by what's called an SID, which I think is short for "security identifier". Permissions are assigned to an SID, but the account's name is displayed. If you delete a user, and create a user with the same name, it will have a different SID. This means that since you deleted the IUSR, you should go back through all your permissions and make sure they're correct again.




damaster -> RE: IIS Problem!!!!!!!! (3/24/2004 2:26:26)

well yes thats tru... actually I had deleted the IUSR_XXX then the new user had a different password.. so I just jave it the same password with which i logon to my network Domain & the problem was resolved. [:D]

THANX GOD

& ya thank u all 4 ur useful inputs I like this community [:)] its the best tech community where i got the most replies from...




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.15625