RE: finding a directory

2011-06-08 Thread Ian Thomas
For Vista/Win7: C:\Usersusername\AppData Try this for your Windows CE - Console.WriteLine(GetFolderPath: {0}, Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)) _ Ian Thomas Victoria Park, Western Australia _ From: ozdotnet-boun...@ozdotnet.com

RE: finding a directory

2011-06-08 Thread Simon Kuldin
Thanks.. I just realised I was having a case of severe stupidity. I've been coding my laptop, yet running it on an emulator, so therefore the XML config file had to be found on the emulator, not on my laptop. Whoops :P Simon Kuldin | Senior Technical Consultant | PRISM Suite 3,

RE: finding a directory

2011-06-08 Thread Keith Peck
Or you can use the environment variable %appdata% Keith... From: ozdotnet-boun...@ozdotnet.com [ozdotnet-boun...@ozdotnet.com] On Behalf Of Ian Thomas [il.tho...@iinet.net.au] Sent: Wednesday, 8 June 2011 4:01 PM To: 'ozDotNet' Subject: RE: finding a directory

VS2010 keeps crashing

2011-06-08 Thread Peter Maddin
I need to use VS2010 in admin mode (I have a wcf web service project published to IIS). The last time I worked on the solution (9 projects) it was fine. Every time I open the solution it starts up then states that Visual Studio has a problem and must close. No idea why, no hint given. I

Re: VS2010 keeps crashing

2011-06-08 Thread Michael Minutillo
Hi Peter, Does VS crash when not in admin mode or when opening other projects in admin mode? If not then I'd edit the .sln file to remove that project and see if the crash persists. If it does then recreate the solution file and see if it persists. If not then re-add the project and see what

FW: VS2010 keeps crashing

2011-06-08 Thread Peter Maddin
I deleted the solutions .suo file (after I had backed it up). It started up ok. Did a solution rebuild and that was ok. Not sure if this was sensible or not. Regards Peter Maddin Applications Development Officer PathWest Laboratory Medicine WA Phone : +618 6396 4285 Mobile: 0414 240

RE: VS2010 keeps crashing

2011-06-08 Thread Peter Maddin
Thanks Michael I backed up the .sln and .suo files Edited the .sln file and removed a couple of projects I had unloaded. Deleted the .suo file. It seemed to start up ok. A clean and rebuild were fine. Visual Studio has built me a new .suo file. It looks ok fingers crossed.

64 bit wcf service library

2011-06-08 Thread Peter Maddin
I have written a fairly simple wcf service library. This will be hosted in a virtual instance of windows server 2008 r2, presumably running IIS 7.5 or better. The server will have 6 cores and 36 GB of memory. It will run 3 virtual web servers each will be bound to 2 cores and have 1/3 of the

Re: 64 bit wcf service library

2011-06-08 Thread Stephen Liedig
Hi Peter, Typically, any cpu will run apps on the platform onto which they are deployed, so that should be fine. does your service have another references (third party) which may not be installed on the server? If so make sure they are also installed or they are compatible with x64. HTH, Steve

[OT] ying phones outright

2011-06-08 Thread Stephen Liedig
Hello, Does anyone know a good place (either in Australia or in the USA) where one can buy Windows Phone 7 phones outright. Not sure if I need sim free or unlocked or what? Any recommendations would be appreciated. Cheers, Steve

FW: 64 bit wcf service library

2011-06-08 Thread Peter Maddin
From what I can discover via Google etc, to build a 64 bit wcf service, all referenced assemblies must be 64 bits. As the assemblies that were supplied when first building the service are located in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0 I assume these

Re: [OT] ying phones outright

2011-06-08 Thread David Burela
Depends which model The best WP7 in Australia in Australia is the Omnia 7 (AMOLED screen). Those are unlocked so you can just pick them up from optus or telechoice. (I got one from each place). Telechoice is probably a good bet for buying out right -David Burela On 9 June 2011 14:31, Stephen

RE: 64 bit wcf service library

2011-06-08 Thread Peter Maddin
Thanks I am referencing a third party logging assembly. I suspect that it is 32 bit and that is my problem. I have asked the vendor if they can provide a 64 bit release. Regards Peter From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Stephen

Re: 64 bit wcf service library

2011-06-08 Thread Joseph Clark
Failing that, you could try using Corflags to set the assembly to be 64-bit compatible: http://msdn.microsoft.com/en-us/library/ms164699.aspx This has a number of caveats though, most notably the fact that you won't be able to do this if the 3rd party assembly is strong-named. On Thu, Jun 9,

RE: Website request slow performance / timeouts

2011-06-08 Thread Michael Lyons
We think we have narrowed it down to a firewall issue and are getting the vendor involved. From what we could see we were randomly getting a bunch of packets which seem to be being mysteriously dropped when transversing the trust/untrust zones of the firewall, nothing in the logs about it though.