?
Solved

Sharing and unsharing network drive breaks apps

Posted on 2013-12-17
8
Medium Priority
?
196 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
Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

 

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
 
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 1000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Suggested Courses

839 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