Quantcast
Channel: MSDN Blogs
Viewing all 29128 articles
Browse latest View live

Free ebooks: Microsoft System Center family of titles

$
0
0

Microsoft Press has been releasing Microsoft System Center free ebooks this year in waves. Bookmark this page and check back for titles as we release them.


Released Sept 2013
System Center Configuration Manager Field Experience
Released Oct 2013

Released Nov 2013
System Center Cloud Management with App Controller
Released Nov 2013
System Center: Optimizing Service Manager
(coming in December 2013)
System Center: Network Virtualization and Cloud Computing (coming in December 2013)
System Center: Building a Virtualized Network Solution (coming in Jan 2014)





System Center: Integrated Cloud Platform (coming in Jan 2014)

Introducing Microsoft System Center 2012 R2 (coming in Jan 2014)

.NET: Loading Native (NGEN) images and its interaction with the GAC

$
0
0

It’s common for people to think that NGEN works with strong named assemblies only and it places output files or uses GAC closely. This is mostly not true.

If you are new to this there’s a quick primer on NGEN that I wrote http://blogs.msdn.com/b/abhinaba/archive/2013/12/10/net-ngen-gac-and-their-interactions.aspx.

GAC

The Global Assembly Cache or GAC is a central repository where managed assemblies can be placed either using the command like gacutil tool or programmatically using Fusion APIs. The main benefits of GAC is

  1. Avoid dll hell
  2. Provide for a central place to discover dependencies (place your binary in the central place and other applications will find it)
  3. Allow side-by-side publication of multiple versions of the same assembly
  4. Way to apply critical patches, especially security patches that will automatically flow all app using that assembly
  5. Sharing of assemblies across processes. Particularly helpful for system assemblies that are used in most managed assemblies
  6. Provide custom versioning mechanisms (e.g. assembly re-directs / publisher policies)

While GAC has it’s uses it has its problems as well. One of the primary problem being that an assembly has to be strongly named to be placed in GAC and it’s not always possible to do that. E.g. read here and here.

NIC

The NIC or Native Image Cache is the location where NGEN places native images. When NGEN is run to create a native image as in

c:\Projects>ngen.exe install MyMathLibrary.dll

The corresponding MyMathLibrary.ni.dll is placed in the NIC. The NIC has a similar purpose as GAC but is not the same location. NIC is placed at <Windows Dir>\assembly\NativeImages_<CLRversion>_<arch>. E.g. a sample path is

c:\Windows\assembly\NativeImages_v4.0.30319_64\MyMathLibrary\7ed4d51aae956cce52d0809914a3afb3\MyMathLibrary.ni.dll

NGEN places the files it generates in NIC along with other metadata to ensure that it can reliably find the right native image corresponding to an IL image.

How does the .NET Binder find valid native images

The CLR module that finds assemblies for execution is called the Binder. There are various kinds of binders that CLR uses. The one used to find native images for a given assembly is called the NativeBinder.

Finding the right native image involves two steps. First the IL image and the corresponding potential native image is located on the file system and then verification is made to ensure that the native image is indeed a valid image for that IL. E.g. the runtime gets a request to bind against an assembly MyMathLibrary.dll as another assembly program.exe has dependency on it. This is what will happen

  1. First the standard fusion binder will kick in to find that assembly. It can find it either in
    1. GAC, which means it is strongly named. The way files are placed in GAC ensures that the binder can extract all the required information about the assembly without physically opening the file
    2. Find it the APPBASE (E.g. the local folder of program.exe). It will proceed to open the IL file and read the assemblies metadata
  2. Native binding will proceed only in the default context (more about this in a later post)
  3. The NativeBinder finds the NI file from the NIC. It reads in the NI file details and metadata
  4. Verifies the NI is indeed for that very same IL assembly. For that it goes through a rigorous matching process which includes (but not limited to) full assembly name match (same name, version,  public key tokens, culture), time stamp matching (NI has to be newer than IL), MVID (see below)
  5. Also verifies that the NI has been generated for the same CLR under which it is going to be run (exact .NET version, processor type, etc…) .
  6. Also ensures that the NI’s dependencies are also valid. E.g. when the NI was generated it bound against a particular version of mscorlib. If that mscorlib native image is not valid then this NI image is also rejected

The question is what happens if the assembly is not strongly named? The answer is in that case MVID is used to match instead of relying on say the signing key tokens. MVID is a guid that is embedded in an IL file when a compiler compiles it. If you compile an assembly multiple times, each time the IL file is generated it has an unique MVID. If you open any managed assembly using ildasm and double lick on it’s manifest you can see the MVID

.module MyMathLibrary.dll 
// MVID: {EEEBEA21-D58F-44C6-9FD2-22B57F4D0193}

If you re-compile and re-open you should see a new id. This fact is used by the NativeBinder as well. NGEN stores the mvid of the IL file for which a NI is generated. Later the native binder ensures that the MVID of the IL file matches with the MVID of the IL file for which the NI file was generated. This step ensures that if you have multiple common.dll in your PC and all of which has version 0.0.0.0 and is not signed, even then NI for one of the common.dll will not get used for another common.dll.

The Double Loading Problem

In early version of .NET when a NI file was opened the corresponding IL file was also opened. I found a 2003 post from Jason Zander on this. However, currently this is partially fixed. In the above steps look at step 1. To match NI with its IL a bunch of information is required from the IL file. So if that IL file comes from the GAC then the IL file need not be opened to get those information. Hence no double loading happens. However, if the IL file comes from outside the GAC then it is indeed opened and kept open. This causes significant memory overhead in large applications. This is something which the CLR team needs to fix in the future.

Summary

  1. Unsigned (non strong-named) assemblies can also be NGEN’d
  2. Assemblies need not be placed in GAC to ngen them or to consume the ngen images
  3. However, GAC’d files provide better startup performance and memory utilization while using NI images because it avoids double loading
  4. NGEN captures enough metadata on an IL image to ensure that if its native image has become stale (no longer valid) it will reject the NI and just use the IL

Enterprise Architecture as Story

$
0
0

One of the most compelling things that an EA can do is frame the vision of a better future as a story.  I’ve found this to be true many times, and others have discovered this as well, but it is not frequently discussed among architects.  I’d like to bring together some of these threads and talk about three things: a) the effectiveness of story, b) how to create a story, and c) whether you need more than one story.

The Effectiveness of Story

Enterprise Architecture is about change.  If nothing is changing, the value of EA is fairly low.  That said, very few organizations, public or private, are in a stable state these days.  Change is everywhere.  But change is not easy.

imageYour stakeholders need change, but they may not want it.  In some cases, they want the change, but their peers are not asking for change.  Either way, getting change to happen in an organization requires a touchstone – some common belief or idea that everyone can relate to.  It has to be more than a fact, and more emotive than a strategy.  It has to be compelling, interesting, surprising, and easy to remember.  In the words of Chip and Dan Heath, this central idea has to be “made to stick.” 

In my experience, every time an organization changed, there was a story at the heart of the change.  In each case, there was a single story that helped people to see how the change would happen, or helped to see how the customer would be happier, or helped to illustrate how the new world would work. 

Enterprise Architecture As Strategy: Creating a Foundation for Business ExecutionIn the book, “Enterprise Architecture as Strategy,” Jeanne Ross described the concept of a “core diagram” which was a single image that people rallied around.  I’ve spoken about core diagrams before, and have suggested a way to create a core diagram that reflects an optimally agile organization.  However, the core diagram is only part of the story.

The story itself is what makes change possible.  The story itself is the touchstone – the “shared memory” that everyone recalls when the topic of change is discussed. 

Truly effective leaders understand this.  Steve Jobs would often use stories to get audiences (internal and external) to see the value of what he was doing.  Bill Gates, having shifted to health and education issues, still uses stories to communicate and connect.  The most effective political speeches, and most rousing situations, are always connected to a story.  At the time of this writing, Nelson Mandela recently passed away.  What are people remembering?  They are remembering his story.  They are also remembering how he used stories, as well as principles and a dedication to action, to create change. 

Successful change requires more than a story.  You also need to have a vision of what the destination of your change is.  But you cannot get to that destination unless people move, and people won’t move without an emotional connection to that destination.  Stories are necessary, but not sufficient.  Stories are the connection, not the destination… but you need both to survive.

How to Create a Story

Storytelling is an old craft, but business storytelling is fairly recent.  There are many things to consider, and it can take a while to figure out all the steps.  In general, I suggest that change agents should focus on four areas:

  1. Focus first on the Content: Why do you want to change?  What must change?  How will the change occur?  What if the change happens (and what if it doesn’t)? 
     
  2. Focus second on the Audience: Who must change and in what way?  Who do they listen to?  How do these folks learn?  How do they make decisions?  If you don’t know who you are telling the story to, you are reducing the odds of success.
     
  3. Focus third on the story elements themselves: What is the structure of your story? Who are the characters of your story?  What drives them to move forward in the story?  And, very important, how will you tell the story to the audience?  Will you use videos?  Will you use a PowerPoint presentation?  Will you have people enact the characters?  Will you rely on signs and posters?  You have to think about all of these elements.
     
  4. Focus fourth on the Design of the story and the Testing of the story.  Design is critical and important, but as you can see, we don’t jump into design first.  We first understand the story we want to tell.  We go to design late in the process, only after we’ve thought about the problem we are solving, the people we are trying to change, and the elements of story.  But even minor mistakes in design can create unnecessary distractions from your story. 

    How do you find the mistakes?  Test, Test, Test, Test, Test.  You wouldn’t “ship” a software product without testing it, right?  (unless you are the Center for Medicare and Medicaid :-).  So why would you “ship” a story without testing it.  This means rehearsal, delivery to friendly audiences, feedback from peers and the friends of your stakeholders, etc.  Any way that you can get good ideas about how well your story is connecting.

I use a simple mnemonic to remember these four steps: C-A-S-T.  Content- Audience- Story- Tell.

image In all fairness, this is a simple blog post, and the topic is a bit bigger than can be placed here.  Big enough, in fact, for a good book.  If you want to actually create a story, I’d recommend readers to pick up a copy of my book from Amazon or your local bookstore: Stories That Move Mountains.  It is a visually striking book (thanks to Mark West) that tells the story of storytelling for business change. 

Note that the book is available in multiple languages, so check out your local bookstore.  (I shared a copy with one of my friends, and my wife picked up the Italian edition off my bookshelf to hand to him.  We all got a good laugh out of that).

How Many Stories Do You Need?

In telling a story of Enterprise Architecture, you may need more than one story.  You may need a story for the IT folks, and another story for your business stakeholders (especially for heavily technical stories like you’d find with BI or SOA initiatives). 

For each story, you will go through the process above, and in each, you would consider the audience.  But for the sake of this blog, I’d suggest that an Enterprise Architecture story needs to consider each of the changes being suggested.  Typically EA impacts each of the BAIT areas, but you probably only need two or three stories: one to tell about the IT changes and one or two stories for business stakeholders (a low-level story for impacts to business processes, and a high-level story illustrating alignment and customer centricity).

Conclusion

I don’t have any better advice to give to an Enterprise Architect seeking to increase his or her level of impact and influence than this: learn to tell effective stories.  The story never stars the Enterprise Architect.  At best, you are the helper, the assistant.  You are not Frodo, but Samwise (or Gandalf).  But the story compels the mind, and engages the heart.  The story holds the vision and makes it easy to communicate.  Wrap your vision in a story.  It is not a promise of success, but it helps. 

[Sample Of Dec 11th] How to load WinForms TreeView nodes from a DataTable

$
0
0

 

Homepageimage
RSS Feed

Sample Download :

CS Version: http://code.msdn.microsoft.com/CSWinFormTreeViewLoad-00151e56

VB Version: http://code.msdn.microsoft.com/VBWinFormTreeViewLoad-daabfd8e

This Windows Forms code sample demonstrates how to load TreeView nodes based on data in DataTable.

imageYou can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates. If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, or read the introduction on our homepage http://1code.codeplex.com/.

Подключайтесь к онлайн-трансляции Design Camp!

$
0
0

12 декабря в 10:00 (МСК) мы приглашаем всех неравнодушных к современному цифровому и интерактивному дизайну присоединиться к онлайн-трансляции второго Design Camp.

