Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 26th, 2011, 02:20 PM
Authorized User
Points: 241, Level: 4
Points: 241, Level: 4 Points: 241, Level: 4 Points: 241, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?
Reply With Quote
  #2 (permalink)  
Old July 26th, 2011, 02:23 PM
Authorized User
Points: 241, Level: 4
Points: 241, Level: 4 Points: 241, Level: 4 Points: 241, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #3 (permalink)  
Old July 26th, 2011, 03:13 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
  #4 (permalink)  
Old July 26th, 2011, 03:18 PM
Authorized User
Points: 241, Level: 4
Points: 241, Level: 4 Points: 241, Level: 4 Points: 241, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is already true under IIS level. I am still getting the same error.
Reply With Quote
  #5 (permalink)  
Old July 26th, 2011, 03:21 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

'80004005' is almost always a permission issue. Does Google give you any results for this error? How does your connection string look?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
  #6 (permalink)  
Old July 26th, 2011, 03:22 PM
Authorized User
Points: 241, Level: 4
Points: 241, Level: 4 Points: 241, Level: 4 Points: 241, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

strConn = "Driver={Microsoft ODBC for Oracle}; Server=tns:DEV; UID=PORTALDEV; PWD=portaldev"
Reply With Quote
  #7 (permalink)  
Old July 26th, 2011, 03:25 PM
Authorized User
Points: 241, Level: 4
Points: 241, Level: 4 Points: 241, Level: 4 Points: 241, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #8 (permalink)  
Old July 26th, 2011, 06:04 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
  #9 (permalink)  
Old July 26th, 2011, 06:50 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

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
Reply With Quote
  #10 (permalink)  
Old July 27th, 2011, 09:27 AM
Authorized User
Points: 241, Level: 4
Points: 241, Level: 4 Points: 241, Level: 4 Points: 241, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2009
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imr, I tried to google about it and couldn't find any solution.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Execute visual basic .exe from Classic ASP website. Nishapd Classic ASP Basics 0 August 28th, 2010 09:55 AM
Unable to configure IIS website to use ASP.NET 2.0 japss ASP.NET 2.0 Professional 2 July 14th, 2008 09:14 AM
asp classic website debug hassan1365 Classic ASP Databases 0 July 9th, 2007 04:23 AM
classic asp with asp.net on same iis bostonrose .NET Framework 2.0 6 January 10th, 2007 12:38 PM
Problem with IIS and website boksi ASP.NET 2.0 Basics 2 July 18th, 2005 08:10 PM



All times are GMT -4. The time now is 05:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.