摘要:
背景:在64位的操作系统中, IIS7.0配置.net网站时报错:未能加载文件或程序集“XXX”或它的某一个依赖项。试图加载格式不正确的程序。解决办法:把iis 应用程序池 --高级设置--启用32位应用程序 :true 阅读全文
摘要:
SqlParameter[] lists={new SqlParameter("@test",SqlDbType.VarChar),new SqlParameter("@outputpara",SqlDbType.VarChar)};lists[1].Value = "testValue";lists[2].Direction = ParameterDirection.Output;错误提示:string[x]:size 属性具有无效大小值0解决方案: 输出参数需要明确指定长度如:SqlParameter[] lists={new S 阅读全文
摘要:
解决办法:asp.net web service默认的请求长度是4M,可以在web.config中重新设置,如下: <configuration> <system.web> <httpRuntime maxRequestLength= "XXXXXXX" executionTimeout= "3600" /> </system.web> </configuration> 阅读全文
摘要:
哈哈,今天把自己的新家搬到博客园了。 阅读全文