<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_青青子矜 悠悠我心 但为君故 沉吟至今</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/13413/rss</id><updated>2010-12-03T16:21:48Z</updated><author><name>soonssa</name><uri>http://www.cnblogs.com/soonssa/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/soonssa/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/13413/rss"/><entry><id>http://www.cnblogs.com/soonssa/archive/2010/12/04/1895957.html</id><title type="text">一次诡异的http404错误的解决</title><summary type="text">新开发的网站，在开发机上运行的好好的，部署到服务器上就出错了，并且错误的现象很诡异，总是在开机的第一次打开浏览器时显示HTTP/1.1 404 NOT FOUND!，刷新页面或者从新打开浏览器就好了。最开始怀疑是程序的问题，后来想想没有道理啊，刷新后就可以正常运行了，不应该是程序有问题啊。再怀疑是服务器的问题，这里介绍一下我的网络环境，局域网，地址都配的是192.168.1.X，原来有一台服务器，...</summary><published>2010-12-03T16:20:00Z</published><updated>2010-12-03T16:20:00Z</updated><author><name>soonssa</name><uri>http://www.cnblogs.com/soonssa/</uri></author><link rel="alternate" href="http://www.cnblogs.com/soonssa/archive/2010/12/04/1895957.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/soonssa/archive/2010/12/04/1895957.html"/><content type="html">&lt;p&gt;新开发的网站，在开发机上运行的好好的，部署到服务器上就出错了，并且错误的现象很诡异，总是在开机的第一次打开浏览器时显示HTTP/1.1 404 NOT FOUND!，刷新页面或者从新打开浏览器就好了。&#xD;
&lt;/p&gt;&lt;p&gt;最开始怀疑是程序的问题，后来想想没有道理啊，刷新后就可以正常运行了，不应该是程序有问题啊。&#xD;
&lt;/p&gt;&lt;p&gt;再怀疑是服务器的问题，这里介绍一下我的网络环境，局域网，地址都配的是192.168.1.X，原来有一台服务器，系统是win2003，地址是192.168.1.1，新装的服务器环境是win2008R2，地址自然就设置成192.168.1.2了，因为房间的网口不够用，从墙上的网口出来，又接了一个小交换机才到了客户机。因为新装的服务器系统比较新，对2008也不太熟，自然怀疑是配置有问题，来回折腾了一晚上也没搞定，google了一下，有人说是DNS缓存出错，就把DNS删了，也不行，后来发现默认网页不设置成aspx的，换个html的，第一次浏览时也不出错，就又怀疑是程序的问题，排查了，也没找出错来。于是就把程序部署到旧服务器（192.168.1.1）上，发现不出错了，于是把新服务器格式化了重新装win2003，安装完毕配地址时发现ip冲突（192.168.1.2），诡异了，重装之前没提示啊？等到晚上大家都下班走了，除了我的房间，主交换机上所有的灯就灭了，ping 192.168.1.2，仍然是通的，这是怎么回事了，这才怀疑到我房间的这个交换机，原来是路由和交换一体的，本身ip地址设置的是192.168.1.2，郁闷了。于是又重装服务器，设置成192.168.1.5，部署网站，好了。&#xD;
&lt;/p&gt;&lt;p&gt;因为以前一直是用的局域网，没有用过路由，到底原理是什么，还搞不太懂，想着可能是，第一次打开浏览器时，就直接连到路由器了，路由器上当然没有网站，所有报404错误，可是为什么刷新，就又连接到服务器上，网站正常了呢，不明白，并且系统是2008R2时设置地址并不报冲突，系统为2003时就报ip冲突，也没搞明白，绕了个大弯。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/soonssa/aggbug/1895957.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/soonssa/archive/2010/12/04/1895957.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/soonssa/archive/2010/10/03/1841535.html</id><title type="text">Sqlite Expert Professional 3 破解</title><summary type="text">3.1.17版仍可用。/Files/soonssa/破解.rar</summary><published>2010-10-03T01:05:00Z</published><updated>2010-10-03T01:05:00Z</updated><author><name>soonssa</name><uri>http://www.cnblogs.com/soonssa/</uri></author><link rel="alternate" href="http://www.cnblogs.com/soonssa/archive/2010/10/03/1841535.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/soonssa/archive/2010/10/03/1841535.html"/><content type="html">&lt;p&gt;3.1.17版仍可用。&lt;/p&gt;&lt;p&gt;&lt;a href="http://files.cnblogs.com/soonssa/%E7%A0%B4%E8%A7%A3.rar"&gt;/Files/soonssa/破解.rar&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/soonssa/aggbug/1841535.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/soonssa/archive/2010/10/03/1841535.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/soonssa/archive/2010/10/03/1841519.html</id><title type="text">复制SqlServer备份到其他计算机，实现异地备份</title><summary type="text">@echo offnet use m: \\192.168.1.3\D$\SqlBack "password" /user:usernameC:\progra~1\winrar\winrar.exe a -ag-A -k -r -s -ibck d:\back\back.rar m:\net use m: /delexitusername 和 password 分别是sql备份所在服务器的系统用户...</summary><published>2010-10-02T22:13:00Z</published><updated>2010-10-02T22:13:00Z</updated><author><name>soonssa</name><uri>http://www.cnblogs.com/soonssa/</uri></author><link rel="alternate" href="http://www.cnblogs.com/soonssa/archive/2010/10/03/1841519.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/soonssa/archive/2010/10/03/1841519.html"/><content type="html">&lt;div&gt;@echo off&lt;/div&gt;&lt;div&gt;net use m: \\192.168.1.3\D$\SqlBack "password" /user:username&lt;/div&gt;&lt;div&gt;C:\progra~1\winrar\winrar.exe a -ag-A -k -r -s -ibck d:\back\back.rar m:\&lt;/div&gt;&lt;div&gt;net use m: /del&lt;/div&gt;&lt;div&gt;exit&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;username 和 password 分别是sql备份所在服务器的系统用户名和密码；&lt;/p&gt;&lt;p&gt;\\192.168.1.3\D$\SqlBack 是sql备份所在目录&lt;/p&gt;&lt;p&gt;d:\back\back.rar 新建的备份文件&lt;/p&gt;&lt;img src="http://www.cnblogs.com/soonssa/aggbug/1841519.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/soonssa/archive/2010/10/03/1841519.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/soonssa/archive/2010/10/02/1841180.html</id><title type="text">贝电BD201 ADSL MODEM 设置</title><summary type="text">我家的MODEM是上海贝电BD201的，电信送的。想把ADSL的用户名和密码设置到路由里，这样就能多台机器一起上网了。把本机IP设置成192.168.1.2，然后再浏览器中输入192.168.1.1，确实可以打开界面，但是有用户名和密码的在网上搜了一圈，均说是admin和dare，但是我这个好像不一样，输入错误后，用户名自动改成Admin，第一个字母大写，关电源，重启，全不管用，后来终于试出来了，...</summary><published>2010-10-02T02:12:00Z</published><updated>2010-10-02T02:12:00Z</updated><author><name>soonssa</name><uri>http://www.cnblogs.com/soonssa/</uri></author><link rel="alternate" href="http://www.cnblogs.com/soonssa/archive/2010/10/02/1841180.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/soonssa/archive/2010/10/02/1841180.html"/><content type="html">&lt;p&gt;我家的MODEM是上海贝电BD201的，电信送的。想把ADSL的用户名和密码设置到路由里，这样就能多台机器一起上网了。&lt;/p&gt;&lt;p&gt;把本机IP设置成192.168.1.2，然后再浏览器中输入192.168.1.1，确实可以打开界面，但是有用户名和密码的&lt;/p&gt;&lt;p&gt;在网上搜了一圈，均说是&lt;span  style="font-family: Verdana, Arial, Tahoma; line-height: 26px; color: #333333; "&gt;admin和dare，但是我这个好像不一样，输入错误后，用户名自动改成Admin，第一个字母大写，关电源，重启，全不管用，后来终于试出来了，原来密码是password，希望以后和我用一样modem的留意一下。&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/soonssa/aggbug/1841180.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/soonssa/archive/2010/10/02/1841180.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/soonssa/archive/2009/03/21/1418185.html</id><title type="text">jquery UI</title><summary type="text">1、让dialog打开时没有右上角的关闭按钮： $('.ControlEdit').dialog({ title: '用户登陆', modal: false, autoOpen: true, resizable: false, closeOnEscape: false, position: [600, 250], width: 290, open: function() { $(this).par...</summary><published>2009-03-21T02:03:00Z</published><updated>2009-03-21T02:03:00Z</updated><author><name>soonssa</name><uri>http://www.cnblogs.com/soonssa/</uri></author><link rel="alternate" href="http://www.cnblogs.com/soonssa/archive/2009/03/21/1418185.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/soonssa/archive/2009/03/21/1418185.html"/></entry><entry><id>http://www.cnblogs.com/soonssa/archive/2009/03/21/1418154.html</id><title type="text">Webservice的安全问题</title><summary type="text">最近在用jquery + webservice 写东西，感觉倒是挺爽的，但是安全问题一直很迷惑，首先webservice是公开发布的，匿名用户也可以访问，这个问题通过在后台检测是否是验证用户解决了，但是还有一个问题，就是如何避免合法用户直接通过地址访问webservice的问题，如果合法用户直接通过地址访问webservice的话，在这里是可以随便输入参数的，那我在前台做的那么多的验证不都全没用了...</summary><published>2009-03-20T23:48:00Z</published><updated>2009-03-20T23:48:00Z</updated><author><name>soonssa</name><uri>http://www.cnblogs.com/soonssa/</uri></author><link rel="alternate" href="http://www.cnblogs.com/soonssa/archive/2009/03/21/1418154.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/soonssa/archive/2009/03/21/1418154.html"/></entry><entry><id>http://www.cnblogs.com/soonssa/archive/2008/12/25/1362553.html</id><title type="text">从Enterprise Library获取的数据的DataGridView的中文排序</title><summary type="text">我的DataGridView的中文排序总是不正常，不是按照拼音排序的，后来才发现问题出在数据源上，从Enterprise Library获取的数据源的Locale为空，只要在获取数据源后加上一句ds.Locale = System.Globalization.CultureInfo.CurrentCulture;即可。</summary><published>2008-12-25T12:11:00Z</published><updated>2008-12-25T12:11:00Z</updated><author><name>soonssa</name><uri>http://www.cnblogs.com/soonssa/</uri></author><link rel="alternate" href="http://www.cnblogs.com/soonssa/archive/2008/12/25/1362553.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/soonssa/archive/2008/12/25/1362553.html"/></entry><entry><id>http://www.cnblogs.com/soonssa/archive/2008/12/13/1354338.html</id><title type="text">ASPNET内置身份认证，用户身份串门</title><summary type="text">我最近在一个系统中采用了ASPNET2.0内置的安全认证架构，测试时很正常，项目上线后发现一个严重的问题，就是A用户登录以后，在浏览过程中，有时候莫名奇妙的变成了B用户，显示的是B用户的信息，刷新一下，又变回A了，出现的次数，还是比较频繁的。麻烦帮我看看是什么原因？下面把我的主要程序代码列一下，麻烦您看一下：Web.config &amp;lt;connectionStrings&amp;gt; &amp;lt;add ...</summary><published>2008-12-13T10:02:00Z</published><updated>2008-12-13T10:02:00Z</updated><author><name>soonssa</name><uri>http://www.cnblogs.com/soonssa/</uri></author><link rel="alternate" href="http://www.cnblogs.com/soonssa/archive/2008/12/13/1354338.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/soonssa/archive/2008/12/13/1354338.html"/></entry><entry><id>http://www.cnblogs.com/soonssa/archive/2008/09/14/1290866.html</id><title type="text">media palyer activex播放问题</title><summary type="text">想实现的功能：服务器端有每隔2秒保存的多个mp3文件，我想通过webservice方式，把文件逐个下载到客户端，然后用media palyer activex连续的播放出来，现在有两个问题，1是用javascript调用webservice下载文件时，我用的是byte[]类型，返回出错，出错信息JSON缺少'd'属性。2即使调用成功的话，如何赋值给media palyer activex让它播放呢...</summary><published>2008-09-14T10:30:00Z</published><updated>2008-09-14T10:30:00Z</updated><author><name>soonssa</name><uri>http://www.cnblogs.com/soonssa/</uri></author><link rel="alternate" href="http://www.cnblogs.com/soonssa/archive/2008/09/14/1290866.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/soonssa/archive/2008/09/14/1290866.html"/></entry><entry><id>http://www.cnblogs.com/soonssa/archive/2008/08/17/1269787.html</id><title type="text">莫名其妙的“文件不存在”错误</title><summary type="text">我是在Global.asax文件中用Application_Error捕捉错误的，具体代码如下： protected void Application_Error(object sender, EventArgs e) { ExceptionPolicy.HandleException(Server.GetLastError(), "Unhandled Policy"); Server.Clear...</summary><published>2008-08-17T07:22:00Z</published><updated>2008-08-17T07:22:00Z</updated><author><name>soonssa</name><uri>http://www.cnblogs.com/soonssa/</uri></author><link rel="alternate" href="http://www.cnblogs.com/soonssa/archive/2008/08/17/1269787.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/soonssa/archive/2008/08/17/1269787.html"/></entry></feed>
