|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
IIS for ASP and ASP.Net
Dear all,
I want to use same IIS for both ASP and ASP.net projects. My IIS supports ASP.Net applications( its a latest version). but i want to use same server for ASP applications too. What i need to do for that. Plz explain in detail the steps and where i shall put my ASP application files. thanks. Imran Ghani. |
|
#2
|
|||
|
|||
|
Well if you say you have the latest version of IIS then that means you're running IIS 6.0 and that only comes with Windows Server 2003
And if you do have Windows Server 2003, then you need to ALLOW ASP pages to run, and the same thing goes for ASP.NET pages. That's new in IIS 6.0, you have to ALLOW things to run, they don't just run by default...(anyway this is from what I've read) Now IIS 5.0 comes with Windows 2000(server and pro) but it DOES NOT come with the .NET framework like the new Windows Server 2003 for example so you have to INSTALL the .NET framework on your Windows 2000 machine in order to RUN ASP.NET pages(.aspx pages) Both .asp and .aspx pages can run side by side on IIS(if an only if the .NET framework is installed) but you don't have to ALLOW anything like in IIS 6.0 Hope that makes sense! Oh an if anybody can validate/correct me on the IIS 6.0 thing then please do so... Hope this helps! Sincerely Vlince |
|
#3
|
|||
|
|||
|
Sorry, It means i don't have lattest IIS that is IIS 6.0.
Actually i want to know that where i can place my application in IIS. .aspx files are here: \Inetpub\wwwroot\myapplication Are asp files be the same root or somewhere else. And if i need to do some setting. thanks. |
|
#4
|
|||
|
|||
|
Simply install the .NET framework on the machine
Then create a simple .aspx page like this: <script runat="server"> Sub submit(Source As Object, e As EventArgs) button1.Text="You clicked me!" End Sub </script> <html> <body> <form runat="server"> <asp:Button id="button1" Text="Click me!" runat="server" OnClick="submit"/> </form> </body> </html> that is an example using VB.NET Then save the page with the .aspx extension. Put it inside the wwwroot folder and open the IIS console, right click the file and chose browse! Hope this helps! Sincerely Vlince |
|
#5
|
|||
|
|||
|
vlince, i run and pilot several iis 6.0 machines, you are correct, even manual installs have the extensions on 'prohibit' till you unblock them.
there were instructions within the past DAY i think, look around real quick, it showed SDK install to and all that hope this helps |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > IIS for ASP and ASP.Net |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|