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
Change data path in Sage 50 Payroll
Is it possible to select paper type as a Macro?
Convert to excel
echo image?
Query Event Log
Access database update help
How to implement getenumerator() method in a genrics class
local user's domain
'name' is null or not an object
After Robocopy has finished the new folder disappears in Windows, but is available in DOS