Results 1 to 10 of 10

Thread: [RESOLVED] [2005] Running ASP.NET web page

  1. #1

    Thread Starter
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    Resolved [RESOLVED] [2005] Running ASP.NET web page

    Guys good day. When running an ASP.NET web page, the browser will display .aspx source code or will attempt to download the .aspx file. I've run the aspnet_regiis.exe, restart the service and IIS but still no luck.


    Thanks in advance for any help.

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [2005] Running ASP.NET web page

    Have you tried reregistering with the -i parameter?

    C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    Re: [2005] Running ASP.NET web page

    I've tried C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i and C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -r and still the browser attempt to open the .aspx file.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [2005] Running ASP.NET web page

    Do you have the Application Configuration Mappings for the default of aspx?

    Look also at the documents tab to see if it contains the aspx extension too.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    Re: [2005] Running ASP.NET web page

    I've already add the .aspx extension in documents tab.

    I look through Application Configuration in the Mappings tab and the .aspx extension is not listed..only .asa,.asbx...etc. and it seems I can't add the .aspx extension manually.

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [2005] Running ASP.NET web page

    Hmm, you shouldnt have to manually add the aspx extension. It should be there automatically when you install VS with the web dev features selected.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Running ASP.NET web page

    Explain "it seems" you can't add it to IIS.

    If you're using IIS 6, when you open up IIS, go to the 'Web Services Extension' folder in there and make sure that ASP.NET has been set to Allow.

  8. #8

    Thread Starter
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    Re: [2005] Running ASP.NET web page

    Quote Originally Posted by mendhak
    Explain "it seems" you can't add it to IIS.

    If you're using IIS 6, when you open up IIS, go to the 'Web Services Extension' folder in there and make sure that ASP.NET has been set to Allow.
    I'm using IIS 5.
    Attached Images Attached Images  

  9. #9
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Running ASP.NET web page

    Fill up the Executable field with the same one that .asbx is using.
    Fill up extension with .aspx. 'OK' should be enabled then.

    However, looking at your script mappings, it looks like ASP.NET still hasn't been installed.

    When you ran aspnet_regiis -i, did you get a success message? Do you have admin rights?

  10. #10

    Thread Starter
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    Re: [2005] Running ASP.NET web page

    Now I got it working. I just ran again aspnet_regiis -i and add the .aspx extension.

    Thanks mend and rob for the help.

Posting Permissions

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



Click Here to Expand Forum to Full Width