Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Sharing and unsharing network drive breaks apps

Posted on 2013-12-17
8
Medium Priority
?
195 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
[X]
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
  • 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
Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

 

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

609 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