<?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>extracting dll file</title><link>http://forums.asp.net/thread/3526438.aspx</link><pubDate>Sun, 22 Nov 2009 16:27:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526438</guid><dc:creator>Rghanbar87</dc:creator><author>Rghanbar87</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3526438.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3526438</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently supporting a web application which has been built in .net using visual basic as the programming language. I only have access to the .aspx pages, I believe the .aspx.vb pages have been compiled into a dll which I have access to. Is it possible to extract the files of this dll, make a slight ammendment to the code on&amp;nbsp;one of the web pages and build into the dll again?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description></item><item><title>Should I keep xml files in the Bin folder?</title><link>http://forums.asp.net/thread/3526529.aspx</link><pubDate>Sun, 22 Nov 2009 18:54:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526529</guid><dc:creator>newbie2C#</dc:creator><author>newbie2C#</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3526529.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3526529</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m reading a tutorial on reading and writing to/from an xml file. &amp;nbsp;They say to put the file in the bin directory for this tutorial.&lt;/p&gt;&lt;p&gt;I&amp;#39;m wondering where I should keep some of the various xml files that will be used in some future projects. &amp;nbsp;Should they all go in the bin folder?&lt;/p&gt;&lt;p&gt; &amp;nbsp;Below is a list of the purpose of the various xml files I plan to use. &amp;nbsp;Can someone please recommend the appropriate locations for these with in my projects? &amp;nbsp;The purposes vary so I&amp;#39;m guessing the locations may also vary. &amp;nbsp;I want to start off on the good foot by using good habits with this. &amp;nbsp; Thanks in advance for any help with this.&lt;/p&gt;&lt;p style="padding-left:30px;"&gt;- xml data file&lt;/p&gt;&lt;p style="padding-left:30px;"&gt;-xml log file. &amp;nbsp;There may be more than one. &amp;nbsp;They will be used for logging certain operations, logins, errors and browser info....etc&lt;/p&gt;&lt;p&gt;Should the xml data file go in the app_data folder and the log file in the bin folder?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Website Deployement</title><link>http://forums.asp.net/thread/3526418.aspx</link><pubDate>Sun, 22 Nov 2009 15:53:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526418</guid><dc:creator>visitmohanraj</dc:creator><author>visitmohanraj</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3526418.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3526418</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi all i have a big doubt i have deployed a project i want to know how do i restrict the no of users who access my application.moreover url for accessing my project is http:ip/page name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; but how websites like yahoo.com are made and deployed how are the getting url (&lt;a href="http://www.yahoo.com"&gt;www.yahoo.com&lt;/a&gt;)&amp;nbsp;???? pls help me&amp;nbsp;&lt;/p&gt;</description></item><item><title>C# Profile</title><link>http://forums.asp.net/thread/3525960.aspx</link><pubDate>Sat, 21 Nov 2009 22:34:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525960</guid><dc:creator>Cody Maverick</dc:creator><author>Cody Maverick</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3525960.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3525960</wfw:commentRss><description>&lt;p&gt;Hi Everyone&lt;/p&gt;&lt;p&gt;How do you configure the profile? I know how to add the names to the properties but where does the names get stored or extracted from? does it get/input the data from the ASPNETDB.MBF that is created when you use create users using the asp.net configuration? or do I have to create my own database store user information like first name, last name, email and address.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Your help would be greatly appreciated.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Cannot view the .aspx page ! (Runtime Error)</title><link>http://forums.asp.net/thread/3526237.aspx</link><pubDate>Sun, 22 Nov 2009 11:48:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526237</guid><dc:creator>tugberk_ugurlu_</dc:creator><author>tugberk_ugurlu_</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3526237.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3526237</wfw:commentRss><description>&lt;p&gt;Ht there. I created a&amp;nbsp;.aspx page with ajax extension and I&amp;nbsp;upload the&amp;nbsp;AjaxControlToolkit.dll and the othere into the bin folder on root. But I am still failing the view this page on browser. I keep getting the below error;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; 
&lt;h1&gt;Server Error in &amp;#39;/&amp;#39; Application. 
&lt;hr /&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;Runtime Error&lt;/i&gt; &lt;/h2&gt;&lt;/span&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: &lt;/b&gt;An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Details:&lt;/b&gt; To enable the details of this specific error message to be viewable on remote machines, please create a &amp;lt;customErrors&amp;gt; tag within a &amp;quot;web.config&amp;quot; configuration file located in the root directory of the current web application. This &amp;lt;customErrors&amp;gt; tag should then have its &amp;quot;mode&amp;quot; attribute set to &amp;quot;Off&amp;quot;.&lt;br /&gt;&lt;br /&gt;
&lt;table bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;pre&gt;&amp;lt;!-- Web.Config Configuration File --&amp;gt;

