Skip to Content
avatar image
Former Member

problem with sap web services error HTTP-Status 404

hi all

i've a problem using the webservices with visual studio c#

i can browse and import the webreferences but if i try runnig the site it crashes with an error: HTTP-Status 404: Not Found.

Code looks like this:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication2
    public partial class _Default : System.Web.UI.Page
        protected void Page_Load(object sender, EventArgs e)
            WebReferences.LoginService login = new WebReferences.LoginService();
            login.Login("localhost", "SBODemoAT", WebReferences.LoginDatabaseType.dst_MSSQL2008, true,"sa","pass", "manager", "manager", WebReferences.LoginLanguage.ln_German, true, "localhost:30000");


Zeile 93:         [return: System.Xml.Serialization.XmlElementAttribute("SessionID")]
Zeile 94:         public string Login(string DatabaseServer, string DatabaseName, LoginDatabaseType DatabaseType, [System.Xml.Serialization.XmlIgnoreAttribute()] bool DatabaseTypeSpecified, string DatabaseUsername, string DatabasePassword, string CompanyUsername, string CompanyPassword, LoginLanguage Language, [System.Xml.Serialization.XmlIgnoreAttribute()] bool LanguageSpecified, string LicenseServer) {
Zeile 95:             object[] results = this.Invoke("Login", new object[] {
Zeile 96:                         DatabaseServer,
Zeile 97:                         DatabaseName,

can someone help me?


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 28, 2010 at 02:49 PM

    b1ws documentation page 10

    b1wshttphandler configuration

    2. richt click under default web site and select new -> virtual directory

    change virtual directory to application

    Add comment
    10|10000 characters needed characters exceeded