惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
腾讯CDC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
F
Full Disclosure
博客园 - 【当耐特】
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Threatpost
I
Intezer
V2EX - 技术
V2EX - 技术
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
小众软件
小众软件
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
N
News | PayPal Newsroom
MyScale Blog
MyScale Blog
AI
AI
Vercel News
Vercel News
Spread Privacy
Spread Privacy
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
V
Vulnerabilities – Threatpost
Schneier on Security
Schneier on Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
Help Net Security
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
L
LINUX DO - 热门话题
U
Unit 42
L
LangChain Blog
Recent Announcements
Recent Announcements

博客园 - qqhe325

一个js游戏 向del.icio.us学习 lucene.net优化总结 Fxcop使用笔记 web service 记录1 自定义加密web.config实验记录 DTC:该伙伴事务管理器已经禁止了他对远程/网络事务的支持 C#基础- 抽象类,静态类 js自动加载日期类 img的onload事件 当图片路径超出网站根目录时 vs2005宏的问题 oledbparameter在update时出错不报错 grove 小例子 delegate和event例子 你试图打开的项目是Web项目,请指定URL路径 asp.net 在分析向此请求提供服务所需资源时出错 策略模式 我们是怎样的一代人[转]
asp.net 2.0 access 未指定的错误
qqhe325 · 2007-09-04 · via 博客园 - qqhe325

这几天在做一个类似petshop三层+access的网站,服务器win2003+ntfs+iis6可是在本地调试好放到服务器上的时候,当连续刷新几次页面后就会出现"未指定的错误",而且页面和错误的地方都不一样,重起一下iis就好了。在网上找了好久,也还没有解决。下面是我使用的方法:
1.在web.config中去掉<identity impersonate="true" />,大概是因为Iis上设置了匿名访问后,就会改成模拟帐户访问了,因此没有了匿名的权限。
2。设置c:\windows\temp,iuser,everyone,users的写和读取权限
3。修改环境变量Temp指向到c:\windows\temp
4。检查了代码,reader都是放在using中,资源应该都释放掉了,而且connection也是放在using中的。
5.出错的时候,关闭杀毒软件--------开始关了和发生错误关了都没用
6.服务器的日志,看一下出错原因-----timer_connnectionidle,好像是计时器,但什么原因引起超时啊
7。去掉文件夹属性中的索引,因为以前碰过偶尔出现的问题会和它有关,但没什么用。
8。把程序放到win2000+ntfs+ii5上,设置好iis操作员权限aspnet,iusr,administrator和目录权限后怎么刷新都不会出错。后来发现也会出错!
9.在自己的机器上刷不放到服务器上会出现用户过多,他们说这是我机器慢的原因。
问题还没有解决555,有人说要么不用三层,要么用sqlserver,快没多少时间了,谁有好的解决方法吗
10.花了半天转到sqlserver了,开始还是有这个问题,只是不像access那样容易发生,这时我想起以前也发生过类似的问题,原因是读取目录递 归的时候没有及时关闭连接.我又重新看了一下数据库类,因为以前记得都在using中所以没想会是资源的问题。但仔细一看发现有一个常用的没有在 using中,还有在using中的半路return了出来,管它三七二十一都加了个commandtype.closeconnetion。现在似乎怎 么刷都没事了。
以后对datareader的引用还是小心为好~~