Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ASP / Database Access / April 2007



Tip: Looking for answers? Try searching our database.

IIS7 and Access Database: vague error, nothing in logs!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JackBlack - 04 Feb 2007 21:48 GMT
Hi, all!  Running IIS7 under Vista Business (RTM, from MSDN
Subscriptions).  ASP installed and MIME type for ASP page is correct.

I just dropped on a basic ASP website using an Access 2k3 database on
the backend via file DSN (tried System DSN also, no go).  When I call:

    objConnection.Open "<my connection string>"

I get this error:

    "An error occurred on the server when processing the URL.
Please contact the system administrator"

And that's it.  Nothing in the Event Viewer, and I can't find the
bloody IIS7 log files.  I've tried putting the file dsn in different
places, tried different paths to it in the connection string, made
sure the default user (<machinename>\IIS_IUSRS) has write privs to
temp directories and directory where database is physically stored,
still no go.

Side note: this website, dsn, database etc work perfectly on two
different Win2k3 servers, so code and logistics aren't an issue (other
than changes that are REQUIRED for IIS7, whatever those may be).

Any suggestions?  Been Google'ing, checking KB, TechNet, MSDN for a
couple hours, no luck.  Too bad MS doesn't see fit to properly
document their stuff, again.

Thanks
Jack
PW - 05 Feb 2007 00:10 GMT
Just to state the obvious ... is IIS installed?  I don't have Vista yet, but
read that it has to be manually installed.

HTH,
PW
Jack Black - 05 Feb 2007 01:16 GMT
If it wasn't installed, it wouldn't be running ASP pages... ;-)

Jack

> Just to state the obvious ... is IIS installed?  I don't have Vista yet,
> but read that it has to be manually installed.
>
> HTH,
> PW
John Blessing - 05 Feb 2007 10:55 GMT
> Hi, all!  Running IIS7 under Vista Business (RTM, from MSDN
> Subscriptions).  ASP installed and MIME type for ASP page is correct.
[quoted text clipped - 26 lines]
> Thanks
> Jack

Try this:

a.. navigate to c:\windows\serviceprofiles\networkservice\appdata\local\temp
a.. Right click on the folder, select Properties.
a.. Click the tab labelled Security.
a.. Click the Edit button then the Add button.
a.. Type the name IUSR. Click OK.
a.. It will be listed in the list of user names - select it
a.. In the box below showing "Permissions for IUSR", make sure the "Full
control" box is ticked.
a.. Click OK. Click Ok

Signature

John Blessing

http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.room-booking-software.com - Schedule rooms & equipment bookings
for your meeting/class over the web.
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook, find/replace,
send newsletters

Bob Barrows [MVP] - 05 Feb 2007 12:08 GMT
> Hi, all!  Running IIS7 under Vista Business (RTM, from MSDN
> Subscriptions).  ASP installed and MIME type for ASP page is correct.
[quoted text clipped - 8 lines]
> "An error occurred on the server when processing the URL.
> Please contact the system administrator"

Start here:
http://www.aspfaq.com/show.asp?id=2109

Signature

Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Anna - 06 Apr 2007 17:28 GMT
John Blessing

Thank you so much for that answer.  I was having the exact same issue and you just saved my behind in this project.  I searched for 2-3 hours for an aswer when I found your post.  Awesome work.  Thanks
John Blessing - 07 Apr 2007 21:34 GMT
> John Blessing
>
> Thank you so much for that answer.  I was having the exact same issue and
> you just saved my behind in this project.  I searched for 2-3 hours for an
> aswer when I found your post.  Awesome work.  Thanks

I can't claim the credit really. When I had the same problem I spent even
longer googling  <g> HTH

Signature

John Blessing

http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.room-booking-software.com - Schedule rooms & equipment bookings
for your meeting/class over the web.
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook, find/replace,
send newsletters

Dimitris - 21 Apr 2007 12:40 GMT
If you run Windows Vista, you have to do the following at the IIS Manager:
1. Select the web site from the tree on the left and click on the "ASP" icon
2. Expand the "Debugging Properties" and set to true the "Send errors to browser"
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.