Jump to content

Recommended Posts

Posted

I'm getting this error msg when setting up the Home drive.

What have I messed up now..

 

 

Server Error in '/hap' Application.

 

Could not find a part of the path 'c:\windows\system32\inetsrv\%homedrv%\'.

 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 

Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\windows\system32\inetsrv\%homedrv%\'.

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

Stack Trace:

 

 

[DirectoryNotFoundException: Could not find a part of the path 'c:\windows\system32\inetsrv\%homedrv%\'.]

System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +216

System.IO.FileSystemEnumerableIterator`1.CommonInit() +386

System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler) +798

System.IO.DirectoryInfo.InternalGetDirectories(String searchPattern, SearchOption searchOption) +86

HAP.Web.mycomputer.DataBind() +4715

HAP.Web.mycomputer.Page_Load(Object sender, EventArgs e) +22

System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25

System.Web.UI.Control.LoadRecursive() +71

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3048

 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

Posted

i have it set to

 

homedrive.jpg

 

But its not working

 

 

the UNC will be for me "\\domain.local\users\2010(intakeYr)\username" for Students and "\\domain.local\users\staff\username" for staff

Posted

what a spaz i have been... i see the error of my way..

bad habit putting %homedrive%

 

Thanks Nick....

 

 

DOH!

 

Hangs head in Stupidity...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...