We need more information than you are providing. Also why are you posting an MBP problem on a iMac forum??? For example the type of info that would be helpful is knowledge of what type of server you are attempting to access, is it another Mac on your network, is it a remote device, etc. Also what troubleshooting have tried, for example have you done basicis such as resetting your router and modem?
There are many possible causes for this issue, and it may be hard to resolve. Please take each of the following steps that you haven't already tried. Back up all data before making any changes.
If you get the alert in the login screen before you log in, stop here and ask for instructions.
If you get the alert as soon as you log in, it's probably caused by one of your login items or by software that otherwise loads at startup or login. Ask if you need help identifying it. A known offender is "AdobeResourceSynchronizer," which is a component of some Adobe products. See also this discussion.
If there's an icon representing the server in the sidebar of a Finder window, hold down the command key and drag it out.
In the Finder, press the key combination command-K or select
Go ▹ Go to Server...
from the menu bar. In the upper right corner of the window that opens is a Recent Servers popup menu represented by a clock icon. From that menu, select
Clear Recent Servers…
and confirm. Test.
Open the Printers & Scanners pane in System Preferences and delete any network devices you no longer use.
Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard by pressing command-C:
In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. A folder may open. If it does, move the contents to the Desktop, or to a new folder on the Desktop. Log out and log back in. Test. If there's no change, put the items you moved back where they were and continue.
Open the folder
as in Step 5 and move the file named "loginwindow.plist" items in that folder to the Trash, if it exists (it may not.)
Log out and back in again, and test.
Other possible causes are references in the iPhoto, iTunes, or iMovie library pointing to the server, and bookmarks in the Preview application.
Disconnect all wired peripherals except those needed to start up. Start up in safe mode. Test. After testing, restart as usual (not in safe mode) and verify that you still have the problem.
Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
Triple-click the line below to select it:
Rght-click or control-click the highlighted text and select
Services ▹ Open
from the contextual menu.* The application Directory Utility will open.
In the Directory Utility window, select the Directory Editor tool in the toolbar. Select Mounts from the Viewing menu in the toolbar, and /Local/Default from the node menu, if not already selected. On the right is a list of names and values. By default, the list is empty. If it's not empty, post a screenshot of the window and stop here.
*If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.
Open the following file as you did in the last step:
It will open in a TextEdit window. The contents should be exactly this:
# Automounter master map
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
If there are any other lines in the window, post them. Otherwise, close the window.
Please post a screenshot that shows what you mean. Be careful not to include any private information.
Start a reply to this message. Drag the image file into the editing window to upload it. You can also include text in the reply.