Ask a Question related to ASP, Design and Development.

  1. #1

    Default starter question

    i am new to asp.net and just starting out with WebMatrix
    guided tour tutorial from ASP.NET. I managed to create the
    myfirstpage.aspx (Label, text, calendar, button) and ran
    it with webmatrix server smoothly.

    However when I tried to create and use the IIS Virtual
    Root (under Start Web Application), the browser only
    showed the Label part. It also showed an exclamation mark
    (error sign). I even copied the myfirstpage.aspx file to
    the default web folder (\Inetpub\wwwroot) but to no avail.

    What did I do wrong?

    I did install everything, right:
    IIS
    the .NEt framework
    webmatrix
    sql2kdesksp3.exe
    and mdac 2.7

    The system runs on Windows 2000 Pro SP4 and it has its own
    static IP.

    I tried the iis ftp and web using regular html and it
    works fine... but not the myfirstpage.aspx.

    HElppppp.
    ccd Guest

  2. Similar Questions and Discussions

    1. A few starter-questions
      Hi, i'm trying to learn Flash Mx this summer... And I came over e few problems that I couldnt figure out. 1. Is it posible to make a mask-layer...
    2. Good starter book?
      I am an intermediate ASP programmer looking to start learning .NET and am looking for a good book to start learning from. Anyone have any...
    3. Starter kits for ASP classic
      Take a look at www.aspin.com I would expect you could get some application and analyse it. "Saranjit Singh" <saranjits@grapecity.com> wrote in...
    4. XP non starter????
      I have the following (useless) error message - 'corrupt or missing file c:\windows\system32\config.sys ...etc' please insert recovery cd to repair....
    5. Drilldown starter kit question
      Hi, I'm working with the drill-down report from the Reports starter kit. I've gotten stuck on the 2nd-level datalist. When I drill-down to this...
  3. #2

    Default Re: starter question

    Newsgroup:
    microsoft.public.dotnet.framework.aspnet

    Microsoft ASP.net
    [url]http://www.asp.net[/url]
    A Microsoft site.

    Learn More about ASP.NET!
    [url]http://www.4guysfromrolla.com/webtech/LearnMore/ASPPlus.asp[/url]
    ASP.NET article index.

    Microsoft ASP.NET Web Matrix Project - Version 0.5 by John Peterson
    [url]http://www.asp101.com/articles/john/aspnetmatrixb1/default.asp[/url]
    <<
    Have you been putting off buying Visual Studio.NET? Lucky you... don't
    buy ANY new ASP.NET development tool without looking at this first. One
    of the best development tools anywhere is now available from Microsoft
    for FREE!

    Normally I'd ramble on about the product and tell you how great it is in
    order to get you to take a look at it... this time I'm not gonna do
    that. You know why? Because this baby sells itself!

    Small: Weighing in at only 1.2MB, it's a quick download even if you're
    on a dial-up. A development tool that fits on a floppy!
    WYSIWYG Page Designer: In 1.2MB!!! - It's True.
    SQL and MSDE Database Management: VS.NET Pro doesn't even do this!
    Built-in Web Server: Running XP Home? No problem... we've got your web
    server right here.
    FREE: That's right FREE!!!
    >>
    Meet the Web Matrix Project - Focused. Light. Free. by Scott Mitchell
    [url]http://aspnetpro.com/features/2002/08/asp200208sm_f/asp200208sm_f.asp[/url]

    Best regards,
    J. Paul Schmidt, Freelance ASP Web Developer
    [url]http://www.Bullschmidt.com[/url]
    ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Bullschmidt Guest

  4. #3

    Default Starter question

    Hello, I kind of have a problem. The thing is that I make a .html file that
    is supposed to make a .php file run... (totally common) The problem is that
    I can't get variables from the .html file to work in the .php file. I have
    changed the name adding the '$' but nothing happens.

    Also, when I double click on the .html file the form appears and then when I
    click in the link to the (same as before) .php file the dialog to save or
    open the .php file appears instead of runing.


    Thanks


    FmC Guest

  5. #4

    Default Re: Starter question

    I'm not sure I understand, so I pre-apologize if I explain this in a
    way you're not trying to go, but if you're using your PHP script as
    the action to your form, then you can access the form's "variables"
    via php's superglobals; $_GET/$_POST (respective to the method you
    chose in your form).

    As for your problem with your browser trying to save the php file, it
    sounds like you don't have the proper file type specified in your web
    server configuration. Now, I have the most experience with Apache, and
    assuming that's what you're using, you could put the following in
    either your httpd.conf or .htaccess file:

    AddType application/x-httpd-php .php

    If you placed that in your httpd.conf, you will need to restart your
    web server, before the change will take affect. Also note, you're not
    limited to just .php as an extension, you could name it whatever you
    want to use; provided your PHP files end with that extension.

    If this doesn't cover what you're trying to do, please reply with more
    specific information such as web server name and version, php version,
    and what exactly you're doing.

    On Sat, 3 Jul 2004 20:49:23 -0400, "FmC" <antilopeloco@manquehue.not>
    wrote:
    >Hello, I kind of have a problem. The thing is that I make a .html file that
    >is supposed to make a .php file run... (totally common) The problem is that
    >I can't get variables from the .html file to work in the .php file. I have
    >changed the name adding the '$' but nothing happens.
    >
    >Also, when I double click on the .html file the form appears and then when I
    >click in the link to the (same as before) .php file the dialog to save or
    >open the .php file appears instead of runing.
    >
    >
    >Thanks
    >
    eclipsboi Guest

  6. #5

    Default Re: Starter question

    I checked my httpd.conf file and it already had that line, And I don't
    really understand how exactly to use the $_get/$_post. I put them in the
    line where it says: '<form action="enviar.php" method="post">' and nothing
    happened.

    I am using APACHE 1.1, PHP 2.02 and phpED. What I'm trying to do is a
    form (named 'formulario.html') where you put some personal information, when
    you press the 'enviar' button it (should) run enviar.php and search for a
    variable ('rut') in a database (MySQL) to see if it exists and if it doesnt
    it should insert the rest of the info to the database.


    Thanks


    "eclipsboi" <eclipsboi@hotmail.com> escribió en el mensaje
    news:724fe01ptjmgt363c4plki619ef0ofah1c@4ax.com...
    > I'm not sure I understand, so I pre-apologize if I explain this in a
    > way you're not trying to go, but if you're using your PHP script as
    > the action to your form, then you can access the form's "variables"
    > via php's superglobals; $_GET/$_POST (respective to the method you
    > chose in your form).
    >
    > As for your problem with your browser trying to save the php file, it
    > sounds like you don't have the proper file type specified in your web
    > server configuration. Now, I have the most experience with Apache, and
    > assuming that's what you're using, you could put the following in
    > either your httpd.conf or .htaccess file:
    >
    > AddType application/x-httpd-php .php
    >
    > If you placed that in your httpd.conf, you will need to restart your
    > web server, before the change will take affect. Also note, you're not
    > limited to just .php as an extension, you could name it whatever you
    > want to use; provided your PHP files end with that extension.
    >
    > If this doesn't cover what you're trying to do, please reply with more
    > specific information such as web server name and version, php version,
    > and what exactly you're doing.
    >
    > On Sat, 3 Jul 2004 20:49:23 -0400, "FmC" <antilopeloco@manquehue.not>
    > wrote:
    >
    > >Hello, I kind of have a problem. The thing is that I make a .html file
    that
    > >is supposed to make a .php file run... (totally common) The problem is
    that
    > >I can't get variables from the .html file to work in the .php file. I
    have
    > >changed the name adding the '$' but nothing happens.
    > >
    > >Also, when I double click on the .html file the form appears and then
    when I
    > >click in the link to the (same as before) .php file the dialog to save or
    > >open the .php file appears instead of runing.
    > >
    > >
    > >Thanks
    > >
    >

    FmC Guest

  7. #6

    Default Re: Starter question

    > I am using APACHE 1.1, PHP 2.02 and phpED. What I'm trying to do is a
    I strongly suggest you upgrade, php is currently on 4.3.x and v 5 will be
    out soon enough so it shows how old your version is. If you developed a
    script that worked on that setup I doubt it would work anywhere else as PHP
    has changed tremendously since then.

    regarding post and get, depending on the method of the forum determines
    which 1 you will use but inyour pgp script when using gor example a variable
    that was sent via get you would use it by putting $_GET['variable_name'] in
    your php script where you wanted to use that particular variable.


    Filth Guest

  8. #7

    Default Re: Starter question

    Wow. Ok, $_POST and $_GET won't work for you. Um, I don't know what to
    tell you, you are using very archaic versions of both Apache and PHP
    (And I'm not one to just suggest to upgrade, that's your choice).

    On Sun, 4 Jul 2004 17:42:38 -0400, "FmC" <antilopeloco@manquehue.not>
    wrote:
    > I am using APACHE 1.1, PHP 2.02 and phpED.
    eclipsboi Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139