Microsoft
Software
Hardware
Network
Question : VB.NET - System.UnauthorizedAccessException was unhandled
Yesterday it worked, today it doesn't! The compiled EXE nor the project work. In debug the run doesn't even reach the Form Load event.
System.UnauthorizedAccessE
xception was unhandled
Message="Access to the path 'ad5a55ef-8400-4c72-983c-2
1273eb09c4
a1.0Event'
is denied."
Source="mscorlib"
StackTrace:
at System.IO.__Error.WinIOErr
or(Int32 errorCode, String maybeFullPath)
at System.Threading.EventWait
Handle..ct
or(Boolean
initialState, EventResetMode mode, String name, Boolean& createdNew, EventWaitHandleSecurity eventSecurity)
at Microsoft.VisualBasic.Appl
icationSer
vices.Wind
owsFormsAp
plicationB
ase.Run(St
ring[] commandLine)
at DirBackup.My.MyApplication
.Main(Stri
ng[] Args) in 17d14f5c-a337-4978-8281-53
493378c107
1.vb:line 81
at System.AppDomain._nExecute
Assembly(A
ssembly assembly, String[] args)
at System.AppDomain.nExecuteA
ssembly(As
sembly assembly, String[] args)
at System.Runtime.Hosting.Man
ifestRunne
r.Run(Bool
ean checkAptModel)
at System.Runtime.Hosting.Man
ifestRunne
r.ExecuteA
sAssembly(
)
at System.Runtime.Hosting.App
licationAc
tivator.Cr
eateInstan
ce(Activat
ionContext
activationContext, String[] activationCustomData)
at System.Runtime.Hosting.App
licationAc
tivator.Cr
eateInstan
ce(Activat
ionContext
activationContext)
at System.Activator.CreateIns
tance(Acti
vationCont
ext activationContext)
at Microsoft.VisualStudio.Hos
tingProces
s.HostProc
.RunUsersA
ssemblyDeb
ugInZone()
at System.Threading.ThreadHel
per.Thread
Start_Cont
ext(Object
state)
at System.Threading.Execution
Context.Ru
n(Executio
nContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHel
per.Thread
Start()
InnerException:
Answer : VB.NET - System.UnauthorizedAccessException was unhandled
Found the problem! Windows XP had crashed. lol
A restart fixed the problem.
Thanks for the help.
Mark
Random Solutions
How to get a formula to calcutate even if one of the fields in it is null
access crosstab query question
Flash Player Doesn't work on remote terminal
I have a folder that will have lots of files in them i want to backup *.bak and *.txt files into a zip file using winzip and then name the zip ETC-DD-MM-YYY
IIF Statement
Font change word 2010
VB.Net 2008 Modal MDIChild
TS profiles v2 for Windows Server 2008 are empty
what and how are INT files (configuration files) used in Visual studio .NET ASP C#
Using jquery to hide dynamically added divs