BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-21-2010, 05:28 AM   #1
smoothiegunner
New Member
 
Join Date: May 2010
Model: 9000
PIN: N/A
Carrier: Vodafone RO
Posts: 5
Unhappy BB Attachment Server not working

Please Login to Remove!

Hi everyone. I have a brandnew BESX install and the Attachment Server is not working. When trying to open an attachment on the device (BB Bold 9000) I receive error: "Cannot find attachment server". When testing using the Blackberry Server Configuration tool, I receive error: "An unspecified error occured during conversion process". Attachment Server is configured on same server as BESX. Server name is ORION and from the log files I could determine that the server listens on ORION. Telnet from the server on port 1900 1999 work. Errors in ASCL log files are: "Attachment Service not running or invalid configuration".

Any ideas? Thanks.
Offline  
Old 05-25-2010, 03:40 AM   #2
smoothiegunner
New Member
 
Join Date: May 2010
Model: 9000
PIN: N/A
Carrier: Vodafone RO
Posts: 5
Default

Come on, anyone? This is a really pressing issue.
Offline  
Old 05-25-2010, 06:07 AM   #3
noname
BlackBerry Extraordinaire
 
noname's Avatar
 
Join Date: Sep 2005
Location: Congested Islet of "Foreign Talents" (> 45% of workforce) - Singapore.
Model: Z10
OS: 10.0.0
PIN: NUKE(PAP)
Carrier: Singtel
Posts: 1,504
Default

You see error is "Attachment Service not running or invalid configuration", what will you do?
__________________
Native but 4th class citizen of a nation governed by idiots who import congestions & contention.
Offline  
Old 05-28-2010, 07:45 AM   #4
smoothiegunner
New Member
 
Join Date: May 2010
Model: 9000
PIN: N/A
Carrier: Vodafone RO
Posts: 5
Default

Quote:
Originally Posted by noname View Post
You see error is "Attachment Service not running or invalid configuration", what will you do?
Based on your signature I presume that you have a better knowledge of what I might be checking thus the answer you gave is worthless.

