[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1435
  • Last Modified:

HTTP 500 Internal Server Error in local host (IIS 7) of windows 7

I have been using Windows XP professional with local host (IIS 5.1) for testing web applications mostly coded in traditional ASP.  The ASP applications were working well in both local host of Windows XP Professional as well as in the actual web server in the internet.
      Now I procured new system with windows 7 that has IIS 7 to facilitate local web server activity.  I configured my web folder in the new system as per the instructions.  The problem is traditional html applications are working well but not those coded in the traditional ASP.  When the ASP applications are opened, it is giving HTTP 500 internal server error.  The same problem is occurring in all the ASP applications.  
0
Srinivas Mantha
Asked:
Srinivas Mantha
  • 5
  • 5
  • 2
1 Solution
 
smartali89Commented:
First you will need to enable a option in asp module which sends errors to browser.

Goto IIS > select ASP Module and you will see configuration as show in the image.

This will enable you to see what the actual problem is.
asp.png
0
 
crshekharamCommented:
by default running of ASP scripts will be enabled in XP while creating web folder.  But for windows 7 and IIS 7, you need to explicitily mention to run ASP scripts
0
 
Srinivas ManthaConsultant Anesthesiologist and Pain PhysicianAuthor Commented:
With regard to SMartali's statement, I checked the configuration.  I set "send errors to browser" to be true.  Still it is giving HTTP 500 internal server error, with indicating where the error is.
Is the ASP scripting is erroneous, why should everything be OK and working in the regular web server on the internet
With regard to CRShekharan's statement, where mention to run ASP scripts. Is it in IIS manager.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
smartali89Commented:
Make sure you have enabled Asp from Program Features, see the attached image for reference.

If Asp is enabled, try to run a simple asp file for example:

<% Response.Write("Asp is working" %>

Open in new window

asp.jpg
0
 
crshekharamCommented:
Yes, its in IIS Manager, Web Server Extensions
0
 
Srinivas ManthaConsultant Anesthesiologist and Pain PhysicianAuthor Commented:
I tested the test.asp file.  It is working but not other asp files.  Now I understood the problem.  My applications in ASP are critically dependent on MS Access databases.  In window XP professional (local host) as well as internet web server, I defined the MS access database connections through DSN (ODBC and system DSN). In window 7, it is not permitting to define system DSN for database other than SQL server.  As you all konw, window XP Professional permits DSN connections to various databases e.g. MS access, Fox pro, oracle, SQL server etc.  Is there any way to define system DSN connection to MS access in window 7.  That would solve the problem
0
 
smartali89Commented:
Install MS Access on your system, this will install .mdb drive.

Can you specify which mdb driver you are using on winxp ?
0
 
Srinivas ManthaConsultant Anesthesiologist and Pain PhysicianAuthor Commented:
I have installed MS office 2000.  I also have MS office 2007 student version (that will not include MS access) installed on the new windows 7 system.
The driver that am using with window XP Professional is
Microsoft access driver version 4.00.6304.00
Microsoftcoroporation
File ODBCJT32.DLL
I physically copied the above dll file into system32 folder in the new windows 7 and restarted.
Still it is not giving me an option of selecting MS Access database for DSN. Only driver for SQL server is shown
0
 
smartali89Commented:
just copying won't work.. open up cmd.. goto system32 dir.. and then run this command

regsvr32 "odbcjt32.dll"

try installing ms access 2007
0
 
Srinivas ManthaConsultant Anesthesiologist and Pain PhysicianAuthor Commented:
I tried the command instructions.  it says
"The module odbcjt32.dll was loaded by the entry-point DIIRegisterServer was not found.
Make sure that odbcjt32.dll  is a valid dll or OCX file and then try again"
I have licensed student version of MS office (word, PPT, excel) that came along with the DELL laptop.
Intalling MS access 2007 may not be possible.
0
 
smartali89Commented:
make sure you have moved this file to system32 folder. and when you run this command make sure you are in system32 directory,

or directly use this command

regsvr32 c:\windows\system32\odbcjt32.dll
0
 
Srinivas ManthaConsultant Anesthesiologist and Pain PhysicianAuthor Commented:
The actual problem is that my window 7 professional is a 64 bit package.  odbcjt32.dll is not compatible with the 64 bit windows.  Please see the following two links that extensively address the problem that I am facing
http://forums.techarena.in/vista-help/684053.htm
http://social.msdn.microsoft.com/Forums/en-IE/adodotnetdataproviders/thread/1c63e3ae-e001-4066-9eac-ad9162116603
currently there appears to be no solution unless microsoft produces a 64 bit driver.
Can the links be reviewed as let me know whether my understanding is correct
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

  • 5
  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now