Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

asp.net 2.0 webservices deployment problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
linda.chen@faa.gov - 17 Jul 2007 19:16 GMT
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\aspnet.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
John Saunders [MVP] - 17 Jul 2007 20:44 GMT
> This is the first project I worked in Visual Studio .NET 2005.
>
[quoted text clipped - 38 lines]
> 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?
Signature

John Saunders [MVP]


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.