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

推荐订阅源

T
Threatpost
V
Vulnerabilities – Threatpost
TaoSecurity Blog
TaoSecurity Blog
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed
G
GRAHAM CLULEY
S
Securelist
P
Palo Alto Networks Blog
MongoDB | Blog
MongoDB | Blog
A
Arctic Wolf
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
WordPress大学
WordPress大学
Project Zero
Project Zero
T
Threat Research - Cisco Blogs
L
Lohrmann on Cybersecurity
C
Cyber Attacks, Cyber Crime and Cyber Security
F
Fortinet All Blogs
博客园 - 叶小钗
B
Blog RSS Feed
C
Cisco Blogs
Google DeepMind News
Google DeepMind News
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Apple Machine Learning Research
Apple Machine Learning Research
G
Google Developers Blog
K
Kaspersky official blog
D
Docker
Latest news
Latest news
Cisco Talos Blog
Cisco Talos Blog
T
Tor Project blog
Cyberwarzone
Cyberwarzone
Security Latest
Security Latest
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Spread Privacy
Spread Privacy
Microsoft Azure Blog
Microsoft Azure Blog
C
Check Point Blog
J
Java Code Geeks
Simon Willison's Weblog
Simon Willison's Weblog
T
Tenable Blog
Recent Announcements
Recent Announcements
T
Tailwind CSS Blog
H
Help Net Security
L
LINUX DO - 热门话题
T
The Exploit Database - CXSecurity.com
Jina AI
Jina AI
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
NISL@THU
NISL@THU
美团技术团队
腾讯CDC

博客园 - 湘南和也

终于从梦中醒来 第一次动手做菜(炒菜片) 第一次动手做菜(切菜篇) 程序编码应保持良好的规范(C#) 关于卸载windows service后再重新安装遇到的特殊问题 完成我的第一个windows service的开发 7天内两爬白云山 学习socket编程之一:用smtp协议发送邮件 无言随笔 心情不爽 实战服务器环境设置 感悟 我看盗版现象 黄山游记(三):登黄山 也许是被忽略的update语句 灵活使用DataView 黄山游记(二)初来乍到 黄山游记(一)预备篇 好久没更新了
web开发中让我郁闷不已的小失误
湘南和也 · 2005-07-07 · via 博客园 - 湘南和也

虽然自己喜欢臭美,以为在web开发中没有什么自己不能解决的。(呵呵,真的很臭美呢)但也有时候会被一些事后觉得很简单的问题难倒。

今天就遇到这么一个问题:今天自己开发的一个项目中的某个页面突然报错,提示它加载的某个用户控件出错,无法load。而同样的程序在自己的开发机上确一点问题也没有,但在服务器上就是死活出错。我将aspx和ascx页面用自己的覆盖过,也试过将bin目录覆盖,甚至整个site覆盖都试了,就是不能解决问题。
最后一个同事无意中说起会不会是IIS的问题呢?我突然想起这个项目网站下面是用了虚拟目录的,而出错的页面恰好就是在虚拟目录中的。马上上到服务器上看,果真,由于之前有其他同事修改过IIS中的设置,导致该站点下面的虚拟目录丢失,需要重新建立。

建立好虚拟目录,再运行网站,一切正常。痛哭啊,就这么一个简单的问题让自己瞎折腾了几个小时啊。看来阅历还不够,还得继续修炼。

教训:在动手修改之前,先思考,有多少个可能会导致它错误的因素。

posted on 2005-07-07 15:19  湘南和也  阅读(741)  评论(1)    收藏  举报