Click here to Skip to main content
15,889,116 members
Home / Discussions / C#
   

C#

 
QuestionError: The "GenerateResource" task failed unexpectedly in win 7 - 64 bit ? Pin
Member 245846731-Jul-17 21:45
Member 245846731-Jul-17 21:45 
AnswerRe: Error: The "GenerateResource" task failed unexpectedly in win 7 - 64 bit ? Pin
Bernhard Hiller1-Aug-17 22:32
Bernhard Hiller1-Aug-17 22:32 
GeneralRe: Error: The "GenerateResource" task failed unexpectedly in win 7 - 64 bit ? Pin
Member 24584672-Aug-17 19:00
Member 24584672-Aug-17 19:00 
GeneralRe: Error: The "GenerateResource" task failed unexpectedly in win 7 - 64 bit ? Pin
Bernhard Hiller2-Aug-17 21:04
Bernhard Hiller2-Aug-17 21:04 
GeneralRe: Error: The "GenerateResource" task failed unexpectedly in win 7 - 64 bit ? Pin
Member 24584673-Aug-17 16:31
Member 24584673-Aug-17 16:31 
QuestionHelp C# and Entity Developers Devart Pin
Alfredo Mendoza 31-Jul-17 19:18
Alfredo Mendoza 31-Jul-17 19:18 
AnswerRe: Help C# and Entity Developers Devart Pin
Pete O'Hanlon31-Jul-17 19:47
mvePete O'Hanlon31-Jul-17 19:47 
QuestionEarly session timeout in asp.net for multiple sessions Pin
punit.vk30-Jul-17 18:04
punit.vk30-Jul-17 18:04 
I Have two different sessions timeout, work different for different users.

Web.Config file:
<authentication mode="Forms">
			<forms defaultUrl="~/default.aspx" loginUrl="~/login.aspx" slidingExpiration="true" />
		</authentication>


<appSettings>
<add key="AdminUser" value ="120"/>  // For admin logout should be 2hrs(120 Min)
<add key="OtherUser" value ="15"/>       // For Other user logout should be 15 Min.
</appSettings> 

Main.Master.cs
if(LoggedInUser=="Admin")
                {
                    Session.Timeout = Convert.ToInt32(ConfigurationManager.AppSettings.Get("AdminUser"));   
                }
                //This condition allows other user types except Admin.
                else
                {
                    Session.Timeout = Convert.ToInt32(ConfigurationManager.AppSettings.Get("OtherUser"));  
                }

Everything works well with local and test server but after web deployment, Started facing issue of early logout after 30 Minutes for admin User,when site is idle for 30 min and tried to access again ,its been redirected to login page. Verified by changing session value in IIS, still issue remains same. Kindly suggest.
AnswerRe: Early session timeout in asp.net for multiple sessions Pin
OriginalGriff30-Jul-17 20:25
mveOriginalGriff30-Jul-17 20:25 
JokeC# WeakClone and DeepClone Pin
Jeong, WonYoung(Brad)28-Jul-17 20:12
professionalJeong, WonYoung(Brad)28-Jul-17 20:12 
GeneralRe: C# WeakClone and DeepClone Pin
Pete O'Hanlon29-Jul-17 3:23
mvePete O'Hanlon29-Jul-17 3:23 
GeneralRe: C# WeakClone and DeepClone Pin
Jeong, WonYoung(Brad)29-Jul-17 12:34
professionalJeong, WonYoung(Brad)29-Jul-17 12:34 
GeneralRe: C# WeakClone and DeepClone Pin
BillWoodruff29-Jul-17 6:18
professionalBillWoodruff29-Jul-17 6:18 
GeneralRe: C# WeakClone and DeepClone Pin
Jeong, WonYoung(Brad)29-Jul-17 12:36
professionalJeong, WonYoung(Brad)29-Jul-17 12:36 
GeneralRe: C# WeakClone and DeepClone Pin
BillWoodruff29-Jul-17 17:55
professionalBillWoodruff29-Jul-17 17:55 
QuestionIntermittent AccessViolationException with richtextbox Pin
shrishjain27-Jul-17 20:28
shrishjain27-Jul-17 20:28 
QuestionRe: Intermittent AccessViolationException with richtextbox Pin
Jochen Arndt27-Jul-17 23:01
professionalJochen Arndt27-Jul-17 23:01 
QuestionGet host name from different segment of LAN Pin
w1424327-Jul-17 17:39
w1424327-Jul-17 17:39 
AnswerRe: Get host name from different segment of LAN Pin
Jochen Arndt27-Jul-17 22:04
professionalJochen Arndt27-Jul-17 22:04 
AnswerRe: Get host name from different segment of LAN Pin
Nathan Minier28-Jul-17 1:19
professionalNathan Minier28-Jul-17 1:19 
AnswerRe: Get host name from different segment of LAN Pin
Member 1333447128-Jul-17 8:42
Member 1333447128-Jul-17 8:42 
QuestionCOM and C#.net Interoperability Pin
Vijjuuu.26-Jul-17 8:59
Vijjuuu.26-Jul-17 8:59 
AnswerRe: COM and C#.net Interoperability Pin
Richard MacCutchan26-Jul-17 10:05
mveRichard MacCutchan26-Jul-17 10:05 
AnswerRe: COM and C#.net Interoperability Pin
Bernhard Hiller26-Jul-17 22:05
Bernhard Hiller26-Jul-17 22:05 
GeneralRe: COM and C#.net Interoperability Pin
Vijjuuu.27-Jul-17 7:27
Vijjuuu.27-Jul-17 7:27 

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.