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

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 
M

Mikael Jansson

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
 
G

Guest

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
 
M

Mikael Jansson

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
 
D

Dave Loynd

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top