В этом году Microsoft и Британская высшая школа дизайна готовят для вас еще больше докладов, экспертов, практики и общения. Мы сконцентрируемся вокруг четырех основных блоков: дизайне приложений, игр и сайтов, графике, анимации и инфографике, дизайн-мышлении и UX, а также дизайне для современных устройств. А чтобы каждый мог почувствовать себя активной частью конференции, добавим воркшопов и отдельных QA-сессий. Также к нам приедет Bart Decremиз The Walt Disney Company и расскажет об опыте и стратегии компании в области мобильных игр, в частности о таких хитах как Tap Tap Revenge, Where’s My Water, Temple Run:Brave и Oz. Не пропустите!

Ознакомьтесь с подробной программой конференции по ссылке.

Если у Вас нет возможности посетить конференцию, подключайтесь онлайн!

App-V 4.6 SP2 HF4 ist nun auf Anfrage zu haben

$
0
0
Hallo zusammen, wir haben heute einen Hotfix momentan noch auf Anfrage freigegeben. folgende Themen werden adressiert:   1. Unter gewissen Umständen kann die Reihenfolge der Umgebungsvariablen durcheinander kommen bzw. unvollständig sein 2. App-V Service crashes auf RDS Systemen (hier wurden gleich zwei Probleme adressiert)   Als Basis für diesen Hotfix gilt App-V 4.6 SP2. Dieser Hotfix ist nicht   im SP3 enthalten Build ist: 4.6.2.30141 KB Nummer wird sein 2892925   Schönen Gruß...(read more)

Хакатон APPS4ALL 13 и 14 декабря!

$
0
0
Совсем скоро! 13-14 декабря в Москве пройдет хакатон Apps4All , который соберет гениальных разработчиков, талантливых дизайнеров и идейных менеджеров продуктов. На хакатоне у вас будет возможность обсудить идею с менторами, завязать новые знакомства, представить потенциальным инвесторам свою идею и выиграть ценные призы. Одна из самых интересных и популярных номинаций: «Мобильное приложение с бэкендом в Windows Azure». Windows Azure –  универсальный бекэнд для любых мобильных приложений. Подав...(read more)

Special Event - Team Foundation Server 2013 Upgrade Day

$
0
0

Sie setzen Team Foundation Server ein, nutzen aber noch nicht die aktuelle Version TFS 2013?

Sie planen bereits ein Upgrade oder Sie fragen sich -Was ist alles Neu? Lohnt sich der Umstieg? Auf was muss ich beim Upgrade achten, damit es reibungslos funktioniert? Können auch meine älteren Visual Studio Versionen mit dem TFS 2013 arbeiten? Selber machen oder machen lassen? Der TFS 2013 Upgrade Day unterstützt Sie dabei, genau diese und andere Fragen kompakt zu erörterten. Nutzen Sie die Chance, sich mit den TFS MVP’s auszutauschen.

Hinweis– Wir haben an den Lokationen nur eine  begrenzte Anzahl von Plätzen, um den interaktiven Charakter der Veranstaltung zu gewährleisten.

Anmeldung und Agenda für den 29.1.2014 in München

Anmeldung und Agenda für den 10.2.2014 in Köln 
(Anmelde Seite steht in kürze zur Verfügung)


Dynamics CRM 2013/Fall '13 自習書の紹介

$
0
0

みなさん、こんにちは。

Microsoft Dynamics CRM Online ’Fall 13 および Microsoft Dynamics
CRM 2013 設置型がリリースされてから、連続 50 投稿を目標に日々
情報を提供してきましたが、早いもので今日で 50 投稿目です。

今後も情報は随時更新していきますが、1 つの節目ということで
勝手ながら一人で喜んでおります。

さて今回は先日リリースしたばかりの Microsoft Dynamics CRM
Online ’Fall 13 対応の自習書を紹介します。

http://technet.microsoft.com/ja-jp/cloud/crm_learning

上記サイトにて、以下の自習書が公開中です。

SFA (Sales Force Automation: 営業支援) シリーズ 3 部作

・顧客管理編
・商談管理編
・活動管理編

設定編
カスタマイズ編

今後も自習書を充実させていく予定ですので、是非定期的に
チェックしてみてください。

- 中村 憲一郎

Practice Accelerator for Office 365

$
0
0

Office 365 Practice Accelerator [Level 300], will help partners learn the fundamental deployment principles and processes that lead to repeatable successful deployments of O365. We will cover the new features and tools provided for Exchange Online, SharePoint Online, and Lync Online migrations, as well as present the approach required to craft a solution in as little time as possible. Particular focus will be given to the areas of planning and optimization for both program-level and per-product deployment approaches. Finally, partners will be provided with next steps for delivery readiness of individual products and features, ensuring delivery practice can quickly move from the vision and plan stage into pilot and deployment work.

