Jun 12th, 2007, 01:32 AM
#1
Thread Starter
Frenzied Member
[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.
Jun 12th, 2007, 01:51 AM
#2
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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
Jun 12th, 2007, 02:01 AM
#3
Thread Starter
Frenzied Member
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.
Jun 12th, 2007, 02:30 AM
#4
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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
Jun 12th, 2007, 03:26 AM
#5
Thread Starter
Frenzied Member
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.
Jun 12th, 2007, 11:24 AM
#6
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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
Jun 12th, 2007, 02:09 PM
#7
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.
Jun 12th, 2007, 07:14 PM
#8
Thread Starter
Frenzied Member
Re: [2005] Running ASP.NET web page
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
Jun 15th, 2007, 09:38 AM
#9
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?
Jun 17th, 2007, 10:00 PM
#10
Thread Starter
Frenzied Member
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
Forum Rules
Click Here to Expand Forum to Full Width