 |
| Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Basics 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
|
|
|
|

July 26th, 2011, 02:20 PM
|
|
Authorized User
|
|
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Classic ASP Website in IIS
I was trying to configure Classic ASP website under IIS 7.0.
IIS is installed on Windows server 2008 (64 Bit).
I have tired to follow steps mentioned in below link but still I am not able to browse my classic asp website from IIS.
http://www.youtube.com/watch?v=x7H9A8_RUgg
Can anyone please help me with the steps?
|
|

July 26th, 2011, 02:23 PM
|
|
Authorized User
|
|
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
When I click browse from IIS, it is giving me below error.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
/includes/db_open.asp, line 212
Last edited by Nishapd; July 26th, 2011 at 02:26 PM..
Reason: error
|
|

July 26th, 2011, 03:13 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
You may need to change the "Enable 32 Bit Applications" property of the application pool for your site to True as, AFAIK, the Access drivers are not available under 64 Bit.
Cheers,
Imar
|
|

July 26th, 2011, 03:18 PM
|
|
Authorized User
|
|
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It is already true under IIS level. I am still getting the same error.
|
|

July 26th, 2011, 03:21 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
'80004005' is almost always a permission issue. Does Google give you any results for this error? How does your connection string look?
Imar
|
|

July 26th, 2011, 03:22 PM
|
|
Authorized User
|
|
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
strConn = "Driver={Microsoft ODBC for Oracle}; Server=tns:DEV; UID=PORTALDEV; PWD=portaldev"
|
|

July 26th, 2011, 03:25 PM
|
|
Authorized User
|
|
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I have enabled Windows authentication mode and enabled Directory Browsing as well.
Last edited by Nishapd; July 26th, 2011 at 03:25 PM..
Reason: error
|
|

July 26th, 2011, 06:04 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Windows authentication doesn't come into play here as it's related to how clients are authenticated.
As I said, that error number indicates a security issue, so my guess is that your web server account can't read the DSN, registry or temp folder. Did you search Google for this? You'll find a number of similar issues with different resolutions. You'll need to figure out which one works for you.
Cheers,
Imr
|
|

July 26th, 2011, 06:50 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
|
|
I feel for you. We had the same issue while trying to connect to MYOB. A financial software package that 80% of australian businesses use! - I spent a about 10 days and found no solution. As Imar has sugested to you, the drivers simply are not avaialble, in this circumstance they were not either. "Enable 32 Bit Applications" made no difference at all.
We took the drastic approach of pulling the application off the new 2008 server and put it back where it came from to make the problem go away. If you find a solution please post it here, others will beneft from it...........[even though they say clasic ASP is dead.....not in our office its not, live on!]
__________________
Wind is your friend
Matt
|
|

July 27th, 2011, 09:27 AM
|
|
Authorized User
|
|
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Imr, I tried to google about it and couldn't find any solution.
|
|
 |