Visualizzazione dei risultati da 1 a 6 su 6

Discussione: Inizio aspx

  1. #1
    Utente di HTML.it
    Registrato dal
    Jul 2003
    Messaggi
    555

    Inizio aspx

    Salve a tutti, sto iniziando a vedere qualcosina di aspx. Allora io ho xp pro con IIS sul quale girano delle pagine ASP, adesso vorrei far girare anche le aspx. Devo solo installare il framework, e dove lo posso scaricare? Il fatto che aprendo una pagina aspx mi dia il codice è perchè manca il framework?

    Grazie

  2. #2
    Framework 1.1
    Microsoft Data Access Components 2.8

    e sei pronto

    per i componenti data microsoft.com/data
    per il framework.. www.asp.net alla voce downloads

  3. #3
    Utente di HTML.it
    Registrato dal
    Jul 2003
    Messaggi
    555
    Ho installato il framework e madc 2.7, ma mi da questo errore.


    Server Error in '/prova' Application.
    --------------------------------------------------------------------------------

    Parser Error
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: File or assembly name DreamweaverCtrls, or one of its dependencies, was not found.

    Source Error:


    Line 1: <%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
    Line 2:
    Line 3: <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicK eyToken=836f606ede05d46a,culture=neutral" %>
    Line 4: <MMataSet
    Line 5: id="DataSet1"


    Source File: C:\prova\TMP4spxhx6nj4.aspx Line: 3

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'DreamweaverCtrls' could not be loaded.


    === Pre-bind state information ===
    LOG: DisplayName = DreamweaverCtrls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a
    (Fully-specified)
    LOG: Appbase = file:///C:/prova
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===

    LOG: Publisher policy file is not found.
    LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspn et.config).
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\confi g\machine.config.
    LOG: Post-policy reference: DreamweaverCtrls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/prova/5ff906f2/ef6f0567/DreamweaverCtrls.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/prova/5ff906f2/ef6f0567/DreamweaverCtrls/DreamweaverCtrls.DLL.
    LOG: Attempting download of new URL file:///C:/prova/bin/DreamweaverCtrls.DLL.
    LOG: Attempting download of new URL file:///C:/prova/bin/DreamweaverCtrls/DreamweaverCtrls.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/prova/5ff906f2/ef6f0567/DreamweaverCtrls.EXE.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/prova/5ff906f2/ef6f0567/DreamweaverCtrls/DreamweaverCtrls.EXE.
    LOG: Attempting download of new URL file:///C:/prova/bin/DreamweaverCtrls.EXE.
    LOG: Attempting download of new URL file:///C:/prova/bin/DreamweaverCtrls/DreamweaverCtrls.EXE.




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

  4. #4

    Re: Inizio aspx

    Originariamente inviato da michelepi
    Salve a tutti, sto iniziando a vedere qualcosina di aspx.
    Essento tu all'inizio, ti consiglio di iniziare con esempi molto più semplici per verificare che tutto sia installato in maniera corretta e per comprendere i principi fondamentali di ASP.NET

    Esempio:
    codice:
    <%@ Page language="C#" %>
    <script runat="server">
    void btnSubmit_Click (Object s, EventArgs e)
    {
    lblMessage.Text="Hello Word!";
    }
    </script>
    Clicca sul bottone per vedere il messaggio:
    <form runat="server">
    <asp:Button id="btnSubmit" text="Click Here!" OnClick="btnSubmit_Click" runat="server"/>
    
    
    
    <asp:Label id="lblMessage" runat="server"/>
    </p>
    </form>
    Ciao

    Marco

  5. #5
    se lavori con Dreamweaver (cosa sbagliata) devi prima generarti la dll con i controlli da dreamweaver (dovrebbe esser qualcosa tipo "Genera controlli" dal menu).

    cutti e pasti nella bin

  6. #6
    Utente di HTML.it
    Registrato dal
    Jul 2003
    Messaggi
    555
    Ok il messaggio Hello World, viene visualizzato. Il problema forse nasce quando ci sono recordset.
    Grazie

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.