Current filter:
                                You should refresh the page.
                                  • I built a basic ASP.NET site on a dev box in VS2010.... it has a pivot chart and charts on it. The grid is connected to a sql server db and the chart is connected to the grid.
                                    Everything works fine locally..
                                    When I try to copy the site files to a IIS7 site on a different server (without VS2010 installed) I get this error:
                                    --------------------------------------------------------------------------------
                                    Could not load file or assembly 'Microsoft.Windows.Design.Extensibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
                                    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
                                    Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Windows.Design.Extensibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
                                    Source Error:
                                    Line 20: <body style="height: 610px">
                                    Line 21: <form id="form1" runat="server">
                                    Line 22: <asp:ScriptManager ID="ScriptManager1" runat="server">
                                    Line 23: </asp:ScriptManager>
                                    Line 24: <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="100">

                                    I have see a few other posts but no clear solution.
                                    I do set some warnings ever locally.. (on dev box)
                                    Warning     15     Element 'SolidFillOptions' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.     C:\Users\Ken Leach\Documents\Visual Studio 2010\WebSites\WebSite8\Default.aspx     123     50     C:...\WebSite8\
                                     is an example..
                                    Seems like the latest version of web charts / pivot may be using some code that is causing the issue?
                                    I don't see what I am missing...
                                    -Ken

                                Show all comments
                                • Paul P (DevExpress) 09.17.2010

                                  Hello Ken,
                                  The Microsoft.Windows.Design.Extensibility is a WPF assembly. So, I assume that you are referencing this assembly in some way.
                                  You can check why this assembly is loaded using the code posted in the Why does my app require Microsoft.Window.Design.Extensibility?? thread.
                                  Also, the following variants may help you fix this problem:

                                  1. Remove a reference to that library from your project by performing the following steps:
                                      a. Right-click your project, and choose "Property Pages" from the invoked menu;
                                      b. Go to "References", and select your reference;
                                      c. Click the "Remove" button to remove the reference.
                                  2. Just check if the .NET Framework 4.0 and MS Visual Studio 2010 are installed correctly on the your machine.
                                  Thanks,
                                  Pavel
                                • Paul P (DevExpress) 09.17.2010

                                  Hello Ken,
                                  Thank you for the additional information.
                                  Unfortunately, it's not possible to diagnose this issue without a sample.
                                  Could you please provide us with a sample, illustrating this problem?
                                  Thanks,
                                  Pavel

                                • Paul P (DevExpress) 09.20.2010

                                  Hello Ken,
                                  I reviewed the attachment and found a reference to the "System.Design" ver. 4.0 in your project.
                                  Does the "different server (without VS2010 installed)" have the .NET Framework 4.0 installed (Start > Control Panel > Programs and Features)? Can you please provide a screenshot, illustrating this?
                                  Also, I can't restore the attached database. It fails with the message:
                                  "Restore failed for Server 'PAVEL\SQL2008'. (Microsoft.SqlServer.SmoExtended)
                                  ADDITIONAL INFORMATION:
                                  System.Data.SqlClient.SqlError: The media set has 2 media families but only 1 are provided. All members must be provided. (Microsoft.SqlServer.Smo) ".
                                  Thanks,
                                  Pavel

                                • Paul P (DevExpress) 09.20.2010

                                  Hello Ken,
                                  Thank you for the additional information.
                                  I disconnected the DataBase in your project and added the following code ("Default.aspx.cs"):
                                      static string AssemblyFullName = "Microsoft.Windows.Design.Extensibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
                                      protected override void OnPreInit(EventArgs e) {
                                          base.OnPreInit(e);
                                          AppDomain.CurrentDomain.AssemblyLoad += delegate(Object s, AssemblyLoadEventArgs args) {
                                              if(args.LoadedAssembly.FullName == AssemblyFullName)
                                                  System.Diagnostics.Debugger.Break();
                                          };
                                      }
                                  but an assembly with same name has not been loaded.
                                  I deleted all versions of the "Microsoft.Windows.Design.Extensibility.dll" library, but the project now works fine.
                                  I have attached a sample project, which contains the ScriptManager and Splitter, but it is works fine for me.
                                  I really would like to help you, but I'm afraid that I can't replicate the problem on my side.
                                  Does it occur in the project I attached? I'm looking forward to hearing from you.
                                  Thanks,
                                  Pavel

                                • Constant (DevExpress Support) 09.21.2010

                                  Hello Ken,
                                  I'm afraid I can't provide you with an immediate answer. Please bear with us, we are searching for a solution.
                                  BTW: Could you please clarify whether you try to check on your side why this assembly is loaded using the code posted in the Why does my app require Microsoft.Window.Design.Extensibility?? thread. Is suppose, that is real way to check the problem.
                                  Thanks,
                                  Constant

                                • Constant (DevExpress Support) 09.23.2010

                                  Hello Ken,
                                  Thank you for your patience. I've just checked this behavior with a virtual machine created according to your requirements. However, I failed to reproduce the problem on my side with the application created according to your last clarification. You will find this application in the attachment. Please note that I've added code suggested in the Why does my app require Microsoft.Window.Design.Extensibility?? thread to the Global.asax.cs file.
                                  So, now you can do the following:

                                  1. Please modify the attached solution to replicate the problem on your side.
                                  2. Then, when the problem is replicated please go to your developer environment.
                                  3. Run the application with debugging enabled.
                                  4. Do the suggested: "Once you are at a break point you can check what assembly was loaded by looking at the AssemblyLoadEventArgs and if e.LoadedAssembly indicates that the Extensibility assembly was just loaded you can look at the call stack to see what code was responsible for loading it."
                                  Please let me know your results.
                                  Thanks,
                                  Constant
                                • Constant (DevExpress Support) 09.23.2010

                                  Here is the solution
                                  Please note that you can use the "Project Converter" to update application to your version. Please refer to the Upgrade Notes help topic for additional information.

                                • Constant (DevExpress Support) 09.28.2010

                                  Hello Ken,
                                  Thank you for the clarification. Please note that I've included a code that allows you to determine which library is loading at runtime:

                                  [C#]
                                  static Global() { AppDomain.CurrentDomain.AssemblyLoad += delegate(Object s, AssemblyLoadEventArgs e) { if (e.LoadedAssembly.FullName.Contains("Microsoft.Windows.Design.Extensibility")) { System.Diagnostics.Debugger.Break(); //int i = 0; // place break point here } }; }

                                  You can include this code into the project where the problem appears. Launch this project in your development environment. I suppose that the Microsoft.Windows.Design.Extensibility library will, in this case, be loaded correctly without any error. However, this code should handle this moment, and you'll be able to determine why this assembly is loaded.
                                  Please try to do this and let me know your results.
                                  Thanks,
                                  Constant

                                • Constant (DevExpress Support) 10.05.2010

                                  Hello Ken,
                                  Thank you for the clarification. I will try to replicate the problem on my side with the project attached to my previous reply (TestSplitterControl). Please bear with us as we search for a solution.
                                  Thanks,
                                  Constant

                                • Mike (DevExpress Support) 10.08.2010

                                  Hello Ken,
                                  Please accept our apologies for this delay. The problem is no longer reproducible on our side. I have reviewed the exception's StackTrace provided earlier again. As you can see, the Microsoft.Windows.Design.Extensibility assembly could not be found. However, your WebApplication requires it as a dependent assembly. Please execute the \Windows\assembly command via the Windows Explorer and ensure that the Microsoft.Windows.Design.Extensibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a assembly is registered in the GAC of your server (see the attached image).
                                  Possibly, the Microsoft.Windows.Design.Extensibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a assembly is not registered in the GAC since the if (e.LoadedAssembly.FullName.Contains("Microsoft.Windows.Design.Extensibility")) condition is never met. Please keep us informed of your results.
                                  Thanks,
                                  Mike

                                1 Solution

                                Creation Date Importance Sort by

                                Not sure if this is still needed, but i recently faced the exact issue when we were trying to build our solution on another machine that doesn't have VS2010 installed.

                                I used "Msbuild" to build the solution on our server (with VS2010) and could see in the logs that 'Microsoft.Windows.Design.Extensibility' was being referenced. On doing some google search, i noticed
                                that my project had references to 'DevExpress.*.Design.dll' . After i
                                removed the references to DevExpress*.Design.dll, I did not see 'Microsoft.Windows.Design.Extensibility' in the logs anymore.

                                Hope this helps.

                                UPDATED:
                                See Also:
                                Q399244 - Incompatibility with AjaxControlTollKit - Could not load file or assembly 'Microsoft.Windows.Design.Extensibility, Version = 4.0.0.0'
                                Q400721 - Error in DNN Environment - Could not load file or assembly 'Microsoft.Windows.Design.Extensibility, Version = 4.0.0.0'