badotz - how do i find my server name. the page on my local machine is opened using this url http://localhost/test.asp
and my IIS is named HARRY-PC
also how do i add the permissions to the db?
Main Topics
Browse All Topicsthe below code runs perfectly fine on my web host. it does not work when i try to run it locally with my local IIS on my windows vista machine.
i bet it is some configuration issue locally. i need to know what!? please help.
this is the result of my below code when run locally.
inside databasconnect1
inside databasconnect2
inside databasconnect3
An error occurred on the server when processing the URL. Please contact the system administrator
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
badotz - how do i find my server name. the page on my local machine is opened using this url http://localhost/test.asp
and my IIS is named HARRY-PC
also how do i add the permissions to the db?
tobzz now this is the message i am getting ...
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Disk or network error.
/DatabaseConnect2.asp, line 17
line 17 is this - objCon.open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:\_ _\_Internet\harrycool\loca
i have checked and the path i have given is ok.
It sounds like permissions then.
Here's an except from this site: http://tutorials.aspfaq.co
[BEGIN QUOTE]
Again, IUSR_<machineName> must have read and write permissions not only on the MDB file, but also on the folder in which it resides, and in some cases the system %TEMP% folder.
There are certain situations where you will need to set up permissions for the IWAM_<machineName> user as well. Specifically, the C:\document and settings\%domainname%\IWAM
[END QUOTE]
I seem to remember reading this the first time I set up IIS7 in VISTA, having problems myself. All a bit of a hassle but hopefully should solve your issue.
I do not do web development full time. I am not a programmer by profession. I do it as a hobby for maintaining my personal site www.harrycool.com.
as a result i do not get to check on my questions every day. i usually end up doing something around this hobby of mine every few weeks and hence the delay.
the soltions given above were all right - partially as in the end, sybe's comment as the key to get this working but even that was not complete. in fact i had to do a ton of searching on the net and even then i didn't get a site that told me to change my defaultapppool to "Local Service" from "Network Service".
Lots of hit and trial and now the damn thing is working. But Now i fear that due to the giving permissions spree on my always-connected computer and then removing UAC from Vista, I might make my IIS and computer vulnerable to outside attacks even though I have a full version of Norton installed.
I also have lost track of what all needs to be reverted back to normal and still not mess up the working ASP.
I am giving these points reluctantly. specially to Badotz because of his nasty and unfari comments on my other post.
Unfortunately I do need to give points to be able to ask more. I don't like this whole system a bit. But still I like this site and so I will continue ....
sorry guys, just want to vent it out.
Business Accounts
Answer for Membership
by: BadotzPosted on 2009-10-03 at 04:14:12ID: 25484792
Make sure both
IWAM_your_server_name_here
and
IUSR_your_server_name_here
have R/W permissions for your DB.