Jan 25, 2013, 10:34 AM
[CLOSED] IIS 7.5 deployment
I'm deployng to a windows 2008 server box with IIS 7.5 configured for ASP.NET
I deployed a minimal test web site
I got following error regarding MVC lack
Errore del parser
Descrizione: Errore durante l'analisi di una risorsa necessaria per soddisfare la richiesta. Rivedere i dettagli relativi all'errore e modificare in modo appropriato il file di origine.
Messaggio di errore del parser: Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Impossibile trovare il file specificato.
Errore nel codice sorgente:
Please, do Ext.Net has prerequisites to be released to the destination box or else? I checked the release notes and it seems all needed components should be included..
I had no issues doing the same relase in a environment in which Visual Studio 2010 SP1 was previously installed
Do I need to follow a different procedure for versioni ext.net 2.1 and I miss it?
My goal is to create a deployment kit to a new installed Windows Server 2008 R2 box
Thanks in advance
I deployed a minimal test web site
<%@ Page Title="Home page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<ext:ResourceManager ID="ResourceManager1" runat="server">
</ext:ResourceManager>
<ext:Window ID="Window1" runat="server" Collapsible="true" Height="185" Icon="Application"
Title="Title" Width="350">
<Items>
</Items>
</ext:Window>
</asp:Content>
with following minimal standard web.config <?xml version="1.0"?>
<configuration>
<configSections>
<section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false" />
</configSections>
<extnet scriptMode="Release" theme="Gray" />
<!-- See Property Options below in Sec IV. -->
<!--
The following system.web section is only requited for running ASP.NET AJAX under Internet
Information Services 6.0 (or earlier).
This section is not necessary for IIS 7.0 or later, although does not have to be removed.
-->
<system.web>
<httpHandlers>
<add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false" />
</httpHandlers>
<httpModules>
<add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" />
</httpModules>
<pages>
<controls>
<add assembly="Ext.Net" namespace="Ext.Net" tagPrefix="ext" />
</controls>
</pages>
</system.web>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0 and next.
It is not necessary for previous version of IIS, although does not have to be removed.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add
name="DirectRequestModule"
preCondition="managedHandler"
type="Ext.Net.DirectRequestModule, Ext.Net"
/>
</modules>
<handlers>
<add
name="DirectRequestHandler"
verb="*"
path="*/ext.axd"
preCondition="integratedMode"
type="Ext.Net.ResourceHandler"
/>
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="1.0.0.0-4.5.9" newVersion="4.5.10" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Ext.Net.Utilities" publicKeyToken="2c34ac34702a3c23" />
<bindingRedirect oldVersion="0.0.0.0-2.0.1" newVersion="2.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Transformer.NET" publicKeyToken="e274d618e7c603a7" />
<bindingRedirect oldVersion="0.0.0.0-2.0.0" newVersion="2.1.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
I got following error regarding MVC lack
Errore del parser
Descrizione: Errore durante l'analisi di una risorsa necessaria per soddisfare la richiesta. Rivedere i dettagli relativi all'errore e modificare in modo appropriato il file di origine.
Messaggio di errore del parser: Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Impossibile trovare il file specificato.
Errore nel codice sorgente:
Riga 5: </asp:Content>
Riga 6: <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
Riga 7: <ext:ResourceManager ID="ResourceManager1" runat="server">
Riga 8: </ext:ResourceManager>
Riga 9: <ext:Window ID="Window1" runat="server" Collapsible="true" Height="185" Icon="Application"
==============Please, do Ext.Net has prerequisites to be released to the destination box or else? I checked the release notes and it seems all needed components should be included..
I had no issues doing the same relase in a environment in which Visual Studio 2010 SP1 was previously installed
Do I need to follow a different procedure for versioni ext.net 2.1 and I miss it?
My goal is to create a deployment kit to a new installed Windows Server 2008 R2 box
Thanks in advance
Last edited by Daniil; Jan 25, 2013 at 2:51 PM.
Reason: Please use [CODE] tags, [CLOSED]