Rank: Member Groups: Member
Joined: 11/16/2007 Posts: 13
|
Hello there,
I'm having problems with the uploader, the client side progress bar is not called until the files are completely uploaded. Problem started when I changed the connection strings in my web.config. Below is my web.config. Please assist. Thanks
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<!-- The configSections define a section for ASP.NET Atlas. --> <configSections> <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" /> <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /> <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /> </sectionGroup> </sectionGroup> </sectionGroup> </configSections> <!-- The microsoft.web section defines items required for the Atlas framework. --> <appSettings> <add key="classifiedItems" value="~/Write/Items/" /> <add key="blankImageUrl" value="~/Images/NoSmallImage.jpg"></add> <add key="defaultItemImage" value="../Images/DefaultItemImage.gif"></add> <add key="albumPath" value="~/Write/"/> <add key="SSLDirection" value="https://www.legwork.com.ng"/> <add key="interswitch_payment_gateway.webpay" value="http://webpay.interswitchng.com/webpayservice_pilot/webpay.asmx"/> </appSettings> <connectionStrings> <remove name="LocalSqlServer"/> <!--<add name="LocalSqlServer" connectionString="Server=localhost;Database=Legwork_dev;Integrated Security=false;User Id=legwork_test;Password=Testing1" providerName="System.Data.SqlClient"/>--> </connectionStrings> <system.web> <globalization culture="en-GB" uiCulture="en-GB"/> <httpRuntime executionTimeout="5000" ></httpRuntime> <!-- ASMX is mapped to a new handler so that proxy javascripts can also be served. --> <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/> <add verb="*" path="*.asbx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/> </httpHandlers> <!-- Clear out the WSS ASP NET hadnler and specify the default ASP NET handler for all pages--> <!--<httpHandlers> <clear /> <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> </httpHandlers>--> <!-- Set the trust to Full --> <trust level="Full" originUrl=""/> <!-- Http Module Setting --> <httpModules> <!--<remove name="Session"></remove>--> <add name="EOWebRuntime" type="EO.Web.Runtime, EO.Web" /> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add name="Session" type="System.Web.SessionState.SessionStateModule"/> <add name="OutputCache" type="System.Web.Caching.OutputCacheModule"/> <!--<add name="ScriptModule" type="Microsoft.Web.Services.ScriptModule"/>--> <!--<add name="BridgeModule" type="Microsoft.Web.Services.BridgeModule"/> <add name="WebResourceCompression" type="Microsoft.Web.Services.WebResourceCompressionModule"/>--> </httpModules> <!-- Custom Role Provider --> <roleManager enabled="true" defaultProvider="DefaultRoleProvider" cacheRolesInCookie="false" cookieName="LEGROLES"> <providers> <add applicationName="socialnetwork" connectionStringName="LocalSqlServer" name="DefaultRoleProvider" type="System.Web.Security.SqlRoleProvider"/> </providers> </roleManager> <!-- Custom Profile Provider--> <anonymousIdentification enabled="True" cookieName=".LegWorkAnonymous" cookieTimeout="60" cookieless="UseCookies" cookieProtection="Validation" cookieSlidingExpiration="true" cookieRequireSSL="false" domain="legwork.com.ng" /> <profile defaultProvider="DefaultProfileProvider"> <providers> <add name="DefaultProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="LocalSqlServer" applicationName="socialnetwork"/> </providers> <properties> <add name="UserId" type="Int32" ></add> <add name="FirstName" type="String"/> <add name="ScreenName" type="String" /> <add name="ApplicantId" type="String"/> <add name="LegWorkRating" type="Int32"></add> <add name="Email" type="String"></add> <add name="Country" type="Int32" /> <add name="VeriSealApproved" type="Boolean"></add> <add name="TotalNumberReferrals" type="Int32"></add> <add name="ThemeID" type="Int32"></add> <add name="GSM" type="String"></add> <group name="Forum"> <add name="Posts" type="Int32"></add> <add name="AvatarUrl" type="String"></add> <add name="Signature" type="String"></add> </group> <group name="Seller"> <add name="SellerId" type="Int32" /> <add name="SellerName" type="String" /> <add name="GSM" type="String" /> <add name="Email" type="String" /> </group> </properties> </profile> <!--<machineKey validationKey="585240BE0313F5A1DFB311792AA85CD7D7C368A08A27CE76BBD57E07A0239F376B70BA03EBDC474624C106841C657E4552DE551F0F0ED1A1A797DE0FEFB729CC" decryptionKey="56AAB76D3379405E5E67B4025C92893DAB1F37DCF956FDDB" validation="3DES" decryption="3DES"/>--> <!-- Custom Membership Provider --> <membership defaultProvider="DefaultMembershipProvider"> <providers> <add name="DefaultMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="socialnetwork" requiresUniqueEmail="false" passwordFormat="Hashed" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0"/> </providers> </membership> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development.
Visual Basic options: Set strict="true" to disallow all data type conversions where data loss can occur. Set explicit="true" to force declaration of all variables. --> <compilation debug="false"> <buildProviders> <add extension=".asbx" type="Microsoft.Web.Services.BridgeBuildProvider"/> </buildProviders> <assemblies> <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="Microsoft.Build.Framework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <!--<add assembly="vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>--> </assemblies> <!--<buildProviders> <add type="System.Web.UI.PageHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" extention="*.aspx" /> </buildProviders>--> </compilation> <pages enableEventValidation="false" validateRequest="false" viewStateEncryptionMode="Never" enableViewStateMac="false" enableSessionState="false"> <namespaces> <clear/> <add namespace="System"/> <add namespace="System.Collections"/> <add namespace="System.Collections.Specialized"/> <add namespace="System.Configuration"/> <add namespace="System.Text"/> <add namespace="System.Text.RegularExpressions"/> <add namespace="System.Web"/> <add namespace="System.Web.Caching"/> <add namespace="System.Web.SessionState"/> <add namespace="System.Web.Security"/> <add namespace="System.Web.Profile"/> <add namespace="System.Web.UI"/> <add namespace="System.Web.UI.WebControls"/> <add namespace="System.Web.UI.WebControls.WebParts"/> <add namespace="System.Web.UI.HtmlControls"/> </namespaces> <controls> <add tagPrefix="ajax" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> </controls> </pages> <!-- The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --> <authentication mode="Forms"> <forms protection="All" loginUrl="https://www.legwork.com.ng/Secure/login.aspx" defaultUrl="http://www.legwork.com.ng/default.aspx" enableCrossAppRedirects="true" requireSSL="false" slidingExpiration="true" name=".LegWork" domain="legwork.com.ng" timeout="360" /> </authentication> <!--<authorization> <allow users="*"/> </authorization>--> <!-- 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"> --> <customErrors mode="On" defaultRedirect="http://www.legwork.com.ng/Errors/default.aspx"> <error statusCode="403" redirect="NoAccess.htm"/> <error statusCode="404" redirect="http://www.legwork.com.ng/Errors/FileNotFound.aspx"/> </customErrors> <sessionState mode="InProc" cookieless="false" timeout="60"/> </system.web> <system.web.extensions> <scripting> <webServices> <!-- Uncomment this line to customize maxJsonLength and add a custom converter --> <!-- <jsonSerialization maxJsonLength="500"> <converters> <add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/> </converters> </jsonSerialization> --> <!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. --> <!-- <authenticationService enabled="true" requireSSL = "true|false"/> -->
<!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and writeAccessProperties attributes. --> <!-- <profileService enabled="true" readAccessProperties="propertyname1,propertyname2" writeAccessProperties="propertyname1,propertyname2" /> --> </webServices> <!-- <scriptResourceHandler enableCompression="true" enableCaching="true" /> --> </scripting> </system.web.extensions>
<system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules> <!--<add name="EOWebRuntime" type="EO.Web.Runtime, EO.Web" />--> <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> </modules> <handlers> <remove name="WebServiceHandlerFactory-Integrated" /> <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.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=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />--> </handlers> </system.webServer> <location path="Admin"> <system.web> <authorization> <allow roles="Admin"/> <deny users="?" /> <deny users="*"/> </authorization> </system.web> </location> <location path="MY/eo_web.ashx"> <system.web> <authorization> <allow users="*"/> <allow users="?"/> </authorization> </system.web> </location> <location path="WebResource.axd"> <system.web> <authorization> <allow users="*"/> <allow users="?"/> </authorization> </system.web> </location> <location path="ScriptResource.axd"> <system.web> <authorization> <allow users="*"/> <allow users="?"/> </authorization> </system.web> </location> <!--<location path="My/eo_web.ashx"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location>--> <location path="My"> <system.web> <authorization> <deny users="?"/> <allow roles="Legworker" /> <deny roles="Seller" /> <allow users="*"/> </authorization> </system.web> </location> <location path="Pages"> <system.web> <authorization> <deny users="?"/> <allow roles="Legworker" /> <deny roles="Seller" /> <allow users="*"/> </authorization> </system.web> </location> <system.net> <mailSettings> <smtp deliveryMethod="Network" from="info@legwork.com.ng"> <network defaultCredentials="true" host="" port="25"></network> </smtp> </mailSettings> </system.net> </configuration>
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
That usually occurs when you have other modules that try to read the whole request data before it reaches our server module. For example, if you have ASP.NET trace enabled, it will try to read the whole file before it reaches our module, when that happens, the whole file has already been transferred by the time we see the request ---- which causes the progress bar jump from 0 to 100 directly.
Without examining your environment we can not tell exactly what triggers it. But in your case since you know it occurs after you changed your web.config, so I would recommend you to compare your previous web.config and the new web.config to locate the triggering point.
Thanks
|