&amp;lt;configuration&amp;gt;
    &amp;lt;system.web&amp;gt;
        &amp;lt;customErrors mode=&amp;quot;Off&amp;quot;/&amp;gt;
    &amp;lt;/system.web&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;Notes:&lt;/b&gt; The current error page you are seeing can be replaced by a custom error page by modifying the &amp;quot;defaultRedirect&amp;quot; attribute of the application&amp;#39;s &amp;lt;customErrors&amp;gt; configuration tag to point to a custom error page URL.&lt;br /&gt;&lt;br /&gt;
&lt;table bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;pre&gt;&amp;lt;!-- Web.Config Configuration File --&amp;gt;

&amp;lt;configuration&amp;gt;
    &amp;lt;system.web&amp;gt;
        &amp;lt;customErrors mode=&amp;quot;RemoteOnly&amp;quot; defaultRedirect=&amp;quot;mycustompage.htm&amp;quot;/&amp;gt;
    &amp;lt;/system.web&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;What do I need to do about it? This problem is related to the hosting firm?&amp;nbsp;Or do I need to change smt on my Web.Config File&amp;nbsp;Await your replies ! Thanks !&lt;/p&gt;</description></item><item><title>copy changes after publishing website</title><link>http://forums.asp.net/thread/2792357.aspx</link><pubDate>Mon, 08 Dec 2008 09:33:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2792357</guid><dc:creator>Andi@magnas</dc:creator><author>Andi@magnas</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/2792357.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=2792357</wfw:commentRss><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I have just published my first website using &amp;quot;publish web site&amp;quot; option.&amp;nbsp; This took a long time to publish.&lt;/p&gt;
&lt;p&gt;I have now made a small change to the web.config.&lt;/p&gt;
&lt;p&gt;Is there a way to only copy over the web.config ?&lt;/p&gt;
&lt;p&gt;THanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>System.Collections.dll Libarary</title><link>http://forums.asp.net/thread/3522376.aspx</link><pubDate>Thu, 19 Nov 2009 17:08:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3522376</guid><dc:creator>Constansere</dc:creator><author>Constansere</author><slash:comments>6</slash:comments><comments>http://forums.asp.net/thread/3522376.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3522376</wfw:commentRss><description>&lt;p&gt;I have developed a set of custom object classes which utilize&amp;nbsp;interfaces within the&amp;nbsp;System.Collections&amp;nbsp;namespace. When deploying them in a win app environment I have no problems. When implementing them in asp.net environment the utilizing webpage&amp;#39;s response gets hung-up (like a timeout).&amp;nbsp;It doesn&amp;#39;t throw an exception or do anything period.&amp;nbsp;Is this because the normal ISS environment does not deploy this assembly, and therefore i need to add it to my bin or is their another known reason.&amp;nbsp;I&amp;#39;ve tried two different asp.net hosts, with the same result. thanks.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Help with ConnectionStrings &amp; Web.config</title><link>http://forums.asp.net/thread/3520065.aspx</link><pubDate>Wed, 18 Nov 2009 16:19:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3520065</guid><dc:creator>Croga</dc:creator><author>Croga</author><slash:comments>9</slash:comments><comments>http://forums.asp.net/thread/3520065.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3520065</wfw:commentRss><description>&lt;p&gt;Hi, im having trouble connecting to my database BookstoreDatabase.mdb &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This is what i put into the Web.config &lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="vb.net"&gt;  &amp;lt;connectionStrings&amp;gt;
    &amp;lt;add name =&amp;quot;BookstoreDatabase&amp;quot; connectionString=&amp;quot;ProviderName=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\jonny\Desktop\ASP.NET\Project\BookstoreDatabase.mdb&amp;quot;
   providerName=&amp;quot;System.Data.OleDb&amp;quot;/&amp;gt;
  &amp;lt;/connectionStrings&amp;gt;&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; and this is what i put into Books.aspx.vb to display the list of books from the Database&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="vb.net"&gt;Imports System.Data.SqlClient
