Outlook redemption to access PST from multiple machine - outlook-redemption

i wanted to create project in C#.net,where i can access same PST file from Multiple Machine ..
Is that possible using Redemption Dll ?
Please suggest we tried using 'RDOSession.LogonPstStore' but its not working in multiple machine for same PST.
Thanks

No, neither OOM, Extended MAPI, or Redemption will allow to access the same PST from multiple machines. The PST provider can only share a PST file between processes running in the same security context on the same machine.

Related

Features Redemption use to work with OST files

As is known, OST and PST files correspond to a single specification of binary Personal Folder File format. Some tools (in particular, PST.NET) allows to read OST file, just as if it were a PST file.
Can I use Redemption to work with the OST to a similar style?
No, Redemption is a wrapper around Extended MAPI, which does not expose anything to open an OST file outside of the profile used to create it.

Difference between 2 exe files

One exe file is system file, such as net.exe or sc.exe; one is downloaded like PsService.exe.
I found that One(net.exe or sc.exe) I can use it in a service via ShellExecute(); another cannot be used. what is different between them? any one knows?
simon
net.exe and sc.exe are system administration commands, and fire UAC if the current user session doesn't have administrative privileges. If you are trying to make changes to the system's configuration, please learn about WMI or the specific API for the sub-system (e.g. the Windows Network Functions) (as well as about administrative priviliges and how to obtain them).

Is there a way to update a cloud app instead of redeployed?

I was starting Windows Azure using WebSites, now I'm facing with the situation where I need Crystal Reports in my site, so I'm looking for a way to install the Redistribute Files to use it in my web page to generate reports.
I follow this page:
http://dotnetspeak.com/2012/07/running-crystal-reports-on-windows-azure
So instead of having a simple website, I'm gonna use a cloud app. Unfortunately, I'm updating frequently my website (role in Windows Azure project).
Do I need to redeploy all the time my cloud app each time I update my MVC project? Because it takes so long (like an hour, because I included a msi installer)
Thank you
Unless you build some custom extensibility into your application with some very robust dependency injection, yes, you have to redeploy.
EDIT: After re-reading your question again, I realised that you're using Windows Azure Websites.
The correct way to accomplish this is to use a webrole rather than the Websites
What you need to do is to store the installer as a blob in Cloud Storage.
Then part of a Azure Startup Task you can download from the blob and execute the installer.
If possible, you can also use the WebPICmdline (i.e the Web Platform Installer Commandline) to download and install for you from the Startup Task.
Steve Marx has done a few posts on using Azure Startup tasks. Here is one of them http://blog.smarx.com/posts/windows-azure-startup-tasks-tips-tricks-and-gotchas
Adding a bit to #Robert's answer: If the actual execution of the MSI is taking an hour, then this is not a very good use case for web/worker roles. Anything that takes more than a few minutes doesn't really fit well with the stateless scalable model. If that's the case, you should consider running a Virtual Machine for running Crystal Reports. Then you can use your web role for everything else.
If, on the other hand, the one-hour time is mostly consumed by the uploading of the MSI, then I'm completely in alignment with Robert: Store the MSI in a blob, and then download it to your role instances upon startup.
I would suggest to split your single Cloud project into two - one for Crystal Reports only. This way you can deploy it separately from MVC site. You could also build extra smarts into start up task, maybe checking if Crystal is already installed. However, I think splitting them up should be good enough for you
Normally the update process does not lead to an complete re-image of your webrole, only the approot gets destroyed! Here you can find a very detailed information about what is happening on update and deployment: http://msdn.microsoft.com/en-us/library/windowsazure/hh472157.aspx
What does that mean to your problem? Code deployment is an "in-place update" process. If you install Crystal Reports in Drive C: or D: it wont get destroyed on each deployment.
In your Start-Up Task you have to check, whether the software is already installed, or not. In case it is not installed, just install it, as mentioned above on Drive C: or D:
Edit: I got the Point: Does your update Process takes so long, because of the file-size of your MSI? If so, i also suggest to upload the MSI into Blob-Storage.

Integrated Application using getcurrentcompanyfilename results in error

I use
qbxmlrp.getcurrentcompanyfilename
(using qbxmlrp2) in QB 2011, 2012, and 2013 (sometimes) I get error 2147220470 and the message "QuickBooks is already open and the file is different from the one requested, or there are multiple instances of QuickBooks running."
Some of the users have reported the errors began after opening multiple QB files simultaneously via Windows explorer.
Is this because of the use of Windows Explorer to open the .qbw file directly? How do overcome or code around it?
This error:
QuickBooks is already open and the file is different from the one
requested, or there are multiple instances of QuickBooks running.
Pretty much explains exactly what the problem is. Due to the way QuickBooks itself is designed, API/SDK connections do not work if:
your app tries to open a different QuickBooks file than is already open
there are multiple QuickBooks company files open at one time
There is no work-around, it's a limitation of QuickBooks itself.
If your app needs to communicate with QuickBooks, then the end-user needs to either have no QuickBooks company files open, or the company file that you're trying to connect to open.
The problem was the error number returned for the wrong file name is the same as the number returned when multiple instances of QuickBooks are running - I can't tell which is occurring. Combine this with path aliases of Win7 sometimes changing intermittently and you get confusion and complex error handling code requirements. In short, if others need to store both file and path of linked QB files, I suggest allowing aliases.

JRE clock is different (one hour ahead) than system date

I have a windows server 2003 machine, installed on it, a cisco product called "Cisco Voice Portal", this product runs on JRE version 1_5_0_12.
Getting the date/time either by:
new Date();
or
Calendar.getInstance();
always the date is one hour ahead of the system date.
At first, i thought it is a timezone mismatch, however this is the output of printing the date object:
Fri Oct 08 02:36:38 EST 2010
and the system clock is also in EST timezone. which means that timezones are the same.
The system date is the correct one, the system machine is is Sydney, Australia.
Any suggestions to fix this? Thanks in advance.
First of all, the JRE has it's own database of timezone information and it may or may not differ from the one on your native platform.
Another problem that you might have is that when launching a JRE, you may have specified either a locale or a timezone that is different than that of your host platform, which will also cause this type of behavior.
PS: You might want to read this FAQ entry from Oracle (ex. Sun) on how platform and JVM timezones are (not) related.
Did you try upgrading to newer JRE version? Refer to bug 6595137, which seems to be fixed in 1.5.0_13.

Resources