Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Sharing and unsharing network drive breaks apps

Posted on 2013-12-17
8
191 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
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 selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

840 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