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 / Web Services / July 2004

Tip: Looking for answers? Try searching our database.

Newbie: WebService Deployment

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eric Voigt - 21 Jul 2004 15:27 GMT
Dear group!

I just started to develop my first asmx-webservice using VB-Studio.NET 2003.
The famous 'Hello World' - sample runs fine on my development-server. But
when I take all files (I know, i don't need ALL, but for making it easy) and
copy them to another web (on the same server on a different port OR on a
win2003 box at my hoster) I just get an error message 'Server Error in '/'
Application'.

So my question:
What else do I have to do in order to deploy my webservice from the
development-server to a production environment? Is FTP sufficient? Or do I
need to change some other setting?

thanks for your answers in advance,
regards,
Eric
Eric Cherng - 21 Jul 2004 18:35 GMT
Because Windows 2003 Server/IIS 6 has some new security features, if you are
not aware of them, your web sites will not run.  The most common issue I
always have is the web service extension for ASP.NET 1.1 is not enabled.
Check the Web Service Extensions for your computer in IIS Manager and make
sure the ASP.NET v1.1.4322 extension is set to "Allowed".

Eric C

> Dear group!
>
[quoted text clipped - 13 lines]
> regards,
> Eric
Eric Voigt - 22 Jul 2004 08:53 GMT
thanks, Eric!

sorry - I forgot to mention, that my development box (called BILLIE;-) is a
IIS5 on W2K, my VStudio Workstation is WinXP Pro.

First I create a new webservice with VS on
http://billie:5079/webservice1/service.asmx - that runs fine! After that I
copy all files in \webservice1 to another web on the the server - let's say
to http://billie:1313/soaptest/webservice1/service.asmx.

This one fails - even when I try to call
http://billie:5079/webservice1/somenotexistingfile.asmx with the same Error
Message. I tried to compare file and IIS security settings on both
webs/folders, but found no difference.

It seems to me, that this billie:1313 web is not configured to execute .asmx
files. But how can I do this?

Do you have any other idea where to search?

thank you very much,
regards,
eRic

> Because Windows 2003 Server/IIS 6 has some new security features, if you are
> not aware of them, your web sites will not run.  The most common issue I
[quoted text clipped - 23 lines]
> > regards,
> > Eric
Eric Cherng - 22 Jul 2004 18:28 GMT
Try running a standard HTML page in your new directory. If that displays,
then you most likely have not created the new directory as a web
application. Look at Dale's comment about this.

Eric

> thanks, Eric!
>
[quoted text clipped - 51 lines]
> > > regards,
> > > Eric
Eric Voigt - 23 Jul 2004 11:55 GMT
Eric,

*pooh* that doesn't seem to be so easy...

I definitely created a virtual folder called webservice1, which is here
   \myWEBName\SOAP\webservice1
This folder has the application name 'webservice1', Execute Permissions for
'Scripts only' and Protection 'Medium(Pooled)'. Directory Security is set to
anonymous access using the IUSR_BILLIE, also Integr.Security is activated.

Application Mappings for .asmx and .aspx are set to
   C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll with
GET,HEAD,POST,DEBUG

HTML and ASP Files work fine. When I save the ASP-File under .aspx I get
   Server Error in '/SOAP/webservice1' Application. with no further
details - error messages are suppressed;-(
With .asmx it's the same problem.

My web.config looks exactly like this:
   <?xml version="1.0" encoding="utf-8" ?>
   <configuration>
       <system.web>
           <compilation defaultLanguage="vb" debug="false" />
           <customErrors mode="Off" />
        </system.web>
   </configuration>

File Security is set to 'Everyone -> Full Control' for the whole
'webservice1'-Folder for Testing.

So - you see: I think I've checked everything and don't have any clue! Do
you?
Is there something, VStudio changes that I didn't change when only xcoping
the files?

It would be very helpful when anyone find's a solution to that... I don't
have any idea where to look further...

Thank you very much,
Eric

> Try running a standard HTML page in your new directory. If that displays,
> then you most likely have not created the new directory as a web
[quoted text clipped - 65 lines]
> > > > regards,
> > > > Eric
Eric Voigt - 23 Jul 2004 12:00 GMT
one addtion to my previous posting:

at my w2003-Hoster it looks a bit different - you can test it on your own at
   http://www.ericvoigt.de/webservice1/

> Try running a standard HTML page in your new directory. If that displays,
> then you most likely have not created the new directory as a web
[quoted text clipped - 65 lines]
> > > > regards,
> > > > Eric
Dale - 22 Jul 2004 04:03 GMT
Copying the files and/or folders is not enough.  You need to enable the
virtual web folder as an IIS application.  You can do it on the properties
window in the IIS configuration applet or if you use the VS2003 menu,
Project->Copy and choose FrontPage extensions to copy your files, it will
create the IIS Application for you.

Dale

> Dear group!
>
[quoted text clipped - 13 lines]
> regards,
> Eric
Eric Voigt - 28 Jul 2004 17:54 GMT
i found the solution: not only the webservice-directory but the
root-directory of the web needs NTFS rights for ASPNET-User.

thanks to all,
eric

> Dear group!
>
[quoted text clipped - 13 lines]
> regards,
> Eric

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.