Error when trying to run an application from some computers

R

Ryan

I've created and deployed a VB.Net 2005 Application. I have it set as a
FullTrust (ClickOnce) application. The install point is on a network
server. I did not run into this issue at all while testing, but now that
the application is deployed about 1 in every 10 computers get this error
when they try to run the app. Any ideas? Everything I find on the web
talks about ASP.NET. This is not a webpage, it's a desktop application.

Thanks, Ryan

PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
SOURCES
Deployment url : file:///G:/Isdiv/Public/Programs/CIP2005/CIP.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later
in the log.
* Activation of G:\Isdiv\Public\Programs\CIP2005\CIP.application resulted
in exception. Following failure messages were detected:
+ Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [3/1/2007 3:25:55 PM] : Activation of
G:\Isdiv\Public\Programs\CIP2005\CIP.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [3/1/2007 3:25:55 PM] System.UnauthorizedAccessException
- Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore(UInt32
Flags, IntPtr hToken, Guid& riid)
at System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore()
at System.Deployment.Application.ComponentStore..ctor(ComponentStoreType
storeType, SubscriptionStore subStore)
at System.Deployment.Application.SubscriptionStore..ctor(String
deployPath, String tempPath, ComponentStoreType storeType)
at System.Deployment.Application.SubscriptionStore.get_CurrentUser()
at
System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri
activationUri, Boolean isShortcut)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object
state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
 
R

RobinS

If the same users get the error, I would bet on this being the problem:

Access is denied.

Some kind of permission problem. Do they have write access?

Robin S.
Ts'i mahnu uterna ot twan ot geifur hingts uto.
 
R

Ryan

Yes it's some sort of permissions problem with the application running on
their PC. The thing is every single user on our network (150+) is set up
the same way, in the Power Users group (Windows XP). Those who have this
problem I've been switching to the local Admins group and it works, but I do
not want to leave them at that level.

RobinS said:
If the same users get the error, I would bet on this being the problem:

Access is denied.

Some kind of permission problem. Do they have write access?

Robin S.
Ts'i mahnu uterna ot twan ot geifur hingts uto.
-----------------------------------------------
Ryan said:
I've created and deployed a VB.Net 2005 Application. I have it set as a
FullTrust (ClickOnce) application. The install point is on a network
server. I did not run into this issue at all while testing, but now that
the application is deployed about 1 in every 10 computers get this error
when they try to run the app. Any ideas? Everything I find on the web
talks about ASP.NET. This is not a webpage, it's a desktop application.

Thanks, Ryan

PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
SOURCES
Deployment url :
file:///G:/Isdiv/Public/Programs/CIP2005/CIP.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed
later in the log.
* Activation of G:\Isdiv\Public\Programs\CIP2005\CIP.application resulted
in exception. Following failure messages were detected:
+ Access is denied. (Exception from HRESULT: 0x80070005
(E_ACCESSDENIED))
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [3/1/2007 3:25:55 PM] : Activation of
G:\Isdiv\Public\Programs\CIP2005\CIP.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [3/1/2007 3:25:55 PM] System.UnauthorizedAccessException
- Access is denied. (Exception from HRESULT: 0x80070005
(E_ACCESSDENIED))
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore(UInt32
Flags, IntPtr hToken, Guid& riid)
at System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore()
at
System.Deployment.Application.ComponentStore..ctor(ComponentStoreType
storeType, SubscriptionStore subStore)
at System.Deployment.Application.SubscriptionStore..ctor(String
deployPath, String tempPath, ComponentStoreType storeType)
at System.Deployment.Application.SubscriptionStore.get_CurrentUser()
at
System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri
activationUri, Boolean isShortcut)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object
state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
 
R

RobinS

There must be something different, or it would work. You just haven't found
it yet. :-(

Robin S.
--------------------------
Ryan said:
Yes it's some sort of permissions problem with the application running on
their PC. The thing is every single user on our network (150+) is set up
the same way, in the Power Users group (Windows XP). Those who have this
problem I've been switching to the local Admins group and it works, but I
do not want to leave them at that level.

RobinS said:
If the same users get the error, I would bet on this being the problem:

Access is denied.

Some kind of permission problem. Do they have write access?

Robin S.
Ts'i mahnu uterna ot twan ot geifur hingts uto.
-----------------------------------------------
Ryan said:
I've created and deployed a VB.Net 2005 Application. I have it set as
a FullTrust (ClickOnce) application. The install point is on a network
server. I did not run into this issue at all while testing, but now
that the application is deployed about 1 in every 10 computers get this
error when they try to run the app. Any ideas? Everything I find on
the web talks about ASP.NET. This is not a webpage, it's a desktop
application.

Thanks, Ryan

PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
SOURCES
Deployment url :
file:///G:/Isdiv/Public/Programs/CIP2005/CIP.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed
later in the log.
* Activation of G:\Isdiv\Public\Programs\CIP2005\CIP.application
resulted in exception. Following failure messages were detected:
+ Access is denied. (Exception from HRESULT: 0x80070005
(E_ACCESSDENIED))
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [3/1/2007 3:25:55 PM] : Activation of
G:\Isdiv\Public\Programs\CIP2005\CIP.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [3/1/2007 3:25:55 PM] System.UnauthorizedAccessException
- Access is denied. (Exception from HRESULT: 0x80070005
(E_ACCESSDENIED))
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore(UInt32
Flags, IntPtr hToken, Guid& riid)
at
System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore()
at
System.Deployment.Application.ComponentStore..ctor(ComponentStoreType
storeType, SubscriptionStore subStore)
at System.Deployment.Application.SubscriptionStore..ctor(String
deployPath, String tempPath, ComponentStoreType storeType)
at System.Deployment.Application.SubscriptionStore.get_CurrentUser()
at
System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri
activationUri, Boolean isShortcut)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object
state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
 
L

Linda Liu [MSFT]

Hi Ryan,

In my opinion, I don't think you need to add those users to the local
Admins group to solve your problem.

Just assigning these users the needed right should solve the problem.

Hope this helps.

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
R

Ryan

I agree. I'm asking here hoping someone would have an idea about where to
start looking for that needed right. I don't believe it's a file system
right because a) everyone has the same rights to folders on their computer
(assigned through group policy) and b) as far as I can tell the visual basic
app doesn't even create an install folder (aka c:\program files\myApp).
 
L

Linda Liu [MSFT]

Hi Ryan,

Thank you for your prompt response.

After reviewing your intial post, I recall that each user is set up in the
same way, in the Power Users group. However, the problem is that only some
of these users couldn't run the ClickOnce deployed application. So it seems
that this is not an issue of permission.

Sorry that I didn't realize it when I wrote my first reply.

I searched the Internet and found a similar post, saying that the cause of
the problem is there was corruption in the local setting folder. They have
fixed this problem by deleting the local settings folder and logging back
in, causing the OS to recreate the local settings folder.

You may have a try.

Hope this helps.


Sincerely,
Linda Liu
Microsoft Online Community Support
 
R

Ryan

Sorry for the delayed response.. it took some time to get out to test this
on multiple computers... however, in every case deleting the "local
settings" folder and rebooting the computer fixed the problem! Hooray!

Thanks,
Ryan
 
K

Kris

Hi,
I'm getting exactly the same error log as Ryan when trying to deploy vb.net
application from published location, by users in the Power Users group on
WinXP.

When logged-in as administrator it works fine.

Before upgrade, on Win2000, everything was OK.

The trick with deleting all references to my application from Local Settings
folder what Linda was suggesting doesn't help here.

Would anyone experienced a similar behaviour?
Please help,

Regards,
Kris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top