i have created a website application in asp.net using c# for our company's typical department.we dont have a server here.so it need to be deployed into a single computer.how shud i do it so that it can be used as a software in a click away...

so u r willing test your app in LAN configuration..

if yes then you have to make one machine as Server.

in which deploy all your project files in IIS

apply the necessary permission and check;

it's lil headache but it's fun...try and let me know the problems..!

thanks a lot for ur reply/.....it is exactly what u meant...but can u please explain in detail....from the scratch...this is my first attempt..

ok...

1 > on server machine install IIS...

2> next create a virtual directory..which would be your project name

3> copy the contents of your project to this virtual directory.

4> Edit permission settings in which allow access of read/write to everyone (you have to search for user = Everyone )

5> Try the IP of server on your local machine..

6> http://serverIP/VirtualDirectoryyouhave created/Default.aspx

7> let me know the o/p

hope it should work...

if it works then i'll teach you one more technique which is more secured..!

try and let me know the o/p

k..thanks again...but lemme tell u the current status of my project.it is in C:\Inetpub\wwwroot\technical...everytym i open microsoftvisual studio 2005 and "debug" it to see my software run....so from that state how shud i move further...the sqlserver is in this system...so i may make this as my server...then......

you have to install sqlserver on your server system.
set the connection string. it will work..

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

A name was started with an invalid character. Error processing resource 'http://192.168.1.117/technical/login.aspx'. Line ...

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>
-^

could u please elaborate

wot exact procedure did u followed while deploying..!

http://www.ironspeed.com/Designer/5.0.1/WebHelp/Part_VI/How_to_Create_a_Virtual_Directory_for_Windows_2000_XP_and.htm

i followed this to make virtual directory.then i cud see the contents of my project inside it.so i didnt copy as u mentioned.then i followed xactly as u mentioned...

I have visited the link you have mentioned. One thing, once you have created the Virtual Directory, and after right clicking on Properties, you should have to check the Write and Directory Browsing checkbox. Also make sure the local path is correct. Also click on Configuration button, it will show you dialog box , now select Debugging tab and make sure under Debugging Flags section both checkbox are checked.

hey...thanks a lot for a ur help...it was almost impossible without ur help....i run aspnet_regiis.exe -i....reinstalled asp.net..and worked fine....once again thanks alooot

hey....1 more doubt..
http://192.168.1.117/technical/login.aspx
i can login when i type this in myown systems i.e....
but how can i login to this using other sytems in lan.....
shud other systems need to have iis?or anyother thing?

hey...thanks a lot for a ur help...it was almost impossible without ur help....i run aspnet_regiis.exe -i....reinstalled asp.net..and worked fine....once again thanks alooot

cool... see deployment is easy but we have manage the dependency all the time..

hey....1 more doubt..
http://192.168.1.117/technical/login.aspx
i can login when i type this in myown systems i.e....
but how can i login to this using other sytems in lan.....
shud other systems need to have iis?or anyother thing?

when you see the login page on u r client side..
provide the necessary credentials it will check in the database

if credentials matches with database then you are ready to go!@

did u get any error when made an attempt for login..?

when i am trying to login using other systems in lan,using http://192.168.1.117/technical/login.aspx....."page cannot be dispalyed error..." is displayed....the other system has iis in it...any other requirements....????
thank u...

if you are able access the server from your machine..
then it should be possible for you to access the server from diff
machine in your network..

i made changes to the firewall settings and it is o.k now....
once again thanks a lot for ur help....:)

Cool... :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.