Attachment Service IS running and as for a correct configuration (so I know what's wrong with mine) I have no idea where to look. I gave plenty of details regarding my troubleshooting. It's a clean install so it must be some stupid error. So, do you have some useful advice? What would you do in my situation? Give yourself the same answer?
Offline  
Old 05-28-2010, 07:54 AM   #5
smoothiegunner
New Member
 
Join Date: May 2010
Model: 9000
PIN: N/A
Carrier: Vodafone RO
Posts: 5
Default

I read also the installer log and in there I found: BAS was detected to have started, URL h ttp://orion:18180/
Yet on that specific page I have only HTTP Status 404 - / from JBoss
Offline  
Old 06-01-2010, 09:55 AM   #6
smoothiegunner
New Member
 
Join Date: May 2010
Model: 9000
PIN: N/A
Carrier: Vodafone RO
Posts: 5
Default

OK, finally solved it. Here is my solution:
Go to: C:\Program Files\Research In Motion\BlackBerry Enterprise Server\AttachServer. Ran BBAttachConfig.exe and change servername from localhost to ORION (in my case) (servername). Afterwards reboot server and bingo.
Offline  
Old 06-01-2010, 02:02 PM   #7
knottyrope
BlackBerry Elite
 
knottyrope's Avatar
 
Join Date: Jan 2008
Location: Massachusetts
Model: DT60
OS: 123456789
PIN: t of blood has been taken
Carrier: AT&T-US with I dee ten tee errors
Posts: 7,325
Default

Thanks for sharing.
__________________
I had to fall
To lose it all
But in the end
It doesn't even matter

Rocking the Motion with out lotion.
Offline  
Old 11-25-2010, 09:56 AM   #8
nhoague
New Member
 
Join Date: Nov 2009
Location: Colorado
Model: 8530
PIN: N/A
Carrier: Sprint
Posts: 1
Default Re: BB Attachment Server not working

Sorry to bump a very old thread ... but hopefully someone has an answer for this one!

We have just had to restore our BESMgmt.mdb due to server crash. Upon rebuilding the new server we renamed it to something more to our liking, we're calling it "BES101." The OLD server was just some random windows name, "WIN-QG6VZ2XN5OD."

Obviously with the change in hostname I knew I would have to make some adjustments. Not a big deal. Turned up new server, installed BES, setup SQL Management, restored our BESMgmt.mdb and then modified all the instances of WIN-QG6VZ2XN5OD to match BES101 in the db. Started BES services in order, and voila, all was good. All our blackberries started connecting and users are happy! Basically, a successful disaster recovery.

NOW, the problem is with the attachments. Users on their blackberries get the infamous "Attachment server not found" message. I toggled the BBAttachServer config between localhost and bes101. No luck. I checked the registry for the attach service, it is set to localhost. I tried toggling the service between Administrator and Local System, no luck. I can successfully check an attachment using the Test Attachment Server, and I can force an unsuccessful check when I use a fictitious server name. SO I know it is working.

Now, here is the kicker. After modifying pretty much EVERYTHING I can think of, my ASCL log file still shows this:

[10000] (11/25 06:43:35.637):{0x18C} [thr:0x018C] CArznSocket::Open() - gethostbyname(WIN-QG6VZ2XN5OD) failed with WSALastError 11004
[10000] (11/25 06:43:35.637):{0x18C} [thr:0x018C] CArznSocket::Close() - m_connectSocket = 0xFFFFFFFF, after
[10000] (11/25 06:43:35.637):{0x18C} [thr:0x018C] CArznFileConversionSubmit::Connect() - _OpenSocket() failed with hr=0x80004005
[10000] (11/25 06:43:35.637):{0x18C} [thr:0x018C] do_connect() of WIN-QG6VZ2XN5OD at index 0 failed with rc = 1016

Obviously the Attachment Service is still trying to pull the OLD server name from somewhere! Any thoughts where it is getting this? My thought was the database, but using a search string to check the entire database, this is no where to be found.

Your help is greatly appreciated.
Offline  
Old 03-11-2011, 12:07 PM   #9
OliC
New Member
 
Join Date: Mar 2011
Model: 8530
PIN: N/A
Carrier: Vodafone
Posts: 1
Default Re: BB Attachment Server not working

Just registered to add to this. I had the exact same problem after moving the database from one server to another. After a lot of searching I eventually found the entry in the database where the attachment server was getting the old server name.

You need to open the table dbo.BASServiceInstanceData. I had 4 ServiceInstanceIDs here. The bottom two, numbered 18 and 19 on my server, contained 2 references each to the old server which I changed. It was quite hard to make the change 'stick' in SQL server but after it did and I restarted the services, the users could then open their attachments.
Offline  
Old 04-27-2011, 02:22 PM   #10
jbfb99
New Member
 
jbfb99's Avatar
 
Join Date: May 2006
Location: Houston, TX
Model: 9800
OS: 6.0.0.246
Carrier: AT&T
Posts: 6
Default Re: BB Attachment Server not working

I ran into a very similar situation where the database did not reference the appropriate attachment server despite the BAS indicating everything was configured appropriately. I was able to update the database by editing the attachment server components in the BAS, removing all the connections under Supported Attachment Connector instances - save all - add them back - save all.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16) picture

Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16)

$189.99



Original New DEC Digital DCJ11-AE 57-19400-09 Vintage CPU x 1pc picture

Original New DEC Digital DCJ11-AE 57-19400-09 Vintage CPU x 1pc

$100.00



Armco Policies Dec 1965 Steel Plant Vintage 26 pgs booklet Butler, Pa 29th print picture

Armco Policies Dec 1965 Steel Plant Vintage 26 pgs booklet Butler, Pa 29th print

$7.49



Vintage DEC PDP11 Option Bulletin MSV11-L Memory Module 1981 picture

Vintage DEC PDP11 Option Bulletin MSV11-L Memory Module 1981

$2.95



VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250 picture

VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250

$50.00



Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue picture

Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue

$141.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.