Wrox Programmer Forums
|
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 16th, 2004, 06:38 PM
Registered User
 
Join Date: Mar 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Database access after upgrading to IIS 6.0

I have a program that queries a SQL database for information that now cannot access the database since we have upgraded to Windows 2003 and IIS 6.0.
Nothing has changed with the asp files, but I try a DSN and a DSN-less connection, the connection is not being made and I get a "This Page cannot be displayed" error message.
What do I have to do to set up IIS 6.0 to be able to access the database?
Any ideas?
 
Old March 17th, 2004, 03:37 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Did you recreate the DSN on the new machine, or did you just upgrade an older server?

To get more information about the error, make sure "Friendly http error messages" are enabled. For the browser (IE), open the Options panel, switch to the Advanced tab and disable Show friendly HTTP error messages. For IIS, open your site, click the Configuration button on either the Directory or Home Directory tab, and then switch to the Debugging tab. Make sure that Send detailed ASP error messages to client is checked.

Then run the page, and post the error message you see. Maybe that will shed some light over this problem.

HtH,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 17th, 2004, 01:20 PM
Registered User
 
Join Date: Mar 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for responding. Yes, I did recreate the DSN on the new machine.
To make this clear, all of this worked on iis 5.0 and only now that we upgraded to Windows 2003 and iis 6.0 has it stopped.
The error message that I get with detailed error messages is:

error '8007007f'
/wic/Default.asp, line 17

Line 17 is "conn.open cst" - this is my connection to the database.
I have tried this on 2 other asp applications with the same error message at the same lines that connects to the database (DSN-less). And this all works on iis 5.0.
I have tried all the normal changes in iis manager.

Any ideas? Thanks for your time.
 
Old March 17th, 2004, 02:36 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

What does Google say for the error number you mentioned in combination with "server 2003"? I wouldn't be surprised if this was a common problem.....

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 17th, 2004, 02:42 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

One more thing. Does SQL Server run on the Win 2003 box? Is SQL Server even running?

You'll need the latest service packs to successfully start SQL on a Win 2003 machine....

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old March 17th, 2004, 05:09 PM
Registered User
 
Join Date: Mar 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found the answer at:
http://www.webservertalk.com/showthr...light=8007007f
Read this and go to the link at the bottom for anyone else having this problem.

Basically, I downloadeded and ran Component Checker "Comcheck.exe" from the Microsoft site and found that I had the wrong version of the oledb32.dll file based on my current version of MDAC. I followed the instructions at the above site and all was fixed.

Thanks for your help.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading from Access 2002 to Access 2003 lryckman Access 1 July 16th, 2006 01:46 AM
a problem of access the IIS metabase leocanming ASP.NET 2.0 Basics 0 March 24th, 2006 04:49 AM
Pros and Cons of upgrading Access 97 DMickel Access 5 February 18th, 2006 06:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.