Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program crashes System.MissingMethodException: Method not found: 'System.Type System.Runtime.InteropServices.Marshal.GetTypeFromCLSID(System.Guid)'. #3

Closed
dm8tbr opened this issue Apr 30, 2013 · 7 comments

Comments

@dm8tbr
Copy link

dm8tbr commented Apr 30, 2013

Unhandled Exception: System.MissingMethodException: Method not found: 'System.Type System.Runtime.InteropServices.Marshal.GetTypeFromCLSID(System.Guid)'.
at OutlookRulesExport.Program.GetStore(String storeName)
at OutlookRulesExport.Program.Main(String[] args)

I guess something in my ruleset trips it up?
Thanks for your efforts, I'm sure there are others who appreciate them too.

@dm8tbr
Copy link
Author

dm8tbr commented Apr 30, 2013

Just in case I reinstalled the libraries for .net 4.0 - that didn't help.
I'm currently upgrading my outlook from 2007 to 2010 to see if that helps.
I only need it to migrate my rules, it's google apps from now on anyway...

@bcleary
Copy link
Owner

bcleary commented Apr 30, 2013

Thanks for the bug report dm8tbr. While it should work in theory I have not personally tested this with 2007. I have a feeling that might be the issue your having. I'll see if I can get a VM up and running with office 2007 and reproduce today. If upgrading to 2010 doesn't solve the problem let me know.

@dm8tbr
Copy link
Author

dm8tbr commented Apr 30, 2013

Sadly the update to 2010 didn't seem to do the trick. Same message as before.
Which .net libraries were you using? I could add 4.5 to the mix on that machine.

@bcleary
Copy link
Owner

bcleary commented Apr 30, 2013

I built the binary against 4.5 on my machine, but I think you should be getting a prompt to update if its a .net version issue.

@dm8tbr
Copy link
Author

dm8tbr commented Apr 30, 2013

Installing 4.5 did the trick.
Just tried it with '-s' and got a list.
I'm going to recommend your tool with the note that it needs 4.5, we've got an massive move ongoing and I'm luckily in the pilot group. :-)

@bcleary
Copy link
Owner

bcleary commented Apr 30, 2013

Glad that worked for you. I'll add a note to the system requirements. If you guys implement any new rules fee free to send me a pull request.

@bcleary
Copy link
Owner

bcleary commented Apr 30, 2013

Just to note, I just ran a quick test of the tool against Outlook 2007 running in a VM. Everything looks good. Have updated the system requirements with support for 2007 and noted the requirement for .Net 4.5

@bcleary bcleary closed this as completed May 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants