Link to home
Start Free TrialLog in
Avatar of adnan_rais
adnan_rais

asked on

IIS Error in AS/400

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?
Avatar of Bob Butcher
Bob Butcher
Flag of United States of America image

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!!

Avatar of adnan_rais
adnan_rais

ASKER

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...
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!

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.
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.
What does your code look like in your global.asa?

Could you post it here?
<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.
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.


can u plz let me know where to type STRHOSTSVR*ALL Command n how to turn the ODBC features in Client Access On?
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?
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.

ASKER CERTIFIED SOLUTION
Avatar of saqibkhan
saqibkhan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanx saqibkhan.. ur answer really got solved my biggest problem.