C# - Making A Web Application As Default Page For All The Pc's In Network?

Jun 30, 2010

i m making an web application dat keeps a track of the computers on a network..i.e..who is using wich pc for internet...in dis..for ny person who wants to use internet has to first login into my apllication den he/she can use internet..so i want dat..my should run every time ny browser is opend..so he/she has to first login..and he can't use internet without logging in..and wen its logged in..den the browser is opened with its home page.

View 2 Replies


Similar Messages:

Configuration :: Making The Home Page As Default Page When Typing The Name Of The Server In The URL?

Sep 6, 2010

I have a Asp.Net application eg its name is ABC and I have a server eg whose name is XYZ, where the application is hosted from. The default page for the application is Home.aspx.Now the requirement is I want Home.aspx to open automatically when the server name is typed in the URL. Currently for accessing the Home page I writehttp://XYX/ABC/Home.aspx but I want Home.aspx to open if I writettp://XYZCan anyone suggest how I can achieve this. I have one solution that is making a HTML page as default in IIS and then redirecting it to the respective link.

View 5 Replies

How To Verify Network Bandwidth In Web Application

Nov 12, 2010

I am maintainign a ASP.NET app. Some of users action are pretty slow; one of my colleagues claim it is caused by network bandwidth as some used dll will connect over to internet to get data.

How could I verify it's really due to network issue? Any tools can peer the network connection during the process?

View 2 Replies

Configuration :: Cannot Access File On Network Drive From Web Application

Oct 7, 2010

Cannot Access File on Network Drive from web Application

View 5 Replies

Security :: Accessing Reporting Application From External Network?

Dec 7, 2010

We have an issue with an internal application, where accessing it from LAN (private n/w) works fine, while access from external n/w throws up erratic behavior.

The Current System :

an aspx page (asp version 1.0) hosted on the IIS server (6.1). The front end is a vb form that connects to a sql 2000 database.

Users' credentials authorized using NTLM security.

Access from an external n/w - a reverse proxy configured with an ISA server 2006 to authenticate credentials.

Domain Controller - Windows Server 2008 R2 x64

The issue when accessed from external n/w :

everytime an entry from a drop-down is selected from an Ajax enabled control, instead of the fields populating, the page gets refreshed and the content of the box are cleared.

Also, clicking on other items that normally hyperlink to other pages, results in nothing happening.

Upon investigation, we realized that :

Everytime it fails, a string - "&AuthResend" followed by an alpha numeric string is attached, which attempts to authenticate the user's credentials everytime a request is made to the server.

ISA error logs yielded the following error msg :

"12210 Internet Server API ( ISAPI ) has finished handling the request. Contact your system administrator. "

This behavior is inconsistent except when accessed from Google Chrome, where it fails each time.

We have applied all the recommended hot fixes from Microsoft's KB pages.

View 1 Replies

Web Forms :: Making Telephone Interaction With Application

Aug 4, 2010

I want to understand the interaction of telephone with webforms application.

In order to do that I want to create a small application which will be able to receive multiple calls at a time, place them in a queue and then forward calls one by one to a call answerer.

It should also be able to retrieve the Caller Id i.e number from which the call is being made.

How this may be achieved?

If there is any ready made solution available with source code pls provide links.

View 2 Replies

Making Web.config Password Protected And Use It In Application?

Jun 18, 2010

I want to make my web.config password protected so that external users do not open it. But my application should be able to access. Is there any way to do this?

View 2 Replies

Finding Web Application For Which Allow User To Select One Of All Attached Printers In Network?

Feb 11, 2011

I need one web application where User can select one of all attached Printers in Network.I am getting idea how to start.Is there any API or any ActiveX Control that I can use for that.

View 2 Replies

Security :: How To Get All Users (domain Names) On A Network Running An Application

Jun 2, 2010

i would like to be able to do is to, lets say i have 10 users running a web application , how can i get the names of all these users. There names , logon times and any other info availabel.

i would like to get this data into a dataset and just bind to a gridview .

View 2 Replies

Security - Accessing Network Folder With Network Service Account

Aug 17, 2010

My ASP.NET MVC 2 application runs under built-in local NETWORK SERVICE account. I want to set up access permissions for the folder which resides in another computer, but in the same domain. I located that folder right-clicked to open its properties form, clicked to Security tab and pressed Add button which displayed Add user form with correct domain name in the location field. I referred to the account with following syntax:

<domain name><server name>$

