The Glade 4.0

"Turn the lights down, the party just got wilder."
It is currently Sun Nov 24, 2024 12:40 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Tue Sep 14, 2010 10:41 am 
Offline
Deuce Master

Joined: Thu Sep 03, 2009 9:45 am
Posts: 3099
My company has a report. It creates a .csv file with all kinds of data in it. The first cell contains a hyperlink to an Excel macro file we host from our website. The file is 1.71MB in size and is accessed by over 200 customers.

This one customer is somehow not getting the correct file version. They end up with a file like 1.4MB in size. I know that Excel relies on IE for the file transfer. The workstation doesn't have any proxy settings defined in IE (I verified through remote access on the workstation). I deleted out all local copies of the file from the workstation. If I go to IE, and enter the URL to the macro file, it pulls up so quickly I don't see a file transfer window. I then do a Save As and it's this same 1.4MB version coming from somewhere.

The customer's database server (the one that produces the original .csv data file) is able to pull down the correct version of the file. All our other customers have no problem. This screams to me they have a problem at the workstation level, but I cannot figure out what. A tracert from the server and from the workstation show them going through the same hops to reach our website.

One of their desktop people sent this but it doesn't seem relevant at all. The file isn't executed from our server. It's downloaded to the workstation and executed locally. So I'm not sure what they did to get this output from whatever utility.
Spoiler:
Quote:
My desktop resource found an issue coming from your web server. We can do a http get on the dvread.xls file but your web server is throwing an http/1.1 403 Forbidden error when it tries to execute the macro.

The error is thrown from the following xml block:

<?xml version="1.0" encoding="UTF-8" ?>.
<lockinfo xmlns="DAV:">.
<locktype>.
<write/>.
</locktype>.
<lockscope>.
<exclusive/>.
</lockscope>.
<owner>pxb918</owner>.
</lockinfo>.

HTTP/1.1 403 Forbidden.
Date: Thu, 05 Aug 2010 18:16:24 GMT


I'm completely out of ideas on this one. I don't see how this can be our problem because I'd have at least 50 other people screaming about something being broke like every time we did actually break something. Anybody got anything?

_________________
The Dude abides.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 14, 2010 11:18 am 
Offline
Rihannsu Commander

Joined: Thu Sep 03, 2009 9:31 am
Posts: 4709
Location: Cincinnati OH
is the customer directed through something like a Bluecoat server that would cache previous versions of the file?

Are they seeing a security issue that excel is stripping out the macros?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 14, 2010 11:38 am 
Offline
Deuce Master

Joined: Thu Sep 03, 2009 9:45 am
Posts: 3099
They keep saying they don't have anything that would cache this file. I wish there was a way for me to tell where the file originated from when they attempt to download it.

I haven't seen Excel strip out macros without giving some kind of message stating that security settings won't allow executing them. What do you mean by that?

_________________
The Dude abides.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 14, 2010 11:43 am 
Offline
Rihannsu Commander

Joined: Thu Sep 03, 2009 9:31 am
Posts: 4709
Location: Cincinnati OH
Office has 3 levels of security. Allow, Prompt and deny. is it possibly just running it in deny mode? donno which version of Excel you're looking at.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 14, 2010 12:09 pm 
Offline
Deuce Master

Joined: Thu Sep 03, 2009 9:45 am
Posts: 3099
No - that's not it. I've emailed her the correct macro file and it runs no problem that way. This is specifically an issue with retrieving it over the web.

_________________
The Dude abides.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 14, 2010 12:19 pm 
Offline
Rihannsu Commander

Joined: Thu Sep 03, 2009 9:31 am
Posts: 4709
Location: Cincinnati OH
IE Security settings? Domain policy? I guess I'm still not totally sure I have a clear picture of what the symptoms are.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 14, 2010 12:41 pm 
Offline
Lean, Mean, Googling Machine
User avatar

