两个ASP.net解决方案一台服务器 [英] Two ASP.net solutions one server

查看:42
本文介绍了两个ASP.net解决方案一台服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我的网站服务器上一次只能有一个ASP.net 4.0解决方案。



如果我在辅助文件夹中放入另一个解决方案,则会出错。



我在我的网络服务器上找不到工具来帮我完成这项任务。



这里是我的Web.config文件中的错误代码,/ Basic /是我的第二个解决方案所在的文件夹。



www.mysite.com/Basic/Page。 aspx



首先出现此错误:



On my website server right now I can only have one ASP.net 4.0 solution at a time.

I get an error if I put another solution in a secondary file folder.

I can not find a tool on my web server to help me with this task.

Here is the error code from my Web.config file, /Basic/ is the file folder where my second solution resides.

www.mysite.com/Basic/Page.aspx

came up with this error first:

<authentication mode="Forms">
      <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
</authentication>





然后更改为此但仍然出现相同的错误:





Then changed to this but still got the same error:

<authentication mode="Forms">
      <forms loginUrl="~/Basic/Account/Login.aspx" timeout="2880" />
</authentication>

推荐答案

您是如何部署的?我通过在wwwroot文件夹之外的文件夹中创建项目来实现这一点...



我然后进入IIS右键单击我想要解决方案文件夹的文件夹树然后去添加应用程序。



选择解决方案文件夹。



完成:)

Kris
How are you deploying? I do this by creating projects to folders outside the wwwroot folder...

I then go into IIS right click on the folder tree where I want the solution folder and go add application.

Select the solution folder.

Done :)
Kris


这篇关于两个ASP.net解决方案一台服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