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
In an SQL Server Stored Procedure, how do I declare a cursor using a Where clause passed in as a parameter?
Not able view Thumbnails of psd files
Update field in table with unbound field on form.
Summing values based concatenated date and variable
Hyperlinks within Outlook are showing up strangely
PC Policy for Windows 7
How to disable multitasking on iOS4 iPhone 3G ?
What software will improve a videos audio?
Cant uninstall windows service
Locating next index of a record set and moving to that record after form data is refreshed.