C# - Application Page Not Working On Clients Computers
Jan 28, 2010
we developped an ASP.NET application that runs fine on our development server and in our network computers. But in production, the application works when accessing it directly from the web server but not on the clients (code behind is not executing).
View 5 Replies
Similar Messages:
Nov 4, 2010
i have an Asp.net application 3.5. I want to be able to allow multiple/ different clients to access the same application but using different url's. I have already managed to configure the database to allow this. So hia's the main part i want to host my application in a domain say... wwww.myapplication.com
then allow different client to access the same application using
1.www.clientOne.myapplication.com
2.www.clientTwo.myapplication.com
also the client subdomains i.e(clientone.myapplication.com and clienttwo.myapplication.com)should be autocreated by the client upon registration
View 5 Replies
Feb 15, 2011
First of all, I am creating a something like a client/server solution using a standard ASP.NET website - I do know this method is not adviced, and most people would love to scream "COMET!" or "HTML5 Sockets!" - but please don't ;-) !
What I am doing...
I am creating an MMORPG on a website.
I have several clients whom need to be in contact at the same time. This is done by a global object in the Application scope.
My problem
I need to invoke an event to several clients. For instance, when an attack has been performed, I need to update some graphics. The attack logic is resolved in the global object, but each of the clients has to respond to this.
Right now I do the following:
fightTrace.Reciever.InvokeMoveEnded(this);
fightTrace.FiredBy.InvokeMoveEnded(this);
(This is a kind of observer pattern)
What now happends is a race condition. The one who loads the page_load event will get both of these events, and the one who is not running them, will experience no changes in the UI.
So what is it I really want?
What I really need is some genuine and nice way to create an observer pattern through the application state. I need to send an event out to every "listener" which is in this case is a client, and then do some update.
View 1 Replies
Feb 18, 2011
After deploying our web application, one of the user was not able to login to the application. After checking, we could realize that his system date was worng, It was a greater than current date. If the system data was less than the current date we can still login. We are using asp.net membership
View 2 Replies
Nov 18, 2010
I've uploaded a working application to my hosting web server and one page that I was working throws an error. In my web.config I have setting like this:
....
<customErrors mode="Off" defaultRedirect="errorpage.htm">
<error statusCode="403" redirect="bannedaddress.htm" />
<error statusCode="404" redirect="filenotfound.htm" />
</customErrors>
<compilation debug="true" targetFramework="4.0">
....
and I am redirected to errorpage.htm even though customErrors mode is set to Off. I can't find any info about the error (other than it occured) in the log files. The question is: what should I change to be able to debug the app?
View 2 Replies
Nov 3, 2010
I have web application workung with master page.I want to know when the user is closing the browser' then I'll raise event to clean' session variables.How can I detect the browser closing/I tried the unload jscript event' but it fired when I move from page to page.
View 2 Replies
Apr 26, 2010
I have a very interesting problem about Sessions and Master Pages. I designed a small CRM web application with master page. Users could enter their expenses with this application. I put a label on master page. If users login to this site, I changed this label text.
Label text is username. My problem is; when some users using this site at same time, usernames are conflict. For example; One client login and label which on the masterpage value is Ali. Another client login and label value is Ahmet. After that, If two clients process the same things on this site, Ahmet's label's value is changed to the value of Ali. I write it Session Id on URL. Firstly two clients take different Session ID when login to that page. When conflict occurs, two clients are the same Session Id that pages. I am using .NET Framework 3.5V. Is this ASP.NET bug ?
View 13 Replies
Jul 12, 2010
I am using this code in cs file into an asp.net page for getting ip address from the loggeg user:
cmd.Parameters.AddWithValue("@ip",System.Web.HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]);
I would like to have also his computer name, as well?!
View 1 Replies
Aug 19, 2010
My application is working fine in local environment but not working after push code in live. My locale environment and hosting environment both are having same configuration. Same app working fine 2 month before but in different domain but same hosting server.
how to check the both config / any possible to run debug mode in hosting server please let me know. below code used in all page for checking user session status but when I click on any link page redirect to login.aspx I think session got timeout. I don't know why session got time frequently, but this issue not happening in local environment (desktop).
[Code]....
[Code]....
View 6 Replies
Mar 1, 2011
I have a code to get a list of all the computers within a domain. Now i need to just get the computers which are within a particular OU and not the rest of the machines. so here is my code to get all the machines from a domain, this works perfectly fine:
DirectoryEntry entry = new DirectoryEntry("LDAP://" + selectDomain);
DirectorySearcher mySearcher = new DirectorySearcher(entry);
mySearcher.Filter = ("(objectClass=computer)");
mySearcher.SizeLimit = int.MaxValue;
mySearcher.PageSize = int.MaxValue;
foreach (SearchResult resEnt in mySearcher.FindAll())
{
//"CN=SGSVG007DC"
string ComputerName = resEnt.GetDirectoryEntry().Name;
if (ComputerName.StartsWith("CN="))
ComputerName = ComputerName.Remove(0, "CN=".Length);
compList.Add(ComputerName);
}
mySearcher.Dispose();
entry.Dispose();
View 3 Replies
Nov 15, 2010
I would like to objectively measure the connection speed and quality beetween few hosts in one country and a server located in the other country.
Server has disabled pings.
View 9 Replies
Jan 16, 2011
I am new in ASP.net. I published my web project using the steps stated in below address
[URL]
Now i am able to browse my project using the below url
http://COMPUTER_NAME/PROJECT_NAME/Default.aspx
and
http://IP_ADDRESS/PROJECT_NAME/Default.aspx
but form other computers in the LAN i can't access it.
View 6 Replies
Dec 28, 2010
I am having a domain name and web space (the web is running, its ASP.net 3.5). I am working on a project in which I need to connect 2 computers over the internet.
Is it possible to do that with a simple ASP.Net website? What other things I do need to do this?
EDIT
Actually I want to send the data from one computer to another in real time, I mean as we do chatting we exchange text to one another. The same thing I want to achieve.
View 3 Replies
Jul 7, 2010
we are experiencing big difficulties in the configuration of ASP.Net state service and II7. The service seems not working correctly because when the application pools recycles the applicatio loose the session.If we try the same configuration in IIS6 it works correcly.What is the correct way to configure the aspnet session state service in iis7?
View 2 Replies
Jun 15, 2010
I have been doing Windows programming in .Net since last two years. Now I am shifting to web programming so I just stuck in understanding the fundamentals of web programming, after googling I came to StackOverflow to learn from all of you great guys.
My confusion is about how messages flow between systems in distributed enviornment ? I mean suppose I want to send a message "Hello" to a system connected to LAN or Internet, then what will be the steps taken to send the message.
Second thing is suppose my system is "A" and I wana send message to system "B" which is connected via a wire, so how the message flows on wire and how system "B" reads it from the wire ?
View 4 Replies
Nov 18, 2010
Getting an error whenever we click a particular button/link on our site. It is generating a javascript "Invalid Argument" error. I know in the other posts it is typically because it is a syntax error in the javascript however it only just seems to have started happening and it doesn't happen on all pcs.
ie. in our client's environment if I remote onto their web server and view the uat website I get the javascript error. If I remote onto their sql server and view the uat website I don't get the javascript error. If it was a syntax error then I would always get the error wouldn't I?
both browsers are the same version of IE6 (yeah I know...) :) I have tried deleting temporary internet files - including viewing the files and deleting them myself - but no joy.
client uses citrix.. and they're all getting the error :(
Update - I haven't posted specific code as there is too much to post (and I'm not sure where the error is occurring). The "button" launches a new window which in turn opens up a couple of aspx pages and calls lots of javascript. So the window opens ok, and there's a function that gets called to resize the window - but before it calls the resizing of the window/content it throws the invalid argument error. Am busy trying to get alerts to trigger to see if I can see where it's falling over but so far no luck.
Again not sure why this error doesn't occur when I use a particular PC (same browser version)
View 3 Replies
Jan 18, 2010
I have published ASP.NET web site, using IIS7 on Win7. I can access this web site on my localhost, but it is inaccessable from other computers via internet. I have tried to disable firewall and anti-virus program, but with no success.
Does anyone know what may be causing this problem?
It works fine if I publish it on winXP.
View 4 Replies
Jan 20, 2011
i am using form authentication in my web application.
by default, form authentication allow 2 different users to log in from 2 different computer using same username and password. due to which i am facing some problem.
when user 1 clicks on menu i am maintaining the name of selected menu in a session. but if another user clicks on different menu then the session variable is set to the menu selected by user 2. due to which the 1st user is facing some problem as the value in session got changed.
How can i overcome this problem? is there any way, where once the user has logged in, no one can log in with same username and password from another computer?
View 5 Replies
Mar 2, 2011
i have a web application which can be accessed via intenet the application is running on iis and configured using a router..i m looking for a good solution where i can give access to only authorized computers rest of the computers cannot access the applcation for eg:- if i have a users in office1 in sales dept. and he access the application from his office, so i want to deny the same user or any other user, that he cannot access the same application from home or antwhere else.
View 8 Replies
Nov 12, 2010
I have a web portal designed in ASP.NET in which we ask customers to enter the data. On the click of submit button all i have done is, just read the data and called a stored procedure which inserts that into a table. There seems to be a problem in SQL Server 2005 while inserting the data from multiple computers at the same time. We have tested in our lab with three computers, result is that we get the data inserted successfully in only one machine and on the other two machines we get error on page. I have used transactions in the stored procedure and also tried setting the isolation levels to READ_UNCOMMITTED, SERIALIZABLE and SNAPSHOT. Nothing seems to work properly.
View 4 Replies
Feb 11, 2011
The problem is I have a laptop that I take to University with me to all my lessons and lectures and it has Visual Studio 2008 installed on it and I work on my assignments in Visual Studio just fine. However when I get home I would like to use my desktop PC which has the exact same copy even from the very same disk of Visual Studio 2008 that is installed on my laptop. The problem is no matter what I do I can't open and work with any projects that I have created on my laptop.
Now if I create the project on my desktop PC it will open just fine on my laptop and I can continue to work with the project but the minute I save and take that project over to my desktop I get the self same error message shown below. [URL] I did do a little research and I found what looked like a solution for some people and that was to change the "SQL Server Instance Name" to SQL2008. As shown below it was set to SQLEXPRESS which is the same as what it says on my laptop copy. [URL] But all this did was present me with a new message as shown below. [URL] Uploaded with [URL] I'm completely at a loss as to what the issue is. Both my laptop and desktop run a fully updated copy of Windows 7 64Bit and have the same copy from the same CD of Microsoft Visual Studio 2008.
View 13 Replies
Feb 9, 2011
I have created a form and it works. But on the form I want to let users browse the file from the local computers and send it to us.
View 2 Replies
Jan 25, 2011
OK Here is the situation:
I have a web app with a table of statistics on our salesmen's customers, and each row has a sparkline graph showing the general trend of the sales data for the last 12 months. Each page shows a particular salesman's customer list, and some of them can have an enormous number of customers = an enormous number of rows = an enormous number of sparklines (e.g. one in particular has 125 and takes 15 seconds to load).
For this reason, jQuery sparklines could not be used - they completely pinned the CPU of a user accessing a page with a lot of sparklines with IE.
So I moved on to using the Google Chart API, which worked much better, except for two issues: 1) it's on a secure site, and the Google Chart API URL is only served over HTTP (solved by using a small wrapper script to download the graph dynamically and re-serve it from our secure server); and 2) on a page with 125 sparklines, it was still very slow due to the number of requests (even when the 0-9 server prefixes are used to maximize the # of available connections).
So my next step beyond this was to try to make each of the "download/grab/re-serve image" method calls asynchronous - and it worked!
...but only on my dev box running in debug mode.
When I pushed it up to the live site, it was faster, but it left some of the images unloaded, which is of course unacceptable.
So here is what I was hoping some SO hotshot would know:
1) Why are my asynchronous method calls working while debugging, but not working on the live site?
2) Is there any easier way to get a large number of sparklines of some sort to load quickly on a secure server without making me want to tear my hair out?
2a.) Does anyone have any experience using the ASP.NET Chart Library? Is this something I should investigate?
2b.) A co-worker suggested I make my own sparkline routine using a 1x1 CSS background image and varying the height. The problems are a) it is completely un-extensible in case we want to make changes; b) it seems hacky as hell (leaves about a bajillion DIVs per sparkline in the markup); and c) I have no idea if it will be fast enough when there are 100-200 of them on one page - what are your thoughts on the feasibility of the 1x1 sprite approach?
View 2 Replies
Feb 16, 2010
how can we ensure that a sub,it is not be used by two or more clients??
View 21 Replies
Jan 10, 2011
I have a WCF webservice that acts as a data provider for my ASP.NET web page. Throughout the web page a number of calls are made to the web service via the auto-generated ServiceClient. Currently I create a new ServiceClient and open it for each request i.e. Get Users, Get Roles, Get Customer list etc.... Each one of these would create a new ServiceClient and open a new connection.
Can I make my ServiceClient class a global or statically available class so that all functions within my ASP.NET web page can use the same client. This would seem to be far more efficient. Are there any issues with doing it this way? Any advice I should take into account when doing this? What happens if I make multiple requests to a client? Presumably it is all synchronous so it shouldn't matter if I make 1 or 50 calls to it?
View 2 Replies