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

Hits per Month

0
0

Hello,

how can I count an IIS log with the result Hits per Month.

Did somebody have a query for me, Thanks a lot.


IIS 8.5 NUMA and Session State

0
0

I want to run ASP.NET MVC app in IIS 8.5 on VM hosted on Hyper-V with NUMA Hardware.

Setting MaxWorkerkProcesses works as documented and I am getting two wokrer processes on 2 NUMA node machine. We have promising results from performnace testing. Question arises if session state is shared across this processes or not  when set to In-process? I need to know if I will get session affinity in such setup or i have to give up NUMA for classical iis 7 setup with one worker process?

Regards,

Arek

Validation of viewstate MAC failed

0
0

Hi,

I am using Windows Server 2008 R2 OS.

In my application in web.config I am using bellow code for viewstate security

<machineKey validation="AES" />
<pages compilationMode="Auto" validateRequest="True" viewStateEncryptionMode="Always">

but some times I am getting Validation of viewstate MAC failed Error 

Please help me.

Regards,

Nagendra Reddy 

Cloak URL

0
0

I purchased a domain with DNS management. I configured the record to point to the IP of my web server (IIS 5.1). Then I had to configure an internal redirect on IIS to make it focus on subfolder (that is not in the wwwroot directory, but in a dedicated disk) that hosts the application, everything works, the only problem is that in the URL there is also subfolder (www sitename . it/subfolder/default.aspx).
Whereas this is IIS 5.1 you can hide the subfolder in the url, so that typing www. SiteName. It appears the default page, without moving the subfolder?

Thank you

ARR always redirects to one server.

0
0

Hi,

I am new to IIS/ARR.

I followed the instructions and setup a weighted round robin load server farm.

But, whenever, i access the server, it always seem to redirect to only 1 servr out of the 2. Only if I disable a server, wait for a long time and restart IE - it redirects to the other serer.

Am I doing anything wrong.

But on the serve, when I check Monitoring and management, I always get the  total requests evenly distributed, but in reality it only redirects to one.

To elaborate more, i will explain with the example below

Loadbalancer url: http://lb.domain.com

 

server A and Server B. Weighted Round Robin

First Attempt at http://lb.domain.com ---Redirects to server A

Second Attempt at http://lb.domain.com ---Redirects to server A

Third Attempt at http://lb.domain.com ---Redirects to server A

Meanwhile the Monitoring and management shows that the requests are evenly distributed as 3 each.

 

Then I disable server A and clear IE cache and attempt http://lb.domain.com.. this time redirects to server B

 

Am I doing anything wrong?

Other params

Caching: Memory Cache duration (10 seconds)

Health Test: every 15 seconds.

Routing Rules: Use URL reqire.. checked. Unchecked SSL.

 

 

 

https redirects to other domain

0
0