Date: 13th March 2014

Time: 10am – 6pm

Register Here!

Cumulative SEPA credit transfer and SEPA direct debit update for Austria direct debit specific country format, update COR1 mandate scheme and changes in MT940 file import format functionality in Microsoft Dynamics AX 2009 SP1” has been released

$
0
0

Please be informed that  “Cumulative SEPA credit transfer and SEPA direct debit update for Austria direct debit specific country format, update COR1 mandate scheme and changes in MT940 file import format functionality in Microsoft Dynamics AX 2009 SP1” has now been released

Overview:

The EPC is committed to delivering following pan-European payment instruments:
- For credit transfers – SCT – SEPA Credit Transfer
- For direct debits – SDD – SEPA Direct Debit

The SEPA credit transfer payment format is implemented by using the payment format functionality in Microsoft Dynamics AX. Nine SEPA export file formats are available in Microsoft Dynamics AX. These export formats conform to the SEPA ISO 20022 XML standard that is specified in the SEPA Credit Transfer Scheme Rulebook that the EPC releases. The following SEPA export file formats are currently available:
- The SEPA ISO20022 Credit Transfer export format is used for most countries/regions within the Single Euro Payments Area.
- Support is provided for eight countries that have special requirements, and a separate export format is provided for each of these countries: Austria, Belgium, Finland, France, Germany, Italy, Spain, and The Netherlands.

The SEPA direct debit generic payment format is currently supported in Microsoft Dynamics and follows the EPC B2B and Core Direct Debit Scheme Rulebooks. The ability to deal with pre-notification and handle direct debit mandates is currently supported in Microsoft Dynamics. The following SEPA export file formats are currently available:
- The SEPA ISO20022 Credit Transfer export format is used for most countries/regions within the Single Euro Payments Area.
- Support is provided for seven countries that have special requirements and separate export format for each of these countries/regions: Austria, Belgium, France, Germany, Italy, Spain and The Netherlands.

Download information:
The feature is available for download using the following link:
http://support.microsoft.com/kb/2902097

 

JULEKALENDERLUKE 12 - Hva kan Application Insights gjøre for deg?

$
0
0
Samtidig som vi lanserte Visual Studio 2013 og Visual Studio Online ble Application Insights annonsert. Dette er et ny tjeneste i Visual Studio Online (og er for tiden i preview). Denne tjenesten hjelper deg å holde applikasjonen din operativ og rask ved å gi deg innsikt  til å gjøre de rette beslutninger rundt forbedringer i din applikasjon. Dette gjelder om du kjører applikasjonen i nettskyen eller i ditt eget datasenter, fra utvikling til produksjon. Du kan lære mer av disse videoene på Channel...(read more)

Windows Azure Update: Direkter Zugriff auf zweite Storage Location bei geo-redundantem Speicher, Scheduler für regelmäßige Aufrufe und Nachrichten

$
0
0
Nutzer von Windows Azure haben es wahrscheinlich schon gesehen. Heute Nacht wurden wieder zwei Neuerungen bekannt gegeben. Dies ist zum einen der Start der Preview-Phase für eine neue Funktion beim geo-redundanten Speicher. Die weitere Neuerung betrifft die nun in der Vorschau verfügbaren Scheduler. Lesezugriff auf zweite Storage Location bei Geo-Replikation Für Windows Azure Storage Accounts besteht seit einiger Zeit die Möglichkeit zwischen einer einfachen Speicherung der Daten in einem Rechenzentrum...(read more)

Neues Entwickler Portal bringt viele Änderungen mit sich

$
0
0

Seit einiger Zeit ist nun die Schweizer Version des neuen Entwickler Portals live und bringt viele Neuerungen mit sich. Wir haben für Sie an dieser Stelle die wichtigsten Änderungen zusammengefasst.

Wieso ein neues Portal

