Click here to Skip to main content
15,905,558 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Issues with MsgBox result Pin
Om Prakash Pant21-Apr-11 21:10
Om Prakash Pant21-Apr-11 21:10 
Questiongetting excel sheet current sheet name in asp.net Pin
Dhyanga19-Apr-11 5:42
Dhyanga19-Apr-11 5:42 
AnswerRe: getting excel sheet current sheet name in asp.net Pin
#realJSOP19-Apr-11 7:20
professional#realJSOP19-Apr-11 7:20 
GeneralRe: getting excel sheet current sheet name in asp.net Pin
Dhyanga19-Apr-11 9:12
Dhyanga19-Apr-11 9:12 
AnswerRe: getting excel sheet current sheet name in asp.net Pin
Tarakeshwar Reddy19-Apr-11 8:11
professionalTarakeshwar Reddy19-Apr-11 8:11 
QuestionFileUpload.HasFile properties is not within UpdatePanel but still alway return false [modified] Pin
Ne7ven18-Apr-11 5:36
Ne7ven18-Apr-11 5:36 
AnswerRe: FileUpload.HasFile properties is not within UpdatePanel but still alway return false Pin
Prasanta_Prince18-Apr-11 7:25
Prasanta_Prince18-Apr-11 7:25 
GeneralRe: FileUpload.HasFile properties is not within UpdatePanel but still alway return false Pin
Ne7ven19-Apr-11 19:35
Ne7ven19-Apr-11 19:35 
hi Prasanta,
thanks for your response but i think problem is I'm using DarrenJohnst 's ASP.net FILEUPLOAD (http://darrenjohnstone.net/category/aspnet-file-uploads/) and i added some code in web.config and global

In Web.config :

<configuration>
        <configSections>
                <section name="uploadSettings" type="darrenjohnstone.net.FileUpload.UploadConfigurationSection, fileuploadlibrary, Version=2.0.0.0, Culture=neutral, PublicKeyToken=af961ece0b692dfb"/>
        </configSections>
<system.web>
                <httpRuntime executionTimeout="3600" maxRequestLength="40960" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="5000" enableKernelOutputCache="true" enableVersionHeader="true" requireRootedSaveAsPath="true" enable="true" shutdownTimeout="90" delayNotificationTimeout="5" waitChangeNotification="0" maxWaitChangeNotification="0" enableHeaderChecking="true" sendCacheControlHeader="true" apartmentThreading="false"/>
<httpModules>
                        <add name="upload_module" type="darrenjohnstone.net.FileUpload.UploadModule, fileuploadlibrary, Version=2.0.0.0, Culture=neutral, PublicKeyToken=af961ece0b692dfb"/>
                </httpModules>
</system.web>
<system.webServer>
                <security>
                        <requestFiltering>
                                <requestLimits maxAllowedContentLength="1073741824">
                                </requestLimits>
                        </requestFiltering>
                </security>
                <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"/>
                        <remove name="upload_module"/>
                        <add name="upload_module" type="darrenjohnstone.net.FileUpload.UploadModule, fileuploadlibrary, Version=2.0.0.0, Culture=neutral, PublicKeyToken=af961ece0b692dfb"/>
                </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="UploadProgress" verb="GET" type="darrenjohnstone.net.FileUpload.UploadProgressHandler, fileuploadlibrary, Version=2.0.0.0, Culture=neutral, PublicKeyToken=af961ece0b692dfb" path="UploadProgress.ashx"/>
                        <add name="FileDownload" verb="GET" type="darrenjohnstone.net.FileUpload.SQLFileDownloadHandler, fileuploadlibrary, Version=2.0.0.0, Culture=neutral, PublicKeyToken=af961ece0b692dfb" path="DownloadFile.ashx"/>
                </handlers>
        </system.webServer>
</configuration>


and Here is My Global code :

void Application_Start(object sender, EventArgs e) 
    {
        // Code that runs on application startup
        // This sets up the default processor
        darrenjohnstone.net.FileUpload.UploadManager.Instance.ProcessorType = typeof(darrenjohnstone.net.FileUpload.DummyProcessor);
        darrenjohnstone.net.FileUpload.UploadManager.Instance.ProcessorInit += new darrenjohnstone.net.FileUpload.FileProcessorInitEventHandler(Processor_Init);
    }

    void Processor_Init(object sender, darrenjohnstone.net.FileUpload.FileProcessorInitEventArgs args)
    {
    }
    
    void Application_End(object sender, EventArgs e) 
    {
        //  Code that runs on application shutdown

    }
        
    void Application_Error(object sender, EventArgs e) 
    { 
        // Code that runs when an unhandled error occurs

    }

    void Session_Start(object sender, EventArgs e) 
    {
        // Code that runs when a new session is started

    }

    void Session_End(object sender, EventArgs e) 
    {
        // Code that runs when a session ends. 
        // Note: The Session_End event is raised only when the sessionstate mode
        // is set to InProc in the Web.config file. If session mode is set to StateServer 
        // or SQLServer, the event is not raised.

    }


anyone give some solution to fix it thanks.
QuestionHuge Xml Document(more than 10GB) import to Sql Server 2005 [modified] Pin
ntiin17-Apr-11 21:48
ntiin17-Apr-11 21:48 
AnswerRe: Huge Xml Document(more than 10GB) import to Sql Server 2005 Pin
Ravi Sant18-Apr-11 1:16
Ravi Sant18-Apr-11 1:16 
AnswerRe: Huge Xml Document(more than 10GB) import to Sql Server 2005 Pin
Not Active18-Apr-11 8:38
mentorNot Active18-Apr-11 8:38 
Questionsql server 2005 connection error Pin
Ramkumar_S17-Apr-11 17:37
Ramkumar_S17-Apr-11 17:37 
AnswerRe: sql server 2005 connection error Pin
Bernhard Hiller17-Apr-11 20:42
Bernhard Hiller17-Apr-11 20:42 
AnswerRe: sql server 2005 connection error Pin
Ravi Sant18-Apr-11 1:28
Ravi Sant18-Apr-11 1:28 
AnswerRe: sql server 2005 connection error Pin
Prasanta_Prince19-Apr-11 6:42
Prasanta_Prince19-Apr-11 6:42 
QuestionCall a given URL after every specific time Interval Pin
Member 455876517-Apr-11 17:30
Member 455876517-Apr-11 17:30 
AnswerRe: Call a given URL after every specific time Interval Pin
Ramkumar_S18-Apr-11 0:27
Ramkumar_S18-Apr-11 0:27 
AnswerRe: Call a given URL after every specific time Interval Pin
Ravi Sant18-Apr-11 1:22
Ravi Sant18-Apr-11 1:22 
QuestionHow to get client machine ID? Pin
Prasanta_Prince17-Apr-11 5:44
Prasanta_Prince17-Apr-11 5:44 
AnswerRe: How to get client machine ID? Pin
Not Active17-Apr-11 9:25
mentorNot Active17-Apr-11 9:25 
GeneralRe: How to get client machine ID? [modified] Pin
Prasanta_Prince17-Apr-11 15:34
Prasanta_Prince17-Apr-11 15:34 
GeneralRe: How to get client machine ID? Pin
Not Active17-Apr-11 16:16
mentorNot Active17-Apr-11 16:16 
QuestionHow to call C# function via JavaScript? Pin
zouleisheng17-Apr-11 4:07
zouleisheng17-Apr-11 4:07 
AnswerRe: How to call C# function via JavaScript? Pin
Not Active17-Apr-11 4:33
mentorNot Active17-Apr-11 4:33 
AnswerRe: How to call C# function via JavaScript? Pin
Prasanta_Prince18-Apr-11 2:23
Prasanta_Prince18-Apr-11 2:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.