Last post Mar 24, 2010 01:40 AM by sajeerasp
Mar 23, 2010 08:27 AM|sajeerasp|LINK
I am facing a problem with my web application, I created a new website application under vs2005.
after publishing the application I put all files including bin folder under ..\wwwroot\first\ folder, then I called my page via localhost but its giving following error. please guide me to avoid this error and run my application sucess.
Error is :
Line 1: <%@ page language="VB" autoeventwireup="false" inherits="_Default, App_Web_yjqsskt2" %>
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
Mar 23, 2010 01:17 PM|Sathish Kumar K|LINK
Please let us know full error message for better solution.
But I guess the usual mistake is the sub folder "first" (in your case) is not as an application. In IIS7 Manager, right click on the "first" folder and use "Convert to application" option. Try browsing now http://localhost/first/yourpage.aspx
Mar 24, 2010 12:47 AM|ravikanth192|LINK
here u either have not created an virtual directory
try it by making autoeventwireup="true"
please quot Mark as Answer if Helped
Mar 24, 2010 01:40 AM|sajeerasp|LINK
Yeah, Its working Thank you :)