DataSource Controls :: User Synchronization Very Slowly?
May 18, 2010The problem is : when the Manager add one new user or delete one user,It is very slowly to synchronize with the database.
View 2 RepliesThe problem is : when the Manager add one new user or delete one user,It is very slowly to synchronize with the database.
View 2 Repliesi have used some Ajax control toolkit in my web project. but the problem is that my web pages are loading very slowly because of ajax control toolkit, when i remove this web pages are working very fine and fast. I am using vs 2012 and framework 4.5..
View 1 Replieshow to synchronize asp.net page . means how can we maintain synchronization in asp.net while loading pages/ page ?
View 1 RepliesI'm workin with Visual studio 2010 and I'm trying to create an ASP.net Web Site, language used - C#
I have 2 different pages, for 2 different users with 2 different roles.Each page has a textbox.I have already created them.What I want to do, is to make a bind between this 2 textboxes, so that the second to get the first boxes' text.I managed to do it, but only if the textboxes are on the same page, very easy (Textbox2.Text=TextBox1.Text) . But how to do it for 2 different pages, for 2 different users with 2 different roles?
Another trouble would be....How can I connect the both users same time....after i start debugging the project, I do a sign in but when I sign in with the second user,the first is automaticly siggned out and the text it's lost.Then, how can they synchronize and the second user see what the first one wrote,using that 2 textboxes? Wich is the solution?
i need working example for remote file synchronization using WCF
View 1 RepliesWhat would cause a single webpage to load slowly? I have javascript within the <head> element. The html consists of 2 <div> elements and within these <div> elements are a bunch of <table> elements and that's it.
The functionality of this site is such that each <table> element contains data that during the "onload" event, these <table> elements are hidden. Each <table> elements is controlled by an HTML menu (the menu itself is an html table). When a menu item is clicked, it will either display or hide the <table> element depending on whether it is already displayed or hidden.
What best synchronization feature should I use in my asynccontroller action? [calling while(OutstandingActions > 0) is not an option)],
a. Async fetch 3 items from data service in parallel,
b. synchronize.
c. compute a value using the 3.
d. async save all 3 results to data service in parallel.
e.synchronize.
f. finish
My website has 500 *.dll in bin folder. I write a page with only one TextBox At aspx file.and cs code as below. After iisreset , it costs a long time to open the page.The trace log show itspend much time between Begin PreRender and End PreRender. Please tell me why it takes so long ?
cs code:
protected void Page_Load(object sender, EventArgs e)
{
RegularExpressionValidator _regularExpressionValidator = new RegularExpressionValidator();
_regularExpressionValidator.EnableClientScript = true;
_regularExpressionValidator.Display = ValidatorDisplay.None;
_regularExpressionValidator.ControlToValidate = "TextBox1";
Page.Form.Controls.Add(_regularExpressionValidator);
}
trace log:
aspx.page Begin LoadComplete 0.000986438220500092 0.000158
aspx.page End LoadComplete 0.00100739060411309 0.000021
aspx.page Begin PreRender 0.00102359378077381 0.000016
aspx.page End PreRender 16.6258622255063 16.624839
aspx.page Begin PreRenderComplete 16.6259253620223 0.000063
.net framework 2.0
If the leave the webpage (any webpage) on my web application for a while (say 15 min), if I again click on another page it takes a long time to load (20 seconds)
I had a look through the google chrome --> developer module and found that, it is the web page which is the culprit here and the 'LATENCY' time for it is 17 seconds !!! and the actual 'download' time is only 117 ms.
A. what could be the cause of this issue?
B. What can I do to fix it?
Getting cascading dropdown Values slowly when using $getjson?
[Code]....
[Code]....
We are wanting to upgrade from one version of jQuery to another. We use various online plug-in's and have written many of our own. The challenge now comes in the form of trying to SLOWLY MIGRATE all your scripted objects SLOWLY without a complete re-write. I have an idea on HOW to handle this:
BUT I HAVE QUESTIONS:
Is the idea below even a good idea? Can I (directly) tell each jQuery object where dependencies live?
If this is a bad idea...how do YOU handle it? Do I simply re-write EVERY object that happens to break upon upgrading? (sux!)
[Code].....
i want to use dataset , or any thing ... to display Sum * where user= user.identity.name(not use gridvew, or formview) because i have more then 100 columns . i m newbie. realy , 1 month, it not solve, sometime , i want to give up
View 3 Repliesl Im downloading Pdfs using WebClient I used below code
try {
WebClient wc = new WebClient();
Uri uriadd = new Uri(@"ftp://xxx.yyy..../httpdocs/FH/Foldername/" + clientorder1[i].Cloi_id + ".pdf");
wc.Credentials = new NetworkCredential("xxxx", "zzzz");
}
Its working fine but some times Gives Error like Object synchronization method was called from an unsynchronized block of code.. Why this Error coming ....
I just published a very small site to GoDaddy that I programmed in Microsoft Visual Web Developer 2008. The site only contains 6 sheets, none of which are data intensive. Each has a few small images that serve mostly to navigate to the other sheets. There is no data, no SQL, nothing like that. There is one master page that governs the page layout for all of the pages. Everything works fine, for the most part. I am posting because the site loads quite slowly, particularly considering how little content is being loaded. Can anybody give me any advice about what I should look at to speed this thing up a little bit?
View 2 RepliesWe are adding openfire fastpath chat to our site. It will determine and indicate when live chat is available or not and display an appropriate image to indicate the current status and links for each state.
The javascript call hit's a function that is on another box and this function uses document.write to output the html to the page. I know there is a delay because it is making the request to another server and waiting for a result to be returned. The pause here is about a half second, but causes the rest of the page load to be held up.
Has anyone experience a similar issue or offer any tips for getting this to load synchronously somehow. I tried putting this into an aspx ajax panel, but that seemed to cause other issues.
I am using the following Web method.. its work fast on local host , but on Domain hosted server .. its works odd , i;e; some time its work fast about (1-3 sec) and some take about 10-14 sec to process.. how do i make it work properly and fast..
here is my code
[WebMethod]
public static string DisplayMessage(string name, string price,string obj, string id)
{
SqlConnection conn = new SqlConnection(WebConfigurationManager.ConnectionStrings["eshopConnectionString"].ConnectionString);
//Creating Delay""
[Code]....
how i can validate Specific user ON My Login Page
whether the username exist or not
if its exist it should match with the right password and right username
Language-ASP.NET C@
BACKEND-SQLSERVER 2005
I built a website using SQL 2008 Express. I want to deploy it to a hosting company (shared server). If I change the SQL 2008 Express database on my local machine (further development of the website), how can i synchronize the local SQL database with the one on the server without loosing data?
View 3 RepliesI'm fairly new to web service development, and I am really confused about how ASP.Net Development Server synchronizes with code during debug mode. When I make changes to my service, I cannot figure out how to propigate those changes so that my client can "see" them (I've been able to synchronize through a stumbling series of publishing the service, viewing the service in browser, etc... but I have a feeling there's a more reliable system than my random ritual). Here are the symptoms I'm seeing: After I've made a change to the code behind my service (Service1.svc.cs), started the application through the debugger and attached the debugger to the WebDev.WebServer.exe process as well, my latest changes are not executed, and my breakpoints are not hit (they have the message that "The source code is different from the original version." What really baffles me, though, is that when the ASP.Net Development Server notification pops up in my system tray, its physical path points to my project folder, so I don't understand how it could be looking at anything but my current code files.
View 1 RepliesI have a databound gridview on a page the user navigates to after logging in. I would like this gridview to display personalized data to them. I identify the user on page load with the following code:
[Code]....
How do I include the user ID in the LINQdatasource control of the gridview so the query is personalized?
I don't see how to in the configure data source area. Is it done with code behind or placed as parameters in the aspx tags?
when i am trying to add a database to new website using "ADD NEW item--->SQL server databse i am getting an error which is telling
"Generating user instances in SQLSERVER is disabled.Use sp-configure user 'user instances enabled' to generate user instances."
how to enable the user instance option and where i can find it?
I am using the createuserwizard to create a new user, however, I am also adding data to a custom sql table during the create user process. Everything works great. The new user is created in the aspnet_tables and the extra data is added to my custom table. The issue I am having is adding the current logged in user's ID to the custom table so I know who added the new user. I am able to capture the newly added user's ID and insert it into the custom table to create the link between the aspnet_tables and my custom table, however, the insert places the new user's id into my IDModifiedUser field instead of the currently logged in user.
Here is my code for the insert:
[Code]....
[Code]...
View 12 RepliesI am trying to create a type of table on sql 2008. The following sql fails saying Incorrect syntax near the keyword 'AS'. what i am doing wrong as this looks fine to me.
View 1 RepliesI was wondering how I could use user.identity in a where statement in sqldatasource to return results for a user profile. I already have a table that stores the username. Just need to return it's results.
View 5 Replies