Sharing and unsharing network drive breaks apps

I have some apps on the D drive of a web server.  The relevant folders are shared.
I was having a problem mapping to the server, so I shared the entire D drive.  It still didn't map, so I unshared the D drive.
Apps then started failing with this message
The compiler failed with error code 128

The apps were fixed once we did a soft reboot of the server (logging out and in again)

Any idea of the connection?
AlHal2Asked:
Who is Participating?
 
Rick HobbsConnect With a Mentor RETIREDCommented:
Logging out and logging in reinitiizes the drive connections so that is the easiest way to resolve the issue.
0
 
Rick HobbsRETIREDCommented:
The apps would point to an invalid volume identifier (not the name) until logged out and back in.
0
 
AlHal2Author Commented:
Please can you elaborate on what you mean by volume identifier?  The drive was not a CD or DVD drive.
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
Rick HobbsRETIREDCommented:
Look at /HKLM/MountedDevices in regedit.  Each shared resource is listed by its Globally Unique Identifier (GUID). The GUID has 32 alpha numeric values with the following format: x11xx1x1-x11x-11x1-xxx1-11111xxx111x.
0
 
AlHal2Author Commented:
What's the effect of sharing drive/mounted device?
Are the terms drive and mounted device referring to the same thing?
0
 
Rick HobbsRETIREDCommented:
1. It begins advertising the name you gave it and its GUID
2. Yes.
0
 
AlHal2Author Commented:
I've just had the error without doing any sharing or unsharing.  

Since I can't map to the drive I use remote desktop.  I publish the files locally and copy to the remote server which hosts the website.  The remote server has a drive mapping to my PC when I use remote desktop.
It was after doing one of these copies that I got this error.  I had been doing lots of copies throughout the day.

What could have caused the error to recur?
How can I fix it without a logging out and in?
What does the reboot accomplish?
0
 
AlHal2Author Commented:
Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.