Click to See Complete Forum and Search --> : Copying .aspx app to another machine


simonchambers
January 13th, 2003, 09:14 AM
Hi,

I have successfully devloped a .aspx application on my local server, running iis and on win 2000 pro.

I then wanted to run these same aspx pages from another machine, which only has the .Net framework, i.e. not the full development environment.

Thus I copied the whole webapplication folder onto the new machine.

When I try and run the same aspx pages from the new machine it doesnt display any of the vb.net controls. The only thing it displays is raw html code that I copied in from another html page.

Can anyone help or direct me to a suitable site??

Many thanks

Simon

TheCPUWizard
January 13th, 2003, 09:17 AM
1) Is IIS properly set up to handle .NET applications on that machine?

2) Was that virtual directory properly configured as an application directory with the proper priv?


Failure at either of these levels will cause the exact behaviour you are seeing...

DSJ
January 15th, 2003, 03:54 PM
The ASP.NET extensions aren't registered with IIS, run aspnet_regiis.exe -i (found in C:\...\framwork\v1.0.3705 folder).

simonchambers
January 16th, 2003, 04:54 AM
Hi,

That's great, and certainly makes sense, as i noticed that the app mappings in IIS are not set (i.e. .ASPX etc), and to make things extra difficult on the deployment machine the ok button after adding a new mapping is greyed out (op sys = xp pro).
Anyway I will test this when i can get on the deployment machine in the next few days and let u know.

Thanks again to both replies.

Cheers

Simon :)

simonchambers
January 16th, 2003, 08:22 AM
Hi,

Just to say that that worked. I then had a problem with permissions and to get round this set the authetication mode to basic in iis (in case anyone has a similar problem).

Thanks once again

Simon:)