Encore Pro Cannot instantiate control

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
munsterlander
Posts: 33
Joined: Mon Aug 28, 2006 11:36 am
Location: Stoughton, Wisc.

Encore Pro Cannot instantiate control

Post by munsterlander » Fri Oct 13, 2006 8:53 am

I installed Encore Pro 1.6.22 and sucessfully downloaded my data. I can view the compliance report, but when I try and view other reports I get a set of error messages: "cannot instantiate control. Control is not registered. CLSID=(5.....27) Names: "ctFOSQGraph, ct CompPressure, cartHoursCompliance.

Then a message: An unexpected 'type mismatch' error occurred in Encore Pro.

I went into control panels are removed the Encore Pro, MyEncore and SQL server. I reinstalled and again downloaded. When it asked me if I wanted to use the existing data base I said no. I get the same set of messages. MyEncore gets the data, so I know it is there.

Does anyone have any ideas, I think it is a SQL problem.

Jim


User avatar
Snoredog
Posts: 6399
Joined: Sun Mar 19, 2006 5:09 pm

Post by Snoredog » Fri Oct 13, 2006 1:39 pm

Sounds like a database error to me, but could also be your hardware not compatible (CPU or video card etc.). Make sure you are rebooting between any uninstall and reinstall.

Be sure to input a login in the SQL database when prompted. XP security requires it.

Login can be: sa

password can be anything you can remember. You will need to also enter that login information in MyEncore should you decide to use it. When the database is running you will have a Green arrow on the SQL Service Manager on the system tray.

I would also make sure your computer is up to date with latest MDAC from Microsoft.


munsterlander
Posts: 33
Joined: Mon Aug 28, 2006 11:36 am
Location: Stoughton, Wisc.

Encore Pro Cannot instantiate control

Post by munsterlander » Fri Oct 13, 2006 2:25 pm

Thanks for the reply. When prompted to insert a password, there are 3 options for the SQL server. Enter a password, enter none or disable. I have tried all 3 without success. One of the messages is Data Dynamice, Control is not registered. I think that is a problem with the SQL server. I can get reports from MyEncore.
Jim

User avatar
Snoredog
Posts: 6399
Joined: Sun Mar 19, 2006 5:09 pm

Re: Encore Pro Cannot instantiate control

Post by Snoredog » Fri Oct 13, 2006 3:02 pm

munsterlander wrote:Thanks for the reply. When prompted to insert a password, there are 3 options for the SQL server. Enter a password, enter none or disable. I have tried all 3 without success. One of the messages is Data Dynamice, Control is not registered. I think that is a problem with the SQL server. I can get reports from MyEncore.
Jim
Have you ever used the EncorePro software to Setup or erase your SmartCard?

This is done with the SmartCard Utilities on the left panel. The data on your card could be corrupt, running Setup will erase your card.

Based upon the error listed, it looks like the FOSQ test data is corrupt. That data can be input via the machine or the software (Input FOSQ Test) on left panel.

You might also try creating a NEW Patient profile (leave existing one there) and download the data again using that new Profile, when it asks will card be returning to patient? say Yes, when it says Patient profile and card data do not match? click ignore and use anyway. When it says Erase Card? say No. This will dump the card data back to the new profile where you can try a report again.

As a last resort, if it is still corrupt you may need to erase the card with EncorePro software and try again with new data (i.e. existing sleep data on card will be lost). SmartCard is like a flash memory card or even a floppy, if it isn't formatted or setup when you first start recording data you can end up with corrupt data on the media.

I always erase and setup my SmartCards and never had a problem. I find the 1.6.22 version to be pretty stable.

munsterlander
Posts: 33
Joined: Mon Aug 28, 2006 11:36 am
Location: Stoughton, Wisc.

Post by munsterlander » Fri Oct 13, 2006 3:37 pm

The only thing I haven't tried is setup on the card. I have erased the data, waited till today to try again, and tried a new user id. I will check out the card setup, maybe that is it, but I am able to download the data since myencore can see it.

This error comes with a heading of Data Dynamics, which I believe is a part of the SQL server, but I am not sure.

Keep thinking and thanks for any ideas.
Jim

User avatar
dsm
Posts: 6996
Joined: Mon Jun 20, 2005 6:53 am
Location: Near the coast.

Post by dsm » Fri Oct 13, 2006 4:12 pm

