Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

IIS Error in AS/400

Posted on 2003-03-28
13
Medium Priority
?
571 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
  • 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
[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Are you a startup company? Being a startup, you may be using shared hosting, or maybe even dedicated hosting. But have you ever given a thought to using cloud computing now? Yes, don’t be surprised, it is possible for startups to opt for cloud compu…
If you try to migrate from Elastix to Issabel, you will face a lot of issues. These problems are inevitable but fortunately, you can fix them. In the guide below, I will explain how I performed the migration while keeping all data and successfully t…
Integration Management Part 2
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

572 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