I have iis7 with 4 sites. There is a self signed ssl cert on the server, with bindings set to it from 1 domain only. A https request to any other site on the server redirects (after the cert warning) to the domain with the self signed certificate. No other sites have their bindings set to any ssl cert. All sites have url rewrites, but only for non www to www (eghttp://example.com redirects to http://www.example.com) I've looked at all the ssl, rewirte, redirect etc settings in IIS that I can see, and found nothing that looks like it might be set wrong. How come the other domains https redirects?

Thanks for any help here.

Published blog post not displayed after logoff when the source is hosted in IIS

0
0

I added blog source as an application into mu website source.

Published blog post not displayed after logoff when the source is hosted in IIS.

When Iam doing the same thing in the hosted server the published post are displayed even after logoff.

I want to display the published blog post even after displaying.

WebMatrix 3 crashing when trying to open a site

0
0

I am trying to open a site from Azure in Windows 8.1 in a parallels VM and get the following error in the event viewer.

+

System

-

Provider

[ Name

Microsoft-WebMatrix

-

EventID

13

[ Qualifiers

0

Level

2

Task

0

Keywords

0x80000000000000

-

TimeCreated

[ SystemTime

2014-12-20T16:21:17.000000000Z

EventRecordID

4947

Channel

Application

Computer

JONATHANCREC43F

Security

-

EventData

PROCESS_CRASH The process terminated unexpectedly. Exception:System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.ApplicationException: Attributes of site being opened. Id=0. RemoteSiteName=heatherhindsalon. RemoteUrl=http://heatherhindsalon.com/. SourceControlProviderName=. IsRemoteOnly=True. MatchingSiteCount=0. ---> System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate) at Microsoft.WebMatrix.Core.SiteSelectorViewModel.Validate(Task`1 task, Stopwatch stopwatch, Stopwatch createSiteStopwatch, MySitesItemViewModel selectedViewModel, NamedCredential credentials) --- End of inner exception stack trace --- at Microsoft.WebMatrix.Core.SiteSelectorViewModel.Validate(Task`1 task, Stopwatch stopwatch, Stopwatch createSiteStopwatch, MySitesItemViewModel selectedViewModel, NamedCredential credentials) at Microsoft.WebMatrix.Core.SiteSelectorViewModel.<>c__DisplayClass9.<OpenSite>b__6(Task`1 task) at System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- ---> (Inner Exception #0) System.ApplicationException: Attributes of site being opened. Id=0. RemoteSiteName=heatherhindsalon. RemoteUrl=http://heatherhindsalon.com/. SourceControlProviderName=. IsRemoteOnly=True. MatchingSiteCount=0. ---> System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate) at Microsoft.WebMatrix.Core.SiteSelectorViewModel.Validate(Task`1 task, Stopwatch stopwatch, Stopwatch createSiteStopwatch, MySitesItemViewModel selectedViewModel, NamedCredential credentials) --- End of inner exception stack trace --- at Microsoft.WebMatrix.Core.SiteSelectorViewModel.Validate(Task`1 task, Stopwatch stopwatch, Stopwatch createSiteStopwatch, MySitesItemViewModel selectedViewModel, NamedCredential credentials) at Microsoft.WebMatrix.Core.SiteSelectorViewModel.<>c__DisplayClass9.<OpenSite>b__6(Task`1 task) at System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke() at System.Threading.Tasks.Task.Execute()<--- Process:WebMatrix

Any ideas?


IIS only Working Locally except for default site

0
0

IIS is only Working Locally except for default site works by IP

IIS only Working Locally except for default site http://63.141.229.138/

well i setup @ 63.141.229.139 for my domain thisisknuckles.com  in dns zone file which is correct

the IP  63.141.229.139 is pingable but doesnt load my site... what could be wrong??? port 80 is open firewall is off and this server is in a datacenter.

Anyone who can figure this out will get free web hosting from me on my linux server.

Regards,

Homie

Nuget icon not found in toolbar

0
0

I have no NuGet icon in my toolbar.

The nuget.core.dll file is in the bin folder.

How do I go about getting Nuget back?

How to set up .cer files in IIS Centeral certificate store?

0
0

I am trying to configure my SSL certificates in IIS 8.5 CCS.

My CA gave me a bunch of .cer files for each of the domains, i requested for.These are brand new sites, i need to set up.

How do i go about this? I have not completed the "Complete Certificate Request..." steps for any of the domains/SSL yet.

Thanks in advance for the help.

How do I restore rewritten rule to default.

0
0

Experimenting with the URL Rewrite Module. I'm using the code below which I found on a heavily up-voted answer to a stackoverflowquestion. It seems to be a bit more fleshed out version of item 4 from thispost by Ruslany.

<system.webServer><rewrite><rules><clear /><rule name="Redirect to https" stopProcessing="true"><match url="(.*)" /><conditions><add input="{HTTPS}" pattern="off" ignoreCase="true" /></conditions><action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" /></rule></rules></rewrite></system.webServer>    

The config addition works great and any incoming HTTP request is rerouted to the corresponding HTTPS address as desired.

However, if I remove the above section from my web.config redirect behavior persists. It persists through, rebuild, clean and rebuild, Visual Studio restart and complete system reboot. I've gone so far as to delete all cached website information from IIS Express and still the redirect is active. Obviously the above rewrite made persistent changes somewhere, but where? Typically if I opt into behavior by adding to web.confg I can opt out again by removing anything added but that doesn't appear to be the case here. It seems rewrite makes persistent changes at the port level the first time it's run. How do I remove those changes?

ODBC Microsoft Access-driver?

0
0

I have installed Vista and running IIS7 but cant make it to run with "ODBC Microsoft Access-driver"

 I have tried "RUN" on theese commands

icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant Users:(CI)(S,WD,AD,X)

icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant "CREATOR OWNER":(OI)(CI)(IO)(F)

%windir%\system32\inetsrv\appcmd set config -section:applicationPools /[name='DefaultAppPool'].processModel.loadUserProfile:false

But nothing works?

I stille get this error:

[Microsoft][ODBC Microsoft Access Driver] Disk or network error.

Please can somebody helt me???

How to grant IIS full permissions to a windows user who is not a local admin

0
0

How to grant IIS full permissions to a windows user who is not a local admin on the 2008 r2 std server with IIS7?  This person is an application and website admin for a site on the server, but should not have local full admin access on the server.  They do have domain credentials which I would like to provide the IIS full admin permissions to.  How can I accomplish this?  I did look at the following article in the link below but I don't see it talking about how to grant full IIS administration permissions.

http://www.iis.net/learn/manage/remote-administration/configuring-remote-administration-and-feature-delegation-in-iis-7

Thank you.

Manage security in IIS

0
0

Hi,

I try to make creation of a new site more efficient and more automatic.

In the IIS GUI (on Windows 2003 R2), there is a tab naming Directory Security in the properties of the site, virtual directory, folder or file. In this tab, I can allow or deny access for specific IP.

In WMI, in IISIpSecuritySetting class, I can change these attributes for site or virtual directory only. Also in IISWebFolderSetting there is no defination where I can change the access for specific file or folder.

Is there any way with Powershell, VBS, WMI or something else, which I can change this security properties on folder or specific files?

Thanks!


Looking for script to install multiple appool's multiple sites and content folders

0
0

have lot of stuff in around 

can't fine something which can pick appools  sites under default websites  , website names and folder names and content within one script .

any one came across ?

Thanks !

Microsoft Office Access Database Engine: Your network access was interrupted. To continue, close the database , and then open it again.

0
0

Hai,

I am getting below error while updating MS access database file from VBScript. When i usedProvider=Microsoft.ACE.OLEDB.12.0

Error message is : 'Microsoft Office Access Database Engine: Your network access was interrupted. To continue, close the database , and then open it again'.

Any suggestion how to resolve this issue ? Currently I am running it with logged in account itself using 'cscript' latter i am planning to run this as a scheduled job.

When i opened the .mdb file after the Error message I realized that some of the records are updated correctly but it failed for some other records.

For trouble shooting this I changed the provider to Provider=Microsoft.Jet.OLEDB.4.0 but this time Error message is :'Microsoft JET Database Engine: Disk or network error'.

Following are the system specification:

File: .mdb (2000 format)

Language: VBScript

Server: Windows Server 2003 std edition

MS Access Version: Access 2007

TEMP and TMP variable are set to: %USERPROFILE%\Local Settings\Temp

Redirect Subdomain To IP Local

0
0

I have a TMG SERVER and two IIS SERVER . I want redirect subdomain to Server IIS-2 ( 192.168.1.3 )

Examples:
- My domain abc.com
- When I enter the url ... abc.com . It will recdirect to IIS-1 ( 192.168.1.2 )
- When I enter the url ... myblog.abc.com . It will recdirect to IIS-3 ( 192.168.1.3 )

Plz help me. Thx all

Error: detected extra argument

0
0

What am I doing wrong? I'm a LogParser newbie - just bought the book and doing ok until p5 :-( 

For some reason I can't seem to get anything workijng with the file: parameter

e.g.

C:\Program Files (x86)\Log Parser 2.2>LogParser.exe file: "Select TimeGenerated,
SourceName FROM System"
Error: detected extra argument "Select TimeGenerated, SourceName FROM System" af
ter query

and moving on: User Logons on p7

C:\Program Files (x86)\Log Parser 2.2>LogParser.exe file: "SELECT TimeGenerated,
SID FROM Security WHERE EventID = 528" -i:EVT -resolveSIDs:ON
Error: detected extra argument "SELECT TimeGenerated, SID FROM Security WHERE Ev
entID = 528" after query

Can anyone help? I'm desperate to plough on into the book but stuck at p5!

Thanks

J

iscf.dll registration

0
0

I need run an old verson of coldfusion server 4.5.  Trying register the iscf.dl keep getting it's not a dll ?

Viewing all 27852 articles
Browse latest View live




Latest Images