Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1096705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:19:14+00:00 2026-05-17T00:19:14+00:00

I have developped an asmx webservice with visual studio and I deploy on IIS

  • 0

I have developped an asmx webservice with visual studio and I deploy on IIS 7 which has 3.5 Framework by copying all the files.

When testing it says

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.

I don’t use [System.Web.Script.Services.ScriptService] so I don’t understand why it tries to load System.Web.Extensions.

So I change in Visual Studio from .NET 2 to 3.5 but got another error:

Could not load file or assembly
‘WebServiceTest’ or one of its
dependencies. An attempt was made to
load a program with an incorrect
format.

How to fix this ?

Note: I’m not using any other assembly/lib I’m just learning webservice so it’s very simple: I create a webservice Test.asmx with one method which uses one class Test.cs within same namespace WebServiceTest. This works locally.

Finally I have started from scratch again now it works, I think I have mismatched by renaming namespace, class etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T00:19:15+00:00Added an answer on May 17, 2026 at 12:19 am

    Maybe you are using a third party assembly which relies on System.Web.Extensions. Make sure this assembly is not referenced in your project either explicitly or implicitly. Also normally the version of this assembly is 3.5.0.0. From the error message it seems that your project is using version 1.0.61025.0 which is an old version. Try looking at every referenced assembly to see what uses this old version. You might need to deploy it on the target server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I developped a package to extend Visual Studio. As part of it, I have
I have a web application developped in Java 1.5 with Spring framework. Application contains
I have developped a HTTP web service which is queried by smartphone. I want
I have an existing website developped using ASP.NET MVC 3 and Entity Framework 4
I have developed some classes with similar behavior, they all implement the same interface.
We have developed our website(Business users website) in .net Framework 2.0 Our client us
We have developed a webservice that sits and runs in the context of a
I have developed about 300 Applications which I would like to provide with multi-language
I have developed a framework that is used by several teams in our organisation.
I have developed a simple server using Tomcat which runs a servlet. The servlet

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.