Tech Off Thread

2 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

VS.Net 2005 Development Server

Back to Forum: Tech Off
  • User profile image

    Hello All,

    I have just started to create a new project (you will all hear about it soon on here, weather its good or not Big Smile).  Basiclly here is the outline:

    Sql Server 2005 Database
    Webform ( + C#)
    WinForm (C#)

    I want the webform which will be located on the same server as the sql database to connect to the database and return data.

    I also want the winform to have the same functionality (plus a few other bits) but I want it to connect to the same database (if connected to the internet).

    I was thinking that having a Sql Connection() over the internet isn't the best thing, so I was going to use Web Services (helps me learn how to use them aswell, all good)

    So last night,  I started to build the web side, got my db setup,  got my webform setup and my web services setup (base projects, just to test they work together).

    I ran the web services in 2005, it loaded up the project on port 18789?? and I then tried to run the website which load up on port 486.  However when it tried to access the web service it got permissions denied.

    So, three questions:

    1)   Is using my webform to connect to web services a good idea.
    2)   Should I have the web services as a different project/sln or together with the website.
    3)   How do I get them to talk to each other locally.

    Please advise.



  • User profile image

    Found a solution,  just thought I would post it.  Answer to my web services question - weather its right to use them or not would be cool.


    In Solution Explorer, right-click the name of the application and then click Property Pages.

    In the Property Pages dialog box, click the Start Options tab.

    Under Server, untick NTLM Auth.



Conversation locked

This conversation has been locked by the site admins. No new comments can be made.