how to solve this error

Posted by Gow.Net under ASP.NET on 10/1/2012 | Points: 10 | Views : 1028 | Status : [Member] | Replies : 2
hi
i create one web application and host in server but i get one error how to solve this
my web url=http://freedialinfo.com/



Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: 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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


[No relevant source lines]


Source File: c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7f5ec106\d44b63b0\App_Web_default.aspx.cdcab7d2.z5gd5pa7.0.cs Line: 0

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
Connection..ctor() +28
SearchDAL..ctor() +23
SearchBAL..ctor() +23
_Default..ctor() +26
ASP.default_aspx..ctor() in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7f5ec106\d44b63b0\App_Web_default.aspx.cdcab7d2.z5gd5pa7.0.cs:0
__ASP.FastObjectFactory_app_web_default_aspx_cdcab7d2_z5gd5pa7.Create_ASP_default_aspx() in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7f5ec106\d44b63b0\App_Web_default.aspx.cdcab7d2.z5gd5pa7.1.cs:0
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) +37
System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +307
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155



gowthaman8870226416


Responses

Posted by: Saratvaddilli on: 10/2/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
please post the code where you getting the error

Thanks and Regards
V.SaratChand
Show difficulties that how difficult you are

Gow.Net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 10/2/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

Object reference not set to an instance of an object.
means mention of the object did not identify your code or did not create instance

can you post your code


Mark as Answer if its helpful to you

Gow.Net, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response