Application Center Usage - Scripting AC with ASP.NET

This is Interesting: Free IT Magazines  
Home > Archive > Application Center Usage > October 2004 > Scripting AC with ASP.NET





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Scripting AC with ASP.NET
dwenwa@companyabc.com

2004-10-05, 5:54 pm

Hi,

I am attempting to do a simple AC APPLICATION /LIST within a VB.net
application. My goal is to build a custom Deployment tool that uses
Application Center to do the deployment but save other information in a
database.

I get the following error returned from my application:
Application Center 2000 Command-Line Utility. (C) Copyright 2000 Microsoft
Corp. The system returned the following error: Could not read key from
registry (0x80040150)
I almost ruined my registry adjusting permissions on keys. Regmon looks
like the following leading up to the problem:
OpenKey HKLM\Software\Classes SUCCESS
OpenKey HKLM\Software\Classes\CLSID SUCC
ESS
OpenKey HKLM\Software\Microsoft\COM3 SUC
CESS
OpenKey HKU SUCCESS
CloseKey HKLM\Software\Classes SUCCESS
CloseKey HKLM\Software\Classes\CLSID SUC
CESS
CloseKey HKLM\Software\Microsoft\COM3 SU
CCESS
CloseKey HKU SUCCESS
CloseKey HKLM\SYSTEM\ControlSet001\Servi
ces\NetBT\Parameters SUCCESS
CloseKey HKLM\SYSTEM\ControlSet001\Servi
ces\NetBT\Parameters\Interfaces SUCCESS
CloseKey HKLM\SYSTEM\ControlSet001\Servi
ces\Tcpip\Parameters SUCCESS
CloseKey HKLM\SYSTEM\ControlSet001\Servi
ces\Tcpip\Linkage SUCCESS
CloseKey HKLM\SYSTEM\ControlSet001\Contr
ol\Nls\Language Groups SUCCESS
CloseKey HKLM\SYSTEM\ControlSet001\Contr
ol\Nls\Locale\Alternate Sorts SUCCESS
CloseKey HKLM\SYSTEM\ControlSet001\Contr
ol\Nls\Locale SUCCESS
CloseKey HKLM\SYSTEM\ControlSet001\Servi
ces\WinSock2\Parameters\NameSpace_Catalo
g5 SUCCESS
CloseKey HKLM\SYSTEM\ControlSet001\Servi
ces\WinSock2\Parameters\Protocol_Catalog
9 SUCCESS
CloseKey HKLM SUCCESS

If I execute from the command line interactively, the output from Regmon
looks like:
OpenKey HKLM\SOFTWARE\Microsoft\OLE SUCC
ESS
QueryValue HKLM\SOFTWARE\Microsoft\OLE\M
inimumFreeMemPercentageToCreateProcess N
OTFOUND
QueryValue HKLM\SOFTWARE\Microsoft\OLE\M
inimumFreeMemPercentageToCreateObject NO
TFOUND
CloseKey HKLM\SOFTWARE\Microsoft\OLE SUC
CESS
OpenKey HKCU SUCCESS
OpenKey HKLM\Software\Classes SUCCESS
OpenKey HKLM\Software\Classes\CLSID SUCC
ESS
OpenKey HKLM\Software\Microsoft\COM3 SUC
CESS
OpenKey HKU SUCCESS
QueryKey HKCU SUCCESS
OpenKey HKCU\CLSID\{96BAFB7A-F410-11D2-BC19-00C04F72D7BE} NOTFOUND
OpenKey HKCR\CLSID\{96BAFB7A-F410-11D2-BC19-00C04F72D7BE} SUCCESS
QueryKey HKCR\CLSID\{96BAFB7A-F410-11D2-BC19-00C04F72D7BE} SUCCESS
OpenKey HKCU\CLSID\{96BAFB7A-F410-11D2-BC19-00C04F72D7BE}\TreatAs NOTFOUND
OpenKey HKCR\CLSID\{96BAFB7A-F410-11D2-BC19-00C04F72D7BE}\TreatAs NOTFOUND
QueryKey HKCU SUCCESS
OpenKey HKCU SUCCESS
CloseKey HKCR\CLSID\{96BAFB7A-F410-11D2-BC19-00C04F72D7BE} SUCCESS

and so on....

Can you tell by looking at this what the problem is?

Thanks.

Dave
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com