动都不动,也没有显示任何信息.
刚才是使用1.1的时候,一会儿就提示版本对,现在安装上NET2.0,怎么反而没有任何提示,就下面那样显示着.
[该帖子由作者于2007年11月14日 16:10:47最后编辑]
|
UID:551 |
|
Time: 07-11-14 13:02
找免费的不去www.freewl.com,你就是傻瓜.是垃圾的傻瓜!!! |
|
|
UID:4840 |
|
你是在本机安装还是虚拟主机安装
写入权限有吗? Time: 07-11-14 13:07
|
|
|
UID:551 |
|
我是在我服务器上安装.
权限是100%有的。 Time: 07-11-14 13:07
找免费的不去www.freewl.com,你就是傻瓜.是垃圾的傻瓜!!! |
|
|
UID:551 |
|
Time: 07-11-14 13:15
找免费的不去www.freewl.com,你就是傻瓜.是垃圾的傻瓜!!! |
|
|
UID:551 |
|
谁能帮我啊......没办法了..
Time: 07-11-14 13:19
找免费的不去www.freewl.com,你就是傻瓜.是垃圾的傻瓜!!! |
|
暂时空缺
|
|
UID:370 |
|
.net版本不对。没有切换到2.0 你现在的还是1.1
Time: 07-11-14 13:22
CVC②群22826388 欢迎加入 1群已经满员,拒绝加入 |
|
暂时空缺
|
|
UID:551 |
|
|
Time: 07-11-14 13:37
找免费的不去www.freewl.com,你就是傻瓜.是垃圾的傻瓜!!! |
|
暂时空缺
|
|
UID:948 |
|
你安装的目录有没有足够的权限啊
Time: 07-11-14 13:42
|
|
暂时空缺
|
|
UID:948 |
|
三、设置文件夹访问权限
需要为论坛文件所在的文件夹开启必要的权限 · 以下权限要求均针对.NET进程用户,Windows2000为 ASPNET,Windows2003 为 IIS_WPG 用户组 · 系统根目录必须具有完全控制权限(至少为可写) · 需要有文件夹创建权限,用于上传文件时按日期创建文件夹 步骤1:右击系统目录,选择“共享与安全”,然后选择“安全”选项卡。 步骤2:点击“添加”,并点击“高级”选项。 步骤3:点击立即查找,选择“IIS_WPG”,如果服务器为 windows 2000,则选择“ASPNET”。 步骤4:按“确定”返回,设置该组有“写入”权限。 步骤5:按“确定”完成权限设置。 Time: 07-11-14 13:46
|
|
|
UID:370 |
|
http://cath.freewl.com/installer/detect.aspx自己看你的.net版本信息
“/”应用程序中的服务器错误。 -------------------------------------------------------------------------------- 编译错误 说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误信息: CS0246: 找不到类型或命名空间名称“CVCommunity”(是否缺少 using 指令或程序集引用?) 源错误: 行 11: using System.Web.UI.WebControls; 行 12: using System.Web.UI.HtmlControls; 行 13: using CVCommunity.Provider; 行 14: using CVCommunity.Kernel; 行 15: using CVCommunity.Kernel.DALFactory; 源文件: D:\天主教长青家园\installer\Detect.cs 行: 13 显示详细的编译器输出: c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\16795f05\b7047f11\assembly\dl2\254c43d5\00580100_03ffc501\sharpziplib.dll" /R:"c:\windows\assembly\gac\system.security\1.0.5000.0__b03f5f7f11d50a3a\system.security.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\16795f05\b7047f11\assembly\dl2\6768e4c7\f88f5fcf_8026c801\spbdev.dotnetinfo.dll" /R:"c:\windows\assembly\gac\system.design\1.0.5000.0__b03f5f7f11d50a3a\system.design.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\16795f05\b7047f11\ex2jfeb9.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\16795f05\b7047f11\ex2jfeb9.0.cs" Microsoft (R) Visual C# .NET 编译器版本 7.10.6310.4 用于 Microsoft (R) .NET Framework 版本 1.1.4322 版权所有 (C) Microsoft Corporation 2001-2002。保留所有权利。 D:\天主教长青家园\installer\Detect.cs(13,7): error CS0246: 找不到类型或命名空间名称“CVCommunity”(是否缺少 using 指令或程序集引用?) D:\天主教长青家园\installer\Detect.cs(14,7): error CS0246: 找不到类型或命名空间名称“CVCommunity”(是否缺少 using 指令或程序集引用?) D:\天主教长青家园\installer\Detect.cs(15,7): error CS0246: 找不到类型或命名空间名称“CVCommunity”(是否缺少 using 指令或程序集引用?) D:\天主教长青家园\installer\Detect.cs(16,7): error CS0246: 找不到类型或命名空间名称“CVCommunity”(是否缺少 using 指令或程序集引用?) D:\天主教长青家园\installer\Detect.cs(17,7): error CS0246: 找不到类型或命名空间名称“CVCommunity”(是否缺少 using 指令或程序集引用?) 显示完整的编译源: 行 1: using System; 行 2: using System.IO; 行 3: using System.Collections; 行 4: using System.Data; 行 5: using System.Xml; 行 6: using System.Configuration; 行 7: using System.Threading; 行 8: using System.Web; 行 9: using System.Web.Security; 行 10: using System.Web.UI; 行 11: using System.Web.UI.WebControls; 行 12: using System.Web.UI.HtmlControls; 行 13: using CVCommunity.Provider; 行 14: using CVCommunity.Kernel; 行 15: using CVCommunity.Kernel.DALFactory; 行 16: using CVCommunity.Kernel.Handlers; 行 17: using CVCommunity.Kernel.Entity; 行 18: public class Detect : Page 行 19: { 行 20: private void Page_Load(object sender, EventArgs e) 行 21: { 行 22: DetectAll(); 行 23: } 行 24: 行 25: private void DetectAll() 行 26: { 行 27: bool pass = true; 行 28: 行 29: string[] machineCfgPathArr = HttpRuntime.MachineConfigurationDirectory.Split('\\'); 行 30: string CLRVersion = machineCfgPathArr[machineCfgPathArr.Length - 2]; 行 31: 行 32: Response.Write("<p>系统要求环境为 microsoft .net framework 2.0</p>"); 行 33: 行 34: if (CLRVersion.IndexOf("v2.0") == -1) 行 35: { 行 36: pass = false; 行 37: Response.Write("<p style='color:#ff0000'>检测失败:当前版本为microsoft .net framework " + CLRVersion + "</p>[<a href='CVCommunity安装手册.html' target='_blank'>查看安装手册</a>]"); 行 38: } 行 39: else 行 40: { 行 41: Response.Write("<p>检测通过</p>"); 行 42: } 行 43: 行 44: try 行 45: { 行 46: Response.Write("检测配置文件的访问权限"); 行 47: Settings.Rewriter.Save(); 行 48: Settings.Attach.Save(); 行 49: Settings.Basis.Save(); 行 50: Settings.Service.Save(); 行 51: Settings.Statistic.Save(); 行 52: Settings.Style.Save(); 行 53: Settings.Tax.Save(); 行 54: Settings.Time.Save(); 行 55: Settings.Verifier.Save(); 行 56: Response.Write("<p>检测通过</p>"); 行 57: } 行 58: catch { 行 59: try 行 60: { 行 61: Response.Write("检测配置文件的访问权限"); 行 62: Settings.Rewriter.Save(); 行 63: Settings.Attach.Save(); 行 64: Settings.Basis.Save(); 行 65: Settings.Service.Save(); 行 66: Settings.Statistic.Save(); 行 67: Settings.Style.Save(); 行 68: Settings.Tax.Save(); 行 69: Settings.Time.Save(); 行 70: Settings.Verifier.Save(); 行 71: Response.Write("<p>检测通过</p>"); 行 72: } 行 73: catch { pass = false; Response.Write("<p style='color:#ff0000'>拒绝访问:请给 settings/ 目录分配写权限。[<a href='CVCommunity安装手册.html' target='_blank'>查看安装手册</a>]</p>"); } 行 74: 行 75: } 行 76: 行 77: string provider, dblink, dal; 行 78: if (Fetch.Get("dbtype") == "access") 行 79: { 行 80: provider = "CVCommunity.Provider.OleDbFactory, CVCommunity.Provider"; 行 81: dal = "CVCommunity.Access"; 行 82: dblink = "//data/db.ascx"; 行 83: 行 84: } 行 85: else 行 86: { 行 87: string module = "Data Source={0}; Database={1}; UID={2}; Password={3};"; 行 88: dblink = string.Format(module, Fetch.Get("server"), Fetch.Get("dbname"), Fetch.Get("uid"), Fetch.Get("pwd")); 行 89: provider = "CVCommunity.Provider.SqlDbFactory, CVCommunity.Provider"; 行 90: dal = "CVCommunity.SqlServer"; 行 91: } 行 92: 行 93: Response.Write("<p>检测数据库连接</p>"); 行 94: Connection conn = null; 行 95: try 行 96: { 行 97: conn = new Connection(new DbProvider(provider, dblink)); 行 98: conn.Open(); 行 99: conn.Close(); 行 100: Response.Write("<p>检测通过</p>"); 行 101: } 行 102: catch (Exception e) 行 103: { 行 104: pass = false; 行 105: if (conn != null) 行 106: conn.Close(); 行 107: Response.Write("<p style='color:#ff0000'>" + e.Message + "[<a href='CVCommunity安装手册.html' target='_blank'>查看安装手册</a>]</p>"); 行 108: } 行 109: 行 110: Response.Write("<p>检测数据访问程序集</p>"); 行 111: if (File.Exists(Request.MapPath("bin/" + dal + ".dll", "/", false))) 行 112: { 行 113: Response.Write("<p>检测通过</p>"); 行 114: } 行 115: else 行 116: { 行 117: pass = false; 行 118: Response.Write("<p style='color:#ff0000'>程序集 " + dal + ".dll 不在 bin 包下。请确保 bin 包在应用程序根目录下。</p>"); 行 119: } 行 120: 行 121: Response.Write("<p>试图访问数据库</p>"); 行 122: try 行 123: { 行 124: conn.ExecuteNonQuery(@"CREATE TABLE [TTMMPP](Id int NOT NULL)"); 行 125: conn.ExecuteNonQuery(@"INSERT INTO [TTMMPP](Id) VALUES(0)"); 行 126: conn.ExecuteNonQuery(@"DROP TABLE [TTMMPP]"); 行 127: } 行 128: catch (Exception e) 行 129: { 行 130: pass = false; 行 131: if (conn != null) 行 132: conn.Close(); 行 133: Response.Write("<p style='color:#ff0000'>" + e.Message + "</p>[<a href='CVCommunity安装手册.html' target='_blank'>查看安装手册</a>]"); 行 134: } 行 135: 行 136: if (!pass) 行 137: { 行 138: Response.Write("<br /><br /><br /><p style='color:#ff0000'>无法通过安装检测,安装终止!请认真阅读 [<a href='CVCommunity安装手册.html' target='_blank'>查看安装手册</a>] 后再继续!</p>"); 行 139: } 行 140: else 行 141: { 行 142: Response.Write("<br /><br /><br /><p style='color:#00ff00'>通过安装检测,您可以继续安装!</p>"); 行 143: } 行 144: 行 145: } 行 146: 行 147: private void ErrorMessage(string s) 行 148: { 行 149: Response.Write(s); 行 150: Response.End(); 行 151: } 行 152: 行 153: protected override void OnInit(EventArgs e) 行 154: { 行 155: InitializeComponent(); 行 156: base.OnInit(e); 行 157: } 行 158: 行 159: private void InitializeComponent() 行 160: { 行 161: this.Load += new EventHandler(this.Page_Load); 行 162: } 行 163: } 行 164: -------------------------------------------------------------------------------- 版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300 Time: 07-11-14 13:50
CVC②群22826388 欢迎加入 1群已经满员,拒绝加入 |
|