Imports System.Configuration

Partial Class Books
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim conn As SqlConnection
        Dim comm As SqlCommand
        Dim reader As SqlDataReader
        Dim connectionString As String = ConfigurationManager.ConnectionStrings(&amp;quot;BookstoreDatabase&amp;quot;).ConnectionString

        conn = New SqlConnection(connectionString)
        comm = New SqlCommand(&amp;quot;SELECT BOOKID,BOOKNAME,BOOKDESC FROM BOOKTABLE&amp;quot;, conn)

        Try
            conn.Open()
            reader = comm.ExecuteReader
            bookRepeater.DataSource = reader
            bookRepeater.DataBind()
            reader.Close()
        Finally
            conn.Close()
        End Try
    End Sub
End Class
&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt; I get the error&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="c-sharp"&gt;keyword not supported: provider&lt;/pre&gt;&lt;br /&gt; how can i remedy this problem? thanks :)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error in New Server</title><link>http://forums.asp.net/thread/3520343.aspx</link><pubDate>Wed, 18 Nov 2009 19:01:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3520343</guid><dc:creator>barby850717</dc:creator><author>barby850717</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3520343.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3520343</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have an AJAX Enable ASP.NET Application which works perfectly fine from my computer&amp;#39;s IIS and in a Web Server I had set up for it. However, in a new recently configured web server to which I deployed the same web application, I am having certain issues mainly related to AJAX, Validation Controls, and Regular Expressions. I have installed in both servers the same version of AJAX and the .NET Framework, and I have not clue of what the problem could be with this new server&amp;#39;s configuration. Can anyone please help me with this?&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>&lt;customErrors&gt; tag should then have its "mode" attribute set to "Off".</title><link>http://forums.asp.net/thread/3525213.aspx</link><pubDate>Sat, 21 Nov 2009 06:46:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525213</guid><dc:creator>hemens</dc:creator><author>hemens</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3525213.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3525213</wfw:commentRss><description>&lt;p&gt;i building wbsite using asp.net&amp;nbsp;with c# as codebehind language. i&amp;nbsp;have some files in vb which&amp;nbsp;i am using as reference.&lt;/p&gt;
&lt;p&gt;when i am running&amp;nbsp; my website in localhost&amp;nbsp;its running perfect,but&amp;nbsp;in&amp;nbsp;online server it is giving me&amp;nbsp;the below&amp;nbsp;error &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; 
&lt;h1&gt;Server Error in &amp;#39;/&amp;#39; Application. 
&lt;hr /&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;Runtime Error&lt;/i&gt; &lt;/h2&gt;&lt;/span&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: &lt;/b&gt;An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Details:&lt;/b&gt; To enable the details of this specific error message to be viewable on remote machines, please create a &amp;lt;customErrors&amp;gt; tag within a &amp;quot;web.config&amp;quot; configuration file located in the root directory of the current web application. This &amp;lt;customErrors&amp;gt; tag should then have its &amp;quot;mode&amp;quot; attribute set to &amp;quot;Off&amp;quot;.&lt;br /&gt;&lt;br /&gt;
&lt;table bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;pre&gt;&amp;lt;!-- Web.Config Configuration File --&amp;gt;

&amp;lt;configuration&amp;gt;
    &amp;lt;system.web&amp;gt;
        &amp;lt;customErrors mode=&amp;quot;Off&amp;quot;/&amp;gt;
    &amp;lt;/system.web&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;Notes:&lt;/b&gt; The current error page you are seeing can be replaced by a custom error page by modifying the &amp;quot;defaultRedirect&amp;quot; attribute of the application&amp;#39;s &amp;lt;customErrors&amp;gt; configuration tag to point to a custom error page URL.&lt;br /&gt;&lt;br /&gt;
&lt;table bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;pre&gt;&amp;lt;!-- Web.Config Configuration File --&amp;gt;

