Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Click doesn't install required components
 

Click doesn't install required components

Hi all...

I have developed a simple Windows Forms application that uses ReportViewer control and ADO.NET to access a SQL Server database by mean of SqlClient classes.

Then I published the application to a web page.

When I load the publish.htm page from a client computer, it says that .NET Framework 2.0 isn't installed, showing a "Install" button. Well.. I pressed it and .NET framework 2.0 was installed, I think.

After that installer wizard finished, I continued installing the application but an error telling that ReportViewer assemblies aren't in GAC occurs. I manually installed ReportViewer component, then I rebooted the machine, just in case. I loaded publish.htm page again and when I tried to install the application, another error telling that ADODB assemblies aren't in GAC. I think this is ADO.NET related. Aren't those assemblies installed together with .NET framework? Why ClickOnce doesn't work at all? I tried to find ADO.NET redistributable allone, but without success.

Any help on this will be greatly appreciated

Thanks

Jaime

Jaime Stuardo  Wednesday, August 16, 2006 2:00 AM
Jaime,

What type of client computer are you trying to do this on? ClickOnce was designed with the idea that (eventually) all computers will have .NET 2.0 and all related software installed already. If you are on Windows XP with all current updates, this should be true. If not, well....

Your other issue is the use of ReportViewer. I'm not sure this is pushed out to systems right now, even Windows XP. You probably want to research this requirement to make sure you understand what to expect on your clients.

Erik
eebrown  Wednesday, August 16, 2006 3:01 AM

Hello Erik,

In fact, I'm trying to install the application on Windows XP. In order to make it work, I have finally loaded project settings, and under publish tab I set the prerequisites (MDAC 2.8 and ReportViewer) and in Application Files I deselect ADODB component. I don't know what isADODB component and why it was set as required. I read thar ADODB component comes withOffice 2003 PIA, and in fact, the application worked without that ADODB assembly.

Cheers

Jaime

Jaime Stuardo  Wednesday, August 16, 2006 12:55 PM

You can use google to search for other answers

Custom Search

More Threads

• Install helpprovider problem?
• Anything better than InstallShield?
• vs2005 deployment changing add/remove programs icon title
• How to include native DLLs into the installation package?
• Set Path to Read Text File
• Obfuscated program's settings are set to their default values after the program being updated.
• Bootstrap
• System.resources dll - Strange Localization Problem
• How do you retrieve the path of the .msi file
• Modify registry from an installer(MSI)