i have created new asp web application .net 4.5 using visual studio 2013. when run project using visual studio (which launches iis express) site works fine. project stored in iis directory, tried run through iis without having run project vs , when parser error.
could not load type 'testsite.default'.
i created new blank project , added single web form called default. namespace testshop. don't see how issue happening since blank application.
i have tried building project multiple times. works fine when run through vs there nothing wrong code, doesnt appear correctly configured work iis when inside sub directory.
when running through vs url looks
http://localhost:55099/default.aspx when run project through iis url has nested subdirectories, think might cause, dont know sure.
http://localhost:888/testsites/testsite/default.aspx i have incredibly basic file. there nothing inside of it, there small margin error here.
<%@ page language="c#" autoeventwireup="true" codebehind="default.aspx.cs" inherits="testsite.default" %> works the code behind file default auto generated file.
namespace testsite { public partial class default : system.web.ui.page { protected void page_load(object sender, eventargs e) { } } }
Comments
Post a Comment