posts - 1180, comments - 162, trackbacks - 1, articles - 5
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

公告

02 2012 档案

摘要: 新服务器发布网站时,遇到如下情况:只有HTML能正常访问,其他诸如WebService,WCF等都不能访问,显示:Server Application Unavailable 的错误。进入“事件查看器”,写明:没有权限访问System.Web。但是我已经将Windows的文件夹的权限的用户设为了与访问该网站的用户的权限一致。另外网上所传的新建应用程序池也不行。最后,我的解决办法是:应用程序池的属性-》标识-》预定义账户-》改为“本地系统”,遇到安全提示不用去理他。阅读全文

posted @ 2012-02-07 23:17 linFen 阅读(88) | 评论 (0) 编辑 |

摘要: 第一:新建一个类(Class)Win32Native.cs代码如下:using System; using System.Collections.Generic; using System.Linq; using System.Text;namespace WpfApplication1 { public class Win32Native { [System.Runtime.InteropServices.DllImport("user32.dll", EntryPoint = "SetParent")] public extern static In阅读全文

posted @ 2012-02-01 21:43 linFen 阅读(225) | 评论 (0) 编辑 |