Error executing child request for DemoPisdkWith_SQL.aspx

Error executing child request for myfile.aspx
i am using using asp.net 3.5 framwwork.

HttpException (0x80004005): Error executing child request for DemoPisdkWith_SQL.aspx.]
   System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +2675871
   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +819
   System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm) +57
   System.Web.HttpServerUtility.Transfer(String path) +35
   PiDemoWebSite.PiDemoMain.Button3_Click(Object sender, EventArgs e) in C:\ram\PiDemoWebSite\PiDemoWebSite\PiDemoMain.aspx.cs:36
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

Open in new window

ram27Asked:
Who is Participating?
 
ram27Connect With a Mentor Author Commented:
Sorry, all files were not compiled. due to this i was getting this error.
0
 
GiftsonDJohnCommented:
Please post the code for PiDemoMain.Button3_Click
0
 
daveamourCommented:
I have seen this error if you are doing a Server.Transfer but don't specify the full file eg:
Server.Transfer("/MyFolder/") - No good
Server.Transfer("/Myfolder/Default.aspx") - Ok
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.