Deploying Website Application

G

Guest

I am trying to copy files and folders onto a production machine (Windows 2003
web edition -- we had to install the .NetFramework 2.0 on it). I wasn't even
sure which files to copy for a ASP.NET 2.0 application. But I followed the
steps I do for a 1.1 ASP.Net applications. I get the following error message
when I try to run it. The application run fine in VS2005 on the development
machine. It is set up properlly as far as IIS 6.x is concerned on the remote
machine.

Any help will be appreciated. One thing I noticed is that I don't even see
the application dll in the VS 2005 app folder. The application is called
Appointment so I was expecting to find Appointment.dll but it is not there.

**ERROR MESSAGE**
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly
'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system
cannot find the file specified.

Source Error:

<compilation debug="true">
Line 32: <assemblies>
Line 33:

<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
 
C

Cowboy \(Gregory A. Beamer\)

As Rory has mentioned, you will also have to install AJAX. Rather than just
kudos, here are a few other "hints".

1. Use publish and publish to a local folder before deploying. It will only
leave the files necessary
2. If you want less "stuff" out there, consider web application project
instead of websites. This will compile down much more compactly than normal
publish
3. Some of the linked files in web.config are not necessary. This particular
error cannot be cured by deleting from web.config (will create another one),
but some can.
 
G

Guest

Thanks for the quick reply. Just to be clear. We need to install the same
Ajax Extension 1.0 for the production machine as I did for the development
machine?
 
R

Rory Becker

Thanks for the quick reply. Just to be clear. We need to install the
same Ajax Extension 1.0 for the production machine as I did for the
development machine?

Thats what I hear, although I have not done this myself as I have only just
started looking at ajax myself recently.
 
G

Guest

That didn't make a different. Here is the error in the event log. This is
beyond my skill and link it gives doesn't provide any help.

It is not possible to run two different versions of ASP.NET in the same IIS
process. Please use the IIS Administration Tool to reconfigure your server to
run the application in a separate process.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
 
G

Guest

Thanks for the reply. See my last response to Rory. I have a generic
website whose root directory is nothing but html. I have 1.1 application in
separate folder in this root directory. I was hoping to simply include a 2.0
application under the same root directory but that appears not to be possible
because the website itself must specifiy an ASP.Net version.

Bill
 
G

Guest

My apologies, that did work for the problem you were answering. But I had to
create a different application pool for 2.0 applications to run in in IIS.
That solved all my problems.

Thanks for the help.
 
R

Rory Becker

My apologies, that did work for the problem you were answering. But I
had to create a different application pool for 2.0 applications to run
in in IIS. That solved all my problems.
Excellent ... glad to hear it.
 

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

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top