Connections failed from WRT160N V2 to wirelssG-PCI adaptor

Bought a new router and for the price, upgraded to the N-router.  Was told that it would connect with the G-Pci and it doesn't.  When I watch the adaptor connecting, it goes through all the steps but never connects.  At my whits end and ready to trash it all and go back to "direct connect".  Any help would be great. 

Well, it should definitely connect to the Internet...
You may try to adjust the Wireless Settings on your Linksys Router - 
Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter...Leave username blank & in password use admin in lower case...
For Wireless Settings, please do the following : -
Click on the Wireless tab
- Here select manual configuration...Wireless Network mode should be mixed...
- Provide a unique name in the Wireless Network Name (SSID) box in order to differentiate your network from your neighbours network...
- Set the Radio Band to Standard-20MHz and change the Standard channel to 11-2.462GHz...Wireless SSID broadcast should be Enabled and then click on Save Settings...
Please make a note of Wireless Network Name (SSID) as this is the Network Identifier...
For Wireless Security : -
Click on the Sub tab under Wireless > Wireless Security...
Change the Wireless security mode to WEP, Encryption should be 64 bit.Leave the passphrase blank, don't type in anything...
Under WEP Key 1 type in any 10 numbers please(numbers only and no letters eg: your 10 digit phone number) and click on save settings...
Please make a note of WEP Key 1 as this is the Security Key for the Wireless Network...
Click on Advanced Wireless Settings
Change the Beacon Interval to 75 >>Change the Fragmentation Threshold to 2304, Change the RTS Threshold to 2304 >>Click on "Save Settings"...
Now see if you can locate your Wireless Network and attempt to connect...
When you attempt to connect to your Wireless Network(if using Linksys Monitor) do not enter anything in Passphrase, just enter the WEP Key1 and it should connect...

