Challenge: When debugging the TransactionScope for processing multiple data insert, there is error coming randomly. Solution: It seems that there is timeout issue that needs to be address: The solution turned out to be editing the transaction timeout value in the machine.config file. This is achieved by going to your .Net 2.0 folder and editing [...]
Challenge: As you know that by default, the ReportViewer control can only support Excel and PDF. As far as know it’s not even support the native Excel 2007. Solution: At this stage, I have no concrete solution yet but I have some hints that might help which are: 1) There is a method called .LocalReport.Render() [...]
Challenge: In the inherited aspx page of my base class page, the following code works great: ProfileCommon pc = Profile.GetProfile(tmp_username) But then if you put into in a class which states in the App_Code won’t work ?!?! Solution: From App_Code you would do this: ProfileCommon p = (ProfileCommon)ProfileBase.Create(tmp_username,true); System.Web.Profile.ProfileBase is the ASP.NET type that underlies [...]
Challenge: We know that ASP.NET Membership provider that has Role tables. One of our developer challanges this system regarding lack of Permission and Groups. Solution: I am exploring the possibilites and here is what I found so far: You can use Authorisation Manager (http://alt.pluralsight.com/wiki/default.aspx/Keith.GuideBook/WhatIsAuthorizationManager.html) Write your own Class or method that will deal with the [...]