&amp;lt;configuration&amp;gt;
    &amp;lt;system.web&amp;gt;
        &amp;lt;customErrors mode=&amp;quot;RemoteOnly&amp;quot; defaultRedirect=&amp;quot;mycustompage.htm&amp;quot;/&amp;gt;
    &amp;lt;/system.web&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;even if a set customerrors mode to off still iam getting the error.&amp;nbsp;i think using &amp;nbsp;both .vb and .cs &amp;nbsp;files will make difference&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;can anyone knows solution for this issue&lt;/p&gt;</description></item><item><title>What are some practical examples to use with the Application Settings in the config file?</title><link>http://forums.asp.net/thread/3525694.aspx</link><pubDate>Sat, 21 Nov 2009 16:54:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525694</guid><dc:creator>newbie2C#</dc:creator><author>newbie2C#</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3525694.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3525694</wfw:commentRss><description>&lt;p&gt;I am watching a video on configuring, building and deploying asp.net apps. &amp;nbsp; They use the application settings to store a key value pairs and then assign it to the text property of a label. &amp;nbsp;This is functionality is really cool but I am trying to figure out some practical examples where this is a good technique to use. &amp;nbsp; I especially like the ability to change this value with out having to rebuild the app. &amp;nbsp; One possible application for this that i have been able to think of is a commission, penalty or interest percentage that may change relative frequently. &amp;nbsp;&lt;/p&gt;&lt;p&gt;What are some other common uses for this feature?&lt;/p&gt;</description></item><item><title>Events of Global.asax not fired on webserver "Application_Error"</title><link>http://forums.asp.net/thread/3525311.aspx</link><pubDate>Sat, 21 Nov 2009 09:05:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525311</guid><dc:creator>suyash123</dc:creator><author>suyash123</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3525311.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3525311</wfw:commentRss><description>&lt;p&gt;Hello guys,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;i was performing url rewriting on my asp.net application.&lt;/p&gt;&lt;p&gt;i google and found a technique that in Application_Error event handeler of global.asax we can find the wrong Url and redirect to a correct page by server.transfer and sending some query string with it.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I done the same&amp;nbsp; thing. i used Application_Error event of Global.asax and checked if error occurs then redirect it to a known .aspx file with querystring as some part of url&lt;/p&gt;&lt;p&gt;But i m facing a problem in it.&lt;/p&gt;&lt;p&gt;This code totally works&amp;nbsp; on local server on my PC. but when i put it on my webserver. it just absultely failed.&lt;/p&gt;&lt;p&gt;I fouund that the events of global.asax are not even getting fired.&lt;/p&gt;&lt;p&gt;So what should i do .&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Check my code in Application_Error&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;void Application_Error(object sender, EventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Code that runs when an unhandled error occurs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string str = Request.Url.AbsoluteUri.ToString();&amp;nbsp;&amp;nbsp; // to check who had made a request Png/css/aspx/htm....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string mypath = Request.ServerVariables[&amp;quot;PATH_INFO&amp;quot;]; // to get the request path&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (mypath.Contains(&amp;quot;.aspx&amp;quot;) || mypath.Contains(&amp;quot;.css&amp;quot;) || mypath.Contains(&amp;quot;.png&amp;quot;))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //If requested url contains .aspx in it then no need of url rewriting&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string strUrlNavigate;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string strQueryString;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char[] CharKey = { &amp;#39;/&amp;#39; };&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Character used by split methord to split the string&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string[] strKeyWords;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Array holding the spliteed Url&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strKeyWords = mypath.Split(CharKey);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Split the url with seperator as &amp;quot;/&amp;quot;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strUrlNavigate = strKeyWords[strKeyWords.Length - 3].ToString().Trim();&amp;nbsp; //it holds to what page we have to redirect i.e. Market-reports(Report.aspx),market-research(category.aspx)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strQueryString = strKeyWords[strKeyWords.Length - 2].ToString().Trim();&amp;nbsp;&amp;nbsp; //it holds the value of Query string&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strUrlNavigate = strUrlNavigate.Replace(&amp;quot;.aspx&amp;quot;, &amp;quot;&amp;quot;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Remove the.aspx if present&amp;nbsp; .. no use&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (strUrlNavigate == &amp;quot;market-research&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //navigate to Category page &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string strPath = Request.ApplicationPath.ToString().Trim();&amp;nbsp; // to Get the application path (Local: /httpdocs , website: http://www.biotechmar.com)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string destinationHost = Request.ServerVariables[&amp;quot;HTTP_HOST&amp;quot;]; // to check it is Loacl host request or server request&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Request.ApplicationPath.ToString() + &amp;quot;/Category.aspx?q=&amp;quot; + strQueryString;&amp;nbsp; // redirect path mapping&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Status = &amp;quot;200 OK&amp;quot;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Page request is Successfully redirect and page is found&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server.Transfer(&amp;quot;Default.aspx?q=&amp;quot; + destinationUrl);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // With this the Url in browser is same only the Page is redirected&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Server.Transfer(destinationUrl);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // With this the Url in browser is same only the Page is redirected&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (strUrlNavigate == &amp;quot;market-reports&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string strPath = Request.ApplicationPath.ToString().Trim(); // to Get the application path (Local: /httpdocs , website: http://www.biotech.com)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string destinationHost = Request.ServerVariables[&amp;quot;HTTP_HOST&amp;quot;];&amp;nbsp; // to check it is Loacl host request or server request&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string destinationUrl = Request.ApplicationPath.ToString() + &amp;quot;/Report.aspx?q=&amp;quot; + strQueryString; // redirect path mapping&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Status = &amp;quot;200 OK&amp;quot;; // Page request is Successfully redirect and page is found&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server.Transfer(destinationUrl); // With this the Url in browser is same only the Page is redirected&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Response.Redirect();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Context.RewritePath(destinationUrl);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp; Context.Server.Transfer(destinationUrl);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="border:1px solid blue;z-index:90;position:absolute;left:137px;top:1225px;" id="smallDivTip" alt="" /&gt;&lt;/p&gt;</description></item><item><title>problem with new section in Web.config and master page</title><link>http://forums.asp.net/thread/3525494.aspx</link><pubDate>Sat, 21 Nov 2009 11:58:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525494</guid><dc:creator>lszk</dc:creator><author>lszk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3525494.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3525494</wfw:commentRss><description>&lt;p&gt;Hi.&lt;/p&gt;&lt;p&gt;I&amp;#39;m writing a project which is composed of two separated subprojects, one for presentation and in second there is domain model + DAL (data access layer). In the first (presentation) subproject, in Web.config I have added a new section with my settings. The classes derived from ConfigurationSection and ConfigurationElement I have in the second subproject. The problem is that, my master page can&amp;#39;t recognize the new section in the config. I think, the solution is to &amp;#39;show&amp;#39; him the namespace where my derived classes are. Am I right? How can I achieve that? Or maybe there is another way to do it?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>The type or namespace name could not found (are you missing a using directive or an assembly reference?)</title><link>http://forums.asp.net/thread/3485151.aspx</link><pubDate>Fri, 30 Oct 2009 08:40:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3485151</guid><dc:creator>uday sikarwar</dc:creator><author>uday sikarwar</author><slash:comments>12</slash:comments><comments>http://forums.asp.net/thread/3485151.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3485151</wfw:commentRss><description>&lt;p&gt;hi all&lt;/p&gt;
