on 06-28-2010 10:00 AM
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");
}
}
}
Error:
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?
thanks
b1ws documentation page 10
b1wshttphandler configuration
2. richt click under default web site and select new -> virtual directory
change virtual directory to application
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.