?
Solved

IIS Error in AS/400

Posted on 2003-03-28
13
Medium Priority
?
563 Views
Last Modified: 2007-12-19
I'm trying to develop a WEB server for an NT 4.0 based system. I'm using ASP as the front end, AS/400 as the Back end n using Client Access for the connectivity terms. The sequence of my installation is such. I installed Windows NT first, then installed the Service Pack 6.0, n then the Option Pack. But after all successful installations, when I run my program in running based conditions, I receive an IIS error that says "Active X Controls not found". Is my sequence of all installations correct. Why do I receive this error n what's the solution regarding that?
0
Comment
Question by:adnan_rais
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
13 Comments
 
LVL 13

Expert Comment

by:samic400
ID: 8235118
might be a silly question, but you are sure that IIS has been installed? You can verify this by seeing if the ASP.DLL exists!!

0
 

Author Comment

by:adnan_rais
ID: 8238419
Ok Forget this Active X Error... Now I need to install IIS & Client Access simultaneously. Even if they r installed simultaneously or one at time, an ODBC32.DLL Error is generated. What's the solution regarding that n tell methe sequence for IIS n Client Access Installations. Hope this might not b a silly question once again...
0
 
LVL 13

Expert Comment

by:samic400
ID: 8239351
Try and load the latest and great MDAC version after both IIS and Client Access programs are installed.

Remember something very similar happening with IIS/ADO/CA400 where MDAC 2.6 fixed it because Client Access corrupted some DB files....

Hope it helps!

0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 

Author Comment

by:adnan_rais
ID: 8245261
samic400,
   I even installed the latest version of MDAC,i.e., MDAC 2.6 after the successful installations of IIS and Client Access. But when I run my program , on connectivity line the following error arise

Microsoft OLEDB Driver for ODBC Drivers
Error '8004005'

[IBM][Client Access ODBC Driver(32-bit)][DB2/400 SQL]

Communication link failure. COMM RC = 0x5

golbal.asa Line 11

Line 11 is the line where I'm connecting my program to AS/400 via Clent Access. What's the solution regarding that. Plz help me out immediately as it's urgent.

Even if I connect my program using Access at back-end, it gives the following error

Provoder
Unspecified Error
Error '80004005'

How to remove the errors in both cases. Do reply immediately.
0
 

Author Comment

by:adnan_rais
ID: 8245297
Active X Component Error is also displayed while connecting ASP Program to AS/400 via Client Access. Remember I'm using ASP as front-end langauge.
0
 
LVL 13

Expert Comment

by:samic400
ID: 8247493
What does your code look like in your global.asa?

Could you post it here?
0
 

Author Comment

by:adnan_rais
ID: 8252044
<object RUNAT="Server" Scope="Session" ID="objConn" ProgID="ADODB.Connection">
</object>
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Application_OnStart
    Application("f") = "Saqib Umar"
End Sub

Sub Session_OnStart
    objConn = Server.CreateObject("ADODB.Connection")
    Set Rs2 = Server.CreateObject("ADODB.RecordSet")
    objConn.open "DSN=dsn;uid=USER;pwd=password"
End Sub

Sub Session_OnEnd
End Sub
</SCRIPT>
         Same code is working on windows 98 but displaying following error on NT4.0

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[IBM][Client Access ODBC Driver(32-bit)][DB2/400 SQL]Communication link failure. COMM RC=0x5
/cpl/global.asa, line 11

Kindly solve this problem as my application is hanged due to this problem for many days.
0
 
LVL 13

Expert Comment

by:samic400
ID: 8252358
Verify that all CA400 host servers are running:

STRHOSTSVR *ALL command

The other thing you can do is you can turn on the ODBC tracing feature in Client Access to see what your problem is.

If this is working with Windows 98 and not NT, my first thought would be an NT security thing somewhere along the line.


0
 

Author Comment

by:adnan_rais
ID: 8252632
can u plz let me know where to type STRHOSTSVR*ALL Command n how to turn the ODBC features in Client Access On?
0
 

Author Comment

by:adnan_rais
ID: 8263282
samic400,
  where r u? got busy somewhere. I'm in mood to make a clean installation once again. Can u plz tell me how should I install NT 4.0 so that the security issues won't rise again. Moreover, what version of Client Access shall I install?
0
 
LVL 13

Expert Comment

by:samic400
ID: 8263865
run STRHOSTSVR *ALL from an AS400 command line.

Are you sure you are connected to your AS400 correctly. Can you ping the IP address for the AS400?

Use Client Access Express and if you can ping your AS400 IP, you can even specify this address as your HOST name.

0
 

Accepted Solution

by:
saqibkhan earned 80 total points
ID: 8279819
There is a .dll file called odbcjt32.dll which is used by both Access n Client Access softwares. While installing Client Access that file doesn't work. Therefore, u need to reinstall MDAC 2.6 then u'll b able to work with both connectivity softwares.
0
 

Author Comment

by:adnan_rais
ID: 8279824
Thanx saqibkhan.. ur answer really got solved my biggest problem.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What's worse than having your data encrypted by ransomware? Getting attacked by a so-called "wiper," which simply destroys the data and offers you no hope of ever seeing it again.
The Summer 2017 Scholarship Winners have been announced!
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month14 days, 12 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question