RE: [OT] Copy & Paste from protected Web page

2014-05-19 Thread Ken Schaefer
I’d start by finding out whether the challenge is coming from the proxy server or not. Packet capture on the proxy server can probably help you here, as it should show what the proxy server is doing vs. what is coming directly from the web server. Cheers Ken From: ozdotnet-boun...@ozdotnet.com

Re: [OT] Copy & Paste from protected Web page

2014-05-19 Thread noonie
Probably not IE as the user agent string is slightly different ending in MSOffice 12 which indicates Outlook or Word. It identifies itself as an earlier version of IE tahn the version installed as the browser. -- noonie On 19 May 2014 19:22, wrote: > I would assume word is using the IE to gra

Re: [OT] Copy & Paste from protected Web page

2014-05-19 Thread noonie
Thanks David, I'll look into those areas to try to find where the two apps differ. -- noonie On 19 May 2014 18:27, David Rhys Jones wrote: > is caching enabled for the Css in the server. [OutputCaching] > does the server have the permissions set to allow all in the machine / > server config

RE: FW: linq and timezone conversion

2014-05-19 Thread anthonyatsmallbiz
Question..how do I handle a null value Parallel.ForEach( issues, x =>if(x.EtaDate.HasValue) x.EtaDate = NodaTimeUtil.ConvertToMelbourneTimeZoneFromUtc(x.ETADate.Value)); ...should this work? From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of anthonyatsma

Re: FW: linq and timezone conversion

2014-05-19 Thread David Rhys Jones
But if the list is being enumerated to do the update, wouldn't a second attempt to enumerate the list, ie: in the UI, fail? How do you reuse the enumeration without requerying / copying the list. Intrigued. Davy. Davy, "So you want to keep data which is local, only ever going to be loca

Re: FW: linq and timezone conversion

2014-05-19 Thread Greg Keogh
If you have to call one of your own methods in an IQueryable to the database, and you can't replace it with one of the DbFunctionsmethods, then do an AsEnumerable() and you can do whatever you like on the local c

RE: FW: linq and timezone conversion

2014-05-19 Thread anthonyatsmallbiz
mm..i never used a Parallel.ForEach..can you explain this function? Parallel.ForEach( issues, x => x.EtaDate = NodaTimeUtil.ConvertToMelbourneTimeZoneFromUtc(x.ETADate.Value)); The timezone will change depending on parameters so want to do this in code. From: ozdotnet-boun...@ozdotnet.c

Re: FW: linq and timezone conversion

2014-05-19 Thread David Rhys Jones
Hi, you can't use local functions in a database query, your query would look like this, Select IssueId, IssueTitle, EtaDate = ?? from vwIssues. get all the data from the database with a .ToList(); then loop over the collection and call the method, you could even do this with a parallel loop.

FW: linq and timezone conversion

2014-05-19 Thread anthonyatsmallbiz
var issues = from n in db.vwIssues where n.IsDeleted == false & n.Archived == false orderby n.ETADate descending,n.PriorityOrder ascending, n.DateModified descending select new IssueViewModel

RE: [OT] Copy & Paste from protected Web page

2014-05-19 Thread anthonyatsmallbiz
I would assume word is using the IE to grad the urls, hence if you have logged into the website using IE, then word may be aware of this? Just my suggestion…not sure how true it is! From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of noonie Sent:

Re: [OT] Copy & Paste from protected Web page

2014-05-19 Thread David Rhys Jones
is caching enabled for the Css in the server. [OutputCaching] does the server have the permissions set to allow all in the machine / server config. Add a web config into your css directory as mentioned here: https://stackoverflow.com/questions/4375208/web-config-wildcards-in-location-and-authoriz

[OT] Copy & Paste from protected Web page

2014-05-19 Thread noonie
Greetings, I'm trying to figure out an issue that a user has reported. When they copy text from a Web page into Microsoft Word they are prompted for credentials on one site but not on another, similarly configured, site. Both sites are basic auth over https and both are ASP.net apps with very min