<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CUAASXo5eSp7ImA9WhRRFEk.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846</id><updated>2011-11-27T17:29:08.421-08:00</updated><category term="sharepoint" /><category term="webpart" /><category term="Windows XP QuickLaunch" /><category term="javascript" /><category term="reporting services" /><category term="php zend eclipse" /><category term="permission" /><category term="add-in" /><category term="parameter" /><category term="InfoPath Debug" /><category term="IIS" /><category term="IIS SharePoint SMS" /><category term="blog technique" /><category term="windows explorer sort order date filename" /><category term="php mysql" /><category term="php simpletest eclipse" /><category term="sharepoint windows xp visual studio" /><title>Software Problem Solution</title><subtitle type="html">This blog is for my software problem solving and technology knowledge sharing.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://spsolution.blogspot.com/" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/SoftwareProblemSolution" /><feedburner:info uri="softwareproblemsolution" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><entry gd:etag="W/&quot;DUECRXw_eip7ImA9WxFQFUs.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-4138860453260006653</id><published>2010-05-11T01:33:00.002-07:00</published><updated>2010-05-11T01:47:44.242-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-11T01:47:44.242-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Windows XP QuickLaunch" /><title>Windows XP Quick Launch Bar Always Disappear</title><content type="html">For some unknown reason (this reason is still unknown until now), my Windows XP quick launch bar will not be shown everytime after restart. I can right click the task bar and make it shown again, but after restart, it disappear again.&lt;br /&gt;&lt;br /&gt;The solutions are variable, but no one can solve my issue. At last, by studying &lt;a href="http://www.daniweb.com/forums/showthread.php?t=7898&amp;highlight=explorer+NoSaveSettings+quick+launch"&gt;this post&lt;/a&gt; line by line, I got the issue solved by doing the following thing (actually just one thing):&lt;br /&gt;&lt;br /&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]&lt;br /&gt;"NoSaveSettings"=dword:00000000&lt;br /&gt;&lt;br /&gt;This is the only useful solution, all other solutions like creating folders, setting other registry keys are all useless, and may potentially damage your system. So just use this one line and no need to try others.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-4138860453260006653?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/u2A3qsT5m88" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/4138860453260006653/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=4138860453260006653" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/4138860453260006653?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/4138860453260006653?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/u2A3qsT5m88/windows-xp-quick-launch-bar-always.html" title="Windows XP Quick Launch Bar Always Disappear" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2010/05/windows-xp-quick-launch-bar-always.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4NR309cSp7ImA9WxJUF0g.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-3525999670946533353</id><published>2009-07-16T07:58:00.000-07:00</published><updated>2009-07-16T08:09:56.369-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-16T08:09:56.369-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php simpletest eclipse" /><title>SimpleTest Eclipse Plugin Issue</title><content type="html">SimpleTest is a TDD template for PHP, I feel interest to it is because it provides a plugin for Eclipse which I use for my PHP development. There is an installation guide provided by SimpleTest official website: http://www.simpletest.org/en/extension_eclipse.html, but the problem is when I tried to follow it, there are several steps not match.&lt;br /&gt;&lt;br /&gt;Firstly, it says you can "new" a SimpleTest project, but actually there is no SimpleTest project type for you to choose. This is actually not a big deal, you can just create a normal project, it will have no bad impact.&lt;br /&gt;&lt;br /&gt;The most frustrating thing happen later is when you run your first test, it will complain cannot find eclipse.php. Several other users complain about this issue too, see &lt;a href="http://www.easyeclipse.org/site/plugins/simpletest.html"&gt;here&lt;/a&gt;. To solve this issue, I searched in whole package for the file, and finally got it in a file of simpletest_php.zip, once I extracted it to a folder, and in Windows-&gt;Preferences-&gt;SimpleTest, set SimpleTest folder to that extracted folder, everything solved.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-3525999670946533353?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/YMKEtnZaY7s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/3525999670946533353/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=3525999670946533353" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/3525999670946533353?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/3525999670946533353?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/YMKEtnZaY7s/simpletest-eclipse-plugin-issue.html" title="SimpleTest Eclipse Plugin Issue" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2009/07/simpletest-eclipse-plugin-issue.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMESH49cSp7ImA9WxJWFE0.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-1608052361108136521</id><published>2009-06-19T01:28:00.000-07:00</published><updated>2009-06-19T01:33:29.069-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-19T01:33:29.069-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php zend eclipse" /><title>Eclipse can not debug PHP web page (session terminated)</title><content type="html">When using Eclipse with PDT to debug PHP, it can successfully debug PHP script, but everytime when tring to debug PHP webpage, it will terminated quickly with information saying of "session terminated".&lt;br /&gt;&lt;br /&gt;The reason is because there are 3 lines must be added in php.ini.&lt;br /&gt;&lt;br /&gt;zend_extension_ts="C:\Program Files\PHP\ext\ZendDebugger.dll" (You need to search in your Eclipse folder to find out where the file exists and use the full path to it.)&lt;br /&gt;zend_debugger.allow_hosts=127.0.0.1&lt;br /&gt;zend_debugger.expose_remotely=always&lt;br /&gt;&lt;br /&gt;After adding these 3 lines, restart Apache, then it works.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-1608052361108136521?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/DrDLMEB4kGU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/1608052361108136521/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=1608052361108136521" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/1608052361108136521?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/1608052361108136521?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/DrDLMEB4kGU/eclipse-can-not-debug-php-web-page.html" title="Eclipse can not debug PHP web page (session terminated)" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2009/06/eclipse-can-not-debug-php-web-page.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAFQ307fip7ImA9WxJWEU4.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-880972630688663463</id><published>2009-06-15T23:48:00.000-07:00</published><updated>2009-06-16T00:18:32.306-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-16T00:18:32.306-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php mysql" /><title>Fatal error: Call to undefined function mysql_connect()</title><content type="html">Well, I've long time not used PHP, and now I am back.&lt;br /&gt;&lt;br /&gt;I installed the newest Apache, the newest PHP, the newest Mysql, and everything is smooth. Seems the UIs are much better than 4 years ago. I took pretty caution to the PHP configuration, and choosed to install mysql support at beginning, so everything seems ok at first.&lt;br /&gt;&lt;br /&gt;But I met issue soon. When I call mysql_connect, it immediately says:&lt;br /&gt;&lt;br /&gt;Fatal error: Call to undefined function mysql_connect() ...&lt;br /&gt;&lt;br /&gt;As I am experienced engineer, I don't worry about this, checked all website for this issue, but everyone just repeatedly saying: check your php.ini file to remove the semicolon before the line of extension=php_mysql.dll, or check your extension_dir setting to make sure it's correct, something like that, blah, blah, blah... I checked again at my php.ini setting, it's pretty correct, because when I install php I already choose to have mysql support installed, so everything already correctly setting for me. I tried many other ways, to copy php.ini file into windows folder, to copy php_mysql.dll into windows folder, and also tried windows system32 folder, and also checked the environment variable of PHPRC, the problem just still be there.&lt;br /&gt;&lt;br /&gt;Finally I got the problem solved. Now let me tell you the truth, this IS the exactly quite important step, but the PHP installation program did not do it correctly.&lt;br /&gt;&lt;br /&gt;Very simple, that is: &lt;span style="font-weight:bold;color:red"&gt;to copy the file libmysql.dll from your PHP folder into Windows folder&lt;/span&gt;. Very simple, right? But that's it.&lt;br /&gt;&lt;br /&gt;Now we know, there are 3 files related to mysql support in php:&lt;br /&gt;&lt;br /&gt;1. libmysql.dll (this by default is in ext folder, you can leave it there)&lt;br /&gt;2. php_mysql.dll (this be default is in your php folder, you need to manually copy it into windows folder)&lt;br /&gt;3. php.ini (this by default is in your php folder, you can leave it there)&lt;br /&gt;&lt;br /&gt;You made them in correct folder, you got it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-880972630688663463?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/EAcyj8vGkjk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/880972630688663463/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=880972630688663463" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/880972630688663463?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/880972630688663463?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/EAcyj8vGkjk/fatal-error-call-to-undefined-function.html" title="Fatal error: Call to undefined function mysql_connect()" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2009/06/fatal-error-call-to-undefined-function.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQEQXcyfCp7ImA9WxVWEUw.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-4413813325029415613</id><published>2009-02-19T23:48:00.000-08:00</published><updated>2009-02-19T23:51:40.994-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-19T23:51:40.994-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint windows xp visual studio" /><title>.NET assembly and SharePoint Workflow</title><content type="html">As you may know, Windows SharePoint Services can only be run on Windows Server 2003, it can not be run on Windows XP. But my client side development environment is Windows XP, my Visual Studio is installed on Windows XP. I need a solution to develop workflow programs on my Windows XP instead of Windows Server 2003.&lt;br /&gt;&lt;br /&gt;After a long time research, finally I got clear how to develop workflow in Visual Studio on a Windows XP machine.&lt;br /&gt; &lt;br /&gt;To do such work, it's very simple, but to understand, it take some time.&lt;br /&gt; &lt;br /&gt;Ok, now I just say the simple thing.&lt;br /&gt; &lt;br /&gt;All you need to do is just copy the .dll files you need on your machine, then register it in .net.&lt;br /&gt; &lt;br /&gt;1. What files you need?&lt;br /&gt;Some assembly dlls. Include Microsoft.SharePoint.dll, and others.&lt;br /&gt; &lt;br /&gt;2. Where can I get these files?&lt;br /&gt;These files are in an install sharepoint machine. Directory is at c:\windows\assembly\gac_msil&lt;br /&gt;In that folder, you can see a lot of directories start with Microsoft.SharePoint, copy all thoese folders to your machine.&lt;br /&gt; &lt;br /&gt;3. How do I register them?&lt;br /&gt;Open your Control Panel-&gt;Administrative Tools-&gt;Microsoft .net Framework 2.0 Configuration, then click on the "Assembly Cache", then you can register them.&lt;br /&gt; &lt;br /&gt;Ok, now you can enjoy on it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-4413813325029415613?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/9TPl8fFwDps" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/4413813325029415613/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=4413813325029415613" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/4413813325029415613?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/4413813325029415613?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/9TPl8fFwDps/net-assembly-and-sharepoint-workflow.html" title=".NET assembly and SharePoint Workflow" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2009/02/net-assembly-and-sharepoint-workflow.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYHQH09cCp7ImA9WxRaF0s.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-7920220457641781349</id><published>2008-12-20T01:28:00.000-08:00</published><updated>2008-12-20T01:42:11.368-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-20T01:42:11.368-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="windows explorer sort order date filename" /><title>Force Windows XP Explorer to Sort By Name</title><content type="html">I am an old fashioned Windows user, I don't like current Windows XP Windows Explorer sorting method, which it can "remember" your settings for each folder. Instinctly I think it will waste disk space. I always missed the old Windows sorting method that is always sort files by file name, only when I tell it to sort by date, it will sort by date, but once I close it and reopen it, I hope it still sort by name instead of sort by date. And I once and always use the "detail" view of Windows Explorer.&lt;br /&gt;&lt;br /&gt;This works perfectly before when I choose to "Not remember settings for each folder". But one day, for some unknown reason, it just can not work. Everytime I open Windows Explorer, it always sort files by date, as I did not choose "remember" settings, it will sort by date for EVERY single folder. This is really annoying and frustrating. I tried many ways to solve this problem, I sort the folders by name, then close Windows Explorer, it has no effect, next time when I open it, it still sort by date. I even tried somebody's suggestion, that is to click Ctrl plus the close button on top right corner, still same, no effect. I tried to change the "remember" setting back and forward, hope it can remember to sort by file name, well, still same, once I enable it to "remember", it remember to sort by file name, but once I change it back to "not remember", it remember to sort by date!&lt;br /&gt;&lt;br /&gt;I tried to think what I might do before, and I noticed everytime I open Windows Explorer, it will firstly go to the page of "My Computer" which will list all my hard disks, in this view, there is no sorting method above like other folders' detail view does. But, you still can click the above column head to sort it, I tried to click all the column headers one by one, and finally go back to sort by type, then close Windows Explorer. Guess what? Next time I open it, everything works as I wish! My computer view show hard disks together as sort by type, My documents view sort files by file name, my D drive, H drive, I drive all sort by file name now.&lt;br /&gt;&lt;br /&gt;Seems the "sort by filename" is related to "sort by type" for My Computer view. If you have similiar issue, please try this way, and let me know your result.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-7920220457641781349?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/CxJ-9hkyvz4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/7920220457641781349/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=7920220457641781349" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/7920220457641781349?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/7920220457641781349?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/CxJ-9hkyvz4/force-windows-xp-explorer-to-sort-by.html" title="Force Windows XP Explorer to Sort By Name" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>3</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2008/12/force-windows-xp-explorer-to-sort-by.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8NQHg4cSp7ImA9WxRaFUs.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-5579600158479303100</id><published>2008-12-17T18:48:00.000-08:00</published><updated>2008-12-17T18:54:51.639-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-17T18:54:51.639-08:00</app:edited><title>How to insert a data source in SharePoint Designer 2007?</title><content type="html">&lt;DIV class=ExternalClassA29F497DCB0148E9A95D96C07692FA26&gt;&lt;br /&gt;&lt;DIV&gt;Actually, the difficulty is caused by a bug of Microsoft. Below are detail steps:&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;1.&amp;nbsp;Click "Connect to a database" in "Database connections",&amp;nbsp;click Configure database connection, click Use Custom String, click Edit, select "Provider for OLEDB" and type the following connection string:&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT color=#ff0000&gt;Provider=OraOLEDB.Oracle;Data Source=wise;Persist Security Info=True;User ID=wiseq;Password=wiseq;Unicode=True&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;(Replace the parameters for Data Source, User ID and Password with your own)&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;2. Click Next and you will see an error which says "an error occurred while retrieving the list of tables from the root Database", click OK, click "Specify custom Select, Update, Insert…", click Edit Command and type the command which looks like:&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT color=#ff0000&gt;select&amp;nbsp;* from&amp;nbsp;project&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;click Finish, click OK. &lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;3. Then, expand the left pane of SharePoint designer, expand _catalogs--fpdatasources, you will find a new xml file whose name is the same as your connection name generated. Double click it to open it. The current string shows &lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;udc:DataSource xmlns:udc="&lt;A href="http://schemas.microsoft.com/data/udc"&gt;http://schemas.microsoft.com/data/udc&lt;/A&gt;" MajorVersion="2" MinorVersion="0"&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;udc:Name&amp;gt;changeora&amp;lt;/udc:Name&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;udc:ConnectionInfo&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;DataSourceControl&amp;gt;&amp;lt;CDATA&amp;gt;&amp;lt;asp:SqlDataSource id="SqlDataSource1" runat="server" __designer:Provider="OraOLEDB.Oracle" __designer:customcommand="true" ProviderName="&lt;FONT color=#ff0000&gt;System.Data.SqlClient&lt;/FONT&gt;" __designer:customconnectionstring="true" SelectCommand="select p.deptno, p.dname from scott.dept p" ConnectionString="Data Source=wise;Persist Security Info=True;User ID=wiseq;Password=wiseq;Unicode=True;&lt;FONT color=#ff0000&gt;Initial Catalog=root;&lt;/FONT&gt;" /&amp;gt;&amp;lt;/CDATA&amp;gt;&amp;lt;/DataSourceControl&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;/udc:ConnectionInfo&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;udc:Type MajorVersion="1" MinorVersion="0" Type="Sql"/&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;/udc:DataSource&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;You can modify the provider name and delete the Initial Catalog. The expected result looks like &lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;udc:DataSource xmlns:udc="&lt;A href="http://schemas.microsoft.com/data/udc"&gt;http://schemas.microsoft.com/data/udc&lt;/A&gt;" MajorVersion="2" MinorVersion="0"&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;udc:Name&amp;gt;Custom Query&amp;lt;/udc:Name&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;udc:ConnectionInfo&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;DataSourceControl&amp;gt;&amp;lt;CDATA&amp;gt;&amp;lt;asp:SqlDataSource runat="server" ConnectionString="&lt;STRONG&gt;&lt;FONT color=#00ff00&gt;Data Source=wise;User ID=wiseq;Password=wiseq;&lt;/FONT&gt;&lt;/STRONG&gt;" ProviderName="&lt;STRONG&gt;&lt;FONT color=#00ff00&gt;System.Data.OracleClient&lt;/FONT&gt;&lt;/STRONG&gt;" ID="SqlDataSource1" SelectCommand="select p.deptno, p.dname from scott.dept p" __designer:Provider="OraOLEDB.Oracle" _designer:customcommand="true" __designer:customconnectionstring="true"&amp;gt;&amp;lt;/asp:SqlDataSource&amp;gt;&amp;lt;/CDATA&amp;gt;&amp;lt;/DataSourceControl&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;/udc:ConnectionInfo&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;udc:Type MajorVersion="1" MinorVersion="0" Type="Sql"/&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;lt;/udc:DataSource&amp;gt;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;br /&gt;&lt;DIV&gt;4. Save the xml. When you click Show Data and you should able to see the data populated.&lt;/DIV&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-5579600158479303100?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/AdVwDVpJtig" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/5579600158479303100/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=5579600158479303100" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/5579600158479303100?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/5579600158479303100?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/AdVwDVpJtig/how-to-insert-data-source-in-sharepoint.html" title="How to insert a data source in SharePoint Designer 2007?" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>4</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2008/12/how-to-insert-data-source-in-sharepoint.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MEQ30yeyp7ImA9WxdbFE4.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-4485638991540994332</id><published>2008-08-10T23:00:00.000-07:00</published><updated>2008-08-10T23:16:42.393-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-10T23:16:42.393-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint" /><category scheme="http://www.blogger.com/atom/ns#" term="IIS" /><title>Windows Server 2003 SP1 May Cause Problems To SharePoint</title><content type="html">Today is a very happy to me. I spent so long time, and at last solved several problems.&lt;br /&gt;&lt;br /&gt;Q1. If I put abc.htm into some folder, then I can use IE to access it, but if I put abc.asp in, IE will always complain 404 error.&lt;br /&gt;A1. It's because you need to set "Allow ASP" in the "Web Service Extensions" in IIS admin tool. By default it is turned off by SharePoint.&lt;br /&gt;&lt;br /&gt;Q2. I put an asp page in folder, but when trying to get Request.Form, it always returns empty.&lt;br /&gt;A2. It's because when you enable "Anonymous Access" in IIS, you MUST also enable "Windows Integrated Authentication", otherwise your ASP can not get form content.&lt;br /&gt;&lt;br /&gt;Q3. This is the very hard part. After install SharePoint (WSS3), I can access http://servername on server IE, but when I access http://www.servername.com, it will ask me for password, and after enter 3 times of correct password, it will fail. But on client side, it works. Also, the reporting services in SharePoint admin behavior very strange, it can be worked on http://servername, but refuse on servername.com, also in server site collection it always cause error. And all of my previous working web services now all report "Authenticaiton fail".&lt;br /&gt;A3. I tried many ways and searched for long time, and at last I searched this string in Google: ""An error occurred during logon" 537 NT AUTHORITY\SYSTEM 0xC000006D" because I found everytime I logon fail, it will show an event in Eventlog include above string. By searching that string, I found a page in Google: &lt;a href="http://www.developmentnow.com/g/91_2005_7_0_0_560780/IIS6-NT-Authentication-fails.htm"&gt;http://www.developmentnow.com/g/91_2005_7_0_0_560780/IIS6-NT-Authentication-fails.htm&lt;/a&gt;, it indirect me to here: &lt;a href="http://support.microsoft.com/?id=896861"&gt;http://support.microsoft.com/?id=896861&lt;/a&gt;, it says the cause is you installed Windows Server 2003 SP1:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;This issue occurs if you install Microsoft Windows XP Service Pack 2 (SP2) or Microsoft Windows Server 2003 Service Pack 1 (SP1). Windows XP SP2 and Windows Server 2003 SP1 include a loopback check security feature that is designed to help prevent reflection attacks on your computer. Therefore, authentication fails if the FQDN or the custom host header that you use does not match the local computer name.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And the solution is:&lt;br /&gt;&lt;br /&gt;&lt;h3 id="tocHeadRef"&gt;Method 1: Disable the loopback check &lt;/h3&gt;&lt;script type="text/javascript"&gt;loadTOCNode(2, 'workaround');&lt;/script&gt;Follow these steps:&lt;table class="list ol"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="number"&gt;1.&lt;/td&gt;&lt;td class="text"&gt;Click &lt;strong class="uiterm"&gt;Start&lt;/strong&gt;, click &lt;strong class="uiterm"&gt;Run&lt;/strong&gt;, type &lt;span class="userInput"&gt;regedit&lt;/span&gt;, and then click &lt;strong class="uiterm"&gt;OK&lt;/strong&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;2.&lt;/td&gt;&lt;td class="text"&gt;In Registry Editor, locate and then click the following registry key: &lt;div class="indent"&gt;&lt;strong class="uiterm"&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;3.&lt;/td&gt;&lt;td class="text"&gt;Right-click &lt;strong class="uiterm"&gt;Lsa&lt;/strong&gt;, point to &lt;strong class="uiterm"&gt;New&lt;/strong&gt;, and then click &lt;strong class="uiterm"&gt;DWORD Value&lt;/strong&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;4.&lt;/td&gt;&lt;td class="text"&gt;Type &lt;span class="userInput"&gt;DisableLoopbackCheck&lt;/span&gt;, and then press ENTER.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;5.&lt;/td&gt;&lt;td class="text"&gt;Right-click &lt;strong class="uiterm"&gt;DisableLoopbackCheck&lt;/strong&gt;, and then click &lt;strong class="uiterm"&gt;Modify&lt;/strong&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;6.&lt;/td&gt;&lt;td class="text"&gt;In the &lt;strong class="uiterm"&gt;Value data&lt;/strong&gt; box, type &lt;span class="userInput"&gt;1&lt;/span&gt;, and then click &lt;strong class="uiterm"&gt;OK&lt;/strong&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="number"&gt;7.&lt;/td&gt;&lt;td class="text"&gt;Quit Registry Editor, and then restart your computer.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;By following that, after restart server, seems everything works ok! I must remember this in case in future I meet same error, and it may help you too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-4485638991540994332?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/5rUxYLE_X0s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/4485638991540994332/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=4485638991540994332" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/4485638991540994332?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/4485638991540994332?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/5rUxYLE_X0s/windows-server-2003-sp1-may-cause.html" title="Windows Server 2003 SP1 May Cause Problems To SharePoint" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2008/08/windows-server-2003-sp1-may-cause.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcAQnszeip7ImA9WxdQF0s.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-5743167380140652225</id><published>2008-06-17T20:34:00.000-07:00</published><updated>2008-06-17T20:34:03.582-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-06-17T20:34:03.582-07:00</app:edited><title>HELP! "Firewall has detected an application listening for incoming traffic." Event ID# 861  lsass.exe : firewall, listening, detected, application, has</title><content type="html">&lt;a href="http://www.experts-exchange.com/Networking/Microsoft_Network/Q_21505627.html"&gt;HELP! "Firewall has detected an application listening for incoming traffic." Event ID# 861  lsass.exe : firewall, listening, detected, application, has&lt;/a&gt;: "netsh firewall add allowedprogram LSASS \ C:\WINDOWS\system32\lsass.exe"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-5743167380140652225?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/JAAAPpFV-jU" height="1" width="1"/&gt;</content><link rel="related" href="http://www.experts-exchange.com/Networking/Microsoft_Network/Q_21505627.html" title="HELP! &quot;Firewall has detected an application listening for incoming traffic.&quot; Event ID# 861  lsass.exe : firewall, listening, detected, application, has" /><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/5743167380140652225/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=5743167380140652225" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/5743167380140652225?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/5743167380140652225?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/JAAAPpFV-jU/help-firewall-has-detected-application.html" title="HELP! &quot;Firewall has detected an application listening for incoming traffic.&quot; Event ID# 861  lsass.exe : firewall, listening, detected, application, has" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2008/06/help-firewall-has-detected-application.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkANQXY5eCp7ImA9WxdSEkU.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-105380744509744597</id><published>2008-05-20T03:48:00.000-07:00</published><updated>2008-05-20T03:53:10.820-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-20T03:53:10.820-07:00</app:edited><title>SharePoint workflow can not start</title><content type="html">It spend me so long time to get this problem solved.&lt;br /&gt;&lt;br /&gt;1. I found a blog, it just says: to check the log. ok, then I go to check the log. Found it says my "Shared Services Provider" doesn't work.&lt;br /&gt;&lt;br /&gt;2. I go to admin, create a new SSP, but it complains provision does not work, go to check log again. Found it says somebody else me is the site owner.&lt;br /&gt;&lt;br /&gt;3. Go to command line, type stsadm -o siteowner to change it to myself. Now it complains some parameter does not work.&lt;br /&gt;&lt;br /&gt;4. Found an article saying to add the app pool id into site admin, but it already there.&lt;br /&gt;&lt;br /&gt;5. So I type in the below command to force my account be the farm admin: C:\Program Files\Common Files\Microsoft Shared\web server  extensions\12\BIN&gt;stsadm -o updatefarmcredentials -userlogin ds\sseadmin  -password password, then try again.&lt;br /&gt;&lt;br /&gt;6. It worked!&lt;br /&gt;&lt;br /&gt;Now if you can not start your workflow, please post comment here, and I will try my best to answer your question.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-105380744509744597?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/oa8eIkFWzHY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/105380744509744597/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=105380744509744597" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/105380744509744597?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/105380744509744597?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/oa8eIkFWzHY/sharepoint-workflow-can-not-start.html" title="SharePoint workflow can not start" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2008/05/sharepoint-workflow-can-not-start.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8ERH0yfSp7ImA9WxZXGEo.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-3808299623025944825</id><published>2008-03-07T00:31:00.000-08:00</published><updated>2008-03-07T00:33:25.395-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-07T00:33:25.395-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="InfoPath Debug" /><title>Debug in Microsoft InfoPath 2003</title><content type="html">There is no direct way to debug in Microsoft InfoPath 2003. However, Microsoft provide a very tricky way to debug in it.&lt;br /&gt;&lt;br /&gt;All you need to do is this:&lt;br /&gt;&lt;br /&gt;Add a "&lt;span style="font-weight: bold;"&gt;stop&lt;/span&gt;" in the load script.&lt;br /&gt;&lt;br /&gt;That's it! Then when you open the InfoPath form, you can choose which debugger you want to debug it, then you can step in, or set other breakpoint in it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-3808299623025944825?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/nw5xsASV1WE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/3808299623025944825/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=3808299623025944825" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/3808299623025944825?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/3808299623025944825?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/nw5xsASV1WE/debug-in-microsoft-infopath-2003.html" title="Debug in Microsoft InfoPath 2003" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2008/03/debug-in-microsoft-infopath-2003.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUDRH84fCp7ImA9WB9VGE8.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-2527803576956851292</id><published>2007-12-04T19:54:00.000-08:00</published><updated>2007-12-04T20:01:15.134-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-12-04T20:01:15.134-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="IIS SharePoint SMS" /><title>Change web site ID in IIS to solve path not found error</title><content type="html">&lt;div class="ExternalClassBAE98AE0A35A4F5F9BF5E36E267EEE11"&gt; &lt;div&gt;It cost me 2 hours to find the solution.&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;Situation:&lt;/div&gt; &lt;div&gt;SharePoint server A is also a SMS distribution server, but when SMS  server B tried to push package to A, it always fail.&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;Process:&lt;/div&gt; &lt;div&gt;Check log, find it always report '/w3svc/1/root path cannot find'. But  there is no this path.&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;After check a lot of documents, I find it's something stored for IIS as  register tree. The only way to see it is by using a script called  adsutil.vbs.&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;Compare server A and server B, I found that server A 80 port ID is not 1, but  1234567. Why? Because when we setup SharePoint server, we deleted the  original server application, and created a new one on port 80, so it was assigned a random  number.&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;So the next step is to change the number to 1.&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;Here is how:&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;CSCRIPT %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs STOP_SERVER  W3SVC/1234567&lt;br /&gt;CSCRIPT %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs MOVE W3SVC/1234567  W3SVC/1&lt;br /&gt;CSCRIPT %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs START_SERVER  W3SVC/1&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;Result:&lt;/div&gt; &lt;div&gt;After change, everything is OK!&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-2527803576956851292?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/0HvnJHSQOoU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/2527803576956851292/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=2527803576956851292" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/2527803576956851292?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/2527803576956851292?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/0HvnJHSQOoU/change-web-site-id-in-iis-to-solve-path.html" title="Change web site ID in IIS to solve path not found error" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2007/12/change-web-site-id-in-iis-to-solve-path.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYBRXc7fSp7ImA9WB9WF0Q.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-8465171100307732543</id><published>2007-11-22T21:16:00.000-08:00</published><updated>2007-11-22T21:52:34.905-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-22T21:52:34.905-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint" /><category scheme="http://www.blogger.com/atom/ns#" term="webpart" /><category scheme="http://www.blogger.com/atom/ns#" term="parameter" /><title>Passing url parameters to webpart in SharePoint</title><content type="html">Sometimes you may need to create a webpart page in SharePoint that it can use the parameters passed by url. But the "Page Viewer" webpart does not allow you to use the parameters in your webpart page url. I even tried to use SharePoint Designer 2007 to modify the page directly, but still does not work.&lt;br /&gt;&lt;br /&gt;So I think why not directly use a "Content Editor" webpart? Because a content editor webpart allows you to embed javascript code in it. We can use an "iframe" which url is generated by javascript with url parameters from the webpart page.&lt;br /&gt;&lt;br /&gt;Then I create a webpart page, insert in a content editor webpart, and then insert the following code in it:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;function getQueryStringRegExp(name)&lt;br /&gt;{&lt;br /&gt;var reg = new RegExp("(^|\\?|&amp;amp;)"+ name +"=([^&amp;amp;]*)(\\s|&amp;amp;|$)", "i");&lt;br /&gt;if (reg.test(location.href)) return unescape(RegExp.$2.replace(/\+/g, " "));&lt;br /&gt;return "";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;document.write("&amp;lt;iframe src='http://www.yourdomain.com/index.php?test="&lt;br /&gt;+ getQueryStringRegExp('test') + "' width=100% height=100%&amp;gt;&amp;lt;/iframe&amp;gt;");&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The function getQueryStringRegExp is for retrieve parameter value from url, which is get from here:&lt;br /&gt;&lt;a href="http://www.codebit.cn/pub/html/javascript/tip/javascript_get_url_parameter/"&gt;http://www.codebit.cn/pub/html/javascript/tip/javascript_get_url_parameter/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-8465171100307732543?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/Pzz-vZ4snFU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/8465171100307732543/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=8465171100307732543" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/8465171100307732543?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/8465171100307732543?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/Pzz-vZ4snFU/passing-url-parameters-to-webpart-in.html" title="Passing url parameters to webpart in SharePoint" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>7</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2007/11/passing-url-parameters-to-webpart-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYNR3w9cCp7ImA9WB9WFEs.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-6044852058921599025</id><published>2007-11-19T00:33:00.000-08:00</published><updated>2007-11-19T00:49:56.268-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-19T00:49:56.268-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="permission" /><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint" /><category scheme="http://www.blogger.com/atom/ns#" term="reporting services" /><category scheme="http://www.blogger.com/atom/ns#" term="add-in" /><title>Installing Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint Technologies Failure</title><content type="html">As you know, if you want to show reports created by Microsoft SQL Server 2005 Reporting Services in a SharePoint website, you need to first download and install an add-in from Microsoft official website. However, this installation probably will fail. The symptom is you can't see the report server section as you expected. To solve this problem, you can do the following things as I did:&lt;br /&gt;&lt;br /&gt;1. Check the Reporting Services installation log. This log is normally in the %temp% folder, but please notice, it's in an upper folder of %temp% because %temp% will direct you to a number named folder such as "1", its parent folder normally will be named as "temp", that's the folder I mentioned here.&lt;br /&gt;&lt;br /&gt;2. In the folder I mentioned in step 1, there normally will have several files named as  RS_SP_0.log or RS_SP_1.log, it depends on how many times you installed or uninstalled the add-in. Check the log file with the biggest number.&lt;br /&gt;&lt;br /&gt;3. The first line of the log file is something like: User: SYSTEM. This specified the user used for installing this add-in. And in 7 or 8 lines below it, you could probably see a line saying "******* User does not have permission to add feature to site collection: http://yourwebsite:80". If so, this article will be useful for you.&lt;br /&gt;&lt;br /&gt;4. Now you can open your SharePoint administrator UI, in "Application Management", choose "site collection administrators", change the web application to the one it mentioned above that has no permission, and add the user name in the first line of the log in. Then you can try to install again, check the log file again, there should have no permission error anymore, and you should be able to see the report section in your administrator UI.&lt;br /&gt;&lt;br /&gt;That's it, hope this is useful for you!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-6044852058921599025?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/lFcMVlPn9NA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/6044852058921599025/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=6044852058921599025" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/6044852058921599025?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/6044852058921599025?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/lFcMVlPn9NA/installing-microsoft-sql-server-2005.html" title="Installing Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint Technologies Failure" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>3</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2007/11/installing-microsoft-sql-server-2005.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIHR3c6cSp7ImA9WB9WEkU.&quot;"><id>tag:blogger.com,1999:blog-5328609972157124846.post-3851222619220752777</id><published>2007-11-17T00:29:00.000-08:00</published><updated>2007-11-17T00:35:36.919-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-17T00:35:36.919-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="blog technique" /><title>Cover Post</title><content type="html">This blog is created for sharing some technical knowledges that I got during daily work, and hope these knowledges may useful to other people in internet.&lt;br /&gt;&lt;br /&gt;I am an software engineer, and always an engineer for 10+ years, in next 10+ years, I hope I still could have some time to be an engieer. Solving problems already become part of my daily life, just hope not to take too much time.&lt;br /&gt;&lt;br /&gt;I am a Chinese people live in China, and if someone in China has good English, they may reach my blog and study some knowledge, but if they can't understand English, I am sorry, as I can write, you should can understand.&lt;br /&gt;&lt;br /&gt;This post will be the first one and the last one in this blog talking something outside of techniche. It's also for test purpose.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5328609972157124846-3851222619220752777?l=spsolution.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SoftwareProblemSolution/~4/j-kTPgrU7pM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://spsolution.blogspot.com/feeds/3851222619220752777/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5328609972157124846&amp;postID=3851222619220752777" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/3851222619220752777?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5328609972157124846/posts/default/3851222619220752777?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SoftwareProblemSolution/~3/j-kTPgrU7pM/cover-post.html" title="Cover Post" /><author><name>Buzz Zhang</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://photos1.blogger.com/blogger/5154/214/1600/234981xl.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://spsolution.blogspot.com/2007/11/cover-post.html</feedburner:origLink></entry></feed>

