Apr 03, 2012, 8:00 PM
-
-
Apr 03, 2012, 8:05 PMI guess that you investigate another request, Failure window shows that request has Status code 200 but you investigate request with status code 404
-
Apr 03, 2012, 8:20 PM
-
Apr 03, 2012, 8:48 PMI took a quick look at your app and the 404 failures are requests for images.
Whats causing the 200 Bad Response is unclear. The request is made properly, but something is causing the thread to terminate. Maybe jacking up the .Timeout property of the DirectEvent config could help.
It appears all the Ext.NET scripts and css are loading properly. If Ext.NET was not loading properly, you would see nothing.
Unfortunately I'm not sure what is causing the request failures. Maybe something in your network setup is blocking the requests. I'd start by creating a simple test, and slowly build it up until you find (or narrow down) the problem.
I'm deleting your email which contained credentials to your system, and would prefer to keep all communication within the forums. -
Apr 03, 2012, 8:58 PMRecently, there was the thread with such problem.
http://forums.ext.net/showthread.php?18046 -
Apr 04, 2012, 1:42 PM
My Web.config
<?xml version="1.0"?> <configuration> <configSections> <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/> <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> </sectionGroup> </sectionGroup> </sectionGroup> <section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false" /> <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > <section name="Web.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> </sectionGroup> </configSections> <extnet cleanResourceUrl="false" idMode="Explicit" theme="Default" initScriptMode="Inline" scriptMode="Debug" licenseKey="*************" /> <connectionStrings> <add name="ConnectionString" connectionString="Data Source=**********;Initial Catalog=***;Persist Security Info=True;User ID=***;Password=***" providerName="System.Data.SqlClient"/> </connectionStrings> <appSettings> <add key="connectionStringName" value="ConnectionString"/> <add key="ApplicationName" value="Sara Lee Data Entry"/> <add key="PageSize" value="10"/> <add key="TrapErrors" value="false"/> <add key="Version" value="1.0.0"/> <add key="AdminEmailAddress" value="example@bbumail.com"/> <add key="FromEmailAddress" value="example@bbumail.com"/> <!--<add key="CrystalImageCleaner-AutoStart" value="true"/> <add key="CrystalImageCleaner-Sleep" value="60000"/> <add key="CrystalImageCleaner-Age" value="120000"/> <add key="ReportsPath" value=""/> <add key="MailServerAddress" value="127.0.0.1"/> <add key="ChartImageHandler" value="storage=file;timeout=3000;Url=~/resources/images/chart/;"/>--> </appSettings> <system.web> <trust level="Full"/> <webServices> <protocols> <add name="HttpGet"/> <add name="HttpPost"/> </protocols> </webServices> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development. --> <compilation debug="true"> <assemblies> <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> </assemblies> </compilation> <!-- The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --> <authentication mode="Windows"/> <identity impersonate="true"/> <globalization culture="auto" uiCulture="auto"/> <!-- The <customErrors> section enables configuration of what to do if/when an unhandled error occurs during the execution of a request. Specifically, it enables developers to configure html error pages to be displayed in place of a error stack trace. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound.htm" /> </customErrors> --> <pages> <controls> <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add tagPrefix="ext" namespace="Ext.Net" assembly="Ext.Net"/> <add tagPrefix="uc" tagName="tagRender" src="~/UserControls/RenderResourceTag.ascx"/> </controls> </pages> <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> <add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false" /> </httpHandlers> <httpModules> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" /> </httpModules> </system.web> <system.codedom> <compilers> <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <providerOption name="CompilerVersion" value="v3.5"/> <providerOption name="WarnAsError" value="false"/> </compiler> </compilers> </system.codedom> <!-- The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0. It is not necessary for previous version of IIS. --> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules runAllManagedModulesForAllRequests="true"> <remove name="ScriptModule"/> <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net" /> </modules> <handlers> <remove name="WebServiceHandlerFactory-Integrated"/> <remove name="ScriptHandlerFactory"/> <remove name="ScriptHandlerFactoryAppServices"/> <remove name="ScriptResource"/> <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <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="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> </dependentAssembly> </assemblyBinding> </runtime> </configuration>
-
Apr 04, 2012, 5:04 PMI can try this, but how do I increase the .Timeout property of the DirectEvent if its wired up like this ??
.cs
.aspx[DirectMethod(Namespace = "Dashboard")] public void LoadPeriodStore(int? year, int? period, String bakery) { PeriodStore.DataSource = tPeriod.FilterAllPeriodsByBakeryPeriodYear(bakery, period.GetValueOrDefault(), year.GetValueOrDefault()); PeriodStore.DataBind(); }
.js<ext:Container ID="Container1" runat="server" LabelAlign="Top" Layout="Form"> <Items> <ext:RadioGroup ID="RadioGroup1" runat="server" AnchorHorizontal="40%"> <Items> <ext:Radio ID="rdWeek" runat="server" BoxLabel="<b><font size=3>Week</b>" Checked="true" GroupName="Time"> <Listeners> <Check Fn="radioSelect" /> </Listeners> </ext:Radio> <ext:Radio ID="rdPeriod" runat="server" BoxLabel="<b><font size=3>Period</b>" Checked="false" GroupName="Time"> </ext:Radio> </Items> </ext:RadioGroup> </Items> </ext:Container>
var radioSelect = function() { if (rdPeriod.getValue()) { SelectBox2.setFieldLabel("<b>Calendar Period</b>"); SelectBox2.emptyText = "Select a Period"; SelectBox2.clearValue(); chkWeek.setValue(false); Dashboard.LoadCalendarStore("Period"); } else { SelectBox2.setFieldLabel("<b>Calendar Week</b>"); SelectBox2.emptyText = "Select a Week"; SelectBox2.clearValue(); chkWeek.setValue(true); Dashboard.LoadCalendarStore("Week"); } selectHomePageValue(); } var selectHomePageValue = function() { if (FormPanel1.isValid()) { btnNext.setDisabled(false); } else { btnNext.setDisabled(true); } SelectBox1.clearInvalid(); SelectBox2.clearInvalid(); SelectBox3.clearInvalid(); var year = SelectBox1.getValue().trim(); var period = SelectBox2.getValue(); var bakery = SelectBox3.getValue().trim(); if(year != "" && period != "" && bakery != "") Dashboard.LoadPeriodStore(year, period, bakery); }
-
Apr 04, 2012, 11:36 PMHi,
You can add the Timeout property directly to the [DirectMethod] config.
Example
I'll also tie this post to the DirectMethod Overview sample in the Examples Explorer. Most of the DirectMethod options and techniques are demonstrated in this sample,[DirectMethod(Namespace = "Dashboard", Timeout = 90000)]
https://examples2.ext.net/#/Events/D...hods/Overview/
Hope this helps. -
Apr 09, 2012, 4:32 PMSeems like the Error is on this Line:
o.conn.send(postData || null);
.js
// private function asyncRequest(method, uri, callback, postData) { var o = getConnectionObject() || null; if (o) { DanaMethodOpen("open",o.conn,method, uri, true); if (pub.useDefaultXhrHeader) { initHeader('X-Requested-With', pub.defaultXhrHeader); } if(postData && pub.useDefaultHeader && (!pub.headers || !pub.headers[CONTENTTYPE])){ initHeader(CONTENTTYPE, pub.defaultPostHeader); } if (pub.defaultHeaders || pub.headers) { setHeader(o); } handleReadyState(o, callback); o.conn.send(postData || null); } return o; }
-
Apr 10, 2012, 6:24 AMHi,
I was not able to find the JavaScript o.conn.send anywhere in Ext.NET or ExtJS. If this line of code is throwing a JavaScript error, then you are going to have to step through your code and determine exactly what is causing the error.
Similar Threads
-
[CLOSED] error accessing Model object from a modal window
By RCM in forum 2.x Legacy Premium HelpReplies: 1Last Post: Jul 20, 2012, 10:01 PM -
Can not log out from my ASP website containing Ext components
By springrider in forum 2.x HelpReplies: 6Last Post: Apr 09, 2012, 11:33 PM -
Build new MVC 3 website
By nilibek in forum 1.x HelpReplies: 0Last Post: Feb 09, 2012, 2:50 PM -
Error when accessing from IE
By omeszar in forum 1.x HelpReplies: 2Last Post: Jul 27, 2011, 6:59 PM -
I want to Use Ext in my website
By chakravarthios in forum LicensingReplies: 10Last Post: Nov 10, 2010, 7:59 AM