Joined: Thu Sep 03, 2009 9:35 am
Posts: 2903
Location: Maze of twisty little passages, all alike
I'd say there's a 99% chance that somewhere along the IE chain, *something* is caching that file. It's hard to prove that conclusively without being able to run a packet capture on the workstation. That said, if you have remote access to it, try using telnet from the workstation to manually fetch the file from your webserver. If that works, then you definitely have a problem with IE.

Personally, I'd make doubly, triply sure that IE's cache was completely obliterated on that machine. As in, going in with a command prompt and doing:

del /f /s /q c:\Users\Bob\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\

(or whatever the path may be for the workstation's version of Windows)

_________________
Sail forth! steer for the deep waters only!
Reckless, O soul, exploring, I with thee, and thou with me;
For we are bound where mariner has not yet dared to go,
And we will risk the ship, ourselves and all.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 14, 2010 12:56 pm 
Offline
Home of the Whopper
User avatar

Joined: Thu Sep 03, 2009 8:51 am
Posts: 6098
Had a prob like that once....it was an IE8 thing. Don't remember the fix but the workaround was to use a different browser.

_________________
"Therefore do not worry about tomorrow, for tomorrow will worry about itself. Each day has enough trouble of its own." Jesus of Nazareth


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 14, 2010 8:09 pm 
Offline
Grrr... Eat your oatmeal!!
User avatar

Joined: Wed Sep 02, 2009 11:07 pm
Posts: 5073
I recommend amputation.

_________________
Darksiege
Traveller, Calé, Whisperer
Lead me not into temptation; for I know a shortcut


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Dec 01, 2010 12:27 pm 
Offline
Deuce Master

Joined: Thu Sep 03, 2009 9:45 am
Posts: 3099
Finally got closure to this. I did numerous things to demonstrate it wasn't our problem. At Lenas' advice, I asked our web admin to set a cache expiration on this file to 1 hour which would force them to re-download the file. That worked and I used a couple other things to prove to them it wasn't their issue.

When their Corporate IT finally does e-mail their firewall team, they had it fixed within 2 hours. If only they had listened to me in the first place.

"Can't figure it out? Blame it on the vendor!" That seems to be a common motto these days. I'm convinced corporate IT is a receptacle for the buffoons of the tech industry.

_________________
The Dude abides.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Dec 01, 2010 1:11 pm 
Offline

Joined: Thu Sep 03, 2009 10:03 am
Posts: 4922
Screeling,

tell them to put &xyz=1 at the end of the URL (or ?xyz=1 if there aren't any other parameters). This prevents caching since the URL is unique.

For example: viewtopic.php?f=5&t=4144&xyz=1

edit:

Putting a timestamp (probably a hash of the time stamp is best) in place of "1" in the URL guarantees that the cache is never used.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Dec 01, 2010 3:44 pm 
Offline
Web Ninja
User avatar

Joined: Wed Sep 02, 2009 8:32 pm
Posts: 8248
Location: The Tunt Mansion
Problem's already solved, Lex :p


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Dec 01, 2010 4:04 pm 
Offline

Joined: Thu Sep 03, 2009 10:03 am
Posts: 4922
Screeling's company could still put a hashed timestamp into the URL of the document to prevent future caching.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Dec 01, 2010 4:05 pm 
Offline
Web Ninja
User avatar

Joined: Wed Sep 02, 2009 8:32 pm
Posts: 8248
Location: The Tunt Mansion
It's still unnecessary. The server is already being told through the .htaccess (err, web.config?) that it has to serve a fresh copy every hour.


Top
 Profile  
Reply with quote  
 Post subject: Re:
PostPosted: Wed Dec 01, 2010 4:06 pm 
Offline
Deuce Master

Joined: Thu Sep 03, 2009 9:45 am
Posts: 3099
Lenas wrote:
It's still unnecessary. The server is already being told through the .htaccess (err, web.config?) that it has to serve a fresh copy every hour.

Well, it's every 30 days now that these yahoos got their crap together.

_________________
The Dude abides.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 71 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group