Error running the selected code generator package restore failed.
I was getting this error in visual studio 2019 each time I tried to add the identity scaffolding to a Angular Web application which was causing me much annoyance.
In the end I noticed that there was a mismatch in the installed project assemblies – most were 5.0.3 but Microsoft.VisualStudio.Web.CodeGeneration.Design along with a few others were 5.0.2.
At this time, there was no nuget 5.0.3 so, I changed all the project assemblies to match and ‘hey presto’ I can add the identity scaffolding to my angular app!
Only problem is – I really wanted to use Vue;)!
Anyway, I hope this helps someone else out as it had previously led me back to using PoMVC!
Iasa UK North 1
Great Evening on Thursday at Iasa UK North 1 where Astra Zeneca played host to a great series of lightening talks! So good in fact that I have to push mine off the agenda!
Well, I still got chance to introduce the speakers and to give a quick overview of Iasa UK activities which you can find here.
Next up was Bola Rotibi from Creative Intellect who talked about what the enterprise needs architects to consider.
Next on was John Whiteway who went solo with nothing more than a piece of paper, his wit and intellect – great talk with the catchy title “Enterprise Social Networking underpins Predictive Science Capability”! Honestly inspiring stuff!
Following this was hard, but Simon Thurman of Emerging Technology at Microsoft UK is a dab hand, giving us a brief history of Azure on one slide …
After more pizza and beer it was time to realise that … Architecture is Boring, or so someone said to Neil Wetherall of Astra Zeneca! He gave some compelling reasons why people say this and more importantly, what architects should do to change this view …
Last but least it was the turn of Saffron Prior to share more secrets of agile and how it’s changing the way that IT generates value.
SO there we go … what a first night for Iasa UK North … with plenty more in store like this to follow!
Many thanks to all and especially Astra Zeneca for making this such a success!
Not loaded. A runtime error occurred during loading of COM add-in
I’ve spent quite a while trying to sort out why my Word 2007 Add-in won’t work on XP for some time and finally found the problem here …
The add-in is built on .NET 4.0 using VSTO 4.0 and I created a Windows MSI installer but it failed to run on the new XP virtual machine I had created all I got was the following error displayed in the Word Add-Ins dialog:
“Not loaded. A runtime error occurred during loading of COM add-in”
I tried a number of methods to try and identify the problem that are listed here for information before I hit on the actual solution …
1. Ensure all pre-requisites are installed …
- .NET 4 Client Profile
- VSTO 4.0
- 2007 primary interop libraries
I also had one assembly built in VC++ so required the VC++ 2010 x86 redistributable and also a third party component that required VC+ 2008 redistributable too. But even then it wouldn’t work.
2. Next I rebuilt a new add-in that did nothing other than display a messagebox with its own install
Still no joy.
3. I then tried enabling VSTO logging by adding the following system environment variables ..
- VSTO_SUPPRESSDISPLAYALERTS = 1
- VSTO_LOGALLERTS=1
But no amount of searching for *.vsto.logs yielded anything.
4. Next up I enabling Fusion (.NET Framework sub-system for locating and loading assemblies) …
- Under HKLM\Software\Microsoft\Fusion
- Create a DWORD value called ForceLog and set 1.
- Create a String value named LogPath, set the value as c:\fusion
- Create the C:\fusion folder.
But even then when I ran up Word nothing was displayed!
It just wasnt getting across the com boundary.
5. I went to an old XP virtual machine that’s had all sorts on it …
I installed the add-in and the pre-requisits … and guess what … it WORKED!
Although the old vm had lots installed, the only significant thing was that .NET 3.5 was on there …
Willing to try anything at this stage I returned to the new VM and installed 3.5 …
And … you guessed it … after re-installing the app and the pre-requisits … the add-in sprang into life!!!
Amazed, I did a final search only to find the following link to a “known issue” that Office 2007 tries to load .Net Framework 2.0 before doing anything else …
And what’s more, there is a hotfix available that fixes the issue
Big Data – when the size of the problem is the size of the data itself
Come and share your views at the next IASA UK meeting on “Big Data”
November 7th, 6pm Endava Offices, London
http://bigdataiasauk.eventbrite.com/
For more on IASA UK visit www.iasaglobal.org
VS2010 SP1 Update Failure
If it’s not hard enough to deal with and understand the Microsoft .NET frameowork they go and make their VS upgrade convoluted and buggy!
After what seems like and age the installer throws out an unconvincing error 0x800C0006 and an audit log that goes recursive!
For those who suffer the same or similar plight there is a simple solution … download the SP1 ISO image, mount it on a drive and install as you would have wanted to in the first place!
http://go.microsoft.com/fwlink/?LinkId=210710
The following link gives more information that you might find useful.
http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/63eb6768-7b78-45fd-8663-b4d7993be563
Authentication as a Service
In partnership with Swivel Secure, the owners of PINsafe, a multifactor authentication solution inTHiNK has successfully delivered a solution to hosting PINsafe in the cloud opening the way to delivering bank grade authentication as a service at a price affordable to all.
inTHiNK has developed a fully standards based Security Token Service that sits in front of PINsafe allowing the service to engage in the exchange of SAML-based claims leveraging the core value of PINsafe’s guaranteed one-time code algorithm.
As shown in the diagram here, a trust relationship is created between a relying application, here it is an Azure hosted .NET web application, but it could exist anywhere, and the PINsafe Federation Service (the Security Token Service). On entering the application, the client is redirected to PINsafeFS where they are challenged to submit a valid username and pin through this services relationship with PINsafe itself.The client submits a user name and one time pin code and on successful validation are redirected back to the relying application with a valid SAML ticket that can be used by the relying application.
To try it out, just visit http://pinsafe.cloudapp.net and see for yourself.
Once you hit this site you will be redirected to PINsafeFS and asked for a username and pin.
- Type in the user name test and tab to the password.
- A unique TURing string will now appear.
- Type in the characters that appear at position 1,2,3 and 4 of this string into the password field.
- Submit and you will be validated by PINsafe
- Once validated, a set of claims about the user will be wrapped in a SAML token and passed back to the relying application.
- Back on the relying application, this SAML token is unpacked and the claims are accessed which include the user name.
Simple!
PINsafeFS is now in beta and available to clients to work with. The next phase will see the delivery of a full featured self-service portal to allow relying applications to manage their identities and the claims they wish to store and use for their users.
PINsafeFS is full standards based and non-invasive using WS-* protocols and SAML tokens.
Now
Welcome Gar Mac Criosta to the inTHiNKers!
It’s a delight to have Gar Mac Criosta join the band of inTHiNKers bringing a great set of experiences on IT Architecture.
Gar has worked in Ireland, UK and Australia for policing, financial services, insurance, public sector bodies and systems integrators including An Garda Síochána, Cap Gemini, An Post, Anglo Irish Bank, Compaq, GE and others.
Gar became one of the first IASA Certified IT Architects (CITA-P) certifying in May 2010. In addition, Gar is current president of IASA Ireland the professional association for IT Architects. Gar is a member of the IASA Europe leadership team and a member of the IASA Board of Education Certification Committee which is currently working to deliver IASA Certification programs globally.
Gar is actively involved in the technology community and has a real ‘grá’ for technology. Gar is currently pondering touch based & device based applications will change our work world.
For more on Gar and the rest of the inTHiNKers click here!
Welcome to Jon Collins as a new inTHiNKer!
It’s with great delight to announce that Jon Collins has agreed to become the latest inTHiNKer to join the gang!
Jon Collins
Jon is a seasoned consultant, writer, speaker and commentator, having worked in and around information technology for 23 years. He started his career as a programmer, moving into systems administration and IT management before working as a consultant in software design and a network management for clients in many different sectors. For the past 11 years Jon has been working as an IT industry analyst for firms including Bloor Research, IDC and Freeform Dynamics, working in areas such as IT security, information management and cloud computing. Jon was named “European Analyst of the Year” in 2009 by the Institute of Industry Analyst Relations. Today, Jon continues to investigate the social and business impacts of digital technologies as part of his more general research into where IT is heading..
For more on Jon and the rest of the inTHiNKers then look here.
Announcing Entabula …
Collaboration between inTHiNK and three outstanding independent solutions architects from the UK and Ireland has resulted in the launch of Entabula, an agile, structured approach to maximising the business value of IT investments.
Entabula builds on the strengths of existing Corporate Architecture and Service Modelling techniques to deliver new levels of insight into how IT can better serve businesses.
At the heart of Entabula is a capability-focused method for enterprise value mapping. Capabilities rigorously separate what a business does from how it does it, which provides a durable canvas on which to shape business, systems and IT strategies away from the compromises, noise and inefficiencies of the current implementation mix of processes and platforms.
In too many organisations, the relationship between business and IT objectives has become strained and even broken. inTHiNK and its partners, Structia and blueye are committed to developing effective tools and techniques to harmonise relations between business and IT at all levels of engagement. The first targets are the elimination of structural waste and the development of powerful and relevant service-oriented architectures.
More information about Entabula will appear over the next few days, including the launch of a new website dedicated to the Entabula method.
Arvindra Sehmi becomes the latest inTHiNKer!
It is a genuine honour to be able to announce that Arvindra Sehmi is the latest to join a great line up of inTHiNKers! Arvindra is actively engaged with a number of inTHiNKers in developing a Capability Value Mapping practice and methodology leveraging his experiences in business intelligence with Onalytica and with the Business Model Canvas and Service Oriented Modelling while at Microsoft.
For more on Vin and the rest of the inTHiNKers click here!