Similar Messages

  • Connectivity failing from Integration Engine to Adapter Framework

    Hi Experts,
                         We are facing in issue for Idoc to file scenario where the messages are failing in the Call Adapter step in sxmb_moni with the error
    <SAP:Category>XIServer</SAP:Category>
    <SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code>
    <SAP:P1>401</SAP:P1>
    <SAP:P2>Unauthorized</SAP:P2>
    <SAP:P3>(See attachment HTMLError for details)</SAP:P3>
    <SAP:P4 />
    If I check the trace in the Call Adapter step, this is what I see
    <Trace level="3" type="T">URL = http://mpixq1cs01:50000/MessagingSystem/receive/AFW/XI
    <Trace level="3" type="T">User = PIISUSER</Trace>
    <Trace level="3" type="T">Cached = X</Trace>
    <Trace level="3" type="T">Creating HTTP-client</Trace>
    <Trace level="3" type="T">HTTP-client: creation finished</Trace>
    <Trace level="3" type="T">Security: Basic authentication</Trace>
    <Trace level="3" type="T">Serializing message object...</Trace>
    <Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
    <Trace level="3" type="T">HTTP-client: request sent</Trace>
    <Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
    <Trace level="3" type="T">HTTP-client: response received</Trace>
    <Trace level="3" type="T">HTTP-client: checking status code...</Trace>
    <Trace level="3" type="T">HTTP-client: status code = 401</Trace>
    <Trace level="3" type="System_Error" />
    Which means that the connectivity between IE and AE is failing for the user PIISUSER, which basis has confirmed is repeatedly getting locked.
    Can anyone please suggest where all this user needs to be maintained in the exchange profile, specially for calling the AFW url.
    Regards

    Apart from INTEGRATION_DIRECTORY_HMI, check any RFC Destination type H if you have proxy communicaiton in your landscape. You might have used the same user there. If there was recent password change for this user, make sure that it was changed in the RFC destinations as well.
    Regards,
    Prateek

  • SLD connection failing from PORTAL

    Hello All,
    Our env is EP 6.0 ,ORACLE 9i as DB ,OS as Linux.
    In portal under WebDynpro, the SLD test connection is failing and due to which none of the JCO connections are working  .
    The user used for the communication is SLDDSUSER , which has the roles of LcrAdministrator .
    When I tried to reset the password in VA (SLD Data Supplier) , even then it is getting failed .
    After viewing into the logs of latest default trace files , it is showing relating to unathourised issue .
    Here are  the logs of it
    ****com.sap.sldserv.comm.BridgeCommunicationHTTP com.sap.sld
    serv.comm.BridgeCommunicationHTTP Administrator SAPEngine_Application_Thread[impl:System/Server/SLDServiceError while sending HTTP data. Status: 401. Message: Unauthorized. Please*
    check if the target SLD system is available and the SLD bridge is started there.com.sap.engine.services.httpserver com.sap.engine.servic
    es.httpserver Guest SAPEngine_Application_Thread[impl:3]System/Server
    PlainUser Guest, IP address
    HTTP request processing failed. HTTP error [401] will be returned. The error is [Cannot authenticate the user.No details available.
    Checked few things and they are working fine.
    I have checked the connectivity of SLD externally (<server-name>:<j2ee-port>/sld) ,and it is working fine.
    Checked the user SLDDSUSER , and it is not locked and it has the roles of LcrAdministrator .
    Can any one suggest me to fix this issue ..
    Best Regards
    Rakesh

    Hi,
    Check your CIM client settings in the visual admin, check whether the connection test work fine or not.
    After resetting the password for SLDDSUSER you can try logging using the url http://fqdn:5xx00/useradmin. Then maintain the password and check the connection now.
    Regards,
    Vamshi.

  • Reg Target connection failed from catalog

    Hi,
    i am configuring RMAN in my PROD.
    I have seperate catalog database.
    I have added the TNS Entry of both in PROD and CATALOG Server.
    TNSPING from both server is working.
    I have created the password file in PROD.
    When i issue the command
    rman catalog rman/rman target sys/sys@PROD it gives below error.
    RMAN-04005: error from target database:
    ORA-01017: invalid username/password; logon denied
    But when i give
    sqlplus sys/sys@PROD
    it is getting connected.
    One more thing already a test database is registered in the catalog as target.
    Is there any Restriction that only one target can be registered in catalog.
    If so how to deregister the existing target database.
    Kindly help in this regard.
    Regards
    Krishna

    refer the link: i already mentioned:
    Whether if i register the database using the second scenario then if try to connect using first ,will it work?you can connect with any database from rman, but why? no need, you can directly connect with recovery catalog from target.
    you can get the backup information only from registered recovery catalog database.
    IF i deregister the existing target database say TEST will the backup list of TEST will be removed automatically.yes, all information from recovery catalog is removed.
    why you get confusion, register a database with recovery catalog is very simple
    1. create a recovery catalog user and grant recovery catalog owner role to user.
    2. connect the target database with the recovery catalog database
    3. register the database with the recovery catalog database.
    4. connect as recovery catalog datbase user and verify it using rc_database recovery catalog view.
    refer the link i already mentioned.
    else:
    http://arjudba.blogspot.com/2008/05/how-to-create-recovery-catalog-and-use.html
    Edited by: rajeysh on Jul 14, 2010 11:47 AM

  • Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    ... when i click go - connect to server, it comes up with connection failed.
    If you're trying to connect to a Bonjour server on the remote network, that won't work over a layer 3 VPN. Use something like Hamachi or one of the SSH-tunnelling Bonjour proxy apps for that.

  • Invoking BPEL process from ADF application - webservice connection failed

    Hi,
    I am trying to invoke a Bpel process from ADF page , I deployed the same in Standalone SOA server since I had to display some Human Task Forms.
    I created a webservice data control out of the bpel process and dropped the process method in my page.
    The page on which I dropped the process method stopped rendering and I checked the logs and found that I got the error mesage- webservice connection failed,the webservice url could not be reached and in the logs it also asks us to check if the connections.xml is available in the meta-inf directory. I checked the conections.xml is available in the EAR.
    So any pointers here and any one faced this error anytime?
    is there better ways to invoke the bpel flow from ADF page.
    Thanks,
    Robin

    Hi,
      Check if your wsdl endpoint can accessed properly. If yes, check the soap-binding address is properly pointing to the server hosting the webservice.
    Regards,
    Harikiran.

  • Error "The Connection Failed" in Time Machine, Migration Assistant and Restore From DVD

    I am receiving this error when trying to connect to my Time Machine Backup in my Time capsule. I input the proper password to access my Time Capsule and It returns me to the screen with the caption "The connection failed" under the Time Capsule name in the "Select your Disk" screen. What would cause this error. I am connecting via WIFI (AirPort) and have full signal. I am using Mac OSX 10.6.8
    I recently had my 1TB hard drive replaced and I am attempting to restore using Time Machine, migration assistant or from the startup dvd (tried multiple ways, no success). The initial setup of mac OSX 10.6 would not let me connect or other attempts after erasing hard drive and reinstalling OSX from disk.
    Worked on it all weekend and don't have enough beer to drown the frustration, any help is appreciated.

    You are correct TM is not at all easy to do a full restore.
    To answer your question: Yes TM disk does show up in finder.
    After my initial startup setup I was able to start TM and access all my previous backups. I migrated some files and was able grab the data from finder. Not satisfied with that I tried to do a restore to that previous date, to no success. I then erased the HD and reinstalled OSx and tried again from the setup screen. That didn't work, sulked over some beers. I then tired with Migration assistant...same result (more beer).
    In starting TM after trying MA, only one backup was showing in the Star screen (today). None of my previous backups were showing. Since exiting TM it has been "Making Backup Disk Available" ( xGB of 6.29GB). Considering the size, I can only assume that these are my previous backups.
    I have reviewed Pondini's posts, FAQs, and tutorials. I am a little scared to try and locate the drives through Terminal as in Pondini's TS #6 guide. If I can get my previous backups to show up, I will be happy with dragging files from Finder to restore my data and slowly work at restoring my settings/applications.

  • I recently bought an external hard drive and attached it to a wireless modem router. The problem is that i can't access it from my macbook. I get a "connection failed" and "the server is available on your computer. Access the volumes and files locally".

    Well I believe I described the problem above. I want only to add that the external hard drive is a Seagate FreeAgent GoFlex Drive 1TB and the wireless modem router is a Belkin N Plus (model F5D8635-4 v1). Also, in the finder window under "shared" I see a "belkinserver" and when I click it, it says "connection failed". If I click "connect as" I get the "the server "belkinserver" is available on your computer..." which I mentioned above. I tried to connect macbook via ethernet to the modem router and then when I typed "smb://belkinserver" it immediately prompted me for a username and a password and when I typed them finally I got to enter the contents of the hard drive! So what's the problem wirelessly? 

    If your external drive does not have an independent power supply, you may wish to consider a couple of lower-cost options before tossing the drive. Bus-powered drives have no external power source and must get all their power from the computer. They can exceed the computer's USB energy budget.
    Cheapest option:
    1 Meter USB 2.0 A to 5 Pin Mini B Cable - Auxiliary USB "Y" Power Design for external hard drives.
    This gets power from two of the computers USB porst sna can provide enough power to wake up an under-performaing bus-powered drive.
    If you don't have enough ports to use this, try the next cheapest option:
    Newer Technology 7 Port Hi-Speed USB 2.0 Hub with Power Adapter for Mac & PC
    Such a hub has a an independent power supply to make up for wahat the comptuer fails to provide.

  • ODBC connections fails after going from Office 2003 to 2010 on some but not all PCs

    ODBC connections fails after going from Office 2003 to 2010 on some but not all PCs. Setting up the connection has been a hit and miss. Have tried both x86 and x64. Any ideas?  Use ODBC from the control panel and C:\Windows\SysWOW64 same results. Using
    SQLexpress 2008r2
    Thanks

    Hello,
    Please consider to configure Windows Firewall or disable it. Not only Windows Firewall but any security software.
    https://msdn.microsoft.com/en-us/library/cc646023(v=sql.120).aspx
    Windows Firewall is enabled by default.  
    Make sure you are using SQL Server Native Client to create the ODBC DSN. Not all Windows versions have it, so you may need to download and install it.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Connection to db fails from client if connecting with sqlplus user/ps@NAME

    Hi
    I have just installed Oracle client 11.2 on a linux server.
    When I connect with sqlplus apmr/******@apm
    I am getting:
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Mar 29 11:11:17 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    BUT, if I am connecting with /nolog and then insert user/password --> it success!!!
    Could anyone solve this mystery ? :-)
    sqlplus /nolog
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Mar 29 11:12:20 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> conn apmr_larisa@apm
    Enter password:
    Connected.
    Thanks
    Larisa

    884714 wrote:
    Thanks a lot for the response. I am getting the following error :
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection.Before asking you to get the help from your DBA, i would suggest to check couple of things like:
    1) Write a standalone program and check whether everytime you are getting connection. If answer is yes.
    2) Check whether in your web application do jdbc jar's are there (in lib folder) . If answer is yes. Check the version of jars. because the application first checks the dependant jars in application lib folder, if not found then it checks at classpath.
    So this might casuse a problem.
    If no luck after doing above steps, then i would suggest to ask the DBA, does DB goes down frequently? and show him that error. Because the error is pure say's SID is not up and running.

  • Upgrading from 35 to 36 caused secure connection failed errors

    We have a couple of different applications that our customers suddenly are having issues with on a pair of load balanced web servers after they upgrade to version 36 of Firefox. It worked fine in 35 and still works in Chrome and IE. The error only happens on certain pages within the sites. The exact error is this:
    Secure Connection Failed
    The connection to the server was reset while the page was loading.
    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    The exact same apps work fine on other servers with version 36, so I’m guessing it is some kind of a certificate/cipher issue with the server or load balancer. I have searched for this message and see others have similar issues when attempting to upload files but the pages failing don't have any file uploads on them.
    Any suggestions on what to look at?

    After spending some more time browsing around on the forums, I stumbled on this thread:
    https://support.mozilla.org/en-US/questions/1050465
    We changed the max parse length parameter to 65535 in our Cisco ACE20-MOD-K9 load balancer and this solved the issue:
    parameter-map type http HTTP-PARAM-MAP
    set header-maxparse-length 65535
    length-exceed continue

  • Connection failed when trying to connect to external Lacie hard disk

    I have an external Lacie hard disk which sits under and is connected to my Airport Extreme base station. I access that volume by using the 'Connect to Server' option in the finder, and I can see the Lacie drive when I get to the stage where I click to 'browse' and then click the Network icon.
    However, today instead of connecting as usual (after asking for password authorisation, etc.) I now get a temporary window message saying:
    "Looking up, "x1-6........local..." I guess the IP address?
    After 3 minutes I then get the following error message:
    CONNECTION FAILED
    The server may not exist or it is not operational at this time. Check the server name or IP address and try again.
    Yesterday I had a problem with my MacPro while trying to access info on the Lacie volume and with no response from the MacPro to shut down, I had to hold the start button down to get it to shut down. I then turned the Airport Express and Lacie disk off at the main plug powerpoint (I forgot to dismount the Lacie volume from another Mac running!). Hoping this would reset everything, but now this problem has happened!
    Any help or advice on this would be much appreciated as I hold some key financial and business info on the Lacie volume and I can't access it now!!!
    Thanks

    Hi Rick
    That's worked!
    I did reboot Airport Extreme initially (had to switch off power to AEBS and Lacie disk as looks like there is no power switch on the AEBS?...and tried, but same problem. But then tried this again and all now works as before.
    Thanks for your advice and the direct connection tip, which I was considering doing anyway if the conventional route didn't work.
    Phew!

  • "Connection Failed" when trying to connect to another Mac on my wireless network.

    Hi,
    I am having an intermittent problem with the connectivity between my iMac and Mac Pro - the latter is the media server for our house. Occasionally my Apple TV's seem to lose connectivity to the Mac Pro too which is a real pain. Both Macs are running Mavericks and the Apple TVs are running the latest software too.
    If I try to connect to the Mac Pro in Finder on my iMac, the Mac Pro is there but when I click on it I get "Connection Failed". Rebooting both computers seems to fix the problem but is far from ideal when mid way through a film!
    The messages in console on my iMac when I try to connect to the Mac Pro in Finder is:
    14/03/2014 10:20:33.542 sharingd[253]: SDSharePointBrowser::handleOpenCallBack returned -5999
    14/03/2014 10:23:34.180 locationd[82]: could not open write stream for /var/db/locationd/clients.plist
    I'm not sure if this provides a clue?
    Thanks in anticipation,
    Rob

    I've managed to connect OK using Connect as. So at least that part is solved. I will see if I can get any diagnostics as to why the Apple TV drops out.

  • Why do I get connection failed when logging in on app store on wireless, but Wired LAN works fine?

    I've been having the same issue as many other people. On OSX Lion with latest updates as of 3/20/2012. Tried deleting .plist files, checking keychain access and even reset keychain. I still get the error of Connection Failed when trying to download updates or a new app from the app store.
    I also can't connect to the iTunes "Account" area. It produces an error that the request failed (-1200)
    I finally decided to try a wired connection instead of my wireless. Now it works great! So I removed my wireless network and re-added it. Back to square one. Work around for now is fine, but I should be able to use this over wireless, too!
    I just now tested connecting to a different wireless network (EVO Hotspot) and it worked fine. So it's something specific to my office wireless network. Nothing changed on our firewall (I'm the administrator). It just stopped working.
    Anthony

    Hi ...
    Perhaps there's something that you haven't tried here >  Troubleshooting Wi-Fi issues in OS X Lion

  • Report failing from VB6

    Running Win 2003 R2 SP2, connecting to Oracle 10g, using Crystal 9.2.3.787.
    Report works fine when opened from within Crystal IDE.
    Report not working when called from VB6 application.
    Error Thrown:
    Error generating report!
    Error No: -2147189176
    Error Text: Logon failed.
    Details: ADO Error Code: 0x80040e21
    Source: Microsoft OLE DB Service Components
    Description: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    Ideas?

    The error is thrown on line 600 (ReportForms(intFormIdx).Object.crvCrystalReport.ViewReport)
    I don't know if this is using RDC, OCX or PE API (Its not my code, I just drew the short straw for supporting it.)
    Database login information is coming out of an INI text file and used in OpenReport routine.  Credentials are valid.
    I am not using a DSN.  Oracle uses a file called TNSNames.Ora.  I believe this is all that is needed.
    Here is the code I am using:
    Dim ReportForms() As FormInstance                                    ' Form object for each report displayed
    Public Function LoadReportForm(strReportTitle As String) As Integer
    10        Const ROUTINE_NAME = "modReportForms:LoadReportForm"
    20        Dim lngStatus As Long
    30        Dim intFormIdx As Integer
    40        Dim strRecordSelectionFormula As String
    50        Dim strNewRecordSelectionFormula As String
    60        Dim TempForm As Form
              ' Provide a pop-up dialog indicating we are working on the report, do not allow user to cancel
              ' report generation at this point
    70        frmGeneratingReport.lblStatusValue = "Loading report, please wait..."
    80        frmGeneratingReport.lblUserMsg.Caption = ""
    90        frmGeneratingReport.Show
    100       Call modCommon.SetTopMostWindow(frmGeneratingReport.hWnd, True)    ' Cause dialog to always be on top
    110       frmGeneratingReport.Refresh
    120       If Not ReportFormsInitialized Then                                 ' If the first time in this code
    130         ReDim ReportForms(1)                                             ' Dimension our report forms array
    140         ReportFormsInitialized = True                                    ' Indicate we have done the first time stuff
    150       End If
    160       If FreeFormIndexesLeft Then                                        ' If any free slots left
    170         intFormIdx = FindFreeFormIndex                                   ' Find a slot for the new occurence
    180       Else
    190         LoadReportForm = REPORT_FORM_INSTANCE_EXCEEDED                   ' Indicate we hit the limit
    200         GoTo ExitHandler
    210       End If
              ' Create a temporary copy of the form
    220       Set TempForm = New frmReportViewer
    230       TempForm.cmdPrint.Enabled = False
    240       TempForm.cmdClose.Enabled = False
              ' If the form state is closed, we previously destoryed (or never created) a form object for the instance,
              ' so create one and change its state to opened
    250       If ReportForms(intFormIdx).State = fsClosed Then
    260         Set ReportForms(intFormIdx).Object = TempForm
    270         ReportForms(intFormIdx).State = fsOpened
    280       End If
              ' Save the index of this form in the form's tag property
    290       ReportForms(intFormIdx).Object.Tag = intFormIdx
              ' Set the caption for the form
    300       ReportForms(intFormIdx).Object.Caption = strReportTitle
              ' Attempt to open the crystal report
    310       lngStatus = OpenReport(strReportTitle, _
                                     intFormIdx)
    320       If lngStatus <> 0 Then
    330         Call CloseReportForm(intFormIdx)                                 ' Close this report form
    340         LoadReportForm = ERROR_OPENING_REPORT                            ' Set status for caller
    350         Call modCommon.LogError(ROUTINE_NAME, _
                                        0, _
                                        "Error opening " & strReportTitle & "! " & vbCr & vbCr & _
                                        "Error No: " & CStr(lngStatus))
    360         GoTo ExitHandler
    370       End If
              ' If date filters exist for report
    380       If TADSReports(strReportTitle).blnDateFilter Then
                ' Set the date range for the report
    390         Call SetParameterFieldValue(intFormIdx, _
                                            TADSReports(strReportTitle).strStartDateParameterName, _
                                            modCommon.DateTimeValue(frmShippingMain.dtpFromDate, frmShippingMain.tmpFromTime))
    400         Call SetParameterFieldValue(intFormIdx, _
                                            TADSReports(strReportTitle).strEndDateParameterName, _
                                            modCommon.DateTimeValue(frmShippingMain.dtpToDate, frmShippingMain.tmpToTime))
    410       End If
              ' If we're to pass delayed truck minutes to report
    420       If TADSReports(strReportTitle).blnDelayedTruckMinutes Then
    430         Call SetParameterFieldValue(intFormIdx, _
                                            TADSReports(strReportTitle).strDelayedTruckMinutesParameterName, _
                                            modCommon.lngDelayedTruckMinutes)
    440       End If
              ' Save current record selection formula
    450       strRecordSelectionFormula = ReportForms(intFormIdx).Object.CrystalReportObj.RecordSelectionFormula
              ' Build a new record selection formula
    460       strNewRecordSelectionFormula = BuildRecordSelectionFormula(intFormIdx, _
                                                                         strReportTitle)
              ' If we have a new record selection formula to apply
    470       If strNewRecordSelectionFormula <> "" Then
                ' If no previous record selection formula (built into report)
    480         If strRecordSelectionFormula = "" Then
    490           strRecordSelectionFormula = strNewRecordSelectionFormula
                ' Else, we had a previous formula, append to the new one to the existing one
    500         Else
    510           strRecordSelectionFormula = strRecordSelectionFormula & " AND " & strNewRecordSelectionFormula
    520         End If
    530       End If
              ' Apply the record selection formula to the report
    540       ReportForms(intFormIdx).Object.CrystalReportObj.RecordSelectionFormula = strRecordSelectionFormula
              ' Update the generating report dialog
    550       frmGeneratingReport.lblStatusValue = "Reading dbs, please wait..."
    560       frmGeneratingReport.lblUserMsg.Caption = "Click the black square (near top of window behind this one) to cancel a long-running report."
    570       frmGeneratingReport.Refresh
              ' Set report source for cyrstal report viewer object that is on the form
    580       ReportForms(intFormIdx).Object.crvCrystalReport.ReportSource = ReportForms(intFormIdx).Object.CrystalReportObj
              ' Show the report from
    590       ReportForms(intFormIdx).Object.Show
              ' Cause the report to appear within the viewer object
    600       ReportForms(intFormIdx).Object.crvCrystalReport.ViewReport
              ' While report is generating, allow form to respond to user events
    610       While ReportForms(intFormIdx).Object.crvCrystalReport.IsBusy
    620         DoEvents
    630       Wend
              ' Enable report form controls
    640       ReportForms(intFormIdx).Object.cmdPrint.Enabled = True
    650       ReportForms(intFormIdx).Object.cmdClose.Enabled = True
              ' Return form index to caller
    660       LoadReportForm = intFormIdx
    670 ExitHandler:
    680       Set TempForm = Nothing                                             ' Destory temporary form object
    690       Unload frmGeneratingReport
    End Function                                                         ' LoadReportForm
    Private Function OpenReport(strReportTitle As String, _
                                FormIdx As Integer) As Long
    '*** START FAILSAFE *********
         ' If FailSafe is enabled then Set up error handler and push stack
         If Not fsDISABLED Then
           On Error GoTo FailSafe_Error
           fsPUSH "modReportForms.bas", "Function OpenReport", "(" & "strReportTitle=" & strReportTitle & ", " & "FormIdx=" & FormIdx & ")"
         End If
    '*** STOP FAILSAFE **********
    10        Dim intRptTables As Integer
    20        Dim strDbName As String
    30        Dim strDbPassword As String
    40        Dim strDbUsername As String
    50        Dim strDbDataSource As String
    60        Dim TADSIniFile As IniFileFunctions
    70        Set TADSIniFile = New IniFileFunctions
              ' Get dbs connection values from ini file
    80        strDbUsername = TADSIniFile.GetString("UserID", _
                                                    "TADS Database", _
                                                    App.Path & "\" & modCommon.INI_FILE_NAME)
    90        strDbPassword = TADSIniFile.GetString("Password")
    100       strDbDataSource = TADSIniFile.GetString("DataSource")
    110       Set TADSIniFile = Nothing                                          ' Destroy object
              ' Attempt to open report
    120       Set ReportForms(FormIdx).Object.CrystalReportObj = CrystalApplicationObj.OpenReport(App.Path & "\" & TADSReports(strReportTitle).strReportFilename, _
                                                                                    crOpenReportByTempCopy)
              ' Now, we must log on to the server for each table used by the main (parent) report
    130       For intRptTables = 1 To ReportForms(FormIdx).Object.CrystalReportObj.Database.Tables.Count
    140         Call ReportForms(FormIdx).Object.CrystalReportObj.Database.Tables.Item(intRptTables).SetLogOnInfo(strDbDataSource, _
                                                                                    strDbDataSource, _
                                                                                    strDbUsername, _
                                                                                    strDbPassword)
    150       Next intRptTables
              ' Next, we need to do the same for each sub report.
    160       Call OpenSubReport(ReportForms(FormIdx).Object.CrystalReportObj, _
                                 strDbDataSource, _
                                 strDbDataSource, _
                                 strDbUsername, _
                                 strDbPassword)
    170       ReportForms(FormIdx).Object.CrystalReportObj.DiscardSavedData      ' Ensure there is no saved data w/ report
              ' Turn off parameter value prompting to the user
    180       ReportForms(FormIdx).Object.CrystalReportObj.EnableParameterPrompting = False
    '*** START FAILSAFE **********
    FailSafe_Exit:
         'If FailSafe is enabled then pop stack
         If Not fsDISABLED Then
           fsPOP "modReportForms.bas", "Function OpenReport", "(" & "strReportTitle=" & strReportTitle & ", " & "FormIdx=" & FormIdx & ")"
         End If
    Exit Function
    FailSafe_Error:
         Select Case Err
           ' Specific error handling that bypasses FailSafe code would go here
           Case Else
             ' Call fsERROR (FailSafe Error Routine) to determine disposition of error.  This function will call the
             ' function fsUserErrorEvent where is the function that contains our specific code for determining the
             ' disposition (how to proceed after).
             Select Case fsERROR("modReportForms.bas", "Function OpenReport")
              ' fsERROR returns 1 to 5
               ' Case 1 (fsResume), return to line causing error
               Case fsResume: Resume 0
               ' Case 2 (fsResumeNext), return to line after one causing error
               Case fsResumeNext: Resume Next
               ' Case 3 (fsResumeExit), goto to exit handler
               Case fsResumeExit: Resume FailSafe_Exit
               ' Case 4, End the program at this point
               Case 4: End
               ' Case 5, If in debug break the program at this point, otherwise when running .exe end program at this point
               Case 5: Stop: Resume
             End Select
         End Select
         Resume FailSafe_Exit
    '*** STOP FAILSAFE **********
    End Function                                                         ' OpenReport

Maybe you are looking for