Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Exception
Hi Everyone,
I have an error which i 'm trying to sort out in different methods but getting the same error.
Before Asking this question i searched through all forumns and discussions and finally writing my error.
 
Functionality:
 
After Uploading a excel csv File into the server using asp c# application, the records in the excel file are to be read and inserted into the database(sql server) into a particular table.So There is no issue with the uploading and inserting.But the issue is,
 
Error:
 
After Uploading the file, its throwing an error like 'Unable to serve this Request Site Temporarly Unavailable Connection Timed Out Please Try again'
And Meanwhile the records are been inserting into db as expected.
I have Changed the web.Config as
 
<customErrors mode="Off"></customErrors>
<httpRuntime appRequestQueueLimit="50000" executionTimeout="60000" maxRequestLength="1048576"/>
 
<defaultProxy>
<proxy bypassonlocal="False"  usesystemdefault="False" />
</defaultProxy>
 
<requestLimits maxAllowedContentLength="1048576000">
 
Connect Timeout=216000;Pooling=true;Min Pool Size=5;Max Pool Size=5000"
 

private void Page_Init(object sender, System.EventArgs e)
    {
        timeOut = Server.ScriptTimeout;
 
        // Give it 1 hour = 3600 seconds

        Server.ScriptTimeout = 3600;
    }
 
    private void Page_Unload(object sender, System.EventArgs e)
    {
        Server.ScriptTimeout = timeOut;
    }
 
But After Changing All These in my application I am Getting the same page,
 
Please Anyone Tell me How to Solve this issue.
Posted 9-Apr-13 3:27am
Edited 9-Apr-13 3:34am
(no name)38.1K
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 240
1 Kamal Rocks 184
2 BillWoodruff 173
3 PIEBALDconsult 160
4 CPallini 155
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 9 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100