Das neue Entwickler Portal soll wichtige Aufgaben in sich vereinen, die für Sie als Entwickler wichtig sind:

  • Informationsbeschaffung muss einfach sein: Das neue Portal soll es jedem Entwickler ermöglichen, schnell und einfach die Informationen zu finden die für ihn wichtig sind - und das alles aus einer Hand, egal woher Sie kommen.
  • Die richtigen Informationen anbieten: Nicht jeder Entwickler braucht die gleichen Informationen, doch jeder soll das finden was er braucht. So gibt es z.B. Inhalte die eigens für iOS und Android Entwickler ausgelegt sind.
  • Die Community wird wichtiger: Das Portal integriert direkt die wichtigsten Möglichkeiten für die Community wie Blogs, Events, Twitter, Foren und vieles mehr.

Wer gerne mehr über das neue Portal erfahren möchte, dem empfiehlt sich ein Besuch von Brian Harry’s Blog zu dem Thema.

Im Weiteren zeigen wir Ihnen kurz die wichtigsten Änderungen die es derzeit für die Schweizer Seite gibt. Bitte beachten Sie, dass aktuell noch einige Anpassungen in der Pipeline sind und sowohl Seite als auch Inhalte laufen angepasst und verbessert werden.

Events

Sie finden neu auf der Startseite des Entwickler Portals einen Feed mit den nächsten Schweizer Events. An dieser Stelle werden die nächsten sechs Events aufgeführt. Sollten mehr Events vorhanden sein, können Sie diese finden indem Sie auf “Mehr anzeigen” klicken. Sie gelangen dann auf die neue Eventseite, welche wir in Zukunft nutzen werden. Selbstverständlich werden wir an dieser Stelle auch weiterhin Partner- und Usergroup-Events promoten.

Twitter

Ebenfalls neu auf der Startseite finden Sie einen Twitter-Feed, welcher ab Anfang 2014 mit Inhalten von unserem Twitter-Account gefüttert wird. Damit diese Integration einheitlich vollzogen werden konnte, war eine Umbenennung unseres Twitter Accounts von msdn_ch in msdev_ch notwendig.

Wichtige Seiten

Durch das neue Format des Entwickler Portals einige Möglichkeiten zur Verlinkung von Unterseiten weggefallen. Wir sind aber daran, diese so schnell wie möglich wieder zu integrieren. Damit Sie die Seiten in der Zwischenzeit immer noch finden können, listen wir an dieser Stelle die wichtigsten Seiten auf:

  • Presentation Finder: Hier finden Sie alle Präsentationen die wir zum Download anbieten
  • Newsletter: Hier geht's zur Anmeldung für unseren Newsletter (Deutsch/Englisch)
  • Kontaktseite: Haben Sie Fragen? Hier finden Sie unser Team und die nötigen Kontaktangaben
  • Schweizer Apps: Wenn Sie an Schweizer Apps und/oder App Entwicklung interessiert sind

Kontakt

Sollten Sie Fragen oder Anregungen zum neuen Entwickler Portal haben, wenden Sie sich an Raphael Bösch.

Install of SQL Server 2012 on Windows Server 2012 R2

$
0
0

I recently had a customer engagement where the customer wanted to install a SQL 2012 two node Failover Cluster with one instance. OK, easy, did this a couple of times.

But then the customer came up with the Information, that the OS will be Windows Server 2012 R2. OK, older SQL on newer OS is very often a case where we need a service pack as minimum requirement. And yes, there is an article in MSDN.

http://support.microsoft.com/kb/2681562/en-us

SP1 is needed for the Support of SQL 2012 on Windows Server 2012 R2. In the past there was often something like this, just remember SQL 2008 on Windows Server 2008 R2. It was needed to just install SQL 2008 RTM and apply the SQL SP afterwards.

There are already media out there for SQL 2012 including SP1, but my customer only had the SQL 2012 RTM Version. So we tried it with the RTM Version, and wanted to apply the SP1 afterwards, because there was no recommendation until this time if SQL 2012 RTM with SP1 install is needed, or only SQL 2012 RTM and apply the SP after that.

So we started the Installation from the SQL 2012 RTM media, it all went well, the Progress bar with the insallation started.... and it was just nearly in the middle, when a message box came up, that the SQL Browser Service could not start. Hmm... went to services console, start.... no, error, could not start. So a look into the Windows Eventlog was needed. There was a nice little message...The SQL configuration for SQL is inaccessible or invalid. Hmm...

