Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / March 2008

Tip: Looking for answers? Try searching our database.

ClickOnce Store metadata "AppType" is not valid

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kmdigilio - 08 Feb 2008 19:44 GMT
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 ?!?
kmdigilio - 11 Mar 2008 21:40 GMT
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.

> 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
[quoted text clipped - 7 lines]
>  
> This is a very undesirable workaround.  Can someone at please help ?!?
russell.stott@gmail.com - 24 Mar 2008 17:54 GMT
On Feb 8, 2:44 pm, kmdigilio <kmdigi...@discussions.microsoft.com>
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
[quoted text clipped - 5 lines]
>
> 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...
kmdigilio - 25 Mar 2008 14:12 GMT
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.

> On Feb 8, 2:44 pm, kmdigilio <kmdigi...@discussions.microsoft.com>
> wrote:
[quoted text clipped - 15 lines]
> you reboot your PC you will be able to install the app.  This fixes
> something in the registry settings, not sure what though...
kmdigilio - 25 Mar 2008 14:14 GMT
Your suggestion is the exact method I use to correct a corrupt regkey
'sPositiveSign' found here
HKEY_CURRENT_USER\Control Panel\International

> On Feb 8, 2:44 pm, kmdigilio <kmdigi...@discussions.microsoft.com>
> wrote:
[quoted text clipped - 15 lines]
> you reboot your PC you will be able to install the app.  This fixes
> something in the registry settings, not sure what though...
Johnny Utah - 24 Mar 2008 17:55 GMT
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...

> 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
[quoted text clipped - 7 lines]
>  
> This is a very undesirable workaround.  Can someone at please help ?!?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.