This is just a though ...

Sounds to me like the .net frameworks may be missing or at the wrong level

Did you get a request to install .net frameworks ?

Cheers

DSM
xPAP and Quattro std mask (plus a pad-a-cheek anti-leak strap)

User avatar
cwsanfor
Posts: 362
Joined: Sat Jun 17, 2006 5:03 am
Location: Greensboro, NC
Contact:

Post by cwsanfor » Fri Oct 13, 2006 4:30 pm

Jim,

Are you running Windows XP Service Pack 2 with all patches installed?

Has the software ever worked on that computer?

Do you have access to another computer to try it on?

Are you using Mozilla?

Have you ever had another version of SQL Server installed on the computer?

_________________
Mask: Mirage Quattro™ Full Face CPAP Mask with Headgear
Additional Comments: Auto C-Flex backup; CF2, HC431/2, UMFF, and Hybrid masks; SnuggleHose; Aussie Heated Hose; PadACheek; SPO 7500 Oximeter.

User avatar
lferrel
Posts: 65
Joined: Mon May 15, 2006 7:47 am
Location: Colorado

Cannot Instatiate Encore Pro error

Post by lferrel » Fri Oct 13, 2006 5:04 pm

Jim,

I have the same problem. I have had it since last summer. I was able to get Encore Pro and MyEncore working fine on my desktop, but I have never been able to get it working on my Lap Top. Like you, I know the data base is there because MyEncore works fine. I have gone through the things you have, and nothing has seemed to work.

I hope someone can solve this mystery.

Lowell

BIPAP Auto BIFLEX set to range 12 - 20 cm H2O with BIFLEX set to 3, AUTO:ON, and Humidifier:2.

munsterlander
Posts: 33
Joined: Mon Aug 28, 2006 11:36 am
Location: Stoughton, Wisc.

Post by munsterlander » Sat Oct 14, 2006 8:03 am

Well, I run the setup utility for the smartcard last evening. It erases all data so this morning I tried to download data. It downloads, but when I try and access the reports I get the same errors. I do think the problem is with SQL or net frame.

I only have the SQL server for EncorePro installed. I do have 3 versions of Net Frame, 1.0.3705, 1.1 and 2.0. Last evening I did a windows update that added 10 fixes, one was to net.frame 1.1, but I think it was a security update.

Yes I was able to access the reports the first time, but the second time and every time since, I am not able to get them. I am running an OPRA browser but not Mozilla.

Still at a loss.

Thanks for the ideas.

munsterlander
Posts: 33
Joined: Mon Aug 28, 2006 11:36 am
Location: Stoughton, Wisc.

Help

Post by munsterlander » Sat Oct 14, 2006 3:47 pm

I have deleted everything I can think of. Encore Pro, SQL, My Encore, Net Frame 1.0.3705, Net Frame 1.1, Net Frame 2.0. I reinstalled Net Frame 1.1, and reloaded Encore Pro with the SQL server with a password. I still get the same problem. Cannot instantiate control. Control is not registered. Clsid=(58a968a5-e3ce-4743-9ce7-a27357009527) Name "cartHoursCompliance" etc........

I am at a loss. There must be a file somewhere causing this.

Any other help is appreciated.