OK, we cancelled the setup and observed that was installed in 'Programs and features'. Setup Support files, SQL Browser, SQL Server (64 Bit), nearly everything was listed what is known for a successful installation. So we decided to de-install everything. It worked, only the 'SQL Server (64 Bit)' did not find any instance. OK, this really comes at the end of a SQL cluster installation, we stopped earlier.

I wanted to cleanup all the stuff in 'Program Files' and so on, but it was locked somehow.... OK, we did a reboot on both servers. Still no cleanup on Node 1 of the already installed bits in Program files etc. possible. So we left them there.

We now decided to go a different way. There is a great thing in SQL 2012 setup, called SMART SETUP. If the server is in the internet it will check there for updates. Server, in the internet..... huuuuhhhhh. No, never ever. But there is another option, you can point SQL Server Setup to a directory with the updates. So, we already had SQL 2012 SP1 setup there (This is around some 900 MB). We decided to go also for a cumulative update (CU), 6 was the actual one, so we downloaded this also. We created a directory on drive C of the server (C:\SQLUpdates, name it as you want, it is only an example here...) and copied both updates into this directory. Be careful: The CU update is in a self extracting zip, so unzip is first to get the exe and copy this to the directory.

So, how does SQL Setup now finds the updates?

 Easy.... but not with a nomal double click on Setup.exe. Open a command line, and type 'SETUP.EXE /Action=installfailovercluster /updatesource=C:\SQLupdates'

When you install a normal SQL instance, the Action is 'install', when you add a node to a SQL Cluster the Action is 'addnode'.

We started the Setup from the SQL 2012 RTM media this way, on one of the pages at the beginning SQL Server tells you what it found (Service Pack 1 and another update on top of this, right) and... the Setup ran until the end, and our Failovercluster instance was there (It was fine with all the stuff alredy in Program Files etc.... very great Setup). We did the same on node 2, with Action as 'addnode' (Copy the updates locally to node 2, or share the Directory and call in /updatesource= from an UNC path. ) and it was fine. The Cluster was up and running.

In the meantime, the article above says that there might be Setup issues and SQL 2012 SP1 with Minimum CU3 should be used. Ah, really, I can prove this, you better go with a CU on top of SP1 to be on the safe side. Check the MSDN article frequently, it is updated from time to time with new Information.


分享我在China TechEd13上的讲课ppt:如何优化Windows 8.1应用海量数据加载的性能

Sync Toolkit for Windows 8.1 and SQLite 3.8.2

$
0
0

Hi all;

I have updated the full codeplex project to retargeting to Windows 8.1 : https://syncwinrt.codeplex.com/

By the way, I ve made the references update of SQLite to target SQLite 3.8.2

This new release of the WinRT implementation of the Sync Toolkit will add some new features:

  1. Upgrade to support SQLite Version 3.8.2
  2. Retargeting to Windows 8.1 only
  3. Nuget package integration (https://www.nuget.org/packages/syncClient.SQLite)
  4. Out of the box Platforms support (x86, x64 and ARM)
  5. Using of SQLiteWinrt component (thx to Andy Wigley for its wrapper) You can check more here : http://sqlitewinrt.codeplex.com

Don’t forget to read the documentation tab tutorial to see how to install the toolkit :)

image_thumb1_thumb_thumbimage

Sebastien

Windows Azure Mobile Services の Client-directed Login

$
0
0
Windows Azure Mobile Services のあれこれ Visual Studio 2013 を使用した Windows Azure Mobile Services のアプリケーション開発 Windows Azure Mobile Services で別の Server Script を参照 (Refer) する Windows Azure Mobile Services の Client-directed Login こんにちは。 今回は「 Build Insider : 第4回 Windows Azure の認証におけるその他サービス ~ Windows Azureモバイル・サービス、多要素認証 」の補足の2つ目です。(今週も、もう終わってしまうので、観念して書くことにしました。。。) 最近のモバイル・アプリ (iOS アプリ、Android アプリなど) では、ソーシャルを中心としたアイデンティティ・フェデレーションは当然の Experience となっています。例えば、Gunosy、Flipboard、RSS リーダーの...(read more)

What are “Off-times”?

$
0
0

