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

IIS SEO Toolkit Stopping Mid-Crawl

$
0
0

Below are details we hope will help to gain some feedback on the issue we're experiencing.

The error is reported by the IIS SEO Crawler using the System.Diagnostics.Trace infrastructure:

Warning: 0 : Error parsing URL:http:///support.cfm Invalid URI: The hostname could not be parsed.

Error: 0 : Error in crawler:Collection was modified; enumeration operation may not execute.

Stopping Workers

Information: 0 : Signaled all threads, all-done:True

...

After further inspection we found what happens is that the exception is caught in method Microsoft.Web.Management.SEO.Crawler.WebCrawler.CrawlerThreadProc, by a catch block that reads like this:

catch (Exception exc)

{

    Trace.TraceError(string.Concat("Error in crawler:", exc.Message));

    _workerQueue.Stop(true);

}

IIS SEO Toolkit is running in a VMWARE virtual environment hosted by a server with an AMD Opteron 6180 SE processor. The virtual machine has assigned 4 cores and 16GB of RAM. It is running Windows Server 2008 R2 Standard Edition (x64).

The issue is happening on more than one instance of development sites. Websites are served by a web farm running Internet Information Services 7, and are developed using .NET framework 4.

Thanks in advance for any help given! 


Some Questions on how URL Rewriting 2.0 works

$
0
0

Long story short: I have 1 IIS site that has multiple subdomains bound to it.  Currently, my rewriting looks at the subdomain and rewrites the request accordingly: (www as the default)

hostname.com/image.gif >> [rewritten to] >> /www/image.gif
projects.hostname.com/image.gif >> [rewritten to] >> /projects/image.gif

