Click here to Skip to main content
15,886,806 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Horizontal scroll bars in the panel Pin
Abhishek Sur3-Nov-09 22:53
professionalAbhishek Sur3-Nov-09 22:53 
Questionhow to get a controls value in another page. Pin
santu3213-Nov-09 21:44
santu3213-Nov-09 21:44 
AnswerRe: how to get a controls value in another page. Pin
padmanabhan N3-Nov-09 21:47
padmanabhan N3-Nov-09 21:47 
AnswerRe: how to get a controls value in another page. Pin
kPriyanka123-Nov-09 22:16
kPriyanka123-Nov-09 22:16 
QuestionDeployment of asp application on IIS Pin
<<Tash18>>3-Nov-09 21:06
<<Tash18>>3-Nov-09 21:06 
AnswerRe: Deployment of asp application on IIS Pin
padmanabhan N3-Nov-09 21:52
padmanabhan N3-Nov-09 21:52 
AnswerRe: Deployment of asp application on IIS Pin
Vimalsoft(Pty) Ltd3-Nov-09 22:49
professionalVimalsoft(Pty) Ltd3-Nov-09 22:49 
GeneralRe: Deployment of asp application on IIS Pin
<<Tash18>>3-Nov-09 23:20
<<Tash18>>3-Nov-09 23:20 
Hey by the way i relly missed out 2 mention... actually before i deployed my application my web.config file was:
<?xml version="1.0"?>
<!-- 
    Note: As an alternative to hand editing this file you can use the 
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in 
    machine.config.comments usually located in 
    \Windows\Microsoft.Net\Framework\v2.x\Config 
-->
<configuration>
	<appSettings/>
	<connectionStrings>
  <add name="ConnectionString" connectionString="Data Source=MOHDASHRAF-PC;Persist Security Info=True;User ID=sa;Password=123"
   providerName="System.Data.SqlClient" />
 </connectionStrings>
	<system.web>
		<!-- 
            Set compilation debug="true" to insert debugging 
            symbols into the compiled page. Because this 
            affects performance, set this value to true only 
            during development.
        
    <validation validateIntegratedModeConfiguration="false" />
    <modules>
      <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </modules>
    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </handlers> -->
   

    <compilation debug="true"/>
		<!--
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        -->
		<authentication mode="Windows"/>
		<!--
            The <customErrors> section enables configuration 
            of what to do if/when an unhandled error occurs 
            during the execution of a request. Specifically, 
            it enables developers to configure html error pages 
            to be displayed in place of a error stack trace.

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
	</system.web>
</configuration>


on googling out i found out that my web.config file needs handlers and modules so at the time of deploying i changed it to

<?xml version="1.0"?>
<!-- 
    Note: As an alternative to hand editing this file you can use the 
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in 
    machine.config.comments usually located in 
    \Windows\Microsoft.Net\Framework\v2.x\Config 
-->
<configuration>
	<appSettings/>
	<connectionStrings>
  <add name="ConnectionString" connectionString="Data Source=MOHDASHRAF-PC;Persist Security Info=True;User ID=sa;Password=123"
   providerName="System.Data.SqlClient" />
 </connectionStrings>
	<system.webServer>
		<!-- 
            Set compilation debug="true" to insert debugging 
            symbols into the compiled page. Because this 
            affects performance, set this value to true only 
            during development.
        -->
    <validation validateIntegratedModeConfiguration="false" />
    <modules>
      <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </modules>
    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </handlers>

    <compilation debug="true"/>
		<!--
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        -->
    <authentication mode="Windows"/>
		<!--
            The <customErrors> section enables configuration 
            of what to do if/when an unhandled error occurs 
            during the execution of a request. Specifically, 
            it enables developers to configure html error pages 
            to be displayed in place of a error stack trace.

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
	</system.webServer>
</configuration>


Now as u said wen i try 2 debug with the new web.config file it works fine... but on the error list i get 32messages... But my applications works absolutely fine... Deployment is the only problem as i mentioned at the beginning...
GeneralRe: Deployment of asp application on IIS Pin
Vimalsoft(Pty) Ltd3-Nov-09 23:27
professionalVimalsoft(Pty) Ltd3-Nov-09 23:27 
GeneralRe: Deployment of asp application on IIS Pin
<<Tash18>>3-Nov-09 23:38
<<Tash18>>3-Nov-09 23:38 
GeneralRe: Deployment of asp application on IIS Pin
Vimalsoft(Pty) Ltd4-Nov-09 0:06
professionalVimalsoft(Pty) Ltd4-Nov-09 0:06 
GeneralRe: Deployment of asp application on IIS Pin
<<Tash18>>4-Nov-09 0:36
<<Tash18>>4-Nov-09 0:36 
GeneralRe: Deployment of asp application on IIS Pin
Vimalsoft(Pty) Ltd4-Nov-09 0:48
professionalVimalsoft(Pty) Ltd4-Nov-09 0:48 
GeneralRe: Deployment of asp application on IIS Pin
<<Tash18>>4-Nov-09 1:05
<<Tash18>>4-Nov-09 1:05 
GeneralRe: Deployment of asp application on IIS Pin
Vimalsoft(Pty) Ltd4-Nov-09 1:22
professionalVimalsoft(Pty) Ltd4-Nov-09 1:22 
GeneralRe: Deployment of asp application on IIS Pin
<<Tash18>>4-Nov-09 1:25
<<Tash18>>4-Nov-09 1:25 
GeneralRe: Deployment of asp application on IIS Pin
Vimalsoft(Pty) Ltd4-Nov-09 1:28
professionalVimalsoft(Pty) Ltd4-Nov-09 1:28 
GeneralRe: Deployment of asp application on IIS Pin
<<Tash18>>4-Nov-09 2:00
<<Tash18>>4-Nov-09 2:00 
GeneralRe: Deployment of asp application on IIS Pin
Vimalsoft(Pty) Ltd4-Nov-09 2:06
professionalVimalsoft(Pty) Ltd4-Nov-09 2:06 
GeneralRe: Deployment of asp application on IIS Pin
<<Tash18>>4-Nov-09 2:21
<<Tash18>>4-Nov-09 2:21 
GeneralRe: Deployment of asp application on IIS Pin
Vimalsoft(Pty) Ltd4-Nov-09 2:28
professionalVimalsoft(Pty) Ltd4-Nov-09 2:28 
GeneralRe: Deployment of asp application on IIS Pin
<<Tash18>>4-Nov-09 2:35
<<Tash18>>4-Nov-09 2:35 
GeneralRe: Deployment of asp application on IIS Pin
Vimalsoft(Pty) Ltd4-Nov-09 2:36
professionalVimalsoft(Pty) Ltd4-Nov-09 2:36 
Questionfileupload postback Pin
m@dhu3-Nov-09 20:34
m@dhu3-Nov-09 20:34 
AnswerRe: fileupload postback Pin
padmanabhan N3-Nov-09 21:41
padmanabhan N3-Nov-09 21:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.