Iis - Changing The Date On Web Server App Stops From Working
May 18, 2010
I'm trying to write some code that checks the number of days between two dates, when I set the date on my IIS7 server to anytime in the future I get the standard "Internet Explorer cannot display the webpage" screen. This happens if I comment out all my date checking code, with todays date it loads with any future date it doesn't. I've tried rerunning IISReset which makes no difference.
View 1 Replies
Similar Messages:
Dec 19, 2010
I'm using the full-text feature on SQL Server 2008 RC2. Everything had been working well until today. I wanted to change the language for word breakers from Neutral to Slovakia. After I did that, I can't perform full-text search anymore. It simply give me no rows. I even deleted the old full-text catalog and created a new one and populated it, but it still gave no solutions. I tried to query dm_fts_index_keywords_by_document on my table and get only 1 row with a display term END OF FILE.
View 3 Replies
Feb 25, 2011
So we have three 2008 R2 Servers where two are configured to be web servers (IIS 7.5), and the third a session state server. I have set the SessionState and MachineKey settings in the applications web.config. After I restart the two web servers I can log into one server, then change the IP address to the other server, and I am still logged in. Success.
I can typically log in/out with any user account I want, change the ip address back and forth, and all is well until some random time between 30-60 minutes when I log in to one server, change the IP address, and the new server asks for credentials.
This is the sessionState setting in both web.configs:
<sessionState mode="StateServer" stateConnectionString="tcpip=xxx.xxx.xxx.xxx:42424" cookieless="false" timeout="30"/>
The application resides under the default web site, and uses the default application pool. I am using forms authentication with a timeout of 20 minutes. I am not receiving any error events on any of the three servers when this happens, and restarting the two web servers fixes the problem for a while. The two web servers are not clustered per-se, but will be served round-robin via a network device.
View 2 Replies
Mar 25, 2011
When running the ASP.NET Development Server, everything is working fine. However, when I deploy my asp.net application to the production server (IIS 7.0 integrated mode, fresh install), my location tags in my web.config file are being ignored.
Case in point: I'm using forms authentication, and when the user arrives at my login.aspx page, the external css & js files are not being loaded...even though I have specified that those files should be available to all users (auth'd or not). However, once the user is logged in, the files do in fact load.
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="2880" />
</authentication>
<authorization>
<deny users="?" /> <!-- Restrict anonymouse user access -->
</authorization>
And the exception to my css file...
<location path="Styles/xtools.css">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
I've verified that the path to the css file is accurate.
--EDIT Forgot to mention, I have tried creating a web.config file in the targetted folder as well...still not working.
View 1 Replies
Dec 13, 2010
I have a div called address which as a textarea. When I click a hyperlink, it toggles the div up and down. After clicking a an asp.net button the div collapses which is fine, but I noticed the url turns from [URL] to [URL] and now the toggle does not work. Here is the script:
$(document).ready(function () {
$('#myAddress').click(function () {
ShowHideAddressBox();
});
$('#arrowIndicator').click(function () {
ShowHideAddressBox();
});
});
function ShowHideAddressBox() {
var str = $("#myAddress").text();
if (str == "Hide") {
$("#myAddress").html("Click here");
$("#arrowIndicator").attr("src", "/Shared/Images/misc/arrow_state_grey_expanded.png");
}
else {
$("#myAddress").html("Hide");
$("#arrowIndicator").attr("src", "/Shared/Images/misc/arrow_state_grey_collapsed.png");
}
$('#checkAddress').toggle('normal');
}
The server-side button click just sets some values in a couple textboxes. In my master page, I have the following line as well:
<asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Name="MicrosoftAjax.js" Path="http://ajax.microsoft.com/ajax/3.5/MicrosoftAjax.js" />
View 3 Replies
Mar 11, 2011
the site normally works fine in all popular browsers including firefox, chrome, safari and ie.
but doesn't work in ie 8 when it's redirected via a proxy server and it gives an error saying
"Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near 'DOCTYPE html PUB'."
View 1 Replies
Apr 16, 2010
It somethimes happens that, when I use PrinceXML to convert a webpage to a pdf, the local ASP.NET Development Server stops working...It popups the message "ASP.NET Development Server stops has stopped working"
View 4 Replies
Mar 17, 2011
I run a web site with VB.Net and Sql Server, at a web host (so I use one instance of their Sql Server db). I now get this nasty message when trying to access the web site: Column 'kryptotext' does not belong to table tabellen. I have seen this before (but with other columns mentioned), and when I spoke to the tech guys they said that the server gives up after five (or so) invalid requests. The old problems I had were due to the fact that I had used Application variables - at least the problems appeared when I added the variable and diappeared when I deleted them.
This time, I have done very little. I ran a new check when some items of a gridview were databound, and if a condition was ok, then a mail should be sent and an update take place in the db. For now, this will not be true, so the new code doesn't fire, and I have now reverted to the old code anyway. I got htis message this morning, and then it has worked the entire day without me changing the code at all, and now it stopped working again, so to me it seems as if it's either not my code's fault, or I somehow flood the db server with requests (but the web site is new so there are really no users yet). One more thing I have added: I imported the Net.Mail namespace to the baseclass I'm using for the aspx pages, but I can't believe that has anything to do with this.
I asked the tech guys again, and the server has been working the whole day. Here's the web site: [URL] I am able to connect to the admin part of the web site, so it's just the public web site itself that doesn't run. What should I do? Edit: Now, 30 minutes later, it works again. I haven't done anything, in fact I had dinner now.
View 2 Replies
Aug 3, 2010
i have added to my web.config page this instruction:
<globalization culture="en-GB"></globalization>
all the dates in my web page are formated as dd/mm/yyyy but my database is still under mm/dd/yyyy is there a way to also change the format of sqlexpress to dd/mm/yyyy ?
View 3 Replies
Aug 13, 2010
Running solution with VB.NET & C#, ASP.NET, VS 2008 with ReSharper 5 Most of the time, ReSharper is working (redundant code grayed out, squiggles, etc.) Sometimes, on the same code where it was working, nothing is highlighted to show ReSharper is enabled. I haven't done anything except modify code and debug. What is going on that turns it on/off?
View 1 Replies
Mar 14, 2011
We have an updatepanel in our site and there are a number of linkbuttons in it.Please note that the site works fine across all browsers without proxy the proxy changes the url from for instance www.mysite.net to 0-www.mysite.net.edu.net it also works fine in all browsers but IE the issue is that under proxy and in IE8, it gives an error when clicking one of the linkbuttons, the error message is
[code]...
View 1 Replies
Feb 1, 2011
Im working on an ASP.Net web forms application, where I have a form and the Index is working correctly, until I select a value from one specific control, a dropdownlist. After that no matter what control I am on if I press TAB it will go to the URL/Address Bar, from there to the search bar and then again to the URL bar...
View 1 Replies
Jan 27, 2010
I developed and deployed a web application using ASP.NET,C# successfully. The application was running perfectly until few days back. [NOTE: It still works fine on local machine (tested using both development server and IIS)] What happens now is: The website opens perfectly. After few operations which involves database interactions, in all the pages, the pages stop responding. I mean, after a few clicks, if I try another operation the page starts postback for unlimited time period and never gets rendered
and a following message is given: The connection was reset: Firefox 3.5... IE cannot display the web page: IE 7, 8 There is no database connectivity issues. I checked event logs on the web server and found few unhandlled exceptions, I corrected those. Now the event log doesn't show any error. But the problem is same.
I tried accessing the page from web server's browser, everything works fine. Even my boss can browse all pages with no problem (both have Win Server installed). Other machines (mostly XP) can't browse after sometime(as described above). I checked the memory usage, cpu time - NO ISSUES.
View 18 Replies
Mar 13, 2011
We have an updatepanel in our site and there are a number of linkbuttons in it. Please note that the site works fine in all browsers without proxy the proxy changes the url from for instance [URL] to 0-[URL] it also works fine in all browsers but IE the issue is that under proxy and in IE8, it gives an error when clicking one of the linkbuttons, the error message is "Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; InfoPath.1; .NET4.0C; .NET4.0E) Timestamp: Sun, 13 Mar 2011 20:38:58 UTC
Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near ' <!DOCTYPE html PUB'.
Line: 4674
Char: 21
Code: 0"
I have no idea what goes wrong here, it seems that IE can't parse the response?
View 5 Replies
Nov 15, 2010
My webserver stop working. It gives time out error. There is nothing in the event viewer.
If I access the web app on the web server using [URL], it works fine. Also the html pages have no problem. Just the asp.net web applications.
View 2 Replies
Jul 15, 2010
I am creating an application that uses jQuery to make ajax calls to ASP.NET WCF Web Service. Everything works fine most of the time but eventually (about twice per week) the service stops working with the error below. The only solution is to clear the ASP.NET Temporary Files. The problem seems to start by the time the application pool recycles but not on each recycle. Please help as I'm trying to figure this out for weeks now!
WebHost failed to process a request.
Sender Information:
System.ServiceModel.ServiceHostingEnvironment+HostingManager/6957828
Exception:
System.ServiceModel.ServiceActivationException:
The service '/Chat2/Chat.svc' cannot be activated due to an exception during compilation. The exception message is: Could not load file or assembly 'App_Web_vpupi5wr,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.. --->
System.IO.FileNotFoundException: Could not load file or assembly'App_Web_vpupi5wr, Version=0.0.0.0,Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
View 2 Replies
Jan 7, 2011
Basically i'm using the plugin to validate a form. I've got the basics set up and working. Now i'm trying to use remote so that I can check for a duplicate email address. The problem is as soon as I add my checking script the validation stops working on the email field completely. It constantly says "please enter a valid email address" no matter what I put in the field. If I don't have the remote bit in my code the email field validation works correctly.
View 2 Replies
Jun 24, 2010
I have a ASP.NET wizard that I need to use jQuery to manipulate some of the CSS styles. For example if a certain criteria is met it will hide a button:
$("input[value='Continue']").css("display", "none")
This works great on the first page, but subsequent pages (loaded as controls .ascx) don't work. The wizard doesn't load a new page each time, but simple reloads part of the content using the built in wizard feature.
View 1 Replies
Jul 29, 2010
If you do a search for "ie8 back button disabled" you'll see a number of blogs with people having difficulties with the Internet Explorer version 8 back button becoming disabled. This now happened to one of my ASP .Net pages. The page uses a user control, aspx page, and a master page. It uses no redirects and seems to be happening when I click the back button and then the forward button (after the forward button is clicked, it does not fire the Load event and the back button becomes disabled). Has anyone else encountered this and do you have a solution for it?
View 2 Replies
Jan 10, 2011
I am using asp:ScriptManager and asp:UpdatePanel to populate a DropDown , and for every field need to display hits in div.In order to Implement the hint I am using JS, it works fine unless I started to populate a dropdown based on another one.
here is some code lines from page and JS
<asp:ScriptManager ID="sm" runat="server" EnablePageMethods="true"></asp:ScriptManager>
<asp:UpdatePanel runat="server" ID="up0">
<ContentTemplate>
<dd><asp:DropDownList runat="server" ID="CCategory" CssClass="lst" ValidationGroup="Property" AutoPostBack="true" onselectedindexchanged="CCategory_SelectedIndexChanged" /><span class="hint">Please choose a city where you want to or having a property.<span
class="hint-pointer"> </span></span></dd>........
View 2 Replies
Jan 23, 2011
I'm using some JS to show some divs.The divs' content is set up in a MultiView control in the server. Depending on certain parameters, I trigger some postbacks to make the server select the appropriate view. The problem is that everything works if I keep the alert(1); below, but stops working if I remove it.
Here is the code. I have a button which its OnClick() calls ShowEditor(), with an element and a type. ShowEditor() makes the editor's div visible after raising a postback to let the server select the correct view in the MultiView based on the type. This works fine. The editor loads and there is a div inside (vwText_Text1) which I'd like to assign an OnClick event to. This only works if the alert() is present.
[code].....
View 5 Replies
Oct 7, 2010
I have the following html code:
[Code]....
This should create a left aligned label that is 100px wide, then the list should show next to it. What happens is that the width is ignored and the list is right next to the label text. If I remove the "AssociatedControlID" parameter it works fine. CSS has no effect on the label width, even using the !Important tag.
View 3 Replies
Dec 15, 2010
This is not a big issue since it's quite easy to bypass by making a new project and copying everything on it, but it bothers me quite a bit that I can't figure out what it is about. In short my calendar and calendar extenders stop working suddenly. The last time this happened I made some changes to the pages code behind, then hit undo gazillion times to go back to the last save. After that I hit debug and lo and behold: calendar did not respond to any clicks and any text field with calendar extender did not show calendar on clicking them.
This happens in both IE8 and FireFox 3.6 and no amount or restart, rebuild and other such tricks do nothing. The only thing that I can figure out to solve the problem is either use a backup copy of a version that works or make a new project and then copy all the files from the not working into the new/earlier version and all works again. I was able to track down that this seems to relate somehow to AJAX as when I ran the debug I mention above, I got error messages on the web page saying something about AJAX. This however happened only once and I cant get it to happen again (and thus can not remember much about what it said).
Also when I debugged the event handling the calendar click, I get an error message like this: There is no source code available for the current location Then it opens a file search window trying to find some cs file inside the ajax control toolkit. However this only happened the first time I tried debugging the event and I can't remember more details about it. Now I just get that error message when debug exits the event.
So end analysis on my part: The ajax control tool kit gets knotted up all of a sudden for some mysterious reason and is tied to that particular project. Can anyone tell me what this could be about?
View 8 Replies
Jul 22, 2010
I have a formview and data source that opens in the edit template and allows the user to update a few free form text fields. I also have some drop down boxes that allow a DOB to be built and populate another text box. All of this was working fine yesterday, and today somehow I hosed it and can not find the cause. I have rebuilt this page three times to get it working again, but I can't figure out what I am doing wrong to break it.
[Code]....
Here is the DataSource....
[Code]....
View 4 Replies
Dec 15, 2010
I have a set of CalendarExtenders. When I include my javascript file, the onclick event which pops up the calendar no longer displays. My javascript file adds onchange events to those text boxes.
View 1 Replies