Rohan
Rohan

Reputation: 2935

Getting error in running .net webservice on IIS 7 on dedicated server

I have made C# webservice in asp.net 2008 with 3.5 framework. I made this webservice on my local machine.

Now i tried to run this webservice on client's dedicated server using IIS7(on client's server). But it gives me an error -

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

I have just added my locally published webervice and other files in IIS and then tried to run it , but not been successfull.

How can i do it ?

I have no idea about this thing.

What are the steps to perform this task?

What are the changes to be made in Web.Config file ?

Please help me out..

Thanks.

Upvotes: 3

Views: 457

Answers (2)

Asif
Asif

Reputation: 2677

Try this

Install web extension on your server.

OR

install ASP.NET 2.0 AJAX Extensions 1.0 http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=883

Upvotes: 1

Talha
Talha

Reputation: 19272

you should install on your server the ASP.NET AJAX for Asp.Net You can find it here and select the .NET 3.5 version of the toolkit: http://ajaxcontroltoolkit.codeplex.com/releases/view/87024

If you don't have access in this server, you can upload the .dll file into the BIN folder.

I hope it works! Cheers

Upvotes: 2

Related Questions