Doug Deitterick's Blog

Information about Microsoft Lync, OCS, and Exchange UM.

Issues with Group Chat File Upload

Issues with Group Chat File Upload

  • Comments 8
  • Likes

I ran into a couple of issues getting the file upload feature to work in Group Chat.  I followed all of the documentation found on TechNet (http://technet.microsoft.com/en-us/library/dd441213(office.13).aspx), which unfortunately leaves out some important steps.  Below is a list of the issues that I ran into and the resolutions:

Issue #1

When trying to upload a file in Group Chat, I got the following error:

A file transfer error occurred. Unable to connect to the remote server

I checked to make sure that all of the Group Chat services were running, and I noticed that the Web Service was stopped.

Continuing to look through the configuration options, I saw that the URL for the Web Services started with https, but I didn't remember adding the certificate to IIS, so I checked and sure enough, the only binding was for http.  I added another binding for https.

Once I did that, refreshing the Group Chat Server Configuration application, the Web Service was running.  Issue #1 resolved!

 

Issue #2

I tried uploading another file and got the following error message:

A file transfer error occurred. Server was unable to process request. ---> [121] Sql error: opening a connection

---> Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

This was interesting because I was sure that I changed IIS to use the channel service account for anonymous access.  I checked and it wasn't set to the channel service account, so I changed it and restarted IIS.  This step is documented here: http://technet.microsoft.com/en-us/library/dd441213(office.13).aspx.  Issue #2 resolved!

Issue #3

I again tried uploading another file and got the following error:

A file transfer error occurred. Server error.

This one was difficult to track down.  The file would start to upload, but then error out.  The error message doesn't give you much to go on.  I had a feeling that file permission were going to be an issue, so I started looking at the shares that I created.  I noticed that in the share for the Web Service,  the file was sucessfully uploaded to the UploadTemp directory, but it wasn't being moved to the directory for the chat room.  My issue ended up being caused by the fact that I had the Compliance Server role setup and I didn't have the proper permission on the compliance share.  This was causing the upload to fail because the channel service account didn't have rights to copy the file to the compliance share.  Below is a list of the permissions needed for both shares:

Share Permissions for the Compliance Share
Channel Service Account - Read, Change
Compliance Service Account - Read

NTFS Permissions for the Compliance Share
Channel Service Account - Modify
Compliance Service Account - Read, List Folder Contents

Share Permissions for the Web Service Share
Channel Service Account - Read, Change

NTFS Permissions for the Web Service Share
Channel Service Account - Modify

 

After making sure that the shares had the correct permission, I was finally able to successfully upload a file.  Issue #3 resolved!

Comments
  • Hello Dodeitte, i have a question regarding the IIS settings. I've Lync server and group chat server on the same server. Now the problem is that i can only start the internalwebsite for lync or the group chat server.

    Because they use the same ports. How can change it so both websites will run at the same moment.

    kind regards,

    remko

  • @remko feenstra

    It's not supported to collocate Group Chat with any other role.  You'll need to deploy Group Chat on it's own server.  Take a look at the following TechNet article for more information: technet.microsoft.com/.../gg398102.aspx.  In Lync Server 2010, Group Chat is considered a Trusted Application Server and you can see for those that no collocation with other roles is possible.

  • Folks,

    I am getting this error when trying to transfer the file

    a file transfer error has occured , the remote name could not be resolved hostname.domain.com

    this works when i am inside the network,

  • Thanks for the info, the first problem (IIS) was a slightly different error than I was gettting, but it fixed the problem!

    Now that I can upload files, is it possible to delete them from the server?

    Thanks for the info!

  • can we chat in that program??

  • I just want a private chat

  • Hi Is it possible to prohibit to upload file types like *.exe,*.reg or *.bat etcin Lync 2010 GC ?

  • @Anonymous Not that I'm aware of.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment