Getting started using ASP

Discussion in 'Classic ASP' started by samedayshop, Dec 30, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I have just started service and have performed the Install Application in the BIN directory using the WEB Application Tool. I have also FTP'd the application files to the BIN directory. How can I show the default.asp page in my IE browser? How can I edit the files on discountasp.net? Is there a tutorial that shows me how to get started?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    You do not want to do that.

    The bin directory is reserved for use for ASP.NET application's dll.

    Put your asp files in other directory.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Bruce

    Bruce DiscountASP.NET Staff

  4. Thanks Bruce. I have unchecked the http friendly err option in IE. The message I get now is:
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'


    [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified


    /sds/default.asp, line 4


    Here is the code showing line 4:


    <%


    ' Open Database Connection


    Set Con = Server.CreateObject( "ADODB.Connection" )


    Con.Open "accessDSN"


    I have entered the following in the ODBC Tool:






    DSN
    Path


    samedayshop_web115
    \sds\storeDB.mdb
    Delete
    What am I missing here.


    Here is the temporary URL assigned to me:


    http://samedayshop.web115.discountasp.net
     
  5. I have deleted the application files in the BIN directory and created a "sds" directory. I have also created an index.htm file in my "samedayshop" directory thathasthe following code.


    <html>


    <head><title>Entry Page</title>


    </head>





    </body>


    </html>


    However, I get the following error and I don't know what to do next.






    There is a problem with the page you are trying to reach and it cannot be displayed.




    Please try the following:







    HTTP 500 - Internal server error
    Internet Explorer
     
  6. to edit, Front Page or Notepad or other like that.

    As for the Error, that is saying you are connecting to a DSN, if so DiscoutASP has to set up a DSN for you. Its better to connect to it direct using the folder path, if the web application you are using has somewhere in the code that lets you change this, then change it for a DSNless connection. If you have to do it yourself manually post back for help on that.

    Rory
     
  7. Thanks Rory. I have changed the ASP code to use a DSNless connection.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page