locked
Developing ASP.NET MVC applications(MOC Labfiles and Democode) RRS feed

  • Question

  • I am facing problems while executing lab files provided with MOC for 70-486.

    The error are as follows:

    Warning 1 Could not read state file "obj\Debug\PhotoSharingSample.csprojResolveAssemblyReference.cache". Access to the path 'D:\Training Material\20486\Allfiles\Democode\Mod01\PhotoSharingSample\PhotoSharingSample\obj\Debug\PhotoSharingSample.csprojResolveAssemblyReference.cache' is denied. PhotoSharingSample
    Warning 2 Could not write state file "obj\Debug\PhotoSharingSample.csprojResolveAssemblyReference.cache". Access to the path 'D:\Training Material\20486\Allfiles\Democode\Mod01\PhotoSharingSample\PhotoSharingSample\obj\Debug\PhotoSharingSample.csprojResolveAssemblyReference.cache' is denied. PhotoSharingSample
    Warning 3 Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. PhotoSharingSample
    Error 4 Unexpected error creating debug information file 'd:\Training Material\20486\Allfiles\Democode\Mod01\PhotoSharingSample\PhotoSharingSample\obj\Debug\PhotoSharingApplication.PDB' -- 'd:\Training Material\20486\Allfiles\Democode\Mod01\PhotoSharingSample\PhotoSharingSample\obj\Debug\PhotoSharingApplication.pdb: Access is denied. D:\Training Material\20486\Allfiles\Democode\Mod01\PhotoSharingSample\PhotoSharingSample\CSC PhotoSharingSample
    Error 5 Could not write lines to file "obj\Debug\PhotoSharingSample.csproj.FileListAbsolute.txt". Access to the path 'D:\Training Material\20486\Allfiles\Democode\Mod01\PhotoSharingSample\PhotoSharingSample\obj\Debug\PhotoSharingSample.csproj.FileListAbsolute.txt' is denied. PhotoSharingSample

    Tuesday, April 28, 2015 9:58 AM

Answers

  • All the errors appear to be "Access denied" while trying to write into the D: subfolder where the labs are located. Did you install the VM according to the Setup Guide? This should have mounted disk D: in read/write mode and granted all the permissions to user "Student". Or did you download the Companion Content and extract the files into your own machine? In this case, you should verify that the folder is read/write and grant yourself sufficient permissions so that you can write into the lab folder.
    Wednesday, April 29, 2015 9:01 AM