C# - Error When Multiple Users Access Web App At The Same Time?

Oct 5, 2010

I'm using .Net 2008 and Oracle 10g as my database. The problem I'm getting is after deploying the application in IIS, when multiple users access the same page at a time i'm getting the error. Can't get the output.

Note: Both the users accessing the same page, same menu at a time.

How can I resolve this?

View 3 Replies


Similar Messages:

MVC :: Update Multiple Users At A Time?

May 21, 2010

I have to update the users based on input value..

here is my code..

<fieldset>
<legend>StudnetInfo</legend>

here i have two textboxes and two dropdown list boxes.. this is the fiedlset user is going to enter their information..

</fieldset>

on the same page i have couple of other Fieldset with there studentInfo with twotextboxes and two dropdownlistboxes smililarly above Fieldset..this data dynamically generated from database for each users.

so all here my intension is insted of updating each and every Fieldset i made one generic fieldset to update all other Fieldsets information

on the Generic view I have this BeginForm

<% using (Html.BeginForm("Update", "home", FormMethod.Post,
new { @id="studentid"}))
{ %>

my JsonResult is

public JsonResult Update(StudentBE e)
{
try
{
var UStatus = Generic.UpdateStudent(e.student,"","");
return Json(UStatus.ToString());
}
catch (Exception ex)
{
return Json(ex.ToString());
}
finally
{
}
}

using this I can update only one user perfectly but I need to loo update all users based on generic Filedset values?

View 1 Replies

Web Forms :: Multiple Users Accessing Web Service Or Web Page At Same Time

Dec 14, 2010

i am still relatively new to web development and have been encountering some issues when multiple users click a button at the same time.

i was wondering what could be causing this as i have already removed all static variables realiseing that was a mistake and replaced them with viewstates were needed then sessions when moving across pages

View 7 Replies

SQL Server :: Multiple Users Inserting Values In The Same Table At Same Time?

Dec 15, 2010

I have one SP in sql server which takes the data from user and inserts into three tables. My problem is if multiple users call the same SP in same time it throwing error..(I guess one user at a time can access the table and table will be locked, that is why remaning users getting error)how to handle this situation. it is a web application, so at a time so many people can call the same SP.How can many users insert data in the same table in the same time?

View 5 Replies

VS 2008 Multiple Users Using The App Will The Variable Get Overwritten Each Time A User Calls It?

Jul 19, 2010

If I declare a public variable in my module then publish it out on the server...then have multiple users using the app will the variable get overwritten each time a user calls it?

View 1 Replies

Access :: Application Fails When Accessed By Multiple Users?

May 14, 2010

We have created an ASP application with MS Access as back end. We have implemented this web application on our server machine and accessed the same from on my local machine.

Our application works fine when only one user accesses it (All insert, update works fine). But when multiple users connect to this application and try to update the database, then application get crashed. As per our knowledge, this is happening because of access database get locked, when one user open it in exclusive mode.

View 2 Replies

Security :: Allowing Access To Users Who Are In Multiple Roles?

Feb 26, 2010

I have a web.config file with <authorization> section. I'm using window authentication.

The problem is that I would like to allow access to the web site to those users who are in multiple roles.

For example:

<authorization>
<allow roles = "Role1 AND Role2"/>
<deny users="*"/>
</authorization>

(Meaning I would like to allow access only to those user who are both in Role1 AND Role2.)

Is this possible to achive this?

If not, what would be the alternatives?

Note: Currently I'm doing the roles assignment in the Global.asax file in the OnAuthenticateRequest event (i'm reading the groups that the current user belong to in the Active Directory).

View 4 Replies

Web Forms :: Allow Multiple Users Access Web Service Through Authentication

Aug 7, 2012

i have one web service how can i give access to that web service to many user(with secure method). Now i am checking url and only doing for one site. So what should i do.

View 1 Replies

SQL Server :: Write A Stored Proc To Prevent Multiple Users In Uploading The Reports At A Time?

Aug 11, 2010

I wanted to know how to prevent more than one user from uploading the report at a time .

This is a Windos based app written in c# . When User A clicks Upload option on one server from the menu to upload the files and at the same time when User B clicks Upload option on different server , User B should be alerted a message saying "User A's uploading is in progress,pls wait" . How to achieve this, with the code..I am thinking this logic should be kept in a stored proc, How do I write that proc?

View 6 Replies

Security :: Allow Admin Users To Access Basic Users Accounts?

Aug 26, 2010

Allow Admin Users to Access Basic Users Accounts?

View 4 Replies

How To Send Reminder Emails Based On Users Input Time And Day (based On Their Time Zone)

Mar 24, 2010

I need to send emails based on users input time and day (based on their time zone)? Kind of a reminder.

For Example: User input 2:00pm Eastern Time on my server I have different time zone, how to calculate the time and send the email at users time-zone. Its a web application. What is the best way to accomplish it using asp.net c#? If somebody already done it in the past I will be glad to take a look at source code.

View 1 Replies

JavaScript - Multiple Create Requests Means Multiple Button Click Events For The Same Time?

Oct 19, 2010

I have a form which inserts data in DB on Submit button click but the problem is when client click the button multiple times its sends multiple create requests means multiple button click events for the same time of same data, which must not be.

I tried to disable the button when client click the Submit button first time but after this it does not call server click event handler or not fire the server click event once it got disabled.

How to handle this multiple click problem..

I used the following code to disable the button

[code]....

View 3 Replies

Access :: IIS_WPG Write/modify Access To The Folder Where MS-Access Database Is Located - Insert An Error Pop-up?

Feb 17, 2010

Is there anything missing in IIS 6.0 that prevents me from (Insert into table) using MS-Access?

Explain: The application works fine under Visual Studio 2008 IDE the insert into table works fine with no error, Also I tested with hosting provider and works fine with no problem. but now I have published the same exact app in a dedicated server windows 2003 with
IIS 6.0 .NET framework 2.0 with latest service pack I gave IIS_WPG write/modify access to the folder where MS-Access database is located and database but at the time of insert an error pop-up. I need to install in the Server or settings in the IIS to recognize my MS-Access db is it some office runtime that I am missing. (BTW I am using OLEDB connection string in my C# )

Using System.Data.OleDb;

I can retrieve data off of it with no problem but when I try to insert is when it fails I thought the problem was Access Rights but I do not think is the case.

View 4 Replies

IIS Multiple Request From Multiple Users?

Feb 3, 2010

"With ASP.NET I've found that request are processed sequentially, one at a time, at least on a server with one CPU. If one request blocks for some reason, maybe on a long database query, then all users must wait
until it completes, for their request to process."

Is this true? Do multi-core processors effect this? Also if you do ahve more than one CPU will it stop processing sequentially automatically or is the default always sequentially?

View 1 Replies

AJAX :: Error On First Time Page Refresh Then Removes On The Second Time / Could Not Load File Or Assembly

May 20, 2010

Server Error in '/MedTegraSL.Web' Application.

Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.

Description:

An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.

Source Error:

[Code]....

Source File:

c:ProductiveTeamsMedTegraPresentationMedTegraSLMedTegraSL.WebMainMaster.Master Line: 16 Assembly Load Trace: The following information can be to determine why the assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' could not be loaded.

[Code]....

Stack Trace:

[Code]....

View 2 Replies

How To Update Bulk Users At One Time

May 21, 2010

I have to update the users based on input value..

here is my code..

[Code]....

using this I can update only one user perfectly but I need to loo update all users based on generic Filedset values?

View 1 Replies

C# - Synchronize Count Down Time For All Users?

Mar 15, 2010

I need to synchronize the count down time for all users.So it will display identical remaining time to all in asp.net.

View 1 Replies

Security :: Keep The Pages From Time Out When Users Are Logged In?

Mar 6, 2011

How do I keep the pages from time out when users are logged in?

View 3 Replies

DataSource Controls :: How To Access Database Once With Big Resultset Or Access Multiple Times On The Fly

Jun 17, 2010

I have a situation where I am accessing a database multiple times and I'm wondering if it is necessary.

I have a GridView with a template column with a hyperlink to "Get Results" and on the RowDataBound event I have it check the batch number against the database and see if results exist and then if they don't, hide the link.

So when viewing the page if there is 20 rows in the gridview it is effectively doing 20 queries.

I was wondering if it is a better idea to query the database once with all "batches" and load it into a datatable, then on the RowDataBound event query the datatable. The only issue I see with this is there is currently 40,000 batches and grows daily.

View 1 Replies

State Management :: How To Get Total Time Of Users' Session

Apr 1, 2011

I totally have no idea on how to do this. How can I get the time everytime the user use my system. We are using AD account here so we don't have login and log out. All I want is as long as the user browse to my system whether he is working or it or not become away or any, I will record its time and save it in my database then accumulate all the time he spent in my system for admin reporting.

View 5 Replies

C# - Force Users To Browse With One Browser Window At A Given Time?

Jan 11, 2011

i have to implement a requirement that's kind of weird for web apps (intranet web app).

after an user login to the app, the user may press Ctrl + N to open the current page in a new window. this sounds perfectly normal except the business requirement is to prevent users from doing this. users must logoff before they can access to the app again with a different browser window/tab.

View 1 Replies

Web Forms :: Redirect Users All The Time After They Click The Button?

Jul 22, 2010

So I have a text box and a button, once the user types something in the text box, and then click button, I posted the typed text into a div control on the same page.Now my problem is that, the text box appears to have the typed text, how to resolve this type of issue? I don't want to redirect users all the time after they click the button.

View 4 Replies

Security :: Multiple Roles For Multiple Page Access?

Jan 20, 2011

I'm planning to make a page that has about 10 different pages for varying use, for example, stats, data entry, reports, logistics, audit, sales, promo, etc etc. I'm anticipating there will be many combinations as to what pages a user may have access to, for each page, a user ought to be authorized to either enter new data, edit data, print and/or just view.

My questions are :

1. can membership & roles be used, once user is logged in, to display links to all the areas of the web app he is allowed access to?

[code]....

2. besides having access to a particular page, a user should, as mentioned before, be authorized to either enter new, edit, print and/or just view data.
3. Is there a preferred/better method to handle this besides using membership & roles?

View 3 Replies

Cache Sharing - Between Different Users Accessing The Site On Different Computer At The Same Time

Jul 21, 2010

I have an ASP.Net 4.0 web application which very frequently loads data from the database and does heavy calculations on it. I want to cache this loaded and prepared data in a central cache that can be accessed by every user and computer who uses the application.

Simple use-case:

User 1 accesses webpage, cache is empty, data is loaded/calculated, data is cached
User 2 accesses webpage, cache contains data, data loaded from cache
User 3 accesses webpage, cache contains data, data loaded from cache
User 1 reloads webpage, cache contains data, data loaded from cache
Cache expires
User 3 refreshes webpage, cache is empty, data is loaded/calculated, data is cached

I know that ASP.Net has a built-in cache mechanism. What I don't know is whether it can be shared between different users accessing the site on different computer at the same time. I would also like to know how the system behaves in a web farm environment.

View 3 Replies

Security :: Development Time Can Managment Roles And Users By Clicking?

Mar 26, 2010

in development time i can managment roles and users by clicking from main menu website -- > ASP.Net Configuration but how to do that after deploy ??

View 4 Replies







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