Welcome to ASP.NET Guild
Wednesday, November 24, 2010
Sitecore Guild
Friday, May 21, 2010
Login and Registration Tips and Tricks
Thursday, April 09, 2009
Session keeps timing out when debugging iis7
I found an article that explains how to disable the ping or extend the timeout period.
Application Pool Ping setting in IIS
http://technet.microsoft.com/en-us/library/cc725836.aspx
If you come across any tips, tricks or resource you think the group will find helpful please email them to Susan Fischer at susan@clinchportal.com and we will post them here.
Tuesday, March 31, 2009
Required permissions cannot be acquired
http://marcoscavaleiro.blogspot.com/2006/11/failed-to-grant-minimum-permission.html
An unhandled exception occurred during the execution of the current
web request. Please review the stack trace for more information about the error
and where it originated in the code. Exception Details:
System.Security.Policy.PolicyException: Required permissions
cannot be acquired. Source Error: An unhandled exception was generated during
the execution of the current web request. Information regarding the origin and
location of the exception can be identified using the exception stack trace
below. Stack Trace: [PolicyException: Required permissions cannot be
acquired.]
System.Security.SecurityManager.ResolvePolicy(Evidence evidence,
PermissionSet
reqdPset, PermissionSet optPset, PermissionSet denyPset,
PermissionSet&
denied, Boolean checkExecutionPermission) +2770052
System.Security.SecurityManager.ResolvePolicy(Evidence evidence,
PermissionSet
reqdPset, PermissionSet optPset, PermissionSet denyPset,
PermissionSet&
denied, Int32& securitySpecialFlags, Boolean
checkExecutionPermission) +57
[FileLoadException: Could not load file or
assembly
'Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Design,
Version=3.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its
dependencies. Failed to grant minimum permission requests. (Exception from
HRESULT: 0x80131417)] System.Reflection.Assembly._nLoad(AssemblyName
fileName,
String codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection) +0
If you have any tips, tricks or resources that you think would assist the group please email them to Susan Fischer at susan@clinchportal.com and we will post them here.
Friday, March 20, 2009
Do NOT use Response.Close unless you really need to
I found out the hard way with a bug I was getting. A JSON call was truncating on me and it turns out a Response.Close was intermittantly removing the last character.
Here is the article: http://forums.iis.net/t/1152058.aspx
If you have any tips, tricks, resources you would like to share with the group, please email them to Susan Fischer at susan@clinchportal.com
Thursday, March 19, 2009
component art menu control. Object reference not set to an instance of object at ComponentArt.Web.UI.BaseNavigator.LoadClientXmlNodeProperties
The odd thing is it only happens on postback.
The server can't fulfill your request. (Error loading client data:
System.NullReferenceException: Object reference not set to an instance of an
object. at
ComponentArt.Web.UI.BaseNavigator.LoadClientXmlNodeProperties(XmlNodeList
arXmlProperties, NavigationNode oNode) at
ComponentArt.Web.UI.BaseNavigator.LoadClientXmlNode(XmlNodeList arClientNodes,
XmlNodeList arXmlMembers) at
ComponentArt.Web.UI.BaseNavigator.LoadClientXmlNodes(XmlNodeList arClientNodes,
XmlNodeList arChildIndices, NavigationNodeCollection arNodes) at
ComponentArt.Web.UI.BaseNavigator.LoadClientXmlNode(XmlNodeList arClientNodes,
XmlNodeList arXmlMembers) at
ComponentArt.Web.UI.BaseNavigator.LoadClientXmlNodes(XmlNodeList arClientNodes,
Int32 iParentIndex, NavigationNodeCollection arNodes) at
ComponentArt.Web.UI.BaseNavigator.LoadClientData(String sData))Please contact
the server administrator.
Friday, October 24, 2008
The 'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive
http://forums.asp.net/t/1189510.aspx
If you have any tips, tricks, etc please email them to susan@clinchportal.com and I will post them here or if applicable on the c# guild or vb.net guild.
Wednesday, October 22, 2008
Telerik controls and IE 8 Beta
I came across this thread in case you are seeing breaks in some telerik controls in IE 8 as well.
Some of the comments mention using a compatability meta tag and placing it as the first meta tag:
< meta equiv="X-UA-Compatible" content="IE=7">
For more info please check out the thread at:
http://www.telerik.com/community/forums/thread/b311D-bcgamd.aspx
If you have any more tips, tricks, etc please email them to susan@clinchportal.comTuesday, September 30, 2008
IIS 7 - Adjusting to the huge change.
I found I knew what I wanted to do but could not find where the option was. I came across this tutorial as a helper
Getting Started with IIS7 (Part 1)
http://www.dotnetbips.com/articles/df885319-19cc-47b8-8808-6ed462db1de5.aspx
http://www.dotnetbips.com/articles/8ae70f79-4df3-4592-bfa7-1b31643ab891.aspx
If you have any other tutorials or tips on how to configure IIS 7 please email them to Susan Fischer susan@clinchportal.com or post them as comments here and I will approve them.
Sunday, May 25, 2008
Regular Expressions - Help!!!
Roy Osherove has a few tools here that will be useful. The first is the Regulator that allows you to build regular expression with intellisense included. The second tool is the regulazy that allows you to typein text select it and via right click create your regular expression:
http://tools.osherove.com/Default.aspx?tabid=165
The third is not really a tool but a library that helps you find regular expressions that others have created for you:
http://regexlib.com/
This posting is also available at: http://csharpguild.blogspot.com/2008/05/regular-expressions-help.html You can check out this blog for additional information related to c#
If you find any regular expression tools or other tools you find useful please email them to me at susan@clinchportal.com
Friday, May 02, 2008
Perpetual Beginner
Here is the link to his blog: http://alt-net-guild.blogspot.com/
Free Source Control with Visual Studio Integration
This site is awesome http://www.assembla.com/
You can setup a free SVN repository (up to 500MB), and you get an amazing amount project management tools.
A couple helpful hints on SVN in case you haven’t used it.
Install tortoisesvn which will allow you to manage source control through windows explorer.Install AnkhSVN to get svn integrated into visual studio.
Tuesday, April 22, 2008
escape \n in a mailto href
location.href='mailto:?SUBJECT='+escape(document.title)
+'&BODY='+escape('[[[\n'
+document.getSelection()
+'\n]]]\n\n-- '
+document.title+'\n'
+location.href+'\n'
+new Date(document.lastModified).toUTCString())
Saturday, March 22, 2008
Invalid Viewstate error or Padding is invalid and cannot be removed
on a hosted server you get one of these errors. Here is an article on the issue:
http://community.discountasp.net/default.aspx?f=24&m=10014
The solution is to generate your own machinekey and put it in your web.config
Here is a tool to do it:
http://www.aspnetresources.com/tools/keycreator.aspx
Thursday, February 14, 2008
Using WinMerge to compare in Team Foundation Server
http://neovolve.com/archive/2007/06/19/using-winmerge-with-tfs.aspx
Visual Studio goes off in limbo
Friday, February 01, 2008
Trouble installing Visual Studio or .net Framework
Unfortunately the uninstall in add/remove programs was broken. I came across this tool and used it to remove the older frameworks. I thought I would pass it on:
http://blogs.msdn.com/astebner/archive/2005/04/08/406671.aspx
Wednesday, January 23, 2008
Setting User Control Properties in a Repeater
'< % # String.Format( "xsl/nav/{0}_config.xml" , DataBinder.Eval(Container.DataItem, "MenuItem_Name" )) % >'
Sunday, December 16, 2007
30 Simple Steps to Creating Sandbox Test Accounts.
Thanks to Rob McColl for posting this. I found it so helpful that I have posted it here so others could benefit from it. If you come across articles, tips, tricks let me know and I will post them as well. You can email them to me at susan@clinchportal.com or chris.williams@clinchportal.com
-----------------------------------------------------------------------------------------------
http://www.paypaldeveloper.com/pdn/board/message?board.id=sandbox&message.id=6035#M6035
After 6 hours of pain with PayPal support (or lack thereof) I present the following 30 step process to creating, confirming, and verifying test accounts through the broken Developer Central Sandbox.
I hope this helps other people, and that the years of life I've lost over the last several hours is worth it.
To Setup Sandbox and Get Test API Credentials:
Prerequisites:
* Create a user account to access the Developer Central Sandbox.
* Log in to the Sandbox account
* Create a Test Account of type 'seller'.
- This will throw an error message on saving, but it will still create the account. Click the Test Accounts tab to see the account it created.
Create Confirm the email address:
1. Create business test account (done in prerequisite above)
2. Log into PayPal Sandbox with test business account details created earlier.
3. Go to Profile Tab
4. Go to Email
5. Choose the email address and click 'Confirm'
6. Go back to the Sandbox Test Environment and click the Test Email tab
7. Open the email with subject line 'Activate Your PayPal Account'
8. From the email body, select the confirmation URL and paste into new browser window - it will load the PayPal site (in sandbox mode).
9. Log in with business account.
10. From the landing page, click the 'confirm email' link in the 'To Do List' box.
11. Click the 'click here if a link doesn't appear in the email' link.
12. Paste in the confirmation number from the email in step 8, and click confirm. A confirmation of success should be displayed.
13. Click Continue.
Create Bank Accounts For Test Business Account:
14. Click the Profile tab
15. Click Bank Accounts link
16. Create a fake bank account. Test Bank. Use BSB 242-200 for Australia. Any random integer for account number, so long as it's not already being used by another PayPal account. I ended up having to mash the keypad until I found an unused number.
17. Confirm the bank account by clicking the 'confirm' link after the step above.
18. Step 17 loads another page where you need to click 'Submit'.
19. Step 18 loads another page where you need to click 'I Agree'.
20. The account should now be verified.
21. Click the Profile Tab again.
22. Click API Setup
23. Click Request API Credentials
24. Select API Signature
25. Click I Agree, Click Submit.
26. Copy the details to a safe place for later reference.
Developer Central Sandbox
27. Go back to the Developer central sandbox and login with your account details created in the prerequisite section of this document (i.e., not your test business account, but your actual Developer Central Sandbox account).
28. The Test business account should now be verfied.
29. Click API Credentials tab.
30. The API credentials obtained in step 26 should appear.
Wednesday, October 17, 2007
Fiddler 2 plug-in for viewstate
http://www.binaryfortress.com/aspnet-viewstate-helper/
If you come across some useful tools email me at chris@clinchportal.com or susan@clinchportal.com and we will post them to the blog.