嗨,我有一个kentico 11网站。当我尝试托管主机并从IIS本地运行它时,我收到以下错误 Server Error in '/' Application.
No component for supporting the service CMS.Helpers.ICurrentCookieLevelProvider was found
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack tra
我陷入了一个无法找到任何解决方案的境地。
我有一个链接和按钮,这是我在db中保存页面的代码,所以我不能创建服务器控件,因为它不会呈现它。
<div id="DivCMS" runat="server"></div>// i use this in server side
//this code is saved in db table CMS_Pages//////begin
<a href="User/Register.aspx" id="alinkRegister" >
我想生成id。我的应用程序在3层架构中工作(使用asp.net &VS2008)。为此,我从用户界面(webpg1.aspx.cs)调用了一个在class1.cs文件中编写的方法。我假设目前数据库中没有记录,所以id可以是1,2,3…n。所以请告诉我我哪里错了。来自webpg1.aspx.cs的Call
int verify = j.insertReg(ad,un,pwd);
实施class1.cs
public int regUser(int id, string un, string pwd)
{
int cms = 0;
int id1 = 0;
int c2 =