IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old February 25th, 2004, 12:25 PM
shy749 shy749 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 15 shy749 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
URgent - IIS Newbie on the move

Hi Everyone,

My IIS server is running on a windows 2003 server. I think i have configured everything right. But when i try to view my asp files which connect to a acces database, the following error comes

Provider error '80004005'

Unspecified error

/Default.asp, line 44

But its weird, the first i can view the page correctly but when i go to a different page and redirect to it...it gives me this error.

So can anyone help me solve this problem. I kinda know that it is a permission problem. But i have tried everything. I have given full permission to EVERYONE on the server plus enabled IUSER login also.

Thanks a lot

Reply With Quote
  #2  
Old February 25th, 2004, 12:29 PM
shy749 shy749 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 15 shy749 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Oh sometimes i cant even view my webpages. It says "The page cannot be displayed" but then again sometimes i can view them.

this is how i am connecting to the access database

Set Conn = Server.CreateObject("ADODB.Connection")
Conn.ConnectionString= "DRIVER={Microsoft Access Driver (*.mdb)};" & "DBQ=" & Server.MapPath("db/test.mdb")
Conn.open

Reply With Quote
  #3  
Old February 25th, 2004, 02:49 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
This is not an IIS issue. Try using the OLEDB provider for Jet. Make sure you have the proper permissions on the db file & folder.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #4  
Old July 27th, 2004, 06:03 PM
domainsadmin domainsadmin is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 3 domainsadmin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Help with windows 2003 and geting database connections

I get the same sort of error

error '800401f9'
/add.asp, line 6

and im using the same connection string...

this is very fustrating, any ideas..

do you need to have microsoft access installed on the server.

cheers aron.

Reply With Quote
  #5  
Old August 1st, 2004, 05:38 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
No you don't need Access itself installed on a computer to use a .mdb from asp or other programming languages.

Reply With Quote
  #6  
Old August 2nd, 2004, 08:09 AM
jonnymccullagh jonnymccullagh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Ireland
Posts: 241 jonnymccullagh User rank is Lance Corporal (50 - 100 Reputation Level)jonnymccullagh User rank is Lance Corporal (50 - 100 Reputation Level)jonnymccullagh User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 20 h 17 sec
Reputation Power: 5
I had problems like this with Win 2003 permissions.
I tried setting the IUSR account with write permissions but it didn't work.
This is what I discovered.
When I created new websites (using the IIS web admin interface at port 8098) I set the home directory etc and also create a new Admin account for the website e.g. for a site named mywebsite the admin account is mywebsite_Admin.
At the same time an account named mywebsite_Anon is created and this is the account which is used as the anonymous account representing the users who browse to your site - replacing the older IUSR_machinename way of doing things. It is a good idea when you think about it, that is, seperate accounts for seperate websites.
However, to have write access to databases or folders I needed to add the mywebsite_Anon account to the security tab on the folder and then tick 'write' permissions.
This worked for me - I hope this is the solution to your problem also. It took me ages to work it out myself!
__________________
"We teach people to learn,
we never teach them how to grow" - Oscar Wilde

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > URgent - IIS Newbie on the move


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway