Tuesday, May 18, 2010

security Exception solution

Error:-

Server Error in '/' Application. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.


Solution:-
changing the App pool identity to NetworkService / aspnet fixed it.
Additionally, enabling Load User Profile on the app pool also worked.

Thursday, April 29, 2010

WCF Enabled Service

http://www.dotnetspark.com/kb/1373-step-by-step-tutorial-rest-enabled-service.aspx

silverlight validation

http://silverlightvalidator.codeplex.com/

Wednesday, April 28, 2010

publish silverlight web application

http://www.codeproject.com/KB/silverlight/SilverlightWcfDatabase.aspx

How To Access Localhost Application URL Link in another Computer if There LAN Available

Here is One Interesting thing i Found when doing Programming.
if you want to access another Computer Link in your Computer to if LAN is available and if you find error Like internet Explorer could not find Page
Then do Following Steps:
1 : Go To Control Panel
2 : Then Select Windows FireWall
3 : select Tab "Exceptions"
4 : Add Port
5 :In Name write 'iis' or 'Localhost' and In Port numner write '80'

Tuesday, April 27, 2010

Sunday, April 25, 2010

Silver light child window links

http://www.silverlighttips.com/post/2009/09/24/Passing-value-from-child-window-to-parent-window.aspx



http://justgeeks.blogspot.com/2010/01/using-dataform-and-stored-procedures-in.html