By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,369 Members | 1,682 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,369 IT Pros & Developers. It's quick & easy.

Error when trying to run an application from some computers

P: n/a
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.IsolationInte rop.GetUserStore(UInt32
Flags, IntPtr hToken, Guid& riid)
at System.Deployment.Internal.Isolation.IsolationInte rop.GetUserStore()
at System.Deployment.Application.ComponentStore..ctor (ComponentStoreType
storeType, SubscriptionStore subStore)
at System.Deployment.Application.SubscriptionStore..c tor(String
deployPath, String tempPath, ComponentStoreType storeType)
at System.Deployment.Application.SubscriptionStore.ge t_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.
Mar 2 '07 #1
Share this Question
Share on Google+
8 Replies


P: n/a
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" <Ty****@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
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.IsolationInte rop.GetUserStore(UInt32
Flags, IntPtr hToken, Guid& riid)
at System.Deployment.Internal.Isolation.IsolationInte rop.GetUserStore()
at
System.Deployment.Application.ComponentStore..ctor (ComponentStoreType
storeType, SubscriptionStore subStore)
at System.Deployment.Application.SubscriptionStore..c tor(String
deployPath, String tempPath, ComponentStoreType storeType)
at System.Deployment.Application.SubscriptionStore.ge t_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.

Mar 2 '07 #2

P: n/a
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" <Ro****@NoSpam.yah.nonewrote in message
news:b7******************************@comcast.com. ..
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" <Ty****@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>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.applicatio n 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.IsolationInt erop.GetUserStore(UInt32
Flags, IntPtr hToken, Guid& riid)
at System.Deployment.Internal.Isolation.IsolationInte rop.GetUserStore()
at
System.Deployment.Application.ComponentStore..cto r(ComponentStoreType
storeType, SubscriptionStore subStore)
at System.Deployment.Application.SubscriptionStore..c tor(String
deployPath, String tempPath, ComponentStoreType storeType)
at System.Deployment.Application.SubscriptionStore.ge t_CurrentUser()
at
System.Deployment.Application.ApplicationActivato r.PerformDeploymentActivation(Uri
activationUri, Boolean isShortcut)
at
System.Deployment.Application.ApplicationActivato r.ActivateDeploymentWorker(Object
state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.


Mar 2 '07 #3

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

Robin S.
--------------------------
"Ryan" <Ty****@newsgroups.nospamwrote in message
news:uU**************@TK2MSFTNGP06.phx.gbl...
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" <Ro****@NoSpam.yah.nonewrote in message
news:b7******************************@comcast.com. ..
>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" <Ty****@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>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.applicati on 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.IsolationIn terop.GetUserStore(UInt32
Flags, IntPtr hToken, Guid& riid)
at
System.Deployment.Internal.Isolation.IsolationIn terop.GetUserStore()
at
System.Deployment.Application.ComponentStore..ct or(ComponentStoreType
storeType, SubscriptionStore subStore)
at System.Deployment.Application.SubscriptionStore..c tor(String
deployPath, String tempPath, ComponentStoreType storeType)
at System.Deployment.Application.SubscriptionStore.ge t_CurrentUser()
at
System.Deployment.Application.ApplicationActivat or.PerformDeploymentActivation(Uri
activationUri, Boolean isShortcut)
at
System.Deployment.Application.ApplicationActivat or.ActivateDeploymentWorker(Object
state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.



Mar 3 '07 #4

P: n/a
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/subscripti...ult.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/subscripti...t/default.aspx.
==================================================

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

Mar 5 '07 #5

P: n/a
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).

"Linda Liu [MSFT]" <v-****@online.microsoft.comwrote in message
news:DY**************@TK2MSFTNGHUB02.phx.gbl...
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/subscripti...ult.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/subscripti...t/default.aspx.
==================================================

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

Mar 5 '07 #6

P: n/a
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

Mar 8 '07 #7

P: n/a
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

"Linda Liu [MSFT]" <v-****@online.microsoft.comwrote in message
news:j%****************@TK2MSFTNGHUB02.phx.gbl...
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

Mar 14 '07 #8

P: n/a
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
Jun 6 '07 #9

This discussion thread is closed

Replies have been disabled for this discussion.