开发者

Configuring Asp.NET Application in subfolder - Without IIS config

I have a free hosting account, and two ASP.NET project.

I want to upload both apps in my hosting, like:

www.hosting.com/myaccount/project1/

www.hosting.com/myaccount/project2/

But the problem is when I run project1 or project2

Asp.net considers application main path ("~") as root www.hosting.com/myacco开发者_StackOverflowunt/

Si I cant load dll, App_themes, and Other.

What can I do to stop that strange behvior!

I cant configure IIS because I am using free hosting. I applied this answer and no thing happened.

Thank you for hepling.


You can add an application at root that redirects to the other two.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