&lt;p&gt;please somebody help me.&lt;/p&gt;
&lt;p&gt;i have been created a web application in asp.net 2.0. it works fine on local machine but&lt;/p&gt;
&lt;p&gt;when i uploaded it on web server it supports asp.net 3.5 it give me this error:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;The type or namespace name &amp;#39;DatabaseUtility&amp;#39; could not found (are you missing a using directive or an assembly reference?)&lt;/b&gt;&lt;/p&gt;&lt;pre style="FONT-FAMILY:&amp;#39;Lucida Console&amp;#39;;FONT-SIZE:0.9em;"&gt;         public partial class Loginform : System.Web.UI.Page 
Line 13: {
&lt;span style="FONT-FAMILY:;COLOR:red;"&gt;Line 14:     DatabaseUtility dut = new DatabaseUtility();
&lt;/span&gt;Line 15:     ClassMain cm = new ClassMain();
Line 16:     SqlDataReader rd;&lt;/pre&gt;&lt;pre style="FONT-FAMILY:&amp;#39;Lucida Console&amp;#39;;FONT-SIZE:0.9em;"&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="FONT-FAMILY:&amp;#39;Lucida Console&amp;#39;;FONT-SIZE:0.9em;"&gt;DatabaseUtility is a class store in app_code folder.&lt;/pre&gt;&lt;pre style="FONT-FAMILY:&amp;#39;Lucida Console&amp;#39;;FONT-SIZE:0.9em;"&gt;i think this is a permission issue application can not access app_code folder but not sure please help me.&lt;/pre&gt;&lt;pre style="FONT-FAMILY:&amp;#39;Lucida Console&amp;#39;;FONT-SIZE:0.9em;"&gt;thanks in advance&lt;/pre&gt;</description></item><item><title>Questions about deploying and the config file.</title><link>http://forums.asp.net/thread/3525026.aspx</link><pubDate>Sat, 21 Nov 2009 01:37:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525026</guid><dc:creator>newbie2C#</dc:creator><author>newbie2C#</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3525026.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3525026</wfw:commentRss><description>&lt;p&gt;I am going to be deploying my first app soon. &amp;nbsp;I know of a few things in the config file that need to be changed before the site is deployed or published. &amp;nbsp;This includes things like the custom errors and the compilation section. Does anyone know of a checklist or article that discusses the things that typically need to be changed in the config file? &amp;nbsp;&lt;/p&gt;&lt;p&gt;Can I easily change the config file with out rebuilding the solution or creating a new assembly once the site is published to my host. &amp;nbsp;I&amp;#39;m hoping I can in case I make a mistake. &amp;nbsp; Any advice that someone may be able to offer on this would be greatly appreciated&lt;/p&gt;</description></item><item><title>Deployment without service interruption</title><link>http://forums.asp.net/thread/3521331.aspx</link><pubDate>Thu, 19 Nov 2009 08:24:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3521331</guid><dc:creator>djflex68</dc:creator><author>djflex68</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3521331.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3521331</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I&amp;#39;m currently working on an ASP.NET commerce application, that naturally implies big concerns about continuity service during the deployment process.&lt;br /&gt;We are working with a Microsoft NLB Web Farm made of 2 servers, which is sufficient regarding the number of clients we have today.&lt;br /&gt;My question concerns the impact of this material architecture on the software architecture. My predecessor didn&amp;#39;t separate ASP.NET code-behind and HTML code (he put everything in the same page), but he told me, he did that so because it was the only way to avoid client disconnection during the deployement process : when he copies the aspx file (code + HTML), ASP.NET automatically recompiles the application and that remains transparent for the client.&lt;br /&gt;My question is : Is that true ? Is that really no way to perform a deployment without disconnecting clients with a full continuity of service ? &lt;br /&gt;If I shutdown IIS on one server while deploying, there is a failover mechanism which ensures the site remains available, but active client requests may be aborted, which is unacceptable.&lt;br /&gt;What do you think about that ?&lt;/p&gt;
&lt;p&gt;Thanks in advance !&lt;/p&gt;</description></item><item><title>Best Practices when working on a live ASP.NET site???</title><link>http://forums.asp.net/thread/3522728.aspx</link><pubDate>Thu, 19 Nov 2009 21:00:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3522728</guid><dc:creator>kcabrams</dc:creator><author>kcabrams</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3522728.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3522728</wfw:commentRss><description>&lt;p&gt;I had a question about best practices when working on a live ASP.NET site specifically when you are changing class files in the App_Code folder. We all know that when you make changes to those .vb files your application resets and users sessions get reset. Is there any way around this other than a big Under Construction / Temporary down time page. Right now (call me crazy) but i just work on our live website directly and yes I know that is foolish but that is the only setup they had for me here. We are redoing the entire site and with the new stuff I will certainly be setting up a SVN and my own sandbox but that still doesnt answer my question of how to properly modify the live pages.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;p&gt;KC&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Auth Ticket Timeout &amp; Session Timeout</title><link>http://forums.asp.net/thread/3524350.aspx</link><pubDate>Fri, 20 Nov 2009 16:31:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3524350</guid><dc:creator>DaNuGai</dc:creator><author>DaNuGai</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3524350.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3524350</wfw:commentRss><description>&lt;p&gt;Suppose I have an authentication ticket with &lt;b&gt;timeout=&amp;quot;30&amp;quot;&lt;/b&gt; &amp;amp; &lt;b&gt;slidingExpiration=&amp;quot;true&amp;quot;&lt;/b&gt; and I also have &lt;b&gt;&amp;lt;sessionState timeout=&amp;quot;30&amp;quot; /&amp;gt;&lt;/b&gt; under web.config.&lt;br /&gt;&lt;br /&gt;Now, correct me if I am wrong but both of them should expire at the same time if a user becomes idle after logging in, correct? So what happens when a user is logged and he/she is not idle? How / When does timeout for both are reset? Lastly, if a user is on a page (i.e. questions.aspx) with bunch of controls that do not postback, is that considered as user bing idle as far as slidingExpiration is concerned?&lt;br /&gt;&lt;br /&gt;Thanks in advance.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Getting Error when opening web form in browser</title><link>http://forums.asp.net/thread/3498630.aspx</link><pubDate>Fri, 06 Nov 2009 18:23:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3498630</guid><dc:creator>jcook331</dc:creator><author>jcook331</author><slash:comments>14</slash:comments><comments>http://forums.asp.net/thread/3498630.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3498630</wfw:commentRss><description>&lt;p&gt;I have IIS set up and I&amp;#39;m trying to make my ASP pages available to the users over the network, but I&amp;#39;m getting an error. &amp;nbsp;The login page opens correctly, but when I click the login button and it tries to access the SQL Server I get the error:&lt;/p&gt;&lt;p&gt;An attempt to attach an auto-named database for file C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\Database.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.&lt;/p&gt;&lt;p&gt;I&amp;#39;m not sure what I&amp;#39;m doing wrong. &amp;nbsp;I&amp;#39;m using MS SQL Server 2008 Express. &amp;nbsp;Does anyone know what my problem may be? &amp;nbsp;Thanks.&lt;/p&gt;</description></item><item><title>customErrors mode="RemoteOnly"</title><link>http://forums.asp.net/thread/3521789.aspx</link><pubDate>Thu, 19 Nov 2009 11:56:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3521789</guid><dc:creator>jagdisha</dc:creator><author>jagdisha</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3521789.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3521789</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;&lt;p&gt;since past few weeks I am not able to view the error when the page crashes.&lt;/p&gt;&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Details:&lt;/b&gt;
To enable the details of this specific error message to be viewable on
the local server machine, please create a &amp;lt;customErrors&amp;gt; tag
within a &amp;quot;web.config&amp;quot; configuration file located in the root directory
of the current web application. This &amp;lt;customErrors&amp;gt; tag should
then have its &amp;quot;mode&amp;quot; attribute set to &amp;quot;RemoteOnly&amp;quot;. To enable the
details to be viewable on remote machines, please set &amp;quot;mode&amp;quot; to &amp;quot;Off&amp;quot;.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;I am getting this error for all values of &lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;customErrors &lt;/font&gt;&lt;/p&gt;&lt;p&gt;can you help me out please&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>w3wp problem (deploying web application to production server)</title><link>http://forums.asp.net/thread/3524079.aspx</link><pubDate>Fri, 20 Nov 2009 14:27:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3524079</guid><dc:creator>lordasm</dc:creator><author>lordasm</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3524079.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3524079</wfw:commentRss><description>&lt;p&gt;Hello ppl,&lt;/p&gt;&lt;p&gt;I am having a annoying problem here which, although I can live with it, it would be better if there was a solution for it.&lt;/p&gt;&lt;p&gt;What happens is, I am trying to deploy my web application to my production server, and it is manually copied from another environment we have, when we close the testing phase.&lt;/p&gt;&lt;p&gt;Now, if I try to copy those files to the server, I get an error saying that Windows cannot copy some DLLs as it is being used by another process (which is, in fact, w3wp.exe, which is IIS app pool). I cannot delete the files as well. If I stop IIS, I can deploy the web application perfectly, and then restart IIS, but this is very annoying as it only allows me to publish things to the server at night, in a deployment window, as I cannot stop IIS with users using my software. &lt;/p&gt;&lt;p&gt;Anyway, some times I have to publish emergencial fixes that cannot wait for the deployment window, but today I&amp;#39;m unable to do so without throwing all my users out with stopping IIS.&lt;/p&gt;&lt;p&gt;I want to know if there&amp;#39;s a way to update the files (DLLs and ASPX) without having to stop IIS. I even tried to kill the w3wp.exe process, as it would release the DLL but the next user update would recompile the app and recreate the pool, but would give me enough time to place my files in there, but the w3wp simply doesn&amp;#39;t get killed if I try to stop the process.&lt;/p&gt;&lt;p&gt;Any ideas on how I can achieve this??w&lt;/p&gt;&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;p&gt;-Roger-&lt;br /&gt;&lt;/p&gt;</description></item><item><title>asp.net 2.0 and c# 3.5 </title><link>http://forums.asp.net/thread/3524004.aspx</link><pubDate>Fri, 20 Nov 2009 13:40:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3524004</guid><dc:creator>TheLeapfrogGroup</dc:creator><author>TheLeapfrogGroup</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3524004.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3524004</wfw:commentRss><description>&lt;p&gt;Sorry if this has been asked before , but if I have an asp.net 2.0 application can it use class librarys built in c#3.5 ? providing the dll do not expose any funtion higher than c#2.0 and the machine has .net framework 3.5 installed? &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>iis error deploying website from visual developer 2008 express to iis v5.1</title><link>http://forums.asp.net/thread/3522478.aspx</link><pubDate>Thu, 19 Nov 2009 18:16:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3522478</guid><dc:creator>millionaire</dc:creator><author>millionaire</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3522478.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3522478</wfw:commentRss><description>&lt;p&gt;The XML page cannot be displayed &lt;/p&gt;
&lt;p&gt;Cannot view XML input using XSL style sheet. Please correct the error and then click the &lt;a target="_self"&gt;Refresh&lt;/a&gt; button, or try again later. &lt;/p&gt;
&lt;hr /&gt;

&lt;p&gt;A name was started with an invalid character. Error processing resource &amp;#39;http://localhost/mywebsite/default.aspx&amp;#39;. Line 1,...&lt;/p&gt;&lt;pre style="FONT-WEIGHT:normal;FONT-SIZE:10pt;LINE-HEIGHT:12pt;FONT-STYLE:normal;FONT-VARIANT:normal;"&gt;&lt;font color="#0000ff"&gt;&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot;  CodeFile=&amp;quot;Default.aspx.cs&amp;quot; Inherits=&amp;quot;_Default&amp;quot; %&amp;gt;
-^&lt;/font&gt;&lt;/pre&gt;</description></item><item><title>Works on Local Computer... Not on Hosting Server</title><link>http://forums.asp.net/thread/3519086.aspx</link><pubDate>Wed, 18 Nov 2009 07:10:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3519086</guid><dc:creator>acaunter</dc:creator><author>acaunter</author><slash:comments>11</slash:comments><comments>http://forums.asp.net/thread/3519086.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3519086</wfw:commentRss><description>&lt;p&gt;ASP.Net 2003 / Win XP / Access&lt;/p&gt;
&lt;p&gt;I have&amp;nbsp;a web page (page1.aspx), with 2 buttons on it.&amp;nbsp; Both buttons open the same target page (page2.aspx), but depending on&amp;nbsp;which button is pressed, it&amp;nbsp;will populate the new&amp;nbsp;page&amp;#39;s datagrid with different data.&lt;/p&gt;
&lt;p&gt;On&amp;nbsp;my local computer, it works perfect.&amp;nbsp; I save&amp;nbsp;a Session variable when the button is pressed, and that&amp;#39;s how&amp;nbsp;I know which data to load on the new page.&amp;nbsp;&amp;nbsp;When I upload everything on the Hosting server (seekdotnet), it&amp;#39;s not reconizing the session variable.&amp;nbsp; I&amp;#39;ve tried changing it to use cookies,&amp;nbsp;using&amp;nbsp;the &amp;quot;page2.aspx?value=xxx&amp;quot;, and even storing info into&amp;nbsp;the database....&amp;nbsp; But for the life of me,&amp;nbsp;it is not working at all.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;The weird part is that other session variables and cookies are working fine between the different pages... it&amp;#39;s just this page that is causing problems. &lt;/p&gt;
&lt;p&gt;Any ideas why this one page would be causing problems???&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Deployment of asp.net project</title><link>http://forums.asp.net/thread/2503168.aspx</link><pubDate>Mon, 21 Jul 2008 13:40:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2503168</guid><dc:creator>ms-alk-dev</dc:creator><author>ms-alk-dev</author><slash:comments>6</slash:comments><comments>http://forums.asp.net/thread/2503168.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=2503168</wfw:commentRss><description>&lt;p&gt;What are the different methods of deploymnet for asp.net project ? &lt;/p&gt;
&lt;p&gt;After deploying the asp.net project if we modify a single aspx page ,do we need to deploy the complete project or can we just put the modified aspx&amp;nbsp;page in the&amp;nbsp; project.I do not want to&amp;nbsp;deploy the complete&amp;nbsp; website again for simple modifications.How can we achieve this ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>