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

MobileDevice encounter 403.3 error when access IIS WebDav with Kerberos Authentication

$
0
0

Basic the case should similar to Part 3 of this post, UNC folders added in IIS server as Application with pass through authentication

http://forums.iis.net/t/1208017.aspx?Problems+with+Webdav+on+IIS+7+5+connecting+to+UNCpath+win+auth+with+passthrough

Quote:

When I try connecting through the webdav on the Ipad I simply get (cannot access the folder). On the IIS I can see that I get the error: 403.3.

_______________________________________________________________________

My case

In Domain workstation I'm able to use Kerberos Auth to reach server properly while using Browser to access IIS website or map the folder properly. e.ghttps://servername or https://servername/uncshare

Kerberos tickets confirm in workstation.  I had few question due to limited understanding.

1. When using browser access root level of webpage. I'm able to view physical directory stored in IIS server, but cant find any Folder which point to UNC path.. But if i use mounted as Web folder. All folder displayed properly.

e.g  when browsing https://servername , UNC share folder didnt show up - This happen in both PC's browser or  Mobile Device client

2. Any permission missing and cause 403.3 error when access through device.. Since I can access server's local folder in Mobile but not UNC path vApplication

Thanks in advance


Razor 3.2.2 incompatible with .Net 4.0 (Webmatrix)

$
0
0

I'm trying to get MVC 5.2.2 going, one of it's dependencies is Razor 3.2.2

When NuGet tries to install Razor 3.2.2 I get the following error, irrespective of whether I'm trying to install MVC, or the Razor standalone package

---------------------------------------------------------------------------------------------------

An error occurred.

Could not install package 'Microsoft.AspNet.Razor 3.2.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0.0.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

