Quantcast
Channel: All Forums
Viewing all 27852 articles
Browse latest View live

Migrating a server

$
0
0

Hi

We have two completely different virtiual machines running on different networks, we are in the process of transfering the site from one to the other.

The site is running software which uses a MySQL database, we have the software installed and working on both servers. We now need to point the domain to the new server.

The problem we have is that the dns is going to take time to propagate and we need it to switch over straight away, is there away to redirect traffic to the new server whilst the dns propagates?

Regards


Built in Help and "Change feed sources for help"

$
0
0

WebMatrix has a nice feature under "Options" "Learning" Change feed sources for help. I have added common URL's that I use for referencing HTML and CSS information however they do not show up in the help list (F1). Anybody figured out how to make this feature work correctly?

WebMatrix as host in internal network

$
0
0

Hello. 

I develop an app and I tested on my computer with webmatrix as host of my network and I can access from my computer and from my phone. 

So I put it on the computer of the client, I change the file "applicationhost" with his IP, and add the port to the firewall 

and the site runs fine in the computer but when he tries to access with http://IP:port says that : "connection to server timed out", "This webpage is not available" " Web server may be temporarily out of serviceor it may have moved permanently to a new web address"


It's everything in the local network. 

Please help me :( thanks 

cant start default web site

$
0
0
<div class="post">

i just bought a new laptop , came with window 8 , i added IIS to the system but i am unable to get the default web site started , gives me this error....

Access is denied. (Exception from HRESULT: 0x80070005(E_ACCESSDENIED))

</div>

IIS 7.5 Response Times

$
0
0

I have an ASP.Net 2.0 Website running in a production environment on IIS 7.5.

We have recently started getting serious performance issues with the site. I have elminated most causes i.e. network and code and are left in a strange situation.

If I run the website on the Virtual Server (Windows 2008 R2) under which IIS is running the website responds resonable quickly 30 seconds to complete a complicated operation. If I run the website from the Virtual Machine housing the Database that is on the same physical box the operation takes 2 minutes rather than 30 seconds?

I have used some logging software (fiddler) and this shows me that when on the same box as IIS the IIS server receives the request, waits 30 seconds then sends the response. It also shows that when on the DB Box the IIS server receives the request, waits 2 minutes and sends the response.

I have a feeling this may have something to do with authentication or security of somekind as the delay only ever happens when accessing the site from outside of the IIS box? Can anybody help me narrow down how and why this might be happening?

Newb Question about Streaming vs. Progressive

$
0
0

Sorry... I'm new to the web video thing....

If I understand correctly, "Streaming" is different than "Progressive Download" and if a content consumer watched a "Streamed" video 10 times it would cost the Host more money than if the content was delivered "Progressively"...

Also, if I understand correctly, YouTube delivers content using a "Progressive download" methodology.

Question: Is IIS "Smooth Streaming" (http://www.iis.net/media/experiencesmoothstreaming) Progressive or Streaming?

Hypothetically, if I was going to rebuild YouTube in .NET, what would I use? Silverlight for the Client and .ism as the encoded file type?

Thank you for anything,

Robert

Smooth Streaming display subtitles

$
0
0
I would like to display subtitles encoded in an ismt file using SmoothStreamingMediaElement class in a silverlight application (Textstream support for captions/subtitles). Can someone shares code or at least a hint on how to implement this? Thanks

Web Installer will not install on computer

$
0
0

I am trying to install web matrix after an uninstall of web matrix. After downloading the web installer on my computer it will not install. I get an error message that tells me to report it to this forum? What can I do?


Internet Information Services 7.5 with ASP.NET 4.0 Application Right Configuration‏

$
0
0

Hi,

I am running IIS 7.5 on Windows 7 64 bit with AS.NET 4.0 on it. I have Orchard CMS in one application pool and simple 301 redirection (through web.config) in the other application pool:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <httpRedirect enabled="true" destination="http://isitin.net/" exactDestination="false" httpResponseStatus="Permanent" />
    </system.webServer>
</configuration>

_Both_ web sites keep logging constantly the following entries ( each ~30-60 minutes):

#Software: Microsoft Internet Information Services 7.5
#Version: 1.0

It seems that something wrong is going on as warming up took significant amount of time for the first visit after such event log.

Please note that recycling  is turned off, 32 bit applications are allowed and startMode="AlwaysRunning" is set  for Application Pool.  Any help are highly appreciated.

Value cannot be null. Parameter name: exception

$
0
0

Please help with this Application log-

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="32768">1309</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-02-20T20:33:10.000000000Z" />
<EventRecordID>38785</EventRecordID>
<Channel>Application</Channel>
<Computer>server name</Computer>
<Security />
</System>
- <EventData>
<Data>3005</Data>
<Data>An unhandled exception has occurred.</Data>
<Data>2/20/2013 2:33:10 PM</Data>
<Data>2/20/2013 8:33:10 PM</Data>
<Data>d5f9e9ce1b2c48e5b7ee7a30d8e6a20c</Data>
<Data>246</Data>
<Data>3</Data>
<Data>0</Data>
<Data>/LM/W3SVC/1/ROOT/AppName-3-130058653953295265</Data>
<Data>Full</Data>
<Data>/AppName</Data>
<Data>C:\AppLocation\</Data>
<Data>ServerName</Data>
<Data />
<Data>6012</Data>
<Data>w3wp.exe</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>ArgumentNullException</Data>
<Data>Value cannot be null. Parameter name: exception</Data>
<Data>http://AppURL/pageName.aspx?QueryString</Data>
<Data>/AppName/PageName.aspx</Data>
<Data>CLient IP</Data>
<Data>Domain\username/Data>
<Data>True</Data>
<Data>Negotiate</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>8</Data>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data>False</Data>
<Data>at System.Web.UI.AsyncPostBackErrorEventArgs..ctor(Exception exception) at System.Web.UI.PageRequestManager.OnPageError(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.TemplateControl.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.PageName_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)</Data>
</EventData>
</Event>

Thanks so much!

ASP.NET System.OutOfMemoryException on IIS7.5 Win Srv 2008 r2

$
0
0

This is Windows server 2008 R2, 64 bit, 32gb RAM, I think its running IIS 7.5. We have set the application pool to use 4 worker process.

This is a ASP.NET 4 application but running in 32 bit compatability mode. (w3wp is 32 bit in task manager)

We are getting System.OutOfMemoryException when the memory usage crosses more than 650-700MB/worker process.

I thought that it should be able to handle upto 2gb or atleast 1.5 gb with no issues?

Another thing, why does it not recycle the worker process when there is a System.OutOfMemoryException?

This application works perfectly fine on a 64bit windows server 2003 with IIS6.0. I have seen the max memory usage of it being around 700mb/worker process.

The reason for high memory usage is XML processing using DOM. We are going to start work to fix that, but thats a long term plan. I just find it weird that it cannot go higher than 650 mb.

"change .net framework version" in IIS

$
0
0

Hi,

I want to programatically "change .net framework version" in IIS for a few hundred servers from 2.0 to 4.0

I already have a script for the applicationpools and applicationpooldefaults but i can´t find the code for the "change .net framework version" in the iis menu when clicking on the server and then in the actions-pane on the right side "change .net framework version"

does anybody have a hint for me?

regards patrick

.Net custom error default redirect not working with url encoding /%20/

$
0
0

Hi,  We have a .Net 4.0 web site running on IIS 7.5.  We have custom error turned on to mask any unknown error.  Like this:  <customErrors defaultRedirect="customerror.htm" mode="On" />  

When we tested the custom error out by going to an invalid URL, we got redirected to the customerror.htm page, which is the expected behavior.   But when we tested the URL in this format -> "https://<sitefqdn>/<subsite>/ /"  (It includes a space in between 2 slashes, when entered onto the browser's address bar, it is encoded to %20), IIS returned a .Net error instead of the custom error.

We tried masking it with various customErrors configurations, with URL rewrite/filtering, and with HTTP module, but none of these methods seem to work. 

Any recommendations?

FTP: 550 - The process cannot access the file because it is being used by another process.

$
0
0

I have setup FTP on IIS 7.5 and can use it just fine to transfer various log files (web, smtp, firewall) EXCEPT for the current file being written to (e.g. today's log file)

Example:

website_x can transfer yesterdays log file, but not today's log file if there is somebody on the website (and IIS is therefore writing to the log file for website_x).  There seems to be a "time out" and after several minutes of no activity on the website then the log file is "released" by IIS and can be copied over (no traffic on a production website is not the idea though).

This wasn't/isn't a problem on IIS 5.0 (currently running in a live production environment).

Error encountered on 2008 R2 IIS 7.5:

FTP: 550 - The process cannot access the file because it is being used by another process.

Apparently this is a "by design" behavior per the link below.

http://forums.iis.net/t/1158270.aspx#B43

I followed the suggestions per the link above, but it doesn't resolve.  In addition, I don't necessarily think this is an FTP issue, but more of a Windows or IIS "locking" issue because I can reproduce the error trying to transfer the file using remote control software.

Any suggestions would be appreciated.  I can remote control to the server, copy the live log files to a "transfer" directory and then FTP them over, but it'd just be nice to FTP all the log files at once (not just the ones not currently being written to).

FTP 7.5 550 Error

$
0
0
I am trying to get iis 7.5 ftp working reliably, and can't seem to make it work. I have recorded a video showing how i configured the ftp site, as well as demonstrating the error. The video is about 11 minutes, and there are a few long pauses but there is important information all the way to the end. Video: http://www.screencast.com/t/VLzUKSTS If you don't want to watch the video I have typed up a short description of the problem: If I use an ftp client like filezilla to upload 6 or 7 files to the ftp site, one or more of the files will fail to transfer the first time. The ftp client then tries to retry that file again, and the server returns a 550 error: "The file cannot be accessed because it is in use by another process" I fired up process explorer, and it is the ftp service that is holding the lock to the file. I try opening up the service manager and resetting the Microsoft FTP Service, and it won't reset or or stop, it just hangs forever. I have to kill the service in process explorer before the service will restart. The firewall is setup to allow connection on port 21. As well as ports above 8000. I have the passive port range configured to work on ports 9000-10000, my ftp client is set to use passive connections and I have verified that the ports that the service are using are in the range specified. The ftp site advanced setting regarding opening files that are being uploaded, is setup to allow the reading of files being uploaded. The server in question is a dedicated virtual server in a real data center with several publicly accessible IP addresses. There is no NAT going on. The windows firewall is 100% disabled, however there is a hardware firewall in place that is managed by the hosting company. I have spoken with their network engineers and they have triple checked that port 21, 20 and ports above 8000 are open.

New setup needs help please

$
0
0

Hello,

I have a project fully working in IIS 5.1 (developed using VS 2005) and now I am on IIS 7.5 (VS2008 on Windows 7).

VS2008 can open and debug the project like usual with the following exceptions:

1. Some resource cannot be located like css, license file

2. All pages cannot be opened if not in debug mode, error is given like:

Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The file '/Pages/Search.aspx.vb' does not exist.

Source Error:


Line 1:  <%@ Page Language="VB" AutoEventWireup="false"  EnableEventValidation="false"  CodeFile="~/Pages/Search.aspx.vb" Inherits="Pages_Search" Culture="auto" %>
Line 2:  <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
Line 3:

How do I fix the problem? Thank you very much.

Does creating addional app pools add much overhead to IIS?

$
0
0

In my SharePoint setup (2010 and IIS 7.5), I've been told it's smart to create separate app pools and then run those app pools using separate accounts.

Upon research, I've had suggestions to not bother with this because -

a.)  It reduces performance and

b.) Doesn't offer a compelling security improvement (*I* disagree)

 

Does creating separate app pools (I don't think I'd be creating more than 6-10 at most) and then running them as different users create much of a performance degradation (disk, memory, and/or CPU) in IIS?

Ed

Is there a trick to rewriting home directory only?

$
0
0

During the process of some experimental hardening of wordpress I've run into a slight problem with how it handles the URLs of post previews. The solution, I thought, would be easy enough: create a rewrite rule to append 

index.php
 to the post preview URL so it doesn't default to the homepage. However everything I try either has odd results or generates in a system 500 error. Is there a regular expression to solve this I haven't learned yet?
<rule name="Post preview fix" patternSyntax="ECMAScript"><match url="^\?p=([0-9]+)&preview=true$" /><action type="Rewrite" url="index.php
?p={R:1}&preview=true" /></rule>

I am only having this problem with new post previews. Revision previews are working just fine, probably because the rules are slightly different.

This behavior is being caused by the homepage rewrite, which looks like this:

<rule name="Homepage rewrite" patternSyntax="ECMAScript"><match url="^/?$" /><action type="Rewrite" url="home/index.aspx" /></rule>

When I remove this rule, post previews work fine, but the homepage url displays it's literal path. Perhaps this problem could also be solved by a better way to spoof the location of the homepage?

ugh. All because of this legacy asp web app vs new php cms garbage. Just kill me now.

At any rate, if someone has a silver bullet to share I would be eternally grateful. 


We Require ARR Failover But With No Load Balancing

$
0
0

It has been possible on our existing Alteon LB's that are now out of support to forward all traffic to Server 1 but failover to Server 2 if Server 1 is no longer available.  Can this Active : Passive style setup be configured in ARR?  i.e. Use Healthcheck Failover functionality but have no classic load balancing in place?

Scenario - We have a small number of applications that make amendments to site configuration/file content within the sites own structure.  Although we would like to run these sites in a high availability setup we would like to have only one server accessed at any one time.  DFS Replication will be used to mirror amendments to Server 1's config/files over to Server 2 in realtime.  However, If Server 1 goes down then the LB Solution would forward all traffic to Server 2 which is running on a Mirrored copy of the files.  If users were accessing both Server 1 and Server 2 in a classic round robin LB setup then config and file changes could be getting made to both servers.

custom pages 404 redirect and error display

$
0
0

I use the following to display asp code errors on the website.

Now, I want users to redirect to my 404.asp page when end up in a non existing page (aspx, asp, html, etc..).

What do I need to add? I tried different variations but couldnt success so far.

<configuration><system.webServer><httpErrors errorMode="Detailed" /><asp scriptErrorSentToBrowser="true" /></system.webServer></configuration>

Viewing all 27852 articles
Browse latest View live




Latest Images