Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

deploying webservice vs2005 c#

Status
Not open for further replies.

GSharp69

Programmer
Jan 27, 2008
9
BE
hi all,

I have a task to write a webservice and to deploy it.
I started it today. After 1.5h the programming of the webservice was done and in debug mode it works very good.

The only thing that was left was to deploy it. This
part is driving me crazy. i have tried a lot of ways to deploy it but never succesfull.

In my root of the project folder i have 2 subfolders and 2 files: the 2 folders are App_Data and App_Code. App_Data is empty and in App_Code is my service.cs with the actual code
the 2 files in the root folder are the web.config and the Service.asmx. In my service.asmx there's only one markup line with following code :

<%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs" Class="Service" %>

I have tried to publish it from vs2005 menu (build/publish)
but this didn't work. I have also copied files manually to production server, also not good.

Has anyone have the right detailed steps or tips to do something like this?

thx in advance

grtz

GSharp
 
I have found the problem on localhost.

It was the configuration and ASP.Net version on local IIS that was not wel. I have fixed that but on production it's still failing but i do not have the permissions for that.
Someone else is going to take care of that he told me, i'm curious

greetings

GSharp69
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top