Solved

Sharing and unsharing network drive breaks apps

Posted on 2013-12-17
8
187 Views
Last Modified: 2013-12-20
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?
0
Comment
Question by:AlHal2
  • 4
  • 4
8 Comments
 
LVL 22

Expert Comment

by:Rick Hobbs
ID: 39725806
The apps would point to an invalid volume identifier (not the name) until logged out and back in.
0
 

Author Comment

by:AlHal2
ID: 39726250
Please can you elaborate on what you mean by volume identifier?  The drive was not a CD or DVD drive.
0
 
LVL 22

Expert Comment

by:Rick Hobbs
ID: 39726620
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
 

Author Comment

by:AlHal2
ID: 39726701
What's the effect of sharing drive/mounted device?
Are the terms drive and mounted device referring to the same thing?
0
Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

 
LVL 22

Expert Comment

by:Rick Hobbs
ID: 39728355
1. It begins advertising the name you gave it and its GUID
2. Yes.
0
 

Author Comment

by:AlHal2
ID: 39729628
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
 
LVL 22

Accepted Solution

by:
Rick Hobbs earned 250 total points
ID: 39729869
Logging out and logging in reinitiizes the drive connections so that is the easiest way to resolve the issue.
0
 

Author Closing Comment

by:AlHal2
ID: 39731301
Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now