moving web application to IIS web server on PC without .Net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I created, on my PC, a web application that connects to an Oracle DB; it
basically has three buttons and several forms. Now I want to try it out on
another PC that does not have .Net.
I copied the whole dir from my PC to c:\inetpub\wwwroot of the other PC and
tried to access it (http://localhost/WebApplication1/Assistance.aspx). I
can't see the buttons or the forms. What other steps do I need to take to
transfer a web application from a PC with .Net to a PC w/o .Net?
Thanks,
VM
 
VM,

Well, you need to install the .NET framework on that machine as well.
You can NOT run assemblies without the framework installed. Installing the
framework on a machine that has IIS on it will also have the effect of
setting up the ISAPI dll that will handle calls to ASPX pages, activating
the ASP.NET runtime.

Hope this helps.
 
Hi,

Obviously you can't run .NET code on a webserver that doesn't have .NET
installed, but if you're only interested in using the HTML-ouput that's
generated from your .aspx page you can simply browse to it on the working
machine, select view source and then save the file to the non-.NET server as
a .html or .asp file.

Regards, Mikael
 
Let's say I'm going to transfer the page to ten PCs (ten different web
servers from ten different clients) and I created the page in my PC (with
..Net), do I have to tell the ten clients to buy a .Net licence? In other
words, can I conclude that every time I create a web application, I need to
tell the client that they have to buy Studio .Net if they wan to run it in
their PC?

Thanks.
VM
 
There is no licence or Visual Studio.NET needed to run .aspx pages just the
..NET Framework(which includes ASP.NET).

..NET Framework Redistributable download link: http://tinyurl.com/98g6

/Mikael
 
You clients only need to have the .NET *framework* installed on whatever
machine they wish to run your Web app on. The framework comes as part of
Visual Studio or as a free download for those machines not already loaded
with it. Once a client has the framework installed they have the tools to
make changes to your code if they take the time to learn how (They just
don't have all the nice things the VS.NET IDE provides).
 
Back
Top