469,917 Members | 1,473 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

Deploying Website Application

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"/>

Oct 28 '07 #1
8 2657
Your application requires that you install Microsoft Ajax in addition to
..Net 2.0

This is available from http://www.asp.net/ajax/

--
Rory

Oct 28 '07 #2
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.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
"WhiskeyRomeo" <Wh**********@discussions.microsoft.comwrote in message
news:A1**********************************@microsof t.com...
>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"/>

Oct 29 '07 #3
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?

"Rory Becker" wrote:
Your application requires that you install Microsoft Ajax in addition to
..Net 2.0

This is available from http://www.asp.net/ajax/

--
Rory

Oct 30 '07 #4
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.

--
Rory
Oct 30 '07 #5
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.

"Rory Becker" wrote:
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.

--
Rory
Oct 30 '07 #6
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

"Cowboy (Gregory A. Beamer)" wrote:
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.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
"WhiskeyRomeo" <Wh**********@discussions.microsoft.comwrote in message
news:A1**********************************@microsof t.com...
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"/>


Oct 30 '07 #7
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.

"Rory Becker" wrote:
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.

--
Rory
Oct 30 '07 #8
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.

--
Rory
Oct 30 '07 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by tonyz.wrightz | last post: by
10 posts views Thread by Jeremy Ames | last post: by
4 posts views Thread by LiamCo | last post: by
1 post views Thread by Arsalan Ahmad | last post: by
5 posts views Thread by Dariusz Tomon | last post: by
10 posts views Thread by =?Utf-8?B?UmljaGFyZA==?= | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.