A mirror that can read your mind
Reference site for Sitecore and Dot NET. Call at +91-9910045174 for any Sitecore corporate trainings and workshops.
Surendra Sharma
Search This Blog
Friday, July 26, 2013
Thursday, July 25, 2013
Maximum request length exceeded
If you are getting error in Asp.Net as “System.Web.HttpException: Maximum request length exceeded”
This type of error mostly occurred when we are using File Upload functionality.
Due to increase in content lenth of request from the
its dafult value then ASP.NET engine fires this error.
Solution:
-
Open web.config file and set “maxRequestLength”
key to more than the size of file.
The default size of “maxRequestLength”
is 4096 KB (4 MB).
Value must be specified in KB as below
<httpRuntime maxRequestLength="10240"></httpRuntime>
10240
means 10 MB. (10 x 1024) - You can increase this up to 4 GB.
Your face is the new credit card
Are you tired to keep debit, credit cards or cash, to remembers hundreds of passwords and PIN then here is a good news. Now you don't need to remember anything.
Please read more fro below link.
http://www.techgig.com/tech-news/editors-pick/Your-face-is-the-new-credit-card-18979
Please read more fro below link.
http://www.techgig.com/tech-news/editors-pick/Your-face-is-the-new-credit-card-18979
Tuesday, July 23, 2013
'Selected' is not a member of 'System.Windows.Forms.TreeNode'.
During migration from VB to VB.NET if you
are getting error as "'Selected' is not a member of
'System.Windows.Forms.TreeNode'." with following type of code
'UPGRADE_ISSUE:Node
property myTreeView.Nodes.Selected was not upgraded.
myTreeView.Nodes.Item("Item1").Selected
= True
Solution: -
Use “SelectedNode” property to show child
node as selected as below
myTreeView.SelectedNode = myTreeView.Nodes.Item(("Item1")
'MSCOMCTL.OCX' cound not be loadded--Continue Loading Project?
If you are getting error as "'MSCOMCTL.OCX'
cound not be loadded--Continue Loading Project?"
Solution: -
It simply means that system
don’t have file “'MSCOMCTL.OCX”. To fix this error follow below steps
·
Download and install VisualBasic6-KB896559-v1-ENU.exe from http://www.microsoft.com/en-in/download/details.aspx?id=10019
·
You need to restart system
·
Run following command to register
MSCOMCTL.OCX component
o
regsvr32 C:\Windows\System32\MSCOMCTL.OCX
'As Any' is not supported in 'Declare' statements.
During migration from VB to VB.NET if you
are getting error as "'As Any' is not supported in 'Declare'
statements." with following type of code
'UPGRADE_ISSUE:
Declaring a parameter 'As Any' is not supported.
Declare Function FindWindow Lib "user32" Alias "FindWindowA"(ByVal
lpClassName As String,
ByVal lpWindowName As
Any) As Integer
Solution: -
Find all the references of
method “FindWindow” in project and
check which type of values are passed to method “FindWindow”. Replace “Any” with passed value data type. If more
than one data types are used then create overloaded method.
Declare Function FindWindow Lib "user32" Alias "FindWindowA"(ByVal
lpClassName As String,
ByVal lpWindowName As
String) As Integer
'OpenForms' is not a member of 'My.MyApplication'.
During migration from VB to VB.NET if you
are getting error as "'OpenForms' is not a member of 'My.MyApplication'."
Solution: -
Right click Project
Proerties -> Application -> Checked Enable Application framework
Subscribe to:
Posts (Atom)