<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Configuration and Deployment</title><link>http://forums.asp.net/26.aspx</link><description>Configuring and deploying ASP.NET applications - web.config, \bin, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: what changes I need to do when migrate a website from windows XP to windows server 2003?</title><link>http://forums.asp.net/thread/3305640.aspx</link><pubDate>Tue, 21 Jul 2009 09:28:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3305640</guid><dc:creator>suanleba</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3305640.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3305640</wfw:commentRss><description>&lt;p&gt;more infor for my errors, when run the website from &lt;a href="http://webservername/applicationname/login.aspx"&gt;http://webservername/applicationname/login.aspx&lt;/a&gt; the login page appears, but when try login, error appears as below:&lt;/p&gt;
&lt;h2&gt;&lt;i&gt;A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)&lt;/i&gt; &lt;/h2&gt;
&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: &lt;/b&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQLExpress database file auto-creation error: &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The connection string specifies a local Sql Server Express instance using a database location within the applications App_Data directory. The provider attempted to automatically create the application services database because the provider determined that the database does not exist. The following configuration requirements are necessary to successfully check for existence of the application services database and automatically create the application services database:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If the applications App_Data directory does not already exist, the web server account must have read and write access to the applications directory. This is necessary because the web server account will automatically create the App_Data directory if it does not already exist. &lt;/li&gt;
&lt;li&gt;If the applications App_Data directory already exists, the web server account only requires read and write access to the applications App_Data directory. This is necessary because the web server account will attempt to verify that the Sql Server Express database already exists within the applications App_Data directory. Revoking read access on the App_Data directory from the web server account will prevent the provider from correctly determining if the Sql Server Express database already exists. This will cause an error when the provider attempts to create a duplicate of an already existing database. Write access is required because the web server accounts credentials are used when creating the new database. &lt;/li&gt;
&lt;li&gt;Sql Server Express must be installed on the machine. &lt;/li&gt;
&lt;li&gt;The process identity for the web server account must have a local user profile. See the readme document for details on how to create a local user profile for both machine and domain accounts. &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Background :&lt;/p&gt;
&lt;p&gt;when I copy th full website files from XP pc to the web server, IT guys help me to add my databse files from APP_DATA to SQL server already, so no database files available in web server APP_DATA folder, but from the error we can see it&amp;#39;s still SQLExpress database related error. &lt;/p&gt;
&lt;p&gt;anybody knows what&amp;#39;s wrong with this? thanks&lt;br /&gt;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: what changes I need to do when migrate a website from windows XP to windows server 2003?</title><link>http://forums.asp.net/thread/3289658.aspx</link><pubDate>Mon, 13 Jul 2009 09:38:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3289658</guid><dc:creator>suanleba</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3289658.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3289658</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks. I map to the web server from my local XP PC, then copy all my web site files to the web server, IIS virtual directory is created in server, then in VWD, loading the website from mapped server,&amp;nbsp;change all connectionstrings by configure datasource of all controls which banding to database. click F5 to run, login page appears, in login page when login with username/password I created before in XP based PC, error shows:&lt;/p&gt;
&lt;p&gt;SQL error 5110,... the file Z:\...\ASPNETDB_TMP.MDF is on a network path is not supportee for database files. create DATABASE failed. &lt;/p&gt;
&lt;p&gt;when I open web administrator tool in VWD, then click security button on it, it shows same error message as above.&lt;/p&gt;
&lt;p&gt;when I run my website in IE, &lt;a href="http://servername/applicationname"&gt;http://servername/applicationname&lt;/a&gt;, it shows viewing details error are prevented remotely, I need add &amp;lt;customErrors mode=&amp;quot;off&amp;quot;/&amp;gt; in web.config, when I added, still the same error.&lt;/p&gt;
&lt;p&gt;do you know why, how can I troubleshoot&amp;nbsp;and solve the above problems??&lt;/p&gt;
&lt;p&gt;thanks&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: what changes I need to do when migrate a website from windows XP to windows server 2003?</title><link>http://forums.asp.net/thread/3274397.aspx</link><pubDate>Sat, 04 Jul 2009 07:28:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274397</guid><dc:creator>HostingASPNet</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274397.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3274397</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Take in mind that if you set security permissions in Windows XP the application is running by ASP.NET machine user, but in Windows server 2003 by the Network machine user.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;</description></item><item><title>Re: what changes I need to do when migrate a website from windows XP to windows server 2003?</title><link>http://forums.asp.net/thread/3273308.aspx</link><pubDate>Fri, 03 Jul 2009 10:33:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273308</guid><dc:creator>scngan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273308.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3273308</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;hi suanleba,&lt;br /&gt;&lt;br /&gt;well, for the IIS in W2k3 and XP are the same, setting up for sql server 2008 will be the same as well except the mssql server name. others than that, mostly are the same.&lt;br /&gt;&lt;br /&gt;for the 2nd question. you will need to make sure your exisitng connectionstring works with your deploy server. perhaps maybe the server name will change and is depends on your mssql server again.&lt;br /&gt;&lt;br /&gt;another thing that you might 1 to take notice will be the common System.Web.Extension.dll file.&lt;br /&gt;You will need to upload into your BIN folder of your project.&lt;br /&gt;&lt;a href="http://blog.scnetstudio.com/?tag=/system.web.extensions+error"&gt;http://blog.scnetstudio.com/?tag=/system.web.extensions+error&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope it help you&lt;/p&gt;</description></item><item><title>what changes I need to do when migrate a website from windows XP to windows server 2003?</title><link>http://forums.asp.net/thread/3273125.aspx</link><pubDate>Fri, 03 Jul 2009 09:07:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273125</guid><dc:creator>suanleba</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273125.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3273125</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;we have a website which is developed in VWD 2008(SQL server 2008 express used) in a windows XP based PC, now we are deploying the website by setting up a web server with windows server 2003 &amp;amp; SQL Server 2008 standard installed, I have a few questions:&lt;/p&gt;
&lt;p&gt;1)what&amp;#39;s the set up or configuration changes&amp;nbsp;in&amp;nbsp;windows server 2003,SQL server 2008 standard, IIS and anything else? &lt;/p&gt;
&lt;p&gt;2)we have data request and user login informations saved in a SQL&amp;nbsp;database, when migrate from XP to server 2003 and SQL server 2008, what&amp;#39;s the&amp;nbsp;setting changes in sourcecode? such as&amp;nbsp;connectionstrings changes in web.config? we&amp;nbsp;use Gridview control and banding to SQL database,connectionstrings for sqldatasource related needed to be changed in web.config as well,right?&lt;/p&gt;
&lt;p&gt;I found usually there were valuable links regarding to certain topics were given out&amp;nbsp;in some threads in this forum. I hope I can get tutorail or valuable&amp;nbsp;links for&amp;nbsp;my questions as well.&lt;/p&gt;
&lt;p&gt;Pls help!thanks.&lt;/p&gt;</description></item></channel></rss>