Bulk Create Users from CSV: Error: "Put": "There is no such object on the server."?

Hi,
I'm using the below PowerShell script, by @hicannl which I found on the MS site, for bulk creating users from a CSV file.
I've had to edit it a bit, adding some additional user fields, and removing others, and changing the sAMAccount name from first initial + lastname, to firstname.lastname. However now when I run it, I get an error saying:
"[ERROR]     Oops, something went wrong: The following exception occurred while retrieving member "Put": "There is no such object on the server."
The account is created in the default OU, with the correct firstname.lastname format, but then it seems to error at setting the "Set an ExtensionAttribute" section. However I can't see why!
Any help would be appreciated!
# ERROR REPORTING ALL
Set-StrictMode -Version latest
# LOAD ASSEMBLIES AND MODULES
Try
Import-Module ActiveDirectory -ErrorAction Stop
Catch
Write-Host "[ERROR]`t ActiveDirectory Module couldn't be loaded. Script will stop!"
Exit 1
#STATIC VARIABLES
$path = Split-Path -parent $MyInvocation.MyCommand.Definition
$newpath = $path + "\import_create_ad_users_test.csv"
$log = $path + "\create_ad_users.log"
$date = Get-Date
$addn = (Get-ADDomain).DistinguishedName
$dnsroot = (Get-ADDomain).DNSRoot
$i = 1
$server = "localserver.ourdomain.net"
#START FUNCTIONS
Function Start-Commands
Create-Users
Function Create-Users
"Processing started (on " + $date + "): " | Out-File $log -append
"--------------------------------------------" | Out-File $log -append
Import-CSV $newpath | ForEach-Object {
If (($_.Implement.ToLower()) -eq "yes")
If (($_.GivenName -eq "") -Or ($_.LastName -eq ""))
Write-Host "[ERROR]`t Please provide valid GivenName, LastName. Processing skipped for line $($i)`r`n"
"[ERROR]`t Please provide valid GivenName, LastName. Processing skipped for line $($i)`r`n" | Out-File $log -append
Else
# Set the target OU
$location = $_.TargetOU + ",$($addn)"
# Set the Enabled and PasswordNeverExpires properties
If (($_.Enabled.ToLower()) -eq "true") { $enabled = $True } Else { $enabled = $False }
If (($_.PasswordNeverExpires.ToLower()) -eq "true") { $expires = $True } Else { $expires = $False }
If (($_.ChangePasswordAtLogon.ToLower()) -eq "true") { $changepassword = $True } Else { $changepassword = $False }
# A check for the country, because those were full names and need
# to be land codes in order for AD to accept them. I used Netherlands
# as example
If($_.Country -eq "Netherlands")
$_.Country = "NL"
ElseIf ($_.Country -eq "Austria")
$_.Country = "AT"
ElseIf ($_.Country -eq "Australia")
$_.Country = "AU"
ElseIf ($_.Country -eq "United States")
$_.Country = "US"
ElseIf ($_.Country -eq "Germany")
$_.Country = "DE"
ElseIf ($_.Country -eq "Italy")
$_.Country = "IT"
Else
$_.Country = ""
# Replace dots / points (.) in names, because AD will error when a
# name ends with a dot (and it looks cleaner as well)
$replace = $_.Lastname.Replace(".","")
$lastname = $replace
# Create sAMAccountName according to this 'naming convention':
# <FirstName>"."<LastName> for example
# joe.bloggs
$sam = $_.GivenName.ToLower() + "." + $lastname.ToLower()
Try { $exists = Get-ADUser -LDAPFilter "(sAMAccountName=$sam)" -Server $server }
Catch { }
If(!$exists)
# Set all variables according to the table names in the Excel
# sheet / import CSV. The names can differ in every project, but
# if the names change, make sure to change it below as well.
$setpass = ConvertTo-SecureString -AsPlainText $_.Password -force
Try
Write-Host "[INFO]`t Creating user : $($sam)"
"[INFO]`t Creating user : $($sam)" | Out-File $log -append
New-ADUser $sam -GivenName $_.GivenName `
-Surname $_.LastName -DisplayName ($_.LastName + ", " + $_.GivenName) `
-StreetAddress $_.StreetAddress -City $_.City `
-Country $_.Country -UserPrincipalName ($sam + "@" + $dnsroot) `
-Company $_.Company -Department $_.Department `
-Title $_.Title -AccountPassword $setpass `
-PasswordNeverExpires $expires -Enabled $enabled `
-ChangePasswordAtLogon $changepassword -server $server
Write-Host "[INFO]`t Created new user : $($sam)"
"[INFO]`t Created new user : $($sam)" | Out-File $log -append
$dn = (Get-ADUser $sam).DistinguishedName
# Set an ExtensionAttribute
If ($_.ExtensionAttribute1 -ne "" -And $_.ExtensionAttribute1 -ne $Null)
$ext = [ADSI]"LDAP://$dn"
$ext.Put("extensionAttribute1", $_.ExtensionAttribute1)
Try { $ext.SetInfo() }
Catch { Write-Host "[ERROR]`t Couldn't set the Extension Attribute : $($_.Exception.Message)" }
# Move the user to the OU ($location) you set above. If you don't
# want to move the user(s) and just create them in the global Users
# OU, comment the string below
If ([adsi]::Exists("LDAP://$($location)"))
Move-ADObject -Identity $dn -TargetPath $location
Write-Host "[INFO]`t User $sam moved to target OU : $($location)"
"[INFO]`t User $sam moved to target OU : $($location)" | Out-File $log -append
Else
Write-Host "[ERROR]`t Targeted OU couldn't be found. Newly created user wasn't moved!"
"[ERROR]`t Targeted OU couldn't be found. Newly created user wasn't moved!" | Out-File $log -append
# Rename the object to a good looking name (otherwise you see
# the 'ugly' shortened sAMAccountNames as a name in AD. This
# can't be set right away (as sAMAccountName) due to the 20
# character restriction
$newdn = (Get-ADUser $sam).DistinguishedName
Rename-ADObject -Identity $newdn -NewName ($_.LastName + ", " + $_.GivenName)
Write-Host "[INFO]`t Renamed $($sam) to $($_.GivenName) $($_.LastName)`r`n"
"[INFO]`t Renamed $($sam) to $($_.GivenName) $($_.LastName)`r`n" | Out-File $log -append
Catch
Write-Host "[ERROR]`t Oops, something went wrong: $($_.Exception.Message)`r`n"
Else
Write-Host "[SKIP]`t User $($sam) ($($_.GivenName) $($_.LastName)) already exists or returned an error!`r`n"
"[SKIP]`t User $($sam) ($($_.GivenName) $($_.LastName)) already exists or returned an error!" | Out-File $log -append
Else
Write-Host "[SKIP]`t User $($sam) ($($_.GivenName) $($_.LastName)) will be skipped for processing!`r`n"
"[SKIP]`t User $($sam) ($($_.GivenName) $($_.LastName)) will be skipped for processing!" | Out-File $log -append
$i++
"--------------------------------------------" + "`r`n" | Out-File $log -append
Write-Host "STARTED SCRIPT`r`n"
Start-Commands
Write-Host "STOPPED SCRIPT"

Here is one I have used.  It can be easily updated to accommodate many needs.
function New-RandomPassword{
$pwdlength = 10
$bytes = [byte[]][byte]1
$pwd=[string]""
$rng=New-Object System.Security.Cryptography.RNGCryptoServiceProvider
while (!(($PWD -cmatch "[a-z]") -and ($PWD -cmatch "[A-Z]") -and ($PWD -match "[0-9]"))){
$pwd=""
for($i=1;$i -le $pwdlength;$i++){
$rng.getbytes($bytes)
$rnd = $bytes[0] -as [int]
$int = ($rnd % 74) + 48
$chr = $int -as [char]
$pwd = $pwd + $chr
$pwd
function AddUser{
Param(
[Parameter(Mandatory=$true)]
[object]$user
$pwd=New-RandomPassword
$random=Get-Random -minimum 100 -maximum 999
$surname="$($user.Lastname)$random"
$samaccountname="$($_.Firstname.Substring(0,1))$surname"
$userprops=@{
Name=$samaccountname
SamAccountName=$samaccountname
UserPrincipalName=“$[email protected]”)
GivenName=$user.Firstname
Surname=$surname
SamAccountName=$samaccountname
AccountPassword=ConvertTo-SecureString $pwd -AsPlainText -force
Path='OU=Test,DC=nagara,DC=ca'
New-AdUser @userprops -Enabled:$true -PassThru | |
Add-Member -MemberType NoteProperty -Name Password -Value $pwd -PassThru
Import-CSV -Path c:\users\administrator\desktop\users.csv |
ForEach-Object{
AddUser $_
} |
Select SamAccountName, Firstname, Lastname, Password |
Export-Csv \accountinformation.csv -NoTypeInformation
¯\_(ツ)_/¯

Similar Messages

  • Exchange 2003 Removal fails w/ Error code 0X80072030 (8240): There is no such object on the server- pls read

    Dear all,
    I know there are quite some threads regarding this issue. But I've been looking at all of them w/o any solution for my problem. Here we go...
    I've followed all instructions for a Exchange 2003 to 2010 transition. All went fine to the point I'm trying to uninstall Exchange 2003 via Control Panel/Software/Remove. So far I did the following:
    1. Move mailboxes to Exchange Server 2010 using Move Mailbox Wizard or Powershell => successfully
    2. Rehome the Offline Address Book (OAB) generation server to Exchange Server 2010  => successfully
    3. Rehome Public Folder Hierarchy on new Exchange Server 2010 Admin Group  => successfully
    4. Transfer all Public Folder Replicas to Exchange Server 2010 Public folder store  => successfully
    5. Delete Public and Private Information Stores from Exchange 2003 server  => successfully
    6. Delete Routing Group Connectors to Exchange Server 2003  => successfully
    7. Delete Recipient Update Service agreements using ADSIEdit according to
    http://technet.microsoft.com/en-us/library/bb288905(EXCHG.80).aspx => successfully
    8. Uninstall all Exchange 2003 servers => fails with "Error code 0X80072030 (8240): There is no such object on the server"
    I used the following articles while migrating to Exchange 2010:
    http://technet.microsoft.com/en-us/library/bb288905(EXCHG.80).aspx
    http://support.microsoft.com/kb/833396/en-us
    http://www.simple-talk.com/content/article.aspx?article=882
    and several more.
    I looked into these forums regarding my problem and came up with:
    http://support.microsoft.com/kb/283089/en-us
    http://support.microsoft.com/kb/822931
    I investigated the following possible reasons:
    - homeMDB attribute (no references to my Exchange 2003 anymore)
    - HomeMDBBL attribute (as described here
    http://social.technet.microsoft.com/Forums/en-US/exchangesvrmigration/thread/f0e3edd7-34e5-46b8-8061-1991aaffc30f) (no Information Stores available anymore as they have been successfully removed)
    - msExchHomeServerName attribute (all pointing to my new Exchange 2010 server)
    - the "famous" postmaster issue as described here:
    http://support.microsoft.com/kb/283089/en-us (pointing to the new Exchange 2010 server)
    In order to investigate all attribute related issues a utilized a VBS script resulting in an Excel sheet I was easily able to filter:
    SET objRootDSE = GETOBJECT("LDAP://RootDSE")
    strExportFile = "C:\temp\MyExport.xls"
    strRoot = objRootDSE.GET("DefaultNamingContext")
    strfilter = "(&(objectCategory=Person)(objectClass=User))"
    strAttributes = "sAMAccountName,msExchHomeServerName,homeMDB,legacyExchangeDN,givenName,sn," & _
                                    "initials,displayName,physicalDeliveryOfficeName," & _
                                    "telephoneNumber,mail,wWWHomePage,profilePath," & _
                                    "scriptPath,homeDirectory,homeDrive,title,department," & _
                                    "company,manager,homePhone,pager,mobile," & _
                                    "facsimileTelephoneNumber,ipphone,info," & _
                                    "streetAddress,postOfficeBox,l,st,postalCode,c"
    strScope = "subtree"
    SET cn = CREATEOBJECT("ADODB.Connection")
    SET cmd = CREATEOBJECT("ADODB.Command")
    cn.Provider = "ADsDSOObject"
    cn.Open "Active Directory Provider"
    cmd.ActiveConnection = cn
    cmd.Properties("Page Size") = 1000
    cmd.commandtext = "<LDAP://" & strRoot & ">;" & strFilter & ";" & _
                                       strAttributes & ";" & strScope
    SET rs = cmd.EXECUTE
    SET objExcel = CREATEOBJECT("Excel.Application")
    SET objWB = objExcel.Workbooks.Add
    SET objSheet = objWB.Worksheets(1)
    FOR i = 0 To rs.Fields.Count - 1
                    objSheet.Cells(1, i + 1).Value = rs.Fields(i).Name
                    objSheet.Cells(1, i + 1).Font.Bold = TRUE
    NEXT
    objSheet.Range("A2").CopyFromRecordset(rs)
    objWB.SaveAs(strExportFile)
    rs.close
    cn.close
    SET objSheet = NOTHING
    SET objWB =  NOTHING
    objExcel.Quit()
    SET objExcel = NOTHING
    Wscript.echo "Script Finished..Please See " & strExportFile
    What I did find is that all my Exchange enabled users have an legacyExchangeDN attribute that is still pointing to my Exchange 2003 organization:
    e.g. "/o=First Organisation/ou=First Administrative Group/cn=Recipients/cn=Administrator"
    Could this cause any problems?
    Now the in depth look into my "Exchange Server Setup Progress.log":
    [09:33:06] Leaving ScPRQ_DoesNotContainLastMAPIMDBInMixedModeAG
    [09:33:06]  ScPRQ_ServerIsNotRUSResponsibleServerInTheNonEmptyOrg (f:\titanium\admin\src\udog\excommon\prereq.cxx:3133)
               Error code 0X80072030 (8240): Ein solches Objekt ist auf dem Server nicht vorhanden.
    [09:33:06]  CCompServer::ScCheckEVSPrerequisites (f:\titanium\admin\src\udog\exsetdata\components\server\compserver.cxx:1358)
               Error code 0X80072030 (8240): Ein solches Objekt ist auf dem Server nicht vorhanden.
    [09:33:06]  CCompServer::ScCheckPrerequisites (f:\titanium\admin\src\udog\exsetdata\components\server\compserver.cxx:955)
               Error code 0X80072030 (8240): Ein solches Objekt ist auf dem Server nicht vorhanden.
    [09:33:06]  CComExchSetupComponent::ScCheckPrerequisites (f:\titanium\admin\src\udog\bo\comboifaces.cxx:1598)
               Error code 0X80072030 (8240): Ein solches Objekt ist auf dem Server nicht vorhanden.
    [09:33:06]  CComExchSetupComponent::ScCheckPrerequisites (f:\titanium\admin\src\udog\bo\comboifaces.cxx:1598)
               Error code 0X80072030 (8240): Ein solches Objekt ist auf dem Server nicht vorhanden.
    [09:33:06] === IGNORING PREVIOUS ERRORS === HrSetProblemOnInstallAction, while calling ScCheckPrerequisites (f:\titanium\admin\src\udog\bo\comboifaces.cxx:1399)
               Der Vorgang wurde erfolgreich beendet.
    [09:33:06] Ein Fehler ist beim Überprüfen der Voraussetzungen für die Komponente "Microsoft Exchange" durch Setup aufgetreten:
    0X80072030 (8240): Ein solches Objekt ist auf dem Server nicht vorhanden.
    [09:33:14]  CComBOIFacesFactory::QueryInterface (f:\titanium\admin\src\udog\bo\bofactory.cxx:54)
    I did search for:
    - Error code 0X80072030 (8240)
    - ScPRQ_ServerIsNotRUSResponsibleServerInTheNonEmptyOrg
    Nothing so far. In case some more information is needed just let me know.
    Any help would be greatly appreciated as I absolutely don't know how to remove my Exchange 2003. Manual removal is not an option.
    Alex

    I kept on searching and found something else:
    http://www.outlookforums.com/threads/33038-cannot-uninstall-Exchange-2000
    It says that the following groups need to be resided in the AD's default "Users" organizational unit:
    - Exchange Domain Servers
    - Exchange Enterprise Servers
    - Exchange Services Group
    Unfortunately I cannot find the "Exchange Services Group". Does that have something to do with my problem?
    Furthermore I found out that the Exchange 2003 has been originally installed with SBS 2003 back in time. The SBS 2003 has then be migrated to a regular Windows Server 2003 infrastructure with 2 DCs. But there still is a load of stuff reminiscent of SBS
    2003 within the AD.
    Then I dug deeper into my AD using ADSIEdit. I found another attribute homeMTA that is pointing to a corresponding Exchange server. After adjusting my aforementioned VBS script a was able to look into that attribute as well. I found 2 users pointing to my old
    Exchange server within their homeMTA attribute.
    Furthermore I saw that when trying to uninstall Exchange 2003 there is no path to my installation anymore. It's empty:
    Another issue?
    Regards
    Alex

  • TS4104 I am receiving the following error message: There was a problem connecting to the server "Diane's Time Capsule" - check the server name or IP address, then try again.

    I am receiving the following error message: There was a problem connecting to the server "Diane's Time Capsule" - check the server name or IP address, then try again.

    This might just be a typical Mountain Lion network glitch..
    Reboot the TC.. that is usually enough to fix it.
    Otherwise restart the whole network from off.. Reboot items in correct order.
    Modem.. TC.. computer. 2min gap.
    Tell us if that doesn't fix it.

  • Since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    A Davey1 wrote:
    Not a nice answer!
    Posting "Check the 'More like this'" area and not simply providing the answer is a great way to make these groups worthless.
    You're ignoring context.  On the old Apple Discussion Groups I never posted replies like that, instead giving people relatively detailed answers.  The new Apple Support Communities made things worse by introducing certain inefficiencies.  Then came Lion.  The flood of messages that came with Lion required a painful choice for any of the people who had been helping here: (1) Give quality responses to a few questions and ignore the rest.  (2) When applicable, give a brief answer such as the one that you found objectionable.  (3) Give up all the other normal activities of life and spend full time trying to answer questions here.
    People who needed help with Lion problems seemed to have trouble discovering existing message threads that described how to solve their problems.  I never posted the suggestion of "Check the 'More like this' area" without verifying that the help that the poster needed could be found there.  Even doing that, what I posted saved me time that I could use to help someone else.
    The people helping here are all volunteers.  None of them is being paid for the time they spend here.  They all have a life outside of Apple Support Communities.  It's arrogant of you to demand that people helping here spend more time than they already do.

  • Since upgrade to Mac OS 10.7.2L , recurring error message: "There was a problem connecting to the server "servername". The server may not exist...etc."

    Since upgrade to Mac OS 10.7.2 Lion, on MacBookPro, recurring (every minute or so) error message: "There was a problem connecting to the server "servername". The server may not exist or it is unavailable at this time. Check the server name or IP address, check your network conneection, and then try again." (The server specified is no longer connected or used). The error message must be clicked twice to continue to work on the computer. Time Machine is switched off. No external disks are connected. Keychain entries for "servername" have been removed since the problem arose. Is there any way to prevent this error message?

    I am having the same problem; have tried deleting some of the plist files as others suggested but to no avail.  Tried turning off time machine - that didn't fix it either.  Very dispappointing.

  • After loading lion, I get an error message "There was a problem connecting with the server.  URL's with the type "file" are not supported."

    After loading Lion, I have been getting an error message "There was a problem connecting to the server.  URLs with the type "file:" are not supported."  There does not seem to be any actual problem with internet connectivity, but it is persistent and annoying.  Any idea of its cause and treatment?

    Take a look at this link, https://discussions.apple.com/message/16156214#16156214

  • I upgraded to Lion yesterday. Now I keep getting and error message: there was a problem connecting to the server. URLs with type "file:" are not supported. What server?

    I upgraded to Lion yesterday. Now I keep getting and error message: there was a problem connecting to the server. URLs with type "file:" are not supported. What server? How do I get rid of this.

    Take a look at this link, https://discussions.apple.com/message/16156214#16156214

  • I upgraded to iOS 7 to my ipad using iTunes. When signing with the Apple ID I get an error reading "There was a problem connecting to the server" anyone who knows what to do next

    I upgraded to iOS 7 to my ipad using iTunes. When signing with the Apple ID I get an error reading "There was a problem connecting to the server" anyone who knows what to do next

    Sounds more like you have a problem with your apple id. For starters go to that page click manage my apple id and singn in. If you can't sign in reset password.
    https://appleid.apple.com
    if you can sign in there, try to sign in to itunes on your computer.

  • Recurrent error message "There was a problem connecting to the server"

    Keep getting a recurrent error message.
    "There was a problem connecting to the server" URLs with the type 'file:' are not supported.
    I've heard others with this issue, but does anyone know what is going on or how th o fix it?
    Thanks

    Make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto/iWeb and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.

  • I have my i Pad connected to my computer and I still get error message there was a problem connecting to the server

    I was having problems connecting to my app store and safari, any games or anything that required going out to a server.  I rebooted my wireless several times it is working and it shows a signal on my iPad so it was suggested I go into settings and do a reset.  I have done this and it still is not working.  the error message when I try to sign in with an Apple ID is "there was a problem connecting to the server".  I even get this when I am connected directly to my computer through Itunes
    Any suggestions?

    Sounds more like you have a problem with your apple id. For starters go to that page click manage my apple id and singn in. If you can't sign in reset password.
    https://appleid.apple.com
    if you can sign in there, try to sign in to itunes on your computer.

  • Since updating to mountain line, error message "There was a problem connecting to the server. URLs with the type "file:" are not supported" keeps popping up

    Since updating to Mountain Lion in the last week, an error message keeps popping up. The graphic is the button with 3 stick men holding hands and the message is "There was a problem connecting to the server. URLs with the type "file:" are not supported". Any solutions found?

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • Repeated error message "There was a problem connecting to the server 10.0.1.2"

    Hello - for the past few months I have been plagued with a pop-up error message box noting the above message. I have run the disk utility from within the OS and upon start up but to no avail. The frequency of the error message varies from once after first usage with no repeat to how it is not - every 30 seconds.
    Has anyone seen this before and if so how was the matter resolved?
    Thx
    Matthew

    There are many possible causes for this issue, and it may be very hard to resolve without wiping your account clean of everything except documents as a last resort. 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.
    Step 1
    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. Known offenders are "1Password" and "Adobe Resource Synchronizer."
    Step 2
    If there's an icon representing the server in the sidebar of a Finder window, hold down the command key and drag it out.
    Step 3
    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.
    Step 4
    Open the Printers & Scanners pane in System Preferences and delete any network devices you no longer use. If in doubt, delete them all and add back the ones you want.
    Step 5
    Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard by pressing  command-C:
    ~/Library/PDF Services
    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.
    Step 6
    Open the folder
    ~/Library/Preferences
    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.
    Step 7
    Other possible causes are references in the iPhoto, iTunes, or iMovie library pointing to the server, bookmarks in the Preview application, and PDF files created by Adobe Acrobat with embedded scripts.
    Try rebuilding the iPhoto library, if applicable.
    Step 8
    Resources such as images or sounds stored on the server may have been added to various applications. Examples would be pictures added to Contacts and custom sounds added to Mail. The range of possibilites here is practically infinite, so I can't be more specific. You might get a hint by launching the Console application and looking for error messages that appear at the same time as the alerts.
    Step 9
    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 in OS X 10.9 or earlier, 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.
    Step 10
    Triple-click the line below to select it:
    /System/Library/CoreServices/Directory Utility.app
    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.
    Step 11
    Open the following file as you did in the last step:
    /etc/auto_master
    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
    /Network/Servers     -fstab
    /-               -static
    If there are any other lines in the window, post them. Otherwise, close the window.

  • Error message there was a problem connecting to the server URLs with the type "file" are not supported

    A message displays frequently on the screen with the above error. Any ideas?

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • Error message "there was a problem communicating with the server"

    for about a week or so now, when I connect to my bank website everything is verrrry slow and when I finally get through the log in steps the error message shows on the site. Sometimes I can complete the task at hand, although it takes forever. Other times the screen just stays with the spinning wheel and I end up closing the browser. I've cleared the history and cache. I've made sure to have only one firewall/ virus protection activeated. I've reset Firefox. The pages populate faster now, but still slower than before. Not sure what's going on.

    You might try to disable some or all of your extensions/add-ons or plugins such as content blockers etc., restart FF, then selectively re-activate one by one.
    This has helped me a few times finding out what makes FF slow.

  • There was a problem connecting to the server ... OS 10.8.4 + WD NAS

    Dear all,
    first my configuration:
    iMac from mid 2012, MacOS X Mountain Lion, 10.8.4, iPhoto 09 v. 8.1.2 - all software updates done and up-to-date
    MacBook Pro late 2011, MacOS X Mountain Lion, 10.8.4
    NAS WD My Book World Edition II (white light), 2 x 1TB (configured RAID : 1TB mirrored), original firmware (01.02.14 with MioNet built on Thu Feb 9 14:11:48 CST 2012 ) NFS, AFP enabled
    a win 7 laptop and plenty of other devices
    everything on a LAN with GB router + WiFi
    I have my iPhoto library on my iMac, but the photos (the originals) stored on the NAS. I have the option "copy photos to library when importing" disabled. So I guess iPhoto has a reference / link in the library to the original files.
    Everything used to work fine until some weeks ago. Not sure what happened but suddenly I got the error message "There was a problem connecting to the server ... Check the server name or IP address, and then try again. ..." when I tried to import photos stored on my WD NAS.  When I want to display any photo stored on the NAS - same thing.
    Now I guess I have a bunch of gray hairs more while trying to get this fixed.
    I tried so many of the tips posted everywhere including booting in save mode, deleting the .plist files (first I actually tried to clean them using Xcode first before deleting them), etc. I cleared out KeyChain. I removed all recent entries (folders) and recent servers from the "history". I tried to connect as guest or named user. There are also no "logIn items" pointing to the NAS. I even tried to disable / enable AFP + NFS on the NAS, not to mention countless restarts of all the machines
    One other thing I noticed: Before that problem occured I was able to select the NAS in Finder and it would show me all the shares. When I selected one of them it was mounted automatically. When I select it now I get "connecting" for a loooong time and then "Connection Failed". Most of the time (not always!) however I am able to get in via "Go -> Connect To Server - smb://<nas server name>). And suddently after that also selecting the NAS in Finder shows me all the shares! Hoever even this not in 100% of all cases. I can replicate this from the iMac and the MacBook.
    I do use an external HD for TimeMachine to back up my data (directly connected via USB). No issues there.
    Not I really don't know what to do any more
    Do you have any ideas? Did anyone ever get a response from Apple with a useful solution that really hit the core of the issue?
    Thank you!

    SOLVED!! and I want to share the solution which worked for me with everybody here. Ultimately I had to install nettalk 2.2 on my NAS as described here: http://mybookworld.wikidot.com/netatalk2-2-on-whitelight . A nice description on how to do that can be found here: http://forums.macrumors.com/showthread.php?t=1102423 .
    One last remark: When asked about the "DHX2 login process", I opted to install the original version, so I can confirm this one works too.

Maybe you are looking for

  • Events cannot have multiple exceptions for the same date

    I just starting getting this message and could not sync to one of my Google calendars. I'm posting this for others who might get the same problem. I didn't find the answer on these forums but did find it on this thread on Google: http://www.google.co

  • Larger thumbnails in Brushes, Symbols, etc.

    The thumbs in the Brushes Panel and the Symbols Panel are still tiny. How are we supposed to see what we're picking? I wish we could make them larger as we can with Color Swatches.

  • Simple BufferedWriter/FileWriter error

    This code is driving me nuts. I can read files without a problem, but I can't seem to write anything for the life of me. I've tested the ArrayList passed to the constructor and it works fine. For my sake, assume that's not the problem. The global var

  • Erase all settings and data

    I have a iphone 4 for my daughter, but now i hange get her a new one IPHONE 4S . But when i want to erase her IPHONE4 , it needs my password for icloud. By the way , i have forgotten my password, so i send to iforgot . But mainly my previous email ad

  • Guixt Transport

    Can anyone suggest how to do a Guixt transport?I cannot do with STMS