473,654 Members | 3,280 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

isual Studio ASP.NET Web Service Project provided Hello World webmethod producing error upon invoke

Open Visual Studio and create a new ASP.NET Web Services Project. Uncomment the test webmethod (Hello World) in the .asmx file, set as starup file, save and build project and run. Click on the Hello World link in the web page that appears. Co-workers recieve the expected page but I get an error similar to this in the web page (http://localhost/MytestService/Service1.asmx/HelloWorld)

System.IO.FileN otFoundExceptio n: File or assembly name swazqp4x.dll, or one of its dependencies, was not found
File name: "swazqp4x.d ll
at System.Reflecti on.Assembly.nLo ad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurit y, Boolean throwOnFileNotF ound, Assembly locationHint, StackCrawlMark& stackMark
at System.Reflecti on.Assembly.Int ernalLoad(Assem blyName assemblyRef, Boolean stringized, Evidence assemblySecurit y, StackCrawlMark& stackMark
at System.Reflecti on.Assembly.Loa d(AssemblyName assemblyRef, Evidence assemblySecurit y
at System.CodeDom. Compiler.Compil erResults.get_C ompiledAssembly (
at System.CodeDom. Compiler.Compil erResults.get_C ompiledAssembly (
at System.Xml.Seri alization.Compi ler.Compile(
at System.Xml.Seri alization.TempA ssembly..ctor(X mlMapping[] xmlMappings
at System.Xml.Seri alization.XmlSe rializer.FromMa ppings(XmlMappi ng[] mappings
at System.Web.Serv ices.Protocols. XmlReturn.GetIn itializers(Logi calMethodInfo[] methodInfos
at System.Web.Serv ices.Protocols. XmlReturnWriter .GetInitializer s(LogicalMethod Info[] methodInfos
at System.Web.Serv ices.Protocols. MimeFormatter.G etInitializers( Type type, LogicalMethodIn fo[] methodInfos
at System.Web.Serv ices.Protocols. HttpServerType. .ctor(Type type
at System.Web.Serv ices.Protocols. HttpServerProto col.Initialize(
at System.Web.Serv ices.Protocols. ServerProtocol. SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response
at System.Web.Serv ices.Protocols. ServerProtocolF actory.Create(T ype type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing

=== Pre-bind state information ==
LOG: Where-ref bind. Location = C:\WINDOWS\TEMP \swazqp4x.dl
LOG: Appbase = file:///c:/inetpub/wwwroot/IMISImportServi c
LOG: Initial PrivatePath = bi
Calling assembly : (Unknown)
==

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind)
LOG: Attempting download of new URL file:///C:/WINDOWS/TEMP/swazqp4x.dll

Can anyone tell me what I should do to troubleshoot this?
Nov 20 '05 #1
1 1370
Find this file...

put it in your web service bin directory
"KGarvin" <kg*****@aew.co m> wrote in message
news:9D******** *************** ***********@mic rosoft.com...
Open Visual Studio and create a new ASP.NET Web Services Project. Uncomment the test webmethod (Hello World) in the .asmx file, set as starup
file, save and build project and run. Click on the Hello World link in the
web page that appears. Co-workers recieve the expected page but I get an
error similar to this in the web page
(http://localhost/MytestService/Servi...x/HelloWorld):
System.IO.FileN otFoundExceptio n: File or assembly name swazqp4x.dll, or one of its dependencies, was not found. File name: "swazqp4x.d ll"
at System.Reflecti on.Assembly.nLo ad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurit y, Boolean
throwOnFileNotF ound, Assembly locationHint, StackCrawlMark& stackMark) at System.Reflecti on.Assembly.Int ernalLoad(Assem blyName assemblyRef, Boolean stringized, Evidence assemblySecurit y, StackCrawlMark& stackMark) at System.Reflecti on.Assembly.Loa d(AssemblyName assemblyRef, Evidence assemblySecurit y) at System.CodeDom. Compiler.Compil erResults.get_C ompiledAssembly ()
at System.CodeDom. Compiler.Compil erResults.get_C ompiledAssembly ()
at System.Xml.Seri alization.Compi ler.Compile()
at System.Xml.Seri alization.TempA ssembly..ctor(X mlMapping[] xmlMappings) at System.Xml.Seri alization.XmlSe rializer.FromMa ppings(XmlMappi ng[] mappings) at System.Web.Serv ices.Protocols. XmlReturn.GetIn itializers(Logi calMethodInfo[]
methodInfos) at System.Web.Serv ices.Protocols. XmlReturnWriter .GetInitializer s(LogicalMethod I
nfo[] methodInfos) at System.Web.Serv ices.Protocols. MimeFormatter.G etInitializers( Type type, LogicalMethodIn fo[] methodInfos) at System.Web.Serv ices.Protocols. HttpServerType. .ctor(Type type)
at System.Web.Serv ices.Protocols. HttpServerProto col.Initialize( )
at System.Web.Serv ices.Protocols. ServerProtocol. SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Serv ices.Protocols. ServerProtocolF actory.Create(T ype type, HttpContext context, HttpRequest request, HttpResponse response,
Boolean& abortProcessing )
=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\WINDOWS\TEMP \swazqp4x.dll
LOG: Appbase = file:///c:/inetpub/wwwroot/IMISImportServi ce
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/WINDOWS/TEMP/swazqp4x.dll.
Can anyone tell me what I should do to troubleshoot this?

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1696
by: Ajit | last post by:
Is it possible to have a web service name in localized string. Let's say, can I have a web service developed in C# having class name in Japanese? I am trying to build a web service as follows namespace Test2 { /// <summary> /// Summary description for Service1.
5
3252
by: Paul Hasell | last post by:
Hi, I'm trying to invoke a web method asynchronously but just can't seem to get it to tell me when it has finished! Below is the code I am (currently) using: private void btnUpload_Click(object sender, System.EventArgs e) { try { SOPWebService.Client uploader = new
0
1859
by: cnSoftware | last post by:
I come across this problem during my recent project and even now I am still be puzzled by it. So I paste the procedure here. I wish you can figure out where I am wrong or missing. The sample application is developed with VS 2005 Beta 2. 1. Create a base class named ¡°BaseEntity¡±
2
1966
by: Tim Reynolds | last post by:
Team, We need some guidance here. We are developing a web service to expose to external system. We are not sure which is the best path to take. We have multiple input fields required and a few output fields. We are thinking to either 1) Make all input fields one class and have one parameter for our web service of this object type and make all output fields a second class and have return type of our web method return an object of this...
3
4994
by: Olivier BESSON | last post by:
Hello, I have a web service of my own on a server (vb.net). I must declare it with SoapRpcMethod to be used with JAVA. This is a simple exemple method of my vb source : >************************************************************************ > <WebMethod(), System.Web.Services.Protocols.SoapRpcMethod()> _ > Public Function HelloWorld() As > <System.Xml.Serialization.SoapElementAttribute("return")> String
4
2395
by: =?Utf-8?B?ZG91Zw==?= | last post by:
I built a ws locally takes in a request object and returns a response object. The ws reads in a good sized xml file and the request oject has elements used to create an xml subset and returns it as a response object. Use XSD.EXE to create proxy classes. I built WSDL and it is stored same location as ws asmx file. WS runs fine locally. It is using SOAP. I get userid and authentication TRUE on local testing. Client gets good response...
20
6736
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
I was executing the steps given in http://suppor.microsoft.com/kb/308359 for testing a sample web service application. However, the following line gives a compilation error: localhost.Service1 xxx = new localhost.Service1(); localhost is not recognized by the compiler.
2
2114
by: cj | last post by:
<System.Web.Services.WebService(Name:="CJ's Service", Description:="Testing 123", Namespace:="http://myco.com/cj/one")_ <System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _ <ToolboxItem(False)_ Public Class Service1 Inherits System.Web.Services.WebService <WebMethod()_ Public Function HelloWorld() As String Return "Hello World"
0
7324
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the beginning CIS student who is struggling to get their programs working. I work in the computer lab at the college I'm attending and I see many students who don't know how to use the IDE for best results. Visual Studio automatically creates a number of...
0
8376
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8290
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8489
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8594
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7307
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5622
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2716
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1596
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.