because I learned that NETWORK SERVICE account uses machine account when connected to other computers in the domain. However, the system couldn't find the account, so refuses to add the account. Without the domain name it adds a user, but that user seems to be local user, not web server's NETWORK SERVICE account. What am I doing wrong?

By the way, the above syntax worked when I created login for the sql server which is different computer from the web server.

View 2 Replies

C# - Making Windows Panel Size Fixed Within The Application

Nov 17, 2010

How can i make the Windows Panel Fixed so that it displays at a fixed location within the application. By Panel i mean System.Windows.Forms.Panel

View 3 Replies

Networking - Obtaining Client Computer Name On Local Network In Javascript Web Application?

Jan 27, 2011

I have an asp.net (FW 3.5) web app that runs on an internal network. One specific page needs to "report" in to the web server that it is active and not locked up. I need to be able to run a script (or something) at the client to report the pc's computer name in that report. I cannot find a method that does this. I found several things that would report the WAN IP or host name, but this appears to all be for external facing sites.

View 1 Replies

Why "NETWORK SERVICE" Doesn't Have Permission On "C:inetpubwwwroot" By Default

Feb 1, 2011

I grant permission to NETWORK SERVICE manually to have access to C:inetpubwwwroot so ASP.NET can do something like reading and writing local files.

Is there a security reason this permission has not been granted by default?

View 3 Replies

Making A Comment Page?

Sep 6, 2010

i want to make a comment page but i don't know where to start or how to do this. The member of my page must make a comment about videos, articles etc.

View 3 Replies

WebMatrix :: Why Is "default.cshtml" Automatically Recognized As Default Page In IIS Express Server

Feb 4, 2011

When i created a simple site via Matrix which adopts Razor technology by default, i found site automatically display "default.cshtml" if started through "http://localhost:xxxx/bread/" ; however i hadn't set "default.cshtml" as "default document" for this site, even i seek in the "applicationhost.config" i just find

<defaultDocument enabled="true">
<files>
<add value="Default.htm" />
<add value="Default.asp" />
<add value="index.htm" />
<add value="index.html" />
<add value="iisstart.htm" />
<add value="default.aspx" />
</files>
</defaultDocument>

which apparently hasn't "...cshtml" yet. So I am wondering now why in this case the web server actively sets "default.cshtml" as default start page ?

View 5 Replies

State Management :: Show  default Country, State , City At Page Load Of Default.aspx ?

Sep 18, 2010

Here is my scenario.In default.aspx page user selects the country, state, city from drop down list, and store them in cache for further use. but when other user open the web site from other computer it shows the same country, state, and city selected by user 1. Is there any problem related to cache? I have stored data as following.

cache["ctryID"] = ctryID;

cache["stateID"]= stateID;

cache["cityID"]= cityID;

I want to show default country, state , city at page load of default.aspx

View 2 Replies

Making Multiple C# File For One Page

Apr 20, 2010

For my project(in asp.net) i wrote near 1000 lines of c# code for one asp.net page.It includes so many functions.The problem is,it is going complicated while i am writing more codes on one page.How can i make multiple c# files for one asp.net page?? I tried by adding new class in VS2008.But calling a function from one file to other is making error(item is not present in current file).How can i do that??

View 6 Replies

Security :: Access The Network Shared Foldder From The Application Without Any Security?

Feb 17, 2010

i developed an asp.net(2.0) applicaions which contains the attachments of the clients . these attachments are saved in the shared folder and retrive the file when the user requests.if i maintain the application and the shared folders in the same system it will work properly.if i maintain the application in one server and the file folder in the other server i face a lot of security issus like1.Access Denied2.Couldnot find the part of the path......for this i made an common account for the application server and the file server and also set impersonation to true.Even the i got the couldnot find the part of the path error.i already gave the everyone with full control to the shared folder and i added the common account and gave it to full controlIs there is any alternate for the save and retrive the files to and from the shared folder.

View 3 Replies

Making A Call To A Page That Returns JSON Using AJAX

Feb 9, 2010

I have a Page that expects a POST Request and returns some JSON. Essentially it's an .ashx Page, but that doesn't really matter.

When using jQuery, I would use jQuery.Post with "json" as dataType to simply make the POST request and get an object back. However, for the current project I mainly use ASP.net AJAX and I don't want to add jQuery just for the call.

For ASP.net AJAX, I only found information on how to call a "traditional" web service though, which means adding a asp:ServiceReference to the ScriptManager and having a "real" Web Service at the end.

