Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Fri, 8 Feb 2008 11:44:02 -0800,    group: microsoft.public.dotnet.distributed_apps        back       


ClickOnce Store metadata "AppType" is not valid   
I am using .NET2.0 and ClickOnce to deploy my apps.  I am deploying to 
primarily XP Pro SP2 and XP Pro 64 bit.   Three machines out of hundreds have 
had this problem.  I do not know the cause, but I do have a solution.
 

It turns out if you simply recreate the user profile i.e. Log Off, Rename 
'\Documents And Settings\Kevin' to '\Documents And Settings\Kevin_Old', and 
Log in again, the error goes away.  

 
This is a very undesirable workaround.  Can someone at please help ?!?
date: Fri, 8 Feb 2008 11:44:02 -0800   author:   kmdigilio

RE: ClickOnce Store metadata "AppType" is not valid   
Is there no one out there that can help me?

Maybe I need to add more detail?

I am using .NET2.0, VS2005 and ClickOne to deploy my windows forms app over 
HTTP.  On about 10 XP Pro SP2 machines, when running the app they receive the 
"Application Cannot Be Started" error and when I dig into the details I find 
the error message 

'Store metadata "AppType" is not valid'.  

See my previous post for the workaround we are using.  This workaround is a 
HUGE problem for my clients.

Any help would be greatly appreciated.

"kmdigilio" wrote:

> I am using .NET2.0 and ClickOnce to deploy my apps.  I am deploying to 
> primarily XP Pro SP2 and XP Pro 64 bit.   Three machines out of hundreds have 
> had this problem.  I do not know the cause, but I do have a solution.
>  
> 
> It turns out if you simply recreate the user profile i.e. Log Off, Rename 
> '\Documents And Settings\Kevin' to '\Documents And Settings\Kevin_Old', and 
> Log in again, the error goes away.  
> 
>  
> This is a very undesirable workaround.  Can someone at please help ?!?
>
date: Tue, 11 Mar 2008 13:40:00 -0700   author:   kmdigilio

Re: ClickOnce Store metadata "AppType" is not valid   
On Feb 8, 2:44 pm, kmdigilio 
wrote:
> I am using .NET2.0 and ClickOnce to deploy my apps.  I am deploying to
> primarily XP Pro SP2 and XP Pro 64 bit.   Three machines out of hundreds have
> had this problem.  I do not know the cause, but I do have a solution.
>
> It turns out if you simply recreate the user profile i.e. Log Off, Rename
> '\Documents And Settings\Kevin' to '\Documents And Settings\Kevin_Old', and
> Log in again, the error goes away.  
>
> This is a very undesirable workaround.  Can someone at please help ?!?

Give this a try:

In control panel --> Regional and language settings --> Regional
Options tab, change the language to english(australia) and apply the
change, then change it back to English(United States) and apply.  Once
you reboot your PC you will be able to install the app.  This fixes
something in the registry settings, not sure what though...
date: Mon, 24 Mar 2008 09:54:45 -0700 (PDT)   author:   unknown

RE: ClickOnce Store metadata "AppType" is not valid   
Give this a try:

In control panel --> Regional and language settings --> Regional Options 
tab, change the language to english(australia) and apply the change, then 
change it back to English(United States) and apply.  Once you reboot your PC 
you will be able to install the app.  This fixes something in the registry 
settings, not sure what though...



"kmdigilio" wrote:

> I am using .NET2.0 and ClickOnce to deploy my apps.  I am deploying to 
> primarily XP Pro SP2 and XP Pro 64 bit.   Three machines out of hundreds have 
> had this problem.  I do not know the cause, but I do have a solution.
>  
> 
> It turns out if you simply recreate the user profile i.e. Log Off, Rename 
> '\Documents And Settings\Kevin' to '\Documents And Settings\Kevin_Old', and 
> Log in again, the error goes away.  
> 
>  
> This is a very undesirable workaround.  Can someone at please help ?!?
>
date: Mon, 24 Mar 2008 09:55:00 -0700   author:   Johnny Utah Johnny

Re: ClickOnce Store metadata "AppType" is not valid   
After spending many hours with MS Support we have determined that the RegKey 
"AppType" buried in here 
[HKEY_CLASSES_ROOT\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0\PackageMetadata

The AppType is a few levels deeper and specifically related to the installed 
application.  MS Support had me delete the AppType key and that seemed to fix 
it.  But this is also a difficult workaround to sell to my clients.  I will 
try your suggestion above and report back.  Thank You both for you comments.

"russell.stott@gmail.com" wrote:

> On Feb 8, 2:44 pm, kmdigilio 
> wrote:
> > I am using .NET2.0 and ClickOnce to deploy my apps.  I am deploying to
> > primarily XP Pro SP2 and XP Pro 64 bit.   Three machines out of hundreds have
> > had this problem.  I do not know the cause, but I do have a solution.
> >
> > It turns out if you simply recreate the user profile i.e. Log Off, Rename
> > '\Documents And Settings\Kevin' to '\Documents And Settings\Kevin_Old', and
> > Log in again, the error goes away.  
> >
> > This is a very undesirable workaround.  Can someone at please help ?!?
> 
> Give this a try:
> 
> In control panel --> Regional and language settings --> Regional
> Options tab, change the language to english(australia) and apply the
> change, then change it back to English(United States) and apply.  Once
> you reboot your PC you will be able to install the app.  This fixes
> something in the registry settings, not sure what though...
>
date: Tue, 25 Mar 2008 06:12:01 -0700   author:   kmdigilio

Re: ClickOnce Store metadata "AppType" is not valid   
Your suggestion is the exact method I use to correct a corrupt regkey 
'sPositiveSign' found here 
HKEY_CURRENT_USER\Control Panel\International


"russell.stott@gmail.com" wrote:

> On Feb 8, 2:44 pm, kmdigilio 
> wrote:
> > I am using .NET2.0 and ClickOnce to deploy my apps.  I am deploying to
> > primarily XP Pro SP2 and XP Pro 64 bit.   Three machines out of hundreds have
> > had this problem.  I do not know the cause, but I do have a solution.
> >
> > It turns out if you simply recreate the user profile i.e. Log Off, Rename
> > '\Documents And Settings\Kevin' to '\Documents And Settings\Kevin_Old', and
> > Log in again, the error goes away.  
> >
> > This is a very undesirable workaround.  Can someone at please help ?!?
> 
> Give this a try:
> 
> In control panel --> Regional and language settings --> Regional
> Options tab, change the language to english(australia) and apply the
> change, then change it back to English(United States) and apply.  Once
> you reboot your PC you will be able to install the app.  This fixes
> something in the registry settings, not sure what though...
>
date: Tue, 25 Mar 2008 06:14:13 -0700   author:   kmdigilio

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us