473,387 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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.Catalog, or one of its
dependencies, was
not found."

ESRI.ArcGIS.Catalog 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\Microsoft.NET\Framework\v1.1.4322\aspn et.config)
LOG: Using machine configuration file from "...
\v1.1.4322\machine.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 2120
<li********@faa.govwrote in message
news:11********************@i13g2000prf.googlegrou ps.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.Catalog, or one of its
dependencies, was
not found."

ESRI.ArcGIS.Catalog 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\Microsoft.NET\Framework\v1.1.4322\aspn et.config)
LOG: Using machine configuration file from "...
\v1.1.4322\machine.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
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...
4
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...
3
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...
1
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...
8
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...
1
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...
3
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...
2
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
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.