Is there a simpler way to make a POST call to a Page? I could live with getting the raw JSON and then manually eval()ing it, but I don't want to create a full asmx web service (deploying them on SharePoint is a bit painful, and my ashx handler works fine)

View 3 Replies

Web Forms :: Making A Postbackurl Post To Another Page From Code?

Feb 18, 2010

I have 3 search pages which all implement IProductSearch. I have a results page that expects it's PreviousPage to be a cross page postback of type IProductSearch. The IProductSearch pages use the postbackurl property to post themselves to the results page. The results page then loads the search params from the IProductSearch page and loads the results. All in all its working well.

Now, I want to create a IProductSearch page that has no gui and takes all its values from the querystring. But as there is no button to press (therefore no postback url property) how do I get this gui-less IProductSearch page to cross-page post to the results page?

View 3 Replies

Building A Page To List Files In Directory On Web Server And Network Drives?

May 17, 2010

I have seen some examples on other sites , but since im not familiar enough with DirectoryInfo and Files from the System.IO namespace, i dont know how to change it to fit my needs. So i found a very simple example that works, but i have some questions.

Here is the code i found:

[Code]....

This works great and lists the files in my root directory.

#1 - What i need to know is how to accomplish the same thing but in a format i can control, this code simply displays the files at the top of my page and pushes everything down. So does anyone know of a good and simple tutorial written in C#?

#2 - I also need to be able to setup the code so that certain files within the directories are not displayed, as in the code behind files and other files to be determined by the business.

View 2 Replies

Page Lifecycle - Capturing Server Execution Time Without Network Latency?

Nov 19, 2010

I need to capture the amount of time that ASP.net takes to execute each page request in my application, but I need to exclude any network latency. I am currently capturing render times by using the StopWatch class and starting the stopwatch during the OnInit method of the page lifecycle and stopping it after the Unload method completes. It seems that the Unload method includes the time it takes send the request to the client, thus including any internet/network latency. What is the last possible point I could stop the stopwatch in the Page Life Cycle that would not include the time it takes to send the request to the client. Would it be directly before the Unload event?

Related question: Does ASP.net finish building the response before it starts sending to the client? Or does it start sending asynchronously, while the response is being formed?

I am using ASP.Net 2.0 with IIS 5 currently.

I have this code in a class that all of my pages inherit from:

readonly Stopwatch _serverExecutionTime = new Stopwatch();
protected override void OnInit(EventArgs e)
{
_serverExecutionTime.Start();
base.OnInit(e);
}
protected override void OnUnload(EventArgs e)
{
_serverExecutionTime.Stop();
base.OnUnload(e);
}

UPDATE

I tried capturing the execution time at the end of the OnRender method, at the start of the OnUnload method and at the end of the OnUnload method. In all three cases the difference in times was at most 1 millisecond. Even when testing this from a client in Europe to a server in the USA, the times were identical.

View 3 Replies

Run Application By Default In FF Rather Than IE

Dec 15, 2010

i have web application and when it run it it got hang b/c of some problem in IE ,i want that if i run it (built it )it execute in FF

View 3 Replies

Web Forms :: Making A ShowImage Page - Pulling The Image From A SQL Table

May 17, 2010

The Response.BinaryWrite( does not like what I am giving it.

I am making a ShowImage page pulling the image from a SQL table.

Here is where I am at the moment:

protected void Page_Load(object sender, EventArgs e)
{
string myConnection = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
SqlConnection objConnection = new SqlConnection(myConnection);
objConnection.Open();
SqlCommand objCommand = new SqlCommand("SELECT TOP (1) NEWID() AS row,ImageID, ImageName, ImageType, ImageData FROM ImageTable Order by Row", objConnection);
objCommand.CommandType = CommandType.Text;
SqlDataReader objReader = objCommand.ExecuteReader();
if (objReader.Read() == true)
{
Response.ContentType = objReader["ImageType"].ToString();
Response.BinaryWrite(objReader["ImageData"]);
}
// RotateImage.ImageUrl = (string)objReader["url"];
// RotateImage.ImageUrl = (string)objReader["ImageData"];
// Response.ContentType = objReader["MIMEType"].ToString();
// Response.BinaryWrite(objReader["ImageData"]);
objReader.Close();
objConnection.Close();
}

View 6 Replies

Default Behavior In An Application?

Nov 20, 2010

I have index.aspx , index.html and another mvc application. I found mvc application takes the priority to execute. I want to know how to determine the sequence.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved