borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (how to implement a autoresponder with asp.net technology ?)Next Topic (how to implement a autoresponder with asp.net technology ?) New Topic New Poll Post Reply
AndreaVB Forum : ASP.Net : debug asp.net
Poster Message
psshastri
Level: Guest


icon debug asp.net

Hi,
I opened asp.net web application and created a simple page and when I executed it.I am getting this error.

i have install visual studio.net and windows 2000 server with  
domain. i have a problem when i want to debug web applications  
(asp.net).  

I checked my web.config file.In that stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.01;user id=sa;password="

this tcpip is the oracle server's tcpip.So I stopped oraclehttpserver in the services and started IIS web server and in the web.config file I changed tcpip=andreavb.ipowermysql.com and datasource=andreavb.ipowermysql.com.Is this correct ?

Then I created a new asp.net application.It asked the path where the directory should be created?By default it is http://andreavb.ipowermysql.com/webapplication1.I said ok and created a simple page and when I executed it I am getting the error below.I checked the properties of the webapplication1 also.I saw the properties configuration,debugging to select the asp.net debugging but the checkbox is disabled.help me
the error message :

Error while trying to run project:Unable to start debugging on the  
web server. Server side error occured on sending debug HTTP request.

Make sure the server is operating correctly. Verify there are no  
syntax errors in web.config by doing Debug. Start Without Debugging.  
You may also want to refer to the ASP.NET and ATL server debugging  
topic in the online documentation.

that's the error message.

and i have check my server and running well. i have check to run  
this address : http://andreavb.ipowermysql.com/ and there is
display on the web.

14-01-2004 at 07:48 AM
| Quote Reply
zimcoder
Level: VB Lord


Registered: 27-10-2003
Posts: 225
icon Re: debug asp.net

Can you post the portion of code you are using especially parts of the web.config file

____________________________
BrainBench ADO.NET and ASP.NET Certified Developer

14-01-2004 at 12:19 PM
View Profile Send Email to User Show All Posts | Quote Reply
psshastri
Level: Guest

icon Re: debug asp.net

Hi,
I am sending my web.config file.I am also sending the steps.

First I opened asp.net web application.It asked the saving path as http://andreavb.ipowermysql.com//webapplication1.I said ok.
Then it gave an path mapping error.I mean when I boot the system.Oracle HTTP Server starts by default.so I stopped it and in the internet services manager I started the default web site.Now I started a new application and it is saved in c:\inetpub\wwwroot\webapplication1.
I created two controls and just executed it.
I am gettting the error as mentioned previously.My web.config file is as below.

I am using win2000 adv. server.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    
  <system.web>

    <!--  DYNAMIC DEBUG COMPILATION
          Set compilation debug="true" to insert debugging symbols (.pdb information)
          into the compiled page. Because this creates a larger file that executes
          more slowly, you should set this value to true only when debugging and to
          false at all other times. For more information, refer to the documentation about
          debugging ASP.NET files.
    -->
    <compilation defaultLanguage="vb" debug="true" />

    <!--  CUSTOM ERROR MESSAGES
          Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
          Add <error> tags for each of the errors you want to handle.
    -->
    <customErrors mode="RemoteOnly" />

    <!--  AUTHENTICATION
          This section sets the authentication policies of the application. Possible modes are "Windows",
          "Forms", "Passport" and "None"
    -->
    <authentication mode="Windows" />


    <!--  AUTHORIZATION
          This section sets the authorization policies of the application. You can allow or deny access
          to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
          (unauthenticated) users.
    -->
    <authorization>
        <allow users="*" /> <!-- Allow all users -->

            <!--  <allow     users="[comma separated list of users]"
                             roles="[comma separated list of roles]"/>
                  <deny      users="[comma separated list of users]"
                             roles="[comma separated list of roles]"/>
            -->
    </authorization>

    <!--  APPLICATION-LEVEL TRACE LOGGING
          Application-level tracing enables trace log output for every page within an application.
          Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
          trace information will be displayed at the bottom of each page.  Otherwise, you can view the
          application trace log by browsing the "trace.axd" page from your web application
          root.
    -->
    <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />


    <!--  SESSION STATE SETTINGS
          By default ASP.NET uses cookies to identify which requests belong to a particular session.
          If cookies are not available, a session can be tracked by adding a session identifier to the URL.
          To disable cookies, set sessionState cookieless="true".
    -->
    <sessionState
            mode="InProc"
            stateConnectionString="tcpip=127.0.0.1:42424"
            sqlConnectionString="data source=127.0.0.1;user id=sa;password="
            cookieless="false"
            timeout="20"
    />

    <!--  GLOBALIZATION
          This section sets the globalization settings of the application.
    -->
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
  
  </system.web>

</configuration>

19-01-2004 at 05:24 AM
| Quote Reply
AndreaVB Forum : ASP.Net : debug asp.net
Previous Topic (how to implement a autoresponder with asp.net technology ?)Next Topic (how to implement a autoresponder with asp.net technology ?) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder