473,671 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp.net 2.0 webservices deployment problem

This is the first project I worked in Visual Studio .NET 2005.

I created a webservices by asp.net 2.0. The webservice works correctly
in my
development environment. When I published the webservice to the
default
website, even to the same machine (my default website already has a
webservices but written in asp.net 1.1), I got the following error
messages
if I opened it from brower:

"File or assembly name ESRI.ArcGIS.Cat alog, or one of its
dependencies, was
not found."

ESRI.ArcGIS.Cat alog is an assembly added to web.config file
automatically by
visual studio.

This does not make sense to me. Since I have no problem to call the
webservice from visual studio(testing project is in the same solution
with
webservice project, the web URL is like
http://localhost:1267/MyService/MyService.asmx), and I am sure I have
install
all libraries I need.

When I check the Assembly Load Trace, I found a long log:

Log: Publisher policy file is not found.
LOG: No redirect Found in host configuration file from
(c:\Windows\Mic rosoft.NET\Fram ework\v1.1.4322 \aspnet.config)
LOG: Using machine configuration file from "...
\v1.1.4322\mach ine.config"
.....

my webservices is written in asp.net2.0, why it tried to get the
configuration from asp.net 1.1?

How do I fix this? Again, My server machine needs to support both
asp.net
1.1 and asp.net 2.0 webservices.

Thanks a lot.

Linda

Jul 17 '07 #1
1 2133
<li********@faa .govwrote in message
news:11******** ************@i1 3g2000prf.googl egroups.com...
This is the first project I worked in Visual Studio .NET 2005.

I created a webservices by asp.net 2.0. The webservice works correctly
in my
development environment. When I published the webservice to the
default
website, even to the same machine (my default website already has a
webservices but written in asp.net 1.1), I got the following error
messages
if I opened it from brower:

"File or assembly name ESRI.ArcGIS.Cat alog, or one of its
dependencies, was
not found."

ESRI.ArcGIS.Cat alog is an assembly added to web.config file
automatically by
visual studio.

This does not make sense to me. Since I have no problem to call the
webservice from visual studio(testing project is in the same solution
with
webservice project, the web URL is like
http://localhost:1267/MyService/MyService.asmx), and I am sure I have
install
all libraries I need.

When I check the Assembly Load Trace, I found a long log:

Log: Publisher policy file is not found.
LOG: No redirect Found in host configuration file from
(c:\Windows\Mic rosoft.NET\Fram ework\v1.1.4322 \aspnet.config)
LOG: Using machine configuration file from "...
\v1.1.4322\mach ine.config"
....

my webservices is written in asp.net2.0, why it tried to get the
configuration from asp.net 1.1?

How do I fix this? Again, My server machine needs to support both
asp.net
1.1 and asp.net 2.0 webservices.
You need to make sure that the virtual directory into which you deploy your
web service has ASP.NET 2.0 configured. Use IIS Manager.Right-click the
virtual directory and choose Properties. Look at the ASP.NET tab. Change the
dropdown to 2.0.

Also, is this a Web Service Application, or the new kind? Did you create it
with Add New Web Site or with Add New Project?
--
John Saunders [MVP]

Jul 17 '07 #2

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

Similar topics

1
1316
by: RBisch | last post by:
I am trying to select the best approach for security (authentication, role-based) for my web services app. It seems there are many options, so I wanted to ask what would be recommneded according to this criteria: 1. secure authentication (no plain text) 2. role-based functionality 3. easy deployment (i'm guessing certificates have some setup overhead) Thanks.
4
3520
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
3
1616
by: Prozon | last post by:
Hi! I have problem naming my webservices. One of the problem is that I got naming conventions between my webservices and dataset that the services uses. Can someone please give me a good example of how to name a webservice-class which handles articles for example? And what is a good name for the "corresponding" dataset/s used? By now the name of the dataset is just Article. What is a good name for the webreference?
1
2163
by: Mike | last post by:
Hi all, I have written a webservice which I am using in my smartphone applicaiton. I have tried the webservice with a WinForms client and it works time and time again perfectly. When I include it in my smartphone application, it will work the first time and return ther query set, however when i try it again i get the following error : "Server found request content type to be 'text/html; charset=Windows-1252', but expected 'text/xml'."
8
4007
by: Komandur Kannan | last post by:
We have a smart device application running on handhelds(Symbol MC9000G). The backend is Oracle and a middle tier web services development done in Vb.net. We use pessimistic Locking due to specific business needs When such a lock is made for a transaction (this code is in the web service) and the handhelds are terminated abnormally (cold booted or battery low), the lock still remains. The Web service's connection to oracle is still...
1
1094
by: WTH | last post by:
I want to keep the codebase simple and deployment simple as well, so I'd like to expose multiple interfaces to web services consumers from the same assembly. This wasn't possible a year ago (afaik), has this changed? Thanks, WTH
3
4479
by: Frederik Wehlin | last post by:
Hi, I'm currently developing a windows form application, which should be able to communicate with a couple of WebServices. The Webservices are not created by me or my company and also not in .net but WebMethods (Java I suppose). The first Issue that I have is when instantiating one of webservices I get a "Method myMethod can not be reflected" error message and when drilling down the exception hierarchy I find: InnerException = {"'date' is...
2
13843
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
0
270
by: linda.chen | last post by:
This is the first project I worked in Visual Studio .NET 2005. I created a webservices by asp.net 2.0. The webservice works correctly in my development environment. When I published the webservice to the default website, even to the same machine (my default website already has a webservices but written in asp.net 1.1), I got the following error messages if I opened it from brower:
0
8478
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
8397
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,...
0
8821
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
5696
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
4225
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...
0
4409
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2813
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
2052
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1810
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.