Solved

Sharing and unsharing network drive breaks apps

Posted on 2013-12-17
8
186 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:rickhobbs
Comment Utility
The apps would point to an invalid volume identifier (not the name) until logged out and back in.
0
 

Author Comment

by:AlHal2
Comment Utility
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:rickhobbs
Comment Utility
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
Comment Utility
What's the effect of sharing drive/mounted device?
Are the terms drive and mounted device referring to the same thing?
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 22

Expert Comment

by:rickhobbs
Comment Utility
1. It begins advertising the name you gave it and its GUID
2. Yes.
0
 

Author Comment

by:AlHal2
Comment Utility
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:
rickhobbs earned 250 total points
Comment Utility
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
Comment Utility
Thanks.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
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…
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…

743 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