Error when running project
I get a 'Request failed.' error when running my project, exception details are as follows:
System.InvalidOperationException was unhandled
Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Request failed."
Source="sgBrowser"
StackTrace:
at sgBRowser.My.MyProject.MyForms.Create__Instance__[T](T Instance)
at sgBRowser.My.MyProject.MyForms.get_Form1()
at sgBRowser.My.MyApplication.OnCreateMainForm()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at sgBRowser.My.MyApplication.Main(String[] Args)
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
-
This seems to be the pertinent line in the exception detail:
{"Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."}
It fails at the second line in Form1.Designer.vb as detailed below:
1: <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
2: Partial Class Form1
Any1 got any ideas ?
The project is running off a network drive, it did kick up a big hooha when I loaded the project initially giving me some bs about untrusted sources or something but ran okay the first couple of times, then I made some changes and it started failing.
If it was failing during the form code processing I could figure it out but it doesnt get beyond the 2nd line in the form design code.
File permissions all check out, its running on a Win2K Pro box logged in as Admin, it doesnt have admin rights on the server but Admin does own the file structure the project is in on the server.
Cheers
Si

