sabhishekabhis

System.IO.FileNotFoundException was unhandled

Discussion created by sabhishekabhis on Apr 25, 2013
Latest reply on Apr 26, 2013 by rlwatson
Hi.

I am trying to migrate a console application from 9.3.1 to 10.1 but dont know this is giving an System.IO.FileNotFoundException was unhandled error.Please help anyone..

I have tried below web but no help so far.
http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000002ns000000



-------------------------------------------------------------------------------------------------------------------------------
System.IO.FileNotFoundException was unhandled
  Message=Could not load file or assembly 'ESRI.ArcGIS.System, Version=9.3.0.1770, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified.
  Source=USNG
  FileName=ESRI.ArcGIS.System, Version=9.3.0.1770, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86
  FusionLog==== Pre-bind state information ===

LOG: DisplayName = ESRI.ArcGIS.System, Version=9.3.0.1770, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86
(Fully-specified)
LOG: Appbase = file:///P:/batch/J716120/USNG_1_0_0_2_DEV/USNG_Code/USNG/bin/Debug/
LOG: Initial PrivatePath = NULL

===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.
LOG: Post-policy reference: ESRI.ArcGIS.System, Version=9.3.0.1770, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86

  StackTrace:
      
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:



-----------------------------------------------------------------------------------------------------------------------------

error BC30456: 'esriLicenseProductCodeArcView' is not a member of 'ESRI.ArcGIS.esriSystem.esriLicenseProductCode'.

----------------------------------------------------------------------------------------------------------------------------

Outcomes