System.InvalidOperationException: Could not install package 'Microsoft.AspNet.Razor 3.2.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0.0.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
at NuGet.ProjectManager.ExtractPackageFilesToProject(IPackage package)
at NuGet.ProjectManager.AddPackageReferenceToProject(IPackage package)
at NuGet.ProjectManager.Execute(PackageOperation operation)
at NuGet.ProjectManager.Execute(IPackage package, IPackageOperationResolver resolver)
at NuGet.ProjectManager.AddPackageReference(IPackage package, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
at NuGet.ProjectManager.AddPackageReference(String packageId, SemanticVersion version, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
at NuGet.WebMatrix.WebProjectManager.<>c__DisplayClass1.<InstallPackage>b__0()
at NuGet.WebMatrix.WebProjectManager.PerformLoggedAction(Action action)
at NuGet.WebMatrix.WebProjectManager.InstallPackage(IPackage package, Boolean ignoreDependencies, AppDomain appDomain)
at NuGet.WebMatrix.NuGetPackageManager.InstallPackage(IPackage package)
at NuGet.WebMatrix.NuGetModel.InstallPackage(IPackage package, Boolean inDetails)
at NuGet.WebMatrix.PackageViewModel.Install()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()

---------------------------------------------------------------------------------

It stands to reason that the latest version of Razor might not support .NET 4.0 because it's old, but no higher version appears in the site settings "Select .NET Framework" dropdown box, this also makes sense because 4.5 and it's descendants are all in-place upgrades to .NET 4 (they are installed on my development PC), so while it all makes sense it doesn't help fix the problem

I've tried editing the .NET framework version in the web.config file up to 4.5 or 4.5.2 etc but this doesn't change the value in the drop down box or the error message even after a complete restart, which tells me that the ".NETFramework,Version=v4.0.0.0" bit from the error message isn't derived from the web.config file but somewhere else

I don't know where that somewhere else is, I've tried looking through all the site's files in Windows Explorer and all the files relevant to that site that I can find in IISExpress' folder but I can't see anywhere else that mentions the .NET framework version - it's worth noting that the project in question is a blank site at the start of development right now so I don't care at all about what sample code from the template breaks because I'll be deleting it all anyways

Next I tried creating a new site using the "Empty Site" option rather than a template to see if there was anything in the template that could be interfering or restricting my options, however in this new site the .NET framework options are exactly the same and the NuGet button isn't there

I don't mean that the NuGet button is greyed out or that I get an error message, it is literally gone from the ribbon but only for this new Empty Site with no sort of explanation whatsoever

I've tried using the Web Package Installer to grab just about every .NET 4.5 relevant thing I can find but none of it changes any of the above

At this stage I am stuck, I have no explanation of what .NET version Razor would like, just "not .NET4", and without the NuGet button in the empty site or a way to get it there I have no way of testing if the template is interfering

I've also tried searching this site however no results appear for any search, I get page numbers to click on at the top and filters on the left but the space where the results should be is completely blank irrespective of what filters are selected or what terms are searched for

W2012R2 - IIS8 - run *.exe

$
0
0

Hi,

Visual Studio 2013, MVC5, C#.

i've made a website to transfert data to my accounting software (EBP). i create a text file to be imported in EBP.

i launch the process like this :

ProcessStartInfo processInfo = new ProcessStartInfo();
processInfo.FileName = String.Format(@"\""C:\Program Files\EBP\Invoicing7.0FRFR40\EBP.Invoicing.Application.exe\""");
processInfo.Arguments = "my arguments....";
 using (Process process = new Process())
            {
                process.StartInfo = processInfo;
                process.Start();
            }

when i launch this command from my localhost, it runs perfectly.

But now, when i publish in my Windows Server 2012 R2 with iis 8, it doesnt works.

i see the "EBP.Invoicing.Application.exe" in processus window, then after 1s "suspend" then close processus.

i've tried to launch with Administrator identity, but its the same result, i've tried all configuration with the AppPool...

8 hours i search the solution on the web, i'll try all post when other guys have the same problem.

Please help...

Database in IIS

$
0
0

I have created a wordpress website, for testing purposes i test it on WAMP server, which has phpmyadmin, now i wanna upload it to my IIS server, so if i copy the website to the IIS it doesn't work, so where can i find the PHPmyAdmin in the IIS or any other database through which i can collabarate with my website.

Problem to robots.txt

$
0
0

I create one

robots.txt

file, within
C:\inetpub\wwwroot

within the current Win 2008 server, does it mean I should be able to read it like

http://my-friend.co/robots.txt

for the Search engine to read it?

the application pool stop auto

$
0
0

hello everyone.

when i post a request ,the application pool stop automally.But I do not know why.

.net application with windows authentication

$
0
0

Hi,

I am a developer and I am creating an application that needs windows authentication. I can set up the application to use windows authentication no problem. But how can I get the server that the application is on, gain access to the active directory? 

Any help would be really appreciated. 

Best regards, 

     Seamus 

SVCutil.exe http://localhost:8080/ApiServiceWeb/ApiService.svc?wsdl

$
0
0

Good day all

SO I have a requirement to monitor the Instances of the ServiceModelOperation 4.0.0.0.  when I go to the websitehttp://localhost:8080/ApiServiceWeb/apiservice.svc and click on the link svcutil.exehttp://localhost:8080/ApiServiceWeb/ApiService.svc?wsdl it initializes all the instances and I can add them in my Performance Monitor DataCollectorSet1. However after a certain amount of time, they disappear and I have to perform the same procedure over and over. I went into IIS Manager and to Application Pools, Highlighted "ApiServiceWebAppPool" , right clicked and selected "advanced settings" towards the bottom under "Recycling" I set the"Regular Time Interval (minutes) to "0". It is still dropping off.

Is there a way for me to make it so they are always available?


Cannot install WebMatrix 3

$
0
0

I am trying to install WebMatrix 3 and I keep getting the error that the dependency failed signature verification.  Unfortunately it happens for the three main dependencies and does not allow the install.

I tried running a [wpi].exe /reset and that did not fix the problem.  Please see my log below:

DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9842185
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9842185 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 175
Content-Type: text/html; charset=utf-8
Expires: Thu, 22 Jan 2015 14:36:11 GMT
Location: https://www.microsoft.com/web/webpi/5.0/webproductlist.xml
Server: Microsoft-IIS/8.5
X-AspNet-Version: 2.0.50727
Set-Cookie: MC1=GUID=7a233adcc7e4ac42a612c890039ba646&HASH=dc3a&LV=20151&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/
X-Powered-By: ASP.NET
Date: Thu, 22 Jan 2015 14:37:11 GMT


DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '968577'
DownloadManager Information: 0 : Number of bytes after possible decompression: '7692859'
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml
DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '113081'
DownloadManager Information: 0 : Number of bytes after possible decompression: '450418'
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml' after preprocessing, location on disk: 'C:\Users\lgg\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-97141593.xml'
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml
DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '11468'
DownloadManager Information: 0 : Number of bytes after possible decompression: '64021'
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml' after preprocessing, location on disk: 'C:\Users\lgg\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-230948881.xml'
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml
DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '11517'
DownloadManager Information: 0 : Number of bytes after possible decompression: '66351'
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\lgg\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1135381691.xml'
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml
DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '4868'
DownloadManager Information: 0 : Number of bytes after possible decompression: '40596'
DownloadManager Information: 0 : Filtering by current OS
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml' after preprocessing, location on disk: 'C:\Users\lgg\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1877981721.xml'
DownloadManager Information: 0 : Sucessfully loaded the feed 'https://go.microsoft.com/?linkid=9842185' after preprocessing, location on disk: 'C:\Users\lgg\AppData\Local\Microsoft\Web Platform Installer\preprocessor\1343597488.xml'
DownloadManager Information: 0 : Getting ratings file from http://go.microsoft.com/?linkid=9752395
DownloadManager Information: 0 : Contextual entry products: WebMatrixWeb
DownloadManager Information: 0 : Adding product Microsoft WebMatrix 3 (WebMatrixWeb) to cart
DownloadManager Information: 0 : Contextual navigation to product 'WebMatrixWeb'
DownloadManager Information: 0 : http://go.microsoft.com/?linkid=9752395 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 203
Content-Type: text/html; charset=utf-8
Expires: Thu, 22 Jan 2015 14:36:18 GMT
Location: http://www.microsoft.com/web/handlers/WebPI.ashx?command=getatomfeedwithavgratingquery
Server: Microsoft-IIS/8.5
X-AspNet-Version: 2.0.50727
Set-Cookie: MC1=GUID=848b1099ee748143955664c299d545b4&HASH=9910&LV=20151&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/
X-Powered-By: ASP.NET
Date: Thu, 22 Jan 2015 14:37:17 GMT


DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '22557'
DownloadManager Information: 0 : Number of bytes after possible decompression: '75392'
DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150
DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed.
DownloadManager Information: 0 : Ratings file loaded successfully
DownloadManager Information: 0 : Adding product 'WebMatrixWeb'
DownloadManager Information: 0 : Adding dependency product 'DACFX_11_0
DownloadManager Information: 0 : Adding dependency product 'DACFX_x64_11_0
DownloadManager Information: 0 : Adding dependency product 'SQLCLRTypes_11_0
DownloadManager Information: 0 : Adding dependency product 'DACFX_x86_11_0
DownloadManager Information: 0 : Adding dependency product 'SQLCLRTypes_Only_x86_11_0
DownloadManager Information: 0 : Adding dependency product 'SQLCLRTypes_Only_x64_11_0
DownloadManager Information: 0 : Setting current install to 1
DownloadManager Information: 0 : Starting install sequence
DownloadManager Information: 0 : Downloading file 'http://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x64/SQLSysClrTypes.msi' to: C:\Users\lgg\AppData\Local\Temp\tmpF432.tmp
DownloadManager Information: 0 : Content-disposition header: attachment
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '2519040'
DownloadManager Information: 0 : Number of bytes after possible decompression: '2519040'
DownloadManager Information: 0 : Moving downloaded file 'C:\Users\lgg\AppData\Local\Temp\tmpF432.tmp' to: C:\Users\lgg\AppData\Local\Microsoft\Web Platform Installer\installers\SQLCLRTypes_Only_x64_11_0\7CE5C2888C150F7F3F31DDE4DD4831E6B4A50E97\SQLSysClrTypes.msi
DownloadManager Error: 0 : Signature verification failed on downloaded file. URL: http://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x64/SQLSysClrTypes.msi. File location: C:\Users\lgg\AppData\Local\Microsoft\Web Platform Installer\installers\SQLCLRTypes_Only_x64_11_0\7CE5C2888C150F7F3F31DDE4DD4831E6B4A50E97\SQLSysClrTypes.msi. File size: 2460 kb
DownloadManager Information: 0 : Product Microsoft System CLR Types for Microsoft SQL Server 2012 (x64) done install completed
DownloadManager Information: 0 : Increasing current install to 2
DownloadManager Information: 0 : Downloading file 'http://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SQLSysClrTypes.msi' to: C:\Users\lgg\AppData\Local\Temp\tmpF694.tmp
DownloadManager Information: 0 : Content-disposition header: attachment
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '2195456'
DownloadManager Information: 0 : Number of bytes after possible decompression: '2195456'
DownloadManager Information: 0 : Moving downloaded file 'C:\Users\lgg\AppData\Local\Temp\tmpF694.tmp' to: C:\Users\lgg\AppData\Local\Microsoft\Web Platform Installer\installers\SQLCLRTypes_Only_x86_11_0\721EE22B542110D03348E9491F3D7BDFA24C78DB\SQLSysClrTypes.msi
DownloadManager Error: 0 : Signature verification failed on downloaded file. URL: http://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x86/SQLSysClrTypes.msi. File location: C:\Users\lgg\AppData\Local\Microsoft\Web Platform Installer\installers\SQLCLRTypes_Only_x86_11_0\721EE22B542110D03348E9491F3D7BDFA24C78DB\SQLSysClrTypes.msi. File size: 2144 kb
DownloadManager Information: 0 : Product Microsoft System CLR Types for Microsoft SQL Server 2012 (x86) done install completed
DownloadManager Information: 0 : Increasing current install to 3
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft System CLR Types for Microsoft SQL Server 2012'. Skipping download.
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft SQL Server 2012 Data-Tier Application Framework 11.0 for x86 (April 2012)'. Skipping download.
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft SQL Server 2012 Data-Tier Application Framework 11.0 for x64 (April 2012)'. Skipping download.
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft SQL Server 2012 Data-Tier Application Framework 11.0 (April 2012)'. Skipping download.
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft WebMatrix 3'. Skipping download.
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft System CLR Types for Microsoft SQL Server 2012'. Skipping install
DownloadManager Information: 0 : Product Microsoft System CLR Types for Microsoft SQL Server 2012 had a dependency fail. Increasing install product to 4
DownloadManager Information: 0 : Product Microsoft SQL Server 2012 Data-Tier Application Framework 11.0 for x86 (April 2012) had a dependency fail. Increasing install product to 5
DownloadManager Information: 0 : Product Microsoft SQL Server 2012 Data-Tier Application Framework 11.0 for x64 (April 2012) had a dependency fail. Increasing install product to 6
DownloadManager Information: 0 : Product Microsoft SQL Server 2012 Data-Tier Application Framework 11.0 (April 2012) had a dependency fail. Increasing install product to 7
DownloadManager Information: 0 : Product Microsoft WebMatrix 3 had a dependency fail. Increasing install product to 8
DownloadManager Warning: 0 : Dependency failed for product 'Microsoft SQL Server 2012 Data-Tier Application Framework 11.0 (April 2012)'. Skipping install
DownloadManager Information: 0 : Product Microsoft System CLR Types for Microsoft SQL Server 2012 had a dependency fail. Increasing install product to 9
DownloadManager Information: 0 : Product Microsoft SQL Server 2012 Data-Tier Application Framework 11.0 (April 2012) had a dependency fail. Increasing install product to 10
DownloadManager Information: 0 : Product: SQLCLRTypes_Only_x64_11_0, Install Status: InstallCompleted-Failure, Install Time: 00:00:00
DownloadManager Information: 0 : Product: SQLCLRTypes_Only_x86_11_0, Install Status: InstallCompleted-Failure, Install Time: 00:00:00
DownloadManager Information: 0 : Product: SQLCLRTypes_11_0, Install Status: DependencyFailed-None, Install Time: 00:00:00
DownloadManager Information: 0 : Product: DACFX_x86_11_0, Install Status: DependencyFailed-None, Install Time: 00:00:00
DownloadManager Information: 0 : Product: DACFX_x64_11_0, Install Status: DependencyFailed-None, Install Time: 00:00:00
DownloadManager Information: 0 : Product: DACFX_11_0, Install Status: DependencyFailed-None, Install Time: 00:00:00
DownloadManager Information: 0 : Product: WebMatrixWeb, Install Status: DependencyFailed-None, Install Time: 00:00:00

Need help getting migrated ASP pages to run under IIS 8.5

$
0
0

To start off, I know next to nothing about modern web hosts.  I can build basic and effective pages, and got along with IIS6 pretty well.

But moving to IIS 8.5 has been like going from a Ford Fiesta to a Bugatti.  So I need some help.  We've got two ASP intranet pages that both exhibit the same behavior.  I've pasted in the web.config file below minus our company's particulars.  The error I get is:

"There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined"

I've seen a lot of comments around about removing these tags, but I don't know enough to know which are necessary and which are superfluous.  I'd appreciate any suggestions you may have on how to fix this, and any environment settings I may need to make in IIS.

<?xml version="1.0"?><configuration><configSections><sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"><sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"><section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/><sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"><section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/><section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/><section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/><section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/></sectionGroup></sectionGroup></sectionGroup></configSections><appSettings><add key="AuthenticationDomain" value="xxx" /><add key="dbConnection" value="db/xxxxx_PDF_Distrib.mdb||" /><add key="DocumentPath" value="D:\webs\techinfo\documents" /><add key="EmailDomain" value="pmcsg.com" /><add key="SiteTitle" value="xxxxxxxxxx " /><add key="SMTPServer" value="xxxxxx.com" /></appSettings><location path="admin"><system.web><authorization><allow roles="Administrator"/><deny users="*"/></authorization></system.web></location><system.web><!--  DYNAMIC DEBUG COMPILATION
          Set compilation debug="true" to insert debugging symbols (.pdb information)
          into the compiled page. Because this creates a larger file that executes
          more slowly, you should set this value to true only when debugging and to
          false at all other times. For more information, refer to the documentation about
          debugging ASP.NET files.
    --><compilation defaultLanguage="vb" debug="true" strict="true"><assemblies><add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/><add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/><add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/><add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies></compilation><!--  CUSTOM ERROR MESSAGES
          Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable. 
          Add <error> tags for each of the errors you want to handle.
    --><customErrors mode="Off"/><!--  AUTHENTICATION 
          This section sets the authentication policies of the application. Possible modes are "Windows", "Forms", "Passport" and "None"
    --><authentication mode="Windows"><!--forms loginUrl="logon.aspx" name="PDF_Distrib" / --></authentication><!--  AUTHORIZATION 
          This section sets the authorization policies of the application. You can allow or deny access
          to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous 
          (unauthenticated) users.
    --><identity impersonate="false"/><authorization><deny users="?"/><!-- Allow all users --><!--  <allow     users="[comma separated list of users]"
                             roles="[comma separated list of roles]"/><deny      users="[comma separated list of users]"
                             roles="[comma separated list of roles]"/>
            --></authorization><!--  APPLICATION-LEVEL TRACE LOGGING
          Application-level tracing enables trace log output for every page within an application. 
          Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
          trace information will be displayed at the bottom of each page.  Otherwise, you can view the 
          application trace log by browsing the "trace.axd" page from your web application
          root. 
    --><trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/><!--  SESSION STATE SETTINGS
          By default ASP.NET uses cookies to identify which requests belong to a particular session. 
          If cookies are not available, a session can be tracked by adding a session identifier to the URL. 
          To disable cookies, set sessionState cookieless="true".
    --><sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20"/><!--  GLOBALIZATION
          This section sets the globalization settings of the application. 
    --><globalization requestEncoding="utf-8" responseEncoding="utf-8"/><xhtmlConformance mode="Legacy"/><pages theme="PMCSG"><namespaces><add namespace="Microsoft.VisualBasic"/><add namespace="System.Data"/></namespaces><controls><add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/><add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></controls></pages><httpHandlers><remove verb="*" path="*.asmx"/><add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/><add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/><add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></httpHandlers><httpModules><add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></httpModules></system.web><system.net><mailSettings><smtp><network password="matrix1c" userName="cmaster383"/></smtp></mailSettings></system.net><system.codedom><compilers><compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4"><providerOption name="CompilerVersion" value="v3.5"/><providerOption name="WarnAsError" value="false"/></compiler><compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4" compilerOptions="/define:Debug=True /define:Trace=True /imports:Microsoft.VisualBasic,System,System.Data,System.Web,System.Web.UI,System.Web.UI.HTMLControls,System.Web.UI.Webcontrols,System.Collections"><providerOption name="CompilerVersion" value="v3.5"/><providerOption name="OptionInfer" value="true"/><providerOption name="WarnAsError" value="false"/></compiler></compilers></system.codedom><system.webServer><validation validateIntegratedModeConfiguration="false"/><modules><remove name="ScriptModule"/><add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></modules><handlers><remove name="WebServiceHandlerFactory-Integrated"/><remove name="ScriptHandlerFactory"/><remove name="ScriptHandlerFactoryAppServices"/><remove name="ScriptResource"/><add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/><add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/><add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></handlers></system.webServer><runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/><bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/><bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly></assemblyBinding></runtime></configuration>

Url rewrite for specific page

Losing sessions on IE 11

$
0
0

Hi,

I have created a website for Chrome and IE 11, when I work on my local machine the website works perfectly on both browsers, but when I move it to the server (Windows Server 2012 - IIS 7), for some reason I lost my sessions variables.

Do anyone have an idea of why this is happening? - I read this could be related to IE 11, but if so, why is it working from my local version?

Thanks

IIS 8.5 - APPCRASH iisw3adm.dll - Windows Server 2012 R2

$
0
0

I am looking for a way to resolve this issue, to get IIS working again. 

Any assistance would be appreciated.  

The following are the steps I have taken, and the Windows Logs/Application Events from Event Viewer.

IIS 8.5 - APPCRASH iisw3adm.dll - Windows Server 2012 R2

IIS 8.5 will not start

W3C Logging Service will not start 

World Wide Web Publishing Service will not start

Removed IIS Roles & Features.  "restart" , Added IIS Roles & Features aka Reinstalled-IIS, "restart", still not working. 

Removed IIS Roles & Features.  "restart", Deleted inetpub folder from root of C:\ , Added IIS Roles & Features aka Reinstalled-IIS, "restart", still not working. 

EVENT ID: 1000 


Faulting application name: svchost.exe_WAS, version: 6.3.9600.17415, time stamp: 0x54504177
Faulting module name: iisw3adm.dll, version: 8.5.9600.16384, time stamp: 0x5215f105
Exception code: 0xc0000005
Fault offset: 0x0000000000022b94
Faulting process id: 0x1ae8
Faulting application start time: 0x01d03656ee27d230
Faulting application path: C:\Windows\system32\svchost.exe
Faulting module path: c:\windows\system32\inetsrv\iisw3adm.dll
Report Id: 2bdb98c6-a24a-11e4-80f3-00155d421472
Faulting package full name:
Faulting package-relative application ID:

==============================================================================

EVENT ID: 1001

Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: svchost.exe_WAS
P2: 6.3.9600.17415
P3: 54504177
P4: iisw3adm.dll
P5: 8.5.9600.16384
P6: 5215f105
P7: c0000005
P8: 0000000000022b94
P9:
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue
\AppCrash_svchost.exe_WAS_cd865c91f8e76e5b7fe826c415b1ebbb79f947_1feafb92_04b62547

Analysis symbol:
Rechecking for solution: 0
Report Id: 9c805999-a249-11e4-80f3-00155d421472
Report Status: 4100
Hashed bucket:

publishing website

$
0
0

Hello Community,

i´m sorry and i´m really sure this Kind of question was asked many times here, but i didn´t have the time to research for this.

So pleas don´t kill me for that. Here´s my question.

In IIS7 i have created a new site and Setup a document called index.php.

I have compared all attributes with the Default web Site and also checked Folder/file based permission.

Everything is the same. DNS Entry Shows to the new site: selfservice.mydomain.loc

when i start to browse this site the Login window appears showing to the Servers Name  servername.mydomain.loc.

When i try use my credentials it didn´t work to connect to the site selfservice.

Credentials passthrough works fine at the Default Website.

Does anyone have an idea or a hint for me...

 greets

Charlie Hotel November

HTTP 401.3 on DELETE operation in a WCF (OData) service

$
0
0

I was referred to this forum as a possible alternative for suggestions on resolving the problem I originally posted here in the WCF forum.  More details on the problem are available at the link, if interested.

I've written an OData service built on WCF 5.6.0 that I'm hosing in IIS 8.  When I connect to the service using an account with administrator privileges, everything works fine.  However, if I connect with a less privileged account, I find that DELETE operations on the service fail with a 401.3 error (access denied due to ACL limitations on the .svc file).  Researching the problem on the net, the frequently suggested solution seems to be to add modify permissions on the file for the user connecting to the service, however as a solution, this seems fishy.  The service file itself isn't being modified, nor should it need to be.  Also, this now requires us or our clients to configure and maintain a Windows group to contain potential users of the service.  I'm hoping there is a solution to the problem that doesn't require opening this security hole (even if it is a small one).

The other suggested solution seems to be to allow anonymous authentication on the site that the service is hosted in.  This is, unfortunately, not possible with our configuration.  The service being hosted connects in turn to another service that requires Windows authenticated users to connect.  As a result, we disable anonymous authentication on the service, enable ASP.NET impersonation, and enable Windows authentication, specifically with Kerberos authentication, so that credentials can be relayed to the service being called.

Can anyone suggest a solution that would not involve either modifying the permissions of the service file or opening the authentication on the site?


IIS8.5 FTP listen

$
0
0

Hello,
Now I emulate a FTP client, when I start "listen" to my IIS FTP, the incomming event arrive between 1 and 3 seconds to appear, is it ok ? May I change this timing ?

IP authentication in web.config?

$
0
0

Hello,

Please bear with me. Totally foreign to all of this so some of the terminology I use may be bad.

Our web site is hosted externally on a Windows server. We are needing one folder of our site to be restricted and accessed only via IP authentication. How would we go about doing this? After reading up about it, It seems it's a case of simply adding a web.config file to that specific folder which blocks all attempts but lets through just the IP addresses listed in the file. Is that the case?

Thanks!

Martin

Help me to configure WebSitePanel, MS-SQL Server and IIS?

$
0
0

I'm trying to configure WebSitePanel, MS-SQL Server and IIS for my eCommerce website running on a dedicated server but I failed to configure it. Kindly let me know how to configure it?

Run multiple websites on IIS 7

$
0
0

Hello all,

I'm trying to running different ASP.NET 4 website on a new Windows Server 2008 R2 machine
(where I'm not administrator), but only one website works.

BC-site1.it works.
BC-site2.it does not work.

Here some details:

This is my file hosts:


10.165.8.234 BC-site1.it
10.165.8.234 BC-site2.it


The Host name (under site bindings in IIS) is:


BC-site2.it


and the name of the site is:

BC-site2.it


This is the ping of the site2:

Pinging BC-site2.it [10.165.8.234] with 32 bytes of data:
Reply from 10.165.8.234: bytes=32 time<1ms TTL=128
Reply from 10.165.8.234: bytes=32 time<1ms TTL=128
Reply from 10.165.8.234: bytes=32 time<1ms TTL=128
Reply from 10.165.8.234: bytes=32 time<1ms TTL=128

Ping statistics for 10.165.8.234:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

But, until now, the web site "BC-site2.it" does not start.
Appear this message on IE.

This page can’t be displayed

•Make sure the web address BC-site2.it is correct.
•Look for the page with your search engine.
•Refresh the page in a few minutes.


How can I check this problem?

Thanks a lot in advance.

Luis

Reverse proxy with form auth.

$
0
0

Hi friends !

I have a web site (greenhouses's environment control) on an internal Apache server. This server is not managed by us, so I can't edit file on this server.

I need to access this web site from external.

An simple URL rewrite (Reverse proxy) work :

<system.webServer><rewrite><rules><rule name="ReverseProxyInboundRule1" stopProcessing="true"><match url="(.*)" /><action type="Rewrite" url="http://192.168.0.10/{R:1}" /></rule></rules></rewrite></system.webServer>

But anybody from external can access it.

So I would like to add form authentication. I have make a simple "logon.aspx" page on my IIS7 but I not able to have form auth and URL rewrite at the same time.

The URL rewrite rules override form auth

Someone can help me ?

Thanks you

Viewing all 28058 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>