You need to sign in to do that
Don't have an account?
case detachifier
Hi There-
I’m trying to use the Case
Detachifier application.
I want to back up to an FTP site, but that option isn’t working. I’m on Windows XP SP2. I’m certain the FTP login credentials I’m using are correct.
Below is the complete text from this error dialog:
This happens no matter what FTP server I try to connect to, and, as shown in the other screenshot, it just endlessly tries to test my FTP connection.
I’ve confirmed that my firewall
program (Windows Live OneCare) IS allowing the salesforce.com Case Detachifier. I’ve tried rebooting my machine
a couple times, but continue to get the same error.
What’s wrong here? Any suggestions?
Thanks!
Gabe AndersonDirector of Customer Support
Articulate - The Global Leader in Rapid E-Learning
www.articulate.com
See what the experts are saying
about Articulate:
www.articulate.com/company_accolades.html
Code:
ERROR LOG: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.UriFormatException: Invalid URI: The format of the URI could not be determined. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Net.WebRequest.Create(String requestUriString) at Detachifier.SalesforceData.TestFtpServer() at Detachifier.SaveScreen.btnNext_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- Detachifier Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/salesforce.com/Case%20Detachifier/Detachifier.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Deployment Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll ---------------------------------------- System.Web.Services Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- q2wuacru Assembly Version: 1.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
I'm the guy who wrote the Detachifier, sorry for the bug, I should have handled that exception or made the FTP section a little simpler to use.
Can you show me what you're putting in the FTP URL box? It should be in URL format, like:
ftp://ftp.myserver.com/MyDirectory
Thanks.
After that, it ran as expected and I saved 31.291 MB of storage. :smileyhappy:
However, it put all my files at the top level of the server, instead of letting me specify the path on the server where they should go.
Additionally, you might consider the following for the app:
- Most of our attachments are not necessarily case attachments, but
attached to emails associated within the case - any way to provide an
option to detachify those only (but not the emails themselves)?
- How does the app know the path on the server where the attachments should be placed?
- Make detachify emails option unchecked by default (we use email to
case, so our entire case history is in email threads under each case)
Thanks for the great app! If I could detach attachments from emails under cases, then it would be even better./cases/attachments
...but what if I decide if I want to move everything to the below location:
/support/cases/attachments
How do I update the MOVED redirect links?
Thanks,
Gabe
In response to your first question, about the directory in the FTP:
That should be encoded in the URL. So if you set as your URL "ftp://my.ftp.com/MyDirectory" then it should move everything to the directory "MyDirectory." That directory should exist prior to running the Case Detachifier.
In response to your second question, about changing the directory of the moved attachments:
This is unfortunately not so easy right now, and not something the Case Detachifier does out of the box. The way to do that would be to make a bulk API call that would unpack each of the placeholder attachments, change the link they contain, and update them back again. If your attachments have gone to the wrong place as a result of my clunky UI, I could perhaps write something up for you pretty quickly that would do this. You can email me directly at info <at> xifier *dot* com (you know, as much as I try to munge these email addresses, I still get bombarded with spam. *sigh*.).
Also, regarding your comment about the emails on cases:
The Case Detachifier won't actually remove the emails themselves -- it'll just detachify the attachments on those emails, just as it does on the cases. So your case history won't be lost.
Thank you for your suggestions, I'll definitely take them into account when I fire up the next version of the Case Detachifier.
And great to hear this - that's exactly what I need!
"The Case Detachifier won't actually remove the emails themselves -- it'll just detachify the attachments on those emails, just as it does on the cases. So your case history won't be lost."
Any suggestions?
Thanks!
Code:
Thanks,
Gabe
The good news is that your attachments are fine -- the Case Detachifier doesn't do anything to the attachments until they're safely backed up (and then, it doesn't really delete them either, it just puts them in the recycle bin, so you have 30 days to reclaim them once they've been removed).
How can I tell which attachment caused this, so I can manually delete it then try again? And will the app go through all the attachments again, simply overwriting the existing contents of the directory on my server?
Thanks,
Gabe
Once ftp'd it replaces spaces with '+' causing my browser to 404 when i visit the 'moved' link from salesforce!
Is this a known bug? If so any chance of a resolution?
Can you clarify -- on your FTP site, do the filenames have spaces or pluses?
I want to figure out which part is getting confused, whether it's the FTP module or the part that generates the placeholder attachments. It could be that the .NET FTP module automatically replaces spaces with pluses , unbeknownst to the poor placeholder attachment generator, which happily generates a placeholder as if the spaces were still there.
Your bug is noted, and I will make a fix for it in the next few days. I'll post here when it's updated. Thanks, and sorry for the inconvenience.
http://www.salesforce.com/appexchange/detail_overview.jsp?id=a0330000002f60QAAQ&NavCode__c=
I have tested the detachifier a few times in the last couple days and have gotten it to work 3 times, which affected about a total of 20 attachments, but I have 1,000s of attachments that I need to backup and I keep getting this error. Any help would be greatly appreciated.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Windows.Forms.Control.WaitForWaitHandle(WaitHandle waitHandle)
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at System.Windows.Forms.Control.Invoke(Delegate method)
at Detachifier.ProgressScreen.CloseWindow()
at Detachifier.SalesforceData.GetAttachmentListFromCases()
at Detachifier.SalesforceData.Detachify()
at Detachifier.OptionsScreen.btnNext_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Detachifier
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Salesforce.com/Case%20Detachifier/Detachifier.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Deployment
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
n9bwtyed
Assembly Version: 1.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
I am trying to download Case Detachifie from the following link but it doesn't work. Can anyone please help me with this?
http://www.xifier.com/CaseDetachifierSetup.exe
Thank you,
-Malix
I've been running some tests on the detachifier, and it is incredibly useful for managing our DB size.
I back up my files to a local network drive, so I tell it to prepend "file://///<my location>" to the links
that are placed on my cases. Unfortunately, it appears that these links are *not* created correctly
for attachments that are removed from emails. (It works fine for case attachments themselves.)
Am I doing something wrong?
Thanks,
Rob Irving
Journyx
Hi Rob,
I think you may have too many slashes in there. A file URL to a Windows network share should only have 4 slashes, like file:////xifiershare/dir/something.txt. You seem to have 6 in there, which may be what's causing the issue.
But the link I'm seeing on the detached email attachments is completely bogus:
https://ssl.salesforce.com/00P0000000756vn is an example.
Since I typed in the file://///, I would expect to see something at least similar on email attachments.
Rob
I come to know from this thread, you are successfully using "Case Detachifier" Apps.
I am facing issue on using this Apps, Getting error while login to Case Detachifier.
Error:
"The underlying connection was closed: The connection was closed unexpectly".
Kindly advice what should be done to overcome this,.
Thanks
Nazeer
I am using file:///\\fileserver\salesforce\attachments\detached in the Base URL field - this gets converted to file://///fileserver/salesforce/attachments/detached which is fine when I paste it into the 'run' on my desktop from which I am running the detachifier
Thanks in advance for any help on this one Rob!
Cheers,
Colin
Message Edited by coneill72 on 10-14-2007 02:35 PM
The problem continues, but I'm running low on space, so I'm just biting the bullet and running it anyhow, since the support team here knows where everything is stored.
Good luck,
Rob
Cheers,Colin
Message Edited by werewolf on 03-13-2008 08:41 PM
Hi ,
I am using case detachifier,but it seems it is not delting attachment from email.could please tell me why?
case detachifier is removing attachment from attachmnet thred,but it is not removing attachment from email thered ,which I have in case.
If I have email with attahcment in attachmnet thred,then it removes that email with attachment,but if email with attachmnet is in email thred ,then it is not removing that attachment.
It would be great if you can reply me back as we are going our of space repidly.
-thanks