I have a web site published to a Windows 2008 R2 server running IIS 7.5. The web site accesses a SQL 2008 database on a different server. The web site is accessed from an intranet.
In global.aspx users are logged in by retrieving their Windows.Identity which is passed to a stored procedure that checks they have rights to access the system. All the people trying to access the system have rights to the system and if I run the stored procedure with their various Windows.Identities passed as the parameter - it returns that they are authorized.
I have admin rights on the web server. If I browse the site from my box it works okay. If another user who has admin rights on the server browses the site (at the same time as me - or on their own) it works okay.
If someone without admin rights to the server browses the site - and they are the only person 'on' the site - it works okay. If a second person tries to browse the site at the same time as the first person is logged in ... nothing happens. The progress bar in the browser just sits there forever. No errors etc.
So, no-one using the site ... Fred types http://server1/system1/ into his browser and the site works okay.
Jim types http://server1/system1/ into his browser and nothing happens.
Fred logs off and Jim tries the site again. Works fine for Jim this time.
i am working on a personal website, so obviously it's not a company website which have exchange server or anything like that
I know how to setup SMTP but what details should i give for SMTP service ? i mean my yahoo/hotmail/gmail account will work, setting up SMTP is really important for the website i am working on to recieve and send e-mail how to do that for a personal website when there is no exchange server ?
I have a client request that all times be displayed in Pacific Time Zone, regardless of client settings. I'd like to avoid a scenario where I have to call a function for every time display and instead have a single point where I can make the switch.
I'm thinking a custom culture might do the trick, but I wanted to ask before I set off down a potentially blind alley (or miss something trivially easy).
I was trying to incorporate a functionality in my ASP.NET such that a DIV tag which contains the Profile Navigation Menu should only be visible if a person is logged in. I know the condition on how to if the person is logged in or not but wanted to know the method to toggle the div tag on/off based on person's logged in status.
Dim s_Person = From Person In db.People Join ProspectStatus In db.ProspectStatus On Person.Id Equals ProspectStatus.Prospect_ID Where (Person.Organization_ID = s_Organization_ID)Select Person.
I only want to return DISTINCT values of Person.ID. Right now, it returns the same person multiple times because there are several entries in the status table.
Dim s_Person = From Person In db.People Join ProspectStatus In db.ProspectStatus
I wrote small wcf service. Its working fine. I have one doubt if i want to share the address in lan to other person so he can consume the service of mine he can build the application. how can he access the service in local lan.
I am using the asp.net membership on my website and I have a user called DemoUser for someone who has not joined and wants to try out the site. All they can do is look around and search records. Nothing more. If more than one person logs in with this username, will all of these people be counted in how many are online? Or will that username only be counted once even though 20 people might be using it?
i m preparing a website based on asp.net forums .i have made all the forms reg., login , etchow to get the main grid which is on forums page.how to keep that updating every time.
I am wondering how I could implement a timeout feature in my website when after a period of non-inveracity from the user for example 20 minutes then this will redirect back to a timed out page? I'm using VB 2010
I'm working with the AJAXControlToolkit in an ASP.NET 3.5 application. I've got a textbox on the page to take the person's social security number, and I've put an masked edit extender and an masked edit validator, force the user to enter the whole SSN, but it doesn't work. I'm not sure what I'm doing wrong, or have left out. Here's the relevant code:
I have a page which can only be seen by the members...no guest can Access tht page ...m using asp.net wid c# can i get an basic idea how do i redirect tht person to login page if they r not logged...and wid a condition tht if they r loggin already thn no need to show the loggin page they can directly access to the private page
I'm looking for a way to put real time features into my web site. The idea is asynchronous communication between 2 people - like a chat session. If I use the chat example - I'd like the second person to know that the first one has sent a message to him, without refreshing or doing something active on the web page. Polling is not a good idea here - so is there any other solution? the back-end could be ASP.NET or PHP (ASP.NET preferred).
I got this answer from Kjensen and read the answers, but this is a different webapp
I'm running scheduled events that process incoming orders, set Picking material, manage Track & Trace numbers, etc ... and I do this at a specific time of the day (set in Administration Panel)
My server is in UK (DiscountAsp.net) but I'm 2 hours ahead.
What I really wanted is, every time I call DateTime.Now that would be automatically changed to my time instead of Local Server Time. This should handle Daylight savings as well.
I thought about making a Extension to simply call DateTime.MyLocalTime and there use TimeInfo to add / subtract the correct hours.
In good old days I did this in Global.asa (ASP) ... I just wanted to know if there is a better way to handle this.
iam geting Time out expired for my website .This is happending when more users accessing the site . so how can i resolve this issue .rectify this issue. But it is not problem with connection pooling
I am a beginner with ASP.Net and I am trying to build a Web site which searches a MS SQL database for a person by name using a search form. I have decided to do this project in two steps. Step one was to develop the functionality in basic .aspx page, and then step two is to transfer the working code into the 'business starter kit' template provided with Visual Studio Express 2008. During step 1, I have created the search form, a results page, and also a detailed results page which all work exactly as desired. However, I have now been working on step 2 and trying to place the search form portion of generic page into a page created within the actual web site created using the business starter kit and this is where i am running into problems.
My search form will not work and gives me no results when I enter in a person's name. I have checked, double-checked, and qtriple checked all of the controls I am using, the database connection, the gridview settings, etc... and everything appears correct. I can create simple .aspx pages, not utilizing the masterpage.master file, and copy and paste my search from code into that and again everything works perfectly, but it does not work within my actual Web page being used for the site. Thus, this leaves me to believe the probelm has something to do with the masterpage.master page. Can someone take a look at my code and see if they see anything which may be causing my problem(s)? I have been working on this since sunrise this morning and it is getting quite frustrating that I cannot figure out what the problem is.
I try to create a webbased application with vb 2010 and asp.net 4.
I have a main loginpage, from there users are redirected based on their roles, I have 2 subdirectories and a admin page. User are being redirect so that is not the problem, but when for example, I am on subdirectory 2 and type in the addressbar the mainpage of subdirectory 1, I am redirected to the loginpage and still being loggedin (I see the login page but also my username in the upper right corner). What suppose to happen, is when a user types an unauthorised url, they should get a 403 access denied page (because it should not be possible to go directly to an other sub folder) and return to their previous page.
In every subdirectory folder I have a web.config with authorization on allow and deny access.
When the page loads I am able to click the add button and it moves the selected person from one dataset to the next. If I then try to move another person I get the error message 'Cannot find table 0'. I have changed the text to bold where the error occurs.