This is fine and all, but I'm noticing an oddity when it comes to directories (which I currently have directory browsing disabled site-wide)  I have a folder under the root's 'www' folder called 'test'.  So I should be able to get to it by calling 'hostname.com/test' (because it's rewritten to /www/test' but here's what happens:

hostname.com/test >> [REDIRECTS to] hostname.com/www/test (which is run through my rewrite rules and is looking for /www/www/test, which does not exist, throwing the appropriate error.  However if I put a '/' on the end of the request like:

hostname./com/test/ >> [rewrites to] >> /www/test/  (as expected)

So I guess my question here is "what is going on with the first request, where leaving off the '/' makes IIS not see the subdirectory and perform some kind of automatic redirect to 'hostname.com/www/test/' 

Low performance in IIS

$
0
0

Hello, I have a problem with the IIS 7.5 , and I don't know how to resolve this problem.

When I open the IIS it's normal, but when I click in HOST ( name of machine) in IIS , There is a big delay for show the sites, the delay takes a long time, I need help for this, please i need a solution, because the delay it's soo long, if need more information please call me, Tks.. Regards  

IE double postback hangs IIS 7 in Integrated Managed pipeline mode when session is accessed

$
0
0

Here's my environment:
IIS7 on Win 7, .NET 4, App Pool Integrated

web.config

<?xml version="1.0" encoding="UTF-8"?><configuration></configuration>

Test.aspx

<%@ Page Language="C#" %><!DOCTYPE html><script runat="server">
        protected void OnAction(object sender, EventArgs e)
        {
            int count;
            status.Text = (int.TryParse(status.Text, out count) ? count + 1 : 0).ToString();
            Session["test"] = count;
        }</script><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><title>IIS Session Hang Test</title><script>
            var mutiPostback = function () {
                var e = document.getElementById('LinkButton1');
                e.click();
                e.click();
            };</script></head><body><form id="Form1" method="post" runat="server"><asp:ScriptManager runat="server" ID="SM"></asp:ScriptManager><asp:UpdatePanel ID="UpdatePanel1" runat="server"><Triggers><asp:AsyncPostBackTrigger ControlID="LinkButton1"/></Triggers><ContentTemplate><asp:Label runat="server" ID="status" /></ContentTemplate></asp:UpdatePanel><input type="button" id="button1" onclick="mutiPostback();" value="MultiPostback"/><div style="display: none"><asp:Button ID="LinkButton1" runat="server" OnClick="OnAction" Text="Click" /></div></form></body></html>

Yes, the multiple postback is intentional, we notice this behavoir will cause many request stuck in RequestAcquireState and ultimately prevent any new requests being accepted by the server. However, this problem is only observable under IE (IE6 ~ 9) and not on Chrome or FF.

Here's a screen shot of how the hanged request look like in request list for worker process.

Stuck Requests

Now we have found a few ways to get around this problem, but none are acceptable in our situation:

1. Remove/Comment out Session usage.
2. Change app pool to Classic mode.

NOTE: we also found that even if we don't directly use Session as shown in the example, the problem still occurs. IE: if we add a Global.asax.cs and add an empty Session_Start event handler, the request will still hang in RequestAcquireState.

Does anyone have a clue why this is happening and how can we resolve this issue that only seem to happen in Integrated managed pipeline mode?

WCAT Log File

$
0
0

The log file is not recording the counters. I only intalled WCAT on the client side. Do I need  install WCAT in all the machines?

settings
{
   	clientfile     = "scenarios.ubr";
    server         = "someurl";
    clients        = 10;
    virtualclients = 100;
    counters
    {
		interval = 3; // times that will get the data from the counter
		counter = "\\Processor(_Total)\\% Processor Time";
        counter = "Processor(_Total)\\% Privileged Time";
        counter = "Processor(_Total)\\% User Time";
        counter = "Processor(_Total)\\Interrupts/sec";
        counter = "Memory\\Available KBytes";
        counter = "Process(w3wp)\\Working Set";
        counter = "System\\Context Switches/sec";
        counter = "System\\System Calls/sec";
        counter = "Web Service(_Total)\\Bytes Received/sec" ;
        counter = "Web Service(_Total)\\Bytes Sent/sec" ;
        counter = "Web Service(_Total)\\Connection Attempts/sec" ;
        counter = "Web Service(_Total)\\Get Requests/sec" ;
		counter = "Web Service(_Total)\\Post Requests/sec" ;
		host  = "someurl";
    }

    registry
    {
        path = "System\\CurrentControlSet\\Control\\FileSystem";
        name = "NtfsDisableLastAccessUpdate";
        type = REG_DWORD;
    }

    registry
    {
        path = "System\\CurrentControlSet\\Services\\Tcpip\\Parameters";
        name = "SynAttackProtect";
        type = REG_DWORD;
    }
}



Avoiding having to enter credentials using IP address security instead. Is it possible on IIS 7.5?

$
0
0

Hello. We're trying to give access via WebDAV to customers using authentication based on IP whitelists instead of username/password entry. This used to be possible with IIS 6 but it doesn't seem to be working in IIS 7.5 running on Server 2008 R2. Can anyone tell me whether it should be possible or not?

We have a site set up with anonymous authentication turned on, windows authentication turned off, the default IP rule set to deny and then some rules allowing access from specific IP addresses. 

When trying to connect, the webclient (I'm using Windows 7 to test it out) still requests username and password credentials.

Thanks in advance for any help.

Intranet Site access by FQDN

$
0
0

Windows 2008 IIS7 Intranet Site

Forgive me if this has already been answered here, but I have not found an answer to my issue.

I can access a local Intranet site by using the ip address in the url, such ashttp://172.xx.xx.xx/MySite.  It prompts me for a domain username and password as I would expect.  I enter the info and I get the site.

If I try the FQDN, such as http://Merlin/MySite, I get no prompt for a username and password, again as I would expect, but I get the HTTP 404 error.

The site has only Windows Authentication enabled, and All Users in the Allow authorization roles.

The application is a MVC site utilizing the ASP.NET v4.0 app pool, which has the Managed Pipeline Mode set to Integrated and Identity set to NetworkService.

Can someone point me in the correct direction?

Error during attempted install WPI

$
0
0

Hi, I've downloaded and attempted to install Web Platform Installer multiple times. I'm running Windows 7 SP1 as an administator.  When I choose "Check online for a solution and close the program", a little green bar goes across the screen, then nothing appears, and no windows or new tabs open. 

Each time, I get the following error:

Web Platform Installer has stopped working Windows can check online for a solution to the problem.

Check online for a solution and close the program

Close the program

Show problem details:

Description:   Stopped working

Problem signature:   Problem Event Name: CLR20r3   Problem Signature 01: webplatforminstaller.exe   Problem Signature 02: 4.0.0.0   Problem Signature 03: 510fa231   Problem Signature 04: mscorlib   Problem Signature 05: 2.0.0.0   Problem Signature 06: 4ca2b889   Problem Signature 07: 1b2b   Problem Signature 08: c   Problem Signature 09: System.IO.FileNotFoundException   OS Version: 6.1.7601.2.1.0.256.1   Locale ID: 1033


Should I run IIS on both a web server and a system?

$
0
0

I have setup a Demo System to run through one of our web servers. As of right now, they both are running IIS 6.1 on Windows 7. My question is whether it is logical to have IIS installed on both the Demo System and the web server. Does it provide added speed when accessing the demo system? Or does it not have any effect on this?

Any help would be much appreciated.

configuring host redirection with FTP 7

$
0
0

Hi All: I have a server with one IP address and 6 websites. The primary website is bound to the ip address without any host name. The other five wesites are bound to the same IP and have host names.

I'd like to have FTP configured on each website, but I can't seem to get host redirection to work for FTP. I'm adding ftp with basic auth to each site, binding it to the IP, and assigning a unique hostname for the ftp binding, but when I do that, I can't connect. If I try to connect to "site2" on the server, my connection attempt will look like:

[10:46:04] Resolving host name "ftp.[site2].com"

[10:46:04] Connecting to xxx.xxx.xxx.xxx Port: 21

[10:46:05] Connected to ftp.[site2].com.

[10:46:05] 220 Microsoft FTP Service

[10:46:05] USER myuser

[10:46:05] 550 No such host is known.

[10:46:05] Active Help: http://www.smartftp.com/support/kb/51

[10:46:05] Cannot login waiting to retry (30s)...

On the primary website, if I add the host name to the ftp binding, I can't connect, although I can connect if the hostname is left blank.

Seems like I'm missing something obvious, but I can't seem to get it to work.

How do I generate a CSR needed to install SSL cert on IIS8

$
0
0

Just upgraded to Windows Server 2012 / IIS 8.   I cannot see how to generate the Certificate Signing Request (CSR) that is necessary to obtain the certificate from GoDaddy.  Seems like this feature was removed.  What do I do?

Configure/Deploy IIS 7 Web Site With HttpHandler Only

$
0
0

I have an HttpHandler that works great in Visual Studio 2010, but I am unable to get it to work in IIS 7. Since the project is not a traditional web site or application, the tools for copying it which I am used to using do not seem to be available.

So, I have done many searches, published it as a package, tried my hand with the Web Deploy Tool, and also tried following more manual procedures I came across, all with no luck. I have not had occasion to do much with IIS (until now) and am a bit lost in the sea of things that can be configured.

To sum up, I am trying to create a site that consists of an HttpHandler only and would appreciate any thougts, or ideas on where to look for guidance.

Map static ip with registered Domain ???

$
0
0

Hello To all respective Expert,

Actually sir I have a registerd Domain Like 'abcd.in' and static ip '1.2.3.4'. Now I want to map registerd domain with My static Domain...Please Guide me step by step to do mapping.

THanxxxxx

Unable to Install IIS 7.5 on Win7 Ultimate

$
0
0

For several weeks I have been unsuccessfully trying to install IIS 7.5 on my win 7 Ultimate (32-bit) system.

1. I've poured through several forums and troubleshooting tips and have tried just about everything -- installing from "Turn Windows Features on or off", installing from command line, installing from "administrator-only" mode, deleting old install error log files, uninstalling .Net updates and installations and re-installing them....but no success.

2. I've even followed the advice on this forums FAQs to uninstall Windows Process Activation Service and clear out the folder contents of C:/inetpub and C:/Windows. I was successfully able to do that. But when after that I try to install IIS components... i get the same message "Unable to install all selected items".

3 .From what I read, I gathered that I don't need to re-install WPAS myself, that it will happen automatically when IIS gets installed. If i've misunderstood this, please correct me.

4. The other thing i'd like to point is that "Internet Information Services" doesn't show up in the list of Administrator Tools (Control Panel > All Control Panel iItems > Administrator Tools)

5. In my several attempts at different troubleshooting tips and fixes, I had fiddled around with the settings around UAC (completely turning it off, etc). It still didn't work. I have since reversed those settings.

<b><u>The main problem that I can see is that Windows is somehow unable to install all the components for whatever reason. I keep getting the "unables to install all items selected" error message.</b></u>

I would really really appreciate if someone can suggest a way to get this working...without having to do a O/S repair, fresh install.

thanks in advance!

Zubin

Design issues on hosting an application in iis

$
0
0

Hi,

While hosting my asp.net web application into iis, a lot of design issues occurs. How this comes?

Plz help me. Thnx in advance


Redirect problems

$
0
0

Hi,

I want to redirect an old url to a new one with 301 redirect.

My link looks like this: http://www.website.com/celebrity/alecia-moore/actor/13/
I want to be redirected to: http://www.website.com/celebrity/alecia-moore/profile/13/

I wonder how can I redirect values from string (ex. actor, musician...) to value (ex. profile) even if I don't know the url.


Can somebody point me to the right direction?

Thank you!

HTTP/1.1 500 Server Error With ASP classic

$
0
0

Hi  All,

At the very outset I would like to state that this is my first ASP classic page that I have created which since the first deployment on IIS is giving me server 500 error. I have searched the entire web and have done almost everything possible to get this right, but all in vain.

I have created a classic ASP page using Web Matrix. This is a web based dashboard which connects to MSSQL server and fetch necessary information. I have a similar app in php which is working perfect, but I wanted to learn ASP hence was trying to make a similar web app on ASP. This app works absolutely fine onf Web Matrix. When I run this app from within web matrix (both on chrome as well as IE) it connects to the required database and I can browse the details as expected. The problem starts when I host this on IIS (localhost on my windows 7 pc). This is the exact procedure that I have followed :

1) Created a new Site on IIS named "YCube" 2) Using basic settings I have given the following Physical path for the app (D:\YVXS\Personal\ASP\SSTool\Ycube) {the project output folder} 3) In the bindings page I have assigned port 81 4)IIS authentication is set to "Anonymous Auth" 5) Application pool for asp is set to classic (as IIS first stated it cannot perform the task in integrated mode) 

