开发者

Problem publising site to Windows 2008 server

开发者 https://www.devze.com 2023-01-18 15:24 出处:网络
I have an Ajax enabled web app created with Visual Studio 2005 - .Net framework 2.0. I publish this to a Windows 2003 server and everything works fine.

I have an Ajax enabled web app created with Visual Studio 2005 - .Net framework 2.0. I publish this to a Windows 2003 server and everything works fine.

I now need to publish to a Windows 2008 server with IIS 7.0 on it. Whereas before I used to publish to http:// .... (because the site on the 2003 server was Frontpage server extension enabled} I can't see how to do this in IIS 7.0 so I have published to a share on the server at \servername\websites\nameofwebsite

When I try to run the site I get this:

Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad36开发者_JAVA百科4e35' or one of its dependencies. The system cannot find the file specified.

Any help much appreciated.


I prefer to publish to an FTP site. It is a much simpler setup and the publishing procedure from visual studio is the same.

The setup of web-publishing in IIS is just to complicated.

The FTP server can be either IIS or any other FTP server software.


The System.Web.Extensions assembly is the Asp.Net Ajax 1.0. Have you installed it on the 2008 server or do you have the .dll file located in sites bin folder?

If you can't find the assembly in C:\Windows\assembly (also check the version) you can either download and install it or put the .dll file into the sites bin folder (you should be able to find it on your development computer).

0

精彩评论

暂无评论...
验证码 换一张
取 消