I got called out in email, I think reasonably appropriately, for using the term “off-times” when referring to choosing a better time to do our sprintly upgrades.  In a 24x7 continuous service world, there really is no such thing as a “good” time to have a problem.  I’ve written in the past about the extensive lengths to which we’ve gone to ensure that our full upgrade process is “online” and we pretty much never, ever have to take the whole service down for anything.  However, there are bad times and worse times to have a problem.

We have designed our current upgrade schedule to make sure we have developers available during reasonably normal working hours to ensure that, if something goes wrong, the right people are on hand to address the issues and we don’t burn people out with too many long hours and late nights.  The result has been a schedule where our upgrades happen during peak hours of usage.  For a long time, that wasn’t really a problem because, for the most part, upgrades were very seamless and reliable.  In the past few months it has been more of a problem, hence we are looking at adjusting the timing.

Back to the original observation about “off-times”…

I love data.  I try to share the kinds of data we collect and how we use it.  We have a lot of it.  In fact, I just saw a mail saying we needed 20 more TB of space to store all of the data we collect about the operation of the service.  Although there’s no true “off-time” there are more and less busy times.  Here’s a graph our our weekly activity, starting at 12:00am UTC on Monday and going through the week.

image

Our peaks happen at about 11:00am EST (4:00pm UDT).  Usage bottoms out around 12:00am EST (5:00am UTC).  Weekend days (Sat & Sun) have a similar pattern but are, overall, significantly subdued compared to weekdays.  In fact, you can see that the 3rd “peak” on Friday (and Friday in general) is much smaller than other weekdays; I suspect a sign people are ready for the weekend Smile.

For the past many months, I’ve been advocating that we work harder to make updates a “non-event” – in every sense of the word.  Customers shouldn’t notice them.  Our developers shouldn’t notice them.  Our service delivery team shouldn’t notice them.  They just happen and people are pleasantly surprised when new features show up.  It’s a statement not only about the reliability and performance but also about the degree of automation and process management on our side.  That’s the goal but clearly, in the last few months, we haven’t been meeting that goal.

We’ll shift our deployment times from morning EST to evening EST for a while and continue to work on making the process better.  I’d very much like to avoid having to ask the team to work weekends, even though that would be the least impactful time.  I really want to focus on fixing the problem and have this mitigation only be temporary.  We’ll certainly keep you all posted as we make progress.

Brian

Moving an existing Virtual Machine into a Virtual Network Subnet without losing your virtual hard disk (or your mind)

$
0
0

I often suggest that once you get onto Windows Azure, before you create any Virtual machines, make sure you create a Virtual Network.  There will be a time when you want to connect that VM to another or create some layers of logical organization or security boundaries, trust me.  So, in order to help al those who got excited and created a VM outside a VNET, here is a step-by-step on how to move it into a subnet of your VNET.  Please warned that you will lose your VIP since you cannot move the existing Cloud Service into the VNET and you will at one point have to create it again.  Ok so with that out of the way here goes!

1. Firstly log in to the Azure management portal and select Virtual machines and then the machine you wish to move into a VNET:

clip_image002

2. Next select DELETE in the lower tool bar and make sure you select KEEP THE ATTACHED DISKS option.

clip_image004

3. Click on the Disk tab under Virtual Machines and ensure your Virtual Disk is no longer attached to any running VM’s

clip_image006

4. Delete the Cloud Service from the Cloud Services Tab: WARNING you will lose your VIP and be assigned a new one once you create the new VM under a new cloud service in the following steps.

clip_image008

5. Now Click NEW in the bottom toolbar and select Virtual Machine->From Gallery

clip_image010

6. Select MY DISKS from the right hand menu and then select the disk containing your VM:

clip_image012

7. Give the VM a name and choose the size VM you require; then click next

8. Once on Tab number 3 select Create a new Cloud Service and then select your VNET under Region/affinity/virtual Network and then select the Virtual Network Subnet of your choice

clip_image014

9. On the 4th and last tab ensure you open the required ports for the service you need or just leave the defaults if these are sufficient.

10. Don’t forget to re-attach any data disk that were previous part of your VM and also to reconfigure endpoint monitoring, alerts and Availability groups.

11. For confirmation you can check under Virtual Networks, select your network and verify the VM is deployed to the correct VNET subnet.

clip_image016

Viewing all 29128 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>