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
My ESXi server guest OS's keep powering down unexpecdetly
Help with Sybase SQL ?
Cannot insert xml in mysql
Which VM's are using a processor
Screen Resolution Changes inside XP Mode
Nutshell explanation of tablespaces and datafiles.
What does "if False Then" mean? How does the compiler check this condition?
Auto- Numbers in oracle
anti-spam for Exchange Server 2003
A Nice Clean Title with Underline (Help with Style Needed)