Jim (munsterlander - that's my dog)


User avatar
Wulfman
Posts: 12317
Joined: Thu Jul 07, 2005 3:43 pm
Location: Nearest fishing spot

Post by Wulfman » Sat Oct 14, 2006 4:22 pm

Jim,

Here are some links:

viewtopic.php?p=38617&highlight=links#38617

Also check out these two first (they're shorter).

viewtopic.php?t=7289&highlight=instantiate

viewtopic.php?t=11565&highlight=instantiate

I think the problem is with the password you put in it.
I don't have the link to this one, but I had it copied into a file on my computer.
I'm sure it's in Rested Gal's links, but here's the text that seemed to help a lot of people:

Instructions courtesy of "Sleepy-in-AL"
Posted: Sun Jun 18, 2006 1:36 am

Post subject: EncorePro 1.6i (1.6.22) installation with MyEncore 1.5b7

OK, several people have posted that they are experiencing problems getting MyEncore to work with EncorePro 1.6i. Several have asked for information regarding what worked. So, here is my STEP BY STEP instructions for what worked for me. This was on Windows XP Service Pack 2, Professional and Home editions, SP2 Firewall Disabled. No guarantees that this will work for you, but it has worked for my configuration. Cool

First, a couple of observations regarding potential problem spots. If you are running Windows XP SP2, you might try disabling the firewall, at least temporarily. The installation and interaction doesn't actually need access to the internet, but it does use the Microsoft .NET Framework which will require access to the loopback interface. The firewall, which is enabled by default in Service Pack 2, may be blocking this loopback access. DISCLAIMER ON: This action could open your system up to attack from the internet. If you are worried about this, you may want to disconnect your network cable for the majority of this process. However, you will need internet access to download the .NET framework and MyEncore software. Turn off the firewall at your own risk! If your system is behind a cable modem router, it may limit your exposure.DISCLAIMER OFF To disable the firewall in Windows XP Service Pack 2, select "Control Panel" from the Start menu, then click the "Security Center". At the bottom of the Windows Security Center window, click on manage security settings for: "Windows Firewall". This will open the Windows Firewall window. Click the radio button next to "Off (Not Recommended)" then click the "OK" button. If you are using some other Firewall, such as ZoneAlarm or Norton, you will need to either disable it or allow access to the programs as necessary.

A second potential problem, which is addressed in the step by step instructions, is the way the SQL security settings are configured during the EncorePro installation. Make sure to set a password on the SA account. I'm not sure, but I believe that if you leave the account password blank, it may limit access to the database to "protect" your database. Even if this is not the case, you probably want your database password protected.

Alright now, down to business. Since I have no idea who might need these instructions, I'll try to keep them as simple as possible and include the most basic steps. I didn't have a convenient way to include pictures and I wasn't sure about copyright issues, so I'll just describe the steps.

EncorePro Installation
1. Insert the encorepro cd into your cd drive. If you have autorun enabled (likely, this is the default), the encorepro splash screen will start automatically. If not, go to "My Computer", double click on your CD drive, and then double click on "Encore.exe"

2. Click on the US flag to select english.

3. Click on "install software"

4. You will be prompted to select a language, the default is "US english". Click on "OK" to accept the default.

5. When prompted to exit all windows programs and accept the copyright, click "Next"

6. Click "I Agree" when prompted to accept the software license.

7. Select "Single Computer" for installation type.

8. Make sure there is only a check mark next to "EncorePro Application" when prompted to "Select Components."

9. Accept the default values for "Application destination folder" and "Database destination folder." Click "Next" to continue.

10. On the "Start installation" window, click "Next"

11. On the second "Start installation" window, accept the defaults for "Database Server Name" (you shouldn't be able to change this anyway), and "Backup database to: " then click "Install"

12. You should see the status screen and several installer dialogs flashing by. Wait for these to finish.

13. If you haven't disabled your firewall, you may be prompted here to allow the SQL Server Configuration, Database Installation Utility for Encore Pro, and the SQL Server Service Manager, to access the internet. Note the firewall from Windows XP SP2 may silently deny access to some of these requests causing problems. Zonealarm and other third party firewalls usually prompt requesting permission.

14. You should be prompted here to "Secure the Server." The default is to "Leave the SA account alone (Use a blank SA password). See my note at the beginning of this post regarding this. Change this to "Provide the SA password", then enter and confirm the password. Click "Next" to continue.

15. Wait while the installer creates the database.

16. If you haven't disabled your firewall, you may be prompted to allow "SQL Server Windows NT" to access the internet and act as a server. Again, the SP2 firewall if still enabled may silently deny these requests causing problems.

17. Wait while the installer completes the installation and updates the system configuration.

18. Click "Finish" when prompted that "EncorePro 1.6 has been successfully installed."

19. Click the X in the lower right hand corner of the encorepro splash screen to exit the Autorun script.

SmartCard Driver Installation
20. Go to "My Computer" and right click on your CD drive and select Explore.

21. Double click on the "Smart Card Readers" folder to open it.

22. Double click on "setup.exe" to start the initial installation of the drivers and utilities.

23. Click "Next" on the "Welcome to the Mako Technologies Driver Setup Wizard".

24. Click "Yes" to accept the license agreement.

25. Check the box next to "USB (DT3500)" when prompted to "Select the devices you wish to install on your machine." Then click "Next"

26. Click "Install" on the "Ready to install the Program" dialog.

27. Wait while the drivers and utilities are installed.

28. Click "Finish" when "the wizard has finished the installation."

29. Reboot the system if you weren't prompted to when finishing the driver installation.

MyEncore 1.5b7 installation
30. Right click on http://lewiston.mit.edu/myencore/myencore15b7.msi and select "save as" save the myencore15b7.msi file to your desktop.

31. Double click on the myencore15b7.msi file to start the installation.


Microsoft .NET Framework installation
32. Skip to step 40 if you aren't prompted to install .Net Framework. Otherwise, Select "Yes" if prompted to install the .NET Framework.

33. If you haven't disabled your firewall, you may be prompted to allow windows installer access the Microsoft Website to download .NET Framework. See previous warnings.

34. The installer should have opened the .NET Framework download page in your default browser. Click "download" in the web browser to download "dotnetfx.exe" to your desktop.

35. Double click the dotnetfx.exe file to start the installation of .NET Framework.

36. Accept the .Net license agreement and click "Install"

37. Wait while .Net installs.

38. Firewall warning: allow COM Surrogate to access the internet. See above firewall warnings.

39. Click "OK" to "complete the installation of .Net Framework 1.1"

Resume MyEncore 1.5b7 installation
40. Double click the myencore15b7.msi file again to restart MyEncore installation. (Ignore this step if you were not prompted to install .Net Framework.)

41. Click "Next" on the "Welcome to the MyEncore Setup Wizard"

42. Accept the default on the "Select Installation Folder" and select "just me" then click "Next"

43. Click "Next" on the "Confirm Installation" dialog.

44. Wait while MyEncore installs.

45. Click "Close" on the "Installation Complete" dialog.

Check the status of your installations
46. You should now have the following on your Start menu:
- "Mako Technologies, LLC" group
- "Respironics" Group
- "MyEncore" shortcut

If you tried to start MyEncore at this point, it should complain that no patients exist in encorepro.

Plug in the SmartCard Reader
47. Plug the DT-3500 SmartCard Reader into a free USB port.

48. Let windows discover new hardware. It should recognize the DT-3500 and prompt you to install the driver. Select "No do not allow Windows to connect to the internet to discover drivers"

49. Select "Continue Anyway" when the hardware installation prompts that the driver "has not passed Windows XP Logo testing."

50. Click "Finish" on "Completing the Found New Hardware Wizard."

Keeping EncorePro from erasing your SmartCard
Although this is not strictly necessary, most people want to keep encorepro from automatically erasing the SmartCard after it downloads it. (this is the default behavior)

51. In my computer, double click the C: drive
52. Double click "Program Files"
53. Double click "Respironics"
54. Double click "EncorePro"
55. Double click "Utilities"
56. Double click "Don't Erase Data after downloading.reg"
57. Answer "Yes" to "add the data to the registry"

Starting EncorePro and downloading the SmartCard
58. From the start menu, go to "All Programs", "Respironics", "Encore Pro", "Encore Pro"

59. You must complete at least the following information in response to "Update Company Information" :
- Company Name
- Street Address
- Facility Type
It doesn't really matter what you put in for these, but you must put something. Then click "Proceed"

60. Click "Add New Patient" on the left.

61. Here you must enter at least a first and last name then click "OK"

62. You should now be on the patient homepage for the patient you just entered. On the left side, select "Download Data" from the "Interactions" group. Then click on "SmartCard Reader".

63. Accept defaults for "Referring Physician", "PCP", "Clinician", and date and select "Yes" the smart card is going to be returned to the same patient. Click "OK"

64. If you receive a warning that the SmartCard doesn't match the patient, select the appropriate response to continue downloading

65. If you have properly run the "Don't Erase data after downloading.reg" mentioned above, you will be asked if you want to erase the SmartCard. Select "No" to preserve the information on the card.

66. From here, you can view the downloaded data or exit encorepro and go to MyEncore. To skip to MyEncore, jump to step 70. Otherwise keep going here to view your detailed EncorePro data.

67. Double click on the date in the "Interaction List" in the middle of the screen under "Patient Compliance." To see meaningful details instead of just compliance data, select the radio button next to "Full Details" in the Report Options dialog then click "OK"

68. You should now have a "Report Viewer" window. At the top of this window, there are buttons to change the view and page up and down through the report. From the file menu, you can export the report in a number of formats including PDF and HTML.

69. When you are through here, you can close the "Report Viewer" and close "encore pro".

There are lots of things that you can do with encorepro. The full manual is available in PDF from the initial Autorun splash screen. It is possible to change the prescription on your device using encorepro and the SmartCard. Doing so will erase the SmartCard. Doing so without understanding what you are doing could be dangerous to yourself..... Monkey with these at your own risk...

Starting MyEncore for the first time
70. Go to "Start" menu, "MyEncore"

71. Assuming you are, click on "I am a non-professional user and I agree to the conditions" to accept the MyEncore License Agreement.

72. You should now see the MyEncore preferences window with the EncorePro patient you created earlier listed in the Database Summary section.

From here, refer to myencore.php for the MyEncore documentation.

For other troubleshooting tips, EncorePro, and MyEncore discussions, refer to RestedGals summary of threads at viewtopic.php?t=4612

Hopefully this will help.

(5) REMstar Autos w/C-Flex & (6) REMstar Pro 2 CPAPs w/C-Flex - Pressure Setting = 14 cm.
"Passover" Humidification - ResMed Ultra Mirage FF - Encore Pro w/Card Reader & MyEncore software - Chiroflow pillow
User since 05/14/05

munsterlander
Posts: 33
Joined: Mon Aug 28, 2006 11:36 am
Location: Stoughton, Wisc.

Post by munsterlander » Sat Oct 14, 2006 5:27 pm

Wulfman, I tried the first two links with no success. I am not sure what Iferrel's manual process is because when I insert the CD it initiates and install wizard.

I followed Rested Gal's instructions when I installed. As I said before, it allowed me access to the reports one time. After that I get the same messages Wulfman got. There must be a file somewhere on my computer with a problem. I have deleted everything I can find that has encore in it, but it does not seem to help. This is the most frusterating problem I have encountered.

Thanks for the thoughts.
Jim

User avatar
Hambone
Posts: 41
Joined: Wed Jul 19, 2006 6:18 pm
Location: Midwest

Time to Give Back! Fixed Control issues on Encore Pro

Post by Hambone » Sat Oct 21, 2006 6:45 am

After using Encore Pro and My Encore for about 4 months my reporting stopped working had all sorts of error's just like everyone mentions here's what I did.

Export patient Data from within Encore Pro - select a directory that's empty or create one before you start Encore pro so its ready for you.

Give encore Pro a while to export the patient data its a decent size database and it takes several minutes for 4 months of data. This is an Xml file.

Next go to add remove programs within windows in the Control Panel.

Delete Encore Pro, My encore and the Smart Card reader software, and MSQL Server software only.

Reboot the computer

Go into windows explorer and delete the "Respironics" directoryand all sub folders and files under program files and then the Data base itself located under the main drive "Microsft SQL Server directiry as well as the directory itself.

Reboot the computer

Follow the directions to re-install everything listed earlier I believe by Sleepy Al.

When you are completely done with thos instructions including adding yourself as a patient add a NEW patient with a different name I used firstname1 and last name.

Once the new patient goto top of the screen and click home, then highlight "Import Patient" select the directory where the database was backed up and open the XML file you created before you deleted the software.

Encore Pro will complain that the patient is similair to the patient you just created. Tell it to use the old patient name and it will import all the old data into this patient record (this takes a while and it will tell you when its done) click on the patient and there's all your data.

I didn't try to import data into the same patient (it may work but Do so at your own risk.) but I did download my card to the new patient s and there were no errors using all the reports for either patient.

I'm using a XP Home addition on a toshiba laptop Pentium 4 with 1 meg ram, Encore Pro 1.6i and My Encore 1.57b and the two fingers Dt3500 Card reader.

Computers are funny and this may not work for you but it worked here.

Regards,

Hambone

User avatar
jskinner
Posts: 1475
Joined: Sat Aug 26, 2006 9:21 pm
Location: Greenwich, Nova Scotia, Canada
Contact:

Re: Encore Pro Cannot instantiate control

Post by jskinner » Sat Oct 21, 2006 9:54 am

munsterlander wrote: Does anyone have any ideas, I think it is a SQL problem
This looks to me like another windows control registration problem.

Take a look at the following for the potential fix:

viewtopic.php?p=122143

and

viewtopic/t14420/Encore-Pro-Pre-release.html