After this when I tried browsing localhost:81/menu.asp, it given me server 500 error. The 21 days research starts now (bullet points below)

1) To get the descreptive errors on the web page I did following but the error description did not change IIS->asp->Compliation->send error to browser =true, friendly http error on IE = disabled

2) IIS log files, not sure if iam not able to understand the error but  am getting follwing on the log file (C:\inetpub\logs\LogFiles\W3SVC1

2013-02-23 08:07:44 ::1 GET /menu.asp |-|ASP_0147|500_Server_Error 80 - ::1 

3) On the IIS forum only I underatood at time global.asa file can cause this problem, I deleted this file and tried, all in vain

4) The folder and files permission for my site is read only, however I have tried the same with read and write access also, this also did not help

5) On the error pages in IIS, i have changed the "Edit feature settins" to "Detailed error", this also didnot give me any futher error desc.

6) 24 times i have uninstalled IIS and installed back, nothing has happend

7) Someone suggested to created a dummy asp file and try hosting the same of IIS, so I used a small code ("[

<HTML>
<BODY>
This page was last refreshed on <%= Now() %>.
</BODY>
</HTML>"], this is giving correct output (This page was last refreshed at 18:88:22....), however with my original asp page I still get server 500 error

8) A friend of mine suggested to delete all other hosted web pages from IIS and try (I had one PHP on the IIS), hence I deleted the same and tried, no changes at all

9) Event log file is showing nothing pertaining the ASP (only few files are there which tells about unexpected shutdown of my PC)

10) I created a second ASP file which had MS access at the backed, this only is also giving me same server 500 error

11) Other things that I have tried is changing the web.config file to send detailed error, (thouh i forgot the exact line) but that also did not help me

Here are my system config and other details Windows 7 professional, IIS7.5.7600, MSSQLR2express. Also please note that I have tried hosting this on two othe pc's that I have(both windows 7) and in office server 2003, but all are giving me same server 500 error.

Never thought learning a classic asp will put me into all this Jazz...please help..

Regards,

Youbaraj Sharma

No output in Logparser Studio GUI

$
0
0

Hi All

I have pointed logparser GUI to the log files where the activesync log files are located.

#Software: IIS Advanced Logging Module #Version: 1.0 #Start-Date: 2013-02-22 17:44:23.798 #Fields:  date-local time-local c-ip HTTP_X_CLIENTIP cs-method cs-uri-stem cs-uri-query cs-username cs(User-Agent) cs(Host) sc-status sc-substatus sc-win32-status CPU-Utilization TimeTakenMS 2013-02-22 17:44:23.627 172.18.84.247 - POST /Microsoft-Server-ActiveSync/Proxy Cmd=GetItemEstimate&User=mydomain%5Cksard&DeviceId=SAMSUNG1357160045918033&DeviceType=SAMSUNGGTI9001 - "SAMSUNG-GT-I9001/100.20304" "email.mydomain.com" 401 2 -2147024891 0.7557 7019

..there are several lines within the file.

However there is no output in Logparser studio. Log type is IISW3CLOG. Please advise

 

Several NET entries after windows update

$
0
0

Hello!

I am not using any NET stuff on my IIS 7.5 configuration, but sometimes after windows updates, different NET entries are added to the configuration, like:

Two new managed application pools, started.
New bindings of the HTTP Website (net.tcp, net.pipe, ...)
Many new (module) handler mappings, all managed
A new response header (powered by asp net)
Some new managed modules in "Modules"
And a new default document, default.aspx (iirc)

Can you tell my why this happens, and if it can be avoided? I don't need this stuff, why is is all added to my configuration after some windows updates? It's really annoying...

Thanks!

How can i exclude .aspx pages from URL rewrite rule?

$
0
0

I have installed a new wordpress website and in order to use the friendly permalinks feature i have added the following code to my web.config

<defaultDocument><!-- Set the default document --><files><remove value="index.php" /><add value="index.php" /></files></defaultDocument><httpErrors errorMode="Detailed"/><rewrite><rules><rule name="wordpress" patternSyntax="Wildcard"><match url="*" /><conditions><add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /><add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /></conditions><action type="Rewrite" url="index.php" /></rule></rules></rewrite>

However this stops my .aspx web page from posting, when i click the submit button it refreshes the page instead of posting to the next process

I want to either exclude 5 individual .aspx webpages or all .aspx webpages from the redirections

Is this possible?

Thanks

Viewing all 27852 articles
Browse latest View live




Latest Images