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
Replication Error
remove horizontal padding
Insert Statement using values and select subquery
is my named.conf file missing anything?
Adding Environment Variable to pass from a batch file to a VB Script
Migrate a Cisco Router-On-A-Stick type of network
What is the impact of recreating an OU certifier on current users?
GPO not transferring the Application data folder
Tracking cookies while NOT surfing - yieldmanager.com, atdmt.com, serving-sys.com
How to disable multitasking on iOS4 iPhone 3G ?