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

MSDeploy package (zip) to Virtual directory.

$
0
0

I'm not  a build guy, apologies if this is basic. We have an existing setup program, creates the web server, virtual directory etc. Used to use the old Web Deployment project, now on VS2013, we have the package option. I created a publish profile VS creates the package, (zipfile) and also  the cmd file to execute it, manifest file etc.

I can manually "Import" the zip file into IIS, so it seems valid.

Trying to execute MSDeploy from inside the setup project, it fails.

This https://technet.microsoft.com/en-us/library/dd569034(v=ws.10).aspx says

"Unpackage the contents of the Package.zip file and put them in the C:\temp folder. Do not delete any files that already exist in the destination folder."

msdeploy.exe -verb:sync -source:package=C:\package.zip -dest:contentpath=C:\temp -enableRule:DoNotDeleteRule

our application path has spaces, so I've included quotes (\") around the source file and destination folder.

msdeploy.exe -verb:sync -source:package="C:\Program files\myApp\package.zip" -dest:contentpath="C:\program files\myApp\webUI"

When I execute it, I get this error:

Error: Source (sitemanifest) and destination (contentPath) are not compatible for the given operation.

Error count: 1.

without the quotes, it complains that "files" is an invalid parameter.

Am I missing something obvious?

TIA


Please help really need to figure this out

$
0
0

Okay, So I am following a tutorial that is using IIS 7 as a client server. What it does it when a player opens the client, it connects to my api page on my site. If everything is ok and the username and password is valid the player can join the server and play the game and all his/her progress is updated frequently. Problem: My api page works at first.. then after a little while it stops working. I'm using chrome and when it fails it shoots out the ERR_CONNECTION_REFUSED error and it shows a details link towards the bottom... If i click details and click the link provided and then go back. It seems to work again. It's almost like I trick google chrome into opening my page. A few people said its my permissions. I added every permission they told me I should, to the required folder. I also changed the DefaultAppPool permissions and settings that they suggested. Nothing has worked. I am using a Modem/Router combination and my IIS system is setup based on this tutorial. I only changed a few settings. DefaultAppPool is Integrated. Everything uses Pass-Through Authentication. ASP.NET impersonation is on. From authentication is on. Anonymous Authentication is on. I am using Site Credentials set to the Administrator account to be impersonated. Not sure what else there is to tell. Here is the web.config file that resides in my wwwroot folder...

<?xml version="1.0" encoding="UTF-8"?><configuration><system.webServer><staticContent><mimeMap fileExtension=".php" mimeType="application/x-php" /></staticContent><directoryBrowse enabled="true" /></system.webServer><system.web><authentication mode="Forms" /></system.web></configuration>


Please guys and gals. I need help asap. any suggestions, any at all I will try. I am very desperate to get this working it's been about a week of monkey-ing around with this and I have failed 10 times over. Monday I am going to replace my Router/Modem combo with a Router and Modem separate boxes. If that'll even make a difference. thanks guys and gals!

DNS lookup after idle

$
0
0

Hi guys.

Sorry if this has been answered before, I've scanned through the forums and didn't find anything that could provide me with an answer.

In my scenario I have an ASP.Net site hosted in IIS 8.5 (according to the IIS Manager). The site was developed with Visual Studio 2013 using VB.Net as programming language, and is currently hosted on an internal testing server. All the functionality works correctly and I have no issues with it bar some improvements as is usual. However, I've noticed that if I were to let the site idle for a short while, about 2-3 minutes, it would take very long to respond once the user would resume activity, usually longer than 20 seconds. As you might guess this breaks the user flow and can make the site unpleasant to use.

At first I thought it was my sessions clearing or dropping but I've since adjusted those and the problem still persists. I've investigated the problem with both Fiddler as well as Internet Explorer and Google Chrome's developer tools, and noticed that each time the website takes a long time to respond the process that takes the bulk of the time is the DNS Lookup (usually about 18 seconds). In order to continue my testing I've changed the host-name in my URL (for example "http://myapp/frmHome.aspx") to use the IP Address ("http://192.168.1.1/frmHome.aspx") and this immediately solves the problem. However, this would make navigating to the deployed website somewhat more difficult as its not a name the users can easily remember.

Does anyone have any advice that can help me solve this problem, or another tool that I can use to narrow down the problem?

Thanks!

Install SSL Certificates WFF 2.X

$
0
0

Hi,

Can anyone give me step to install SSL certificate on Web Farm Controller 2.X running on Windows Server 2008 R2 with IIS 7.5

My scenario as follow:

1:- One Server 2008 R2 install WFF 2.X and IIS 7.5

2:- One Primary Web Server (Server 2008 R2- IIS7.5).

3:- One Secondary Web Server (Server 2008 R2- IIS7.5).

My Sites are working fine with http.  I wants to install SSL so that Site can work with https 

I wants to know how i can do that on Webfarm so that SSL can work with both the server (Primary and Secondary) 

Comment for IP

$
0
0

Please add the ability to specify a comment for an IP or network when adding them to theIP Address and Domain Restrictions

IIS maxBandwidth don't limit upload

$
0
0

hi

i want to limit upload and download in IIS. i set

maxBandwidth

to 2000. this limit work for download correctly. but when upload file this limit don't work.

Note that in my web.config file i set:

<system.web><httpRuntime maxRequestLength="2147483647" executionTimeout="3600" /></system.web><system.webserver><security><requestFiltering><requestLimits maxAllowedContentLength="4249967295" /></requestFiltering></security></system.webserver>

when i remove this line upload is limited but when add this lines uploud bandwidth is unlimited.

so how can i limit upload bandwidth in IIS?

Deleteing database in webmatrix?

$
0
0

Hello,

I want to know how to delete database from webmatrix , not connection but the database itself,

so that when i create a database with the same name, i do not get the message ;

" Unable to create new database.

Can't create database 'wordpress'; database exist "

Locked Out AD Accounts

$
0
0

Can someone provide me with a Log Parser query, which would interrogate a server security.evtx file and pull out all AD accounts that are locked out, the date these accounts were locked out and from what PC (Host Name) or the Computers IP Address the lock out occured?

 

Thanks


Runtime-Error in Microsoft VBScript Error "800a000d' Classic ASP

$
0
0

Hi,

I used the same Code connecting to an access-database. I changed the connection to a mysql-database and got the following error:

Runtime-Error in Microsoft VBScript Error "800a000d'

Data Type Conflict

/fpuBuchungen.asp, Zeile 27

This is the Code:

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

Function CheckNummer(intNummer)
    If IsNull(intNummer) Then
        Checknummer = False
    Else
        Call OpenDBMain()
        Dim objCnt, strSQL
        strSQL = "SELECT Count(Personal.ID) AS Anzahl FROM Personal WHERE Personal.PersonalNr=" & intNummer
        Set objCnt = Server.CreateObject("ADODB.Recordset")
        objCnt.Open strSQL, objConn, 1, 3
        If objCnt("Anzahl") = 1 Then    Here the Error occurs...

i checked the datatypes in the Access-Database and in the MySQL-database and they seem to be Ok...

IIS Manager cannot verify whether the built-in account has access.

$
0
0

I have downloaded some software. I put the software in a subdirectory of C:\inetpub\wwwroot. The installation instructions say to create a virtual directory. When I do that and click the "Test Connection" button the Authorization says "Cannot verify access to path" and the message at the bottom says:

The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that <domain>\<computer_name>$ has Read access to the physical path. Then test these settings again.

I have found many other posts about this problem. I do not know how to ensure "that the application pool identity has Read access to the physical path". This is just a local installation of IIS 6.1 in Windows Home Premium. When I look at the Advanced settings for the DefaultAppPool the Identity is LocalSystem, in case that helps, but I do not know how to "verify that <domain>\<computer_name>$ has Read access to the physical path".

Why was the "Start Automatically" UI removed for sites in IIS 8.5?

$
0
0

In IIS 7.5 in IIS Manager, open the advanced settings for a site.

You have an option for "Start Automatically"

(serverAutoStart on the site node in xml).

This setting is gone in IIS 8.5 and IIS 10 (maybe IIS 8 as well)

Was there a specific reason to remove this?

I always assumed newer versions of IIS only add stuff, but never remove anything.

When doing support having a different UI on different versions can complicate things.

I now I can still change the setting in the configuration editor and per script.

Does giving permissions to IIS manager users to upload files also grants them permission to administer website?

$
0
0

Hello,

There is an option to allow IIS Manager users to be used for authentication to FTP site for file upload/download. My understanding creating those users with RW permissions to specific site/folder also means that they remotely connect to IIS and actually administer it as well which is obviously not intended consequence if it's true. So is my understanding is correct?

G

IIS7.5-Virtual directory- UNC - Passthrough authentication

$
0
0

hi,

I created a virtual directory that points to a domain DFS root.

I can see some folder, but on some target I get the following error:

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

<div><fieldset><legend>Detailed Error Information</legend>   <div id="x_x_details-left">

ModuleIIS Web Core
NotificationBeginRequest
HandlerNot yet determined
Error Code0x80070005
Config ErrorCannot read configuration file due to insufficient permissions
Config File\\?\UNC\boprap005.prap-er.local\boprapdati$\web.config

</div> <div id="x_x_details-right">

Requested URLhttps://10.0.8.22:443/DFS/
Physical Path\\boprap005.prap-er.local\boprapdati$\
Logon MethodNot yet determined
Logon UserNot yet determined

<div></div> </div> </fieldset></div> <div><fieldset><legend>Config Source</legend>    

-1:
    0:

</fieldset></div>

I get the same error even if I try to use directly the shared folder of the dfs target (\\prap-er.local\dfs\boprap\dati =\\boprap005.prap-er.local\boprapdati$ )

I used basic authentication in the virtual dir.  The username and password I used  when IIS prompts for a password has full permission to the share. Both IIS and file servers are members of the same domain.

help :)

Response.IsClientConnected causes exceptions

$
0
0

We recently tried incorporating Response.IsClientConnected into our asp.net site, but it causes seemingly random exceptions that only show up when we check this property.  If we comment out that code, we stop getting the exceptions.  We get a ton of items in our log file indicating that we have disconnected clients and we are still doing processing, so it is clearly an opportunity for optimization, but we need to figure out what is going on with the exceptions first.  Any idea what is causing this exception and how we can we work around it?

Our site is hosted on Windows Server 2008 r2 x64 with IIS 7.5 and .NET 4.5.

If Not Response.IsClientConnected Then
    ' write to log file
End If

We are getting the following exception (again, seemingly random and only when we have the check for IsClientConnected live on our site):

System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)

IIS and XAMPP both render same error (ERR_CONNECTION_REFUSED)

$
0
0

So I have tried to use Detailed Errors. I have had other people on the forums tell me that I need to change various settings. Which I have done. I have had people tell me that I needed to change permissions. Which I have done. With IIS I could not solve it. So I went to XAMPP and tried that. Same thing. Google Chrome Renders the infamous ERR_CONNECTION_REFUSED error. I have no idea why. I am using an Administrator account with proper permissions and I am not using too much memory. I have my DefaultAppPool with ApplicationPoolIdentity as my Pass-Through authentication for my api page(converted to application) I am trying like hell to get this to work and have had very little luck. So my question is... What can I do, to make this damn thing allow my connection!?


Really need help asap please

$
0
0

I have a Desktop PC that I use as a server that has IIS 7.0. My IIS 7.0 has an api folder that is turned into an application. I followed this tutorial. It host's a game emulator for WarZ(Infestation) The game's source code was released and everyone began making emulators. Everyone else seems to have no problems except me. My setup is that exactly(tutorial). Summary of Tutorial. I download the files stated in the tutorial. Install IIS as intended. (however I use windows 7 instead of Windows server 2008, this shouldn't affect anything as a lot of other people have done this too) I setup my site exactly as tutorial said to and at first i changed settings and it didnt help so i put everything back to how it was at first. Still same problems. Really need some help from the IIS genius'

IIS 7 needs constant refreshing

$
0
0

I am using IIS 7 to host an ASP.NET game server. My IIS 7 works fine on the home page. However, on the ASP.NET page that my server derives it's information from, constantly goes down and I have to leave the page and come back or else it says ERR_CONNECTION_REFUSED what the heck is going on ?

Wordpress Install Failing - WPI just hangs...

$
0
0

Logs are attached.  I don't see anything in here that points to any real trouble.  Windows 8.1.  I'm kinda stuck here since I have nothing really to go on as far as what the possible reasons for the hang could be.  I wonder if there's a hidden window waiting for user input but I have no idea how to figure that out.  These logs don't really show an issue - they just end at the .zip file its trying to install.    Any help or ideas appreciated.

-eLindy

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 Moved Temporarily
Cache-Control: private
Content-Length: 175
Content-Type: text/html; charset=utf-8
Expires: Thu, 25 Jun 2015 21:40:58 GMT
Location: https://www.microsoft.com/web/webpi/5.0/webproductlist.xml
Server: Microsoft-IIS/8.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Thu, 25 Jun 2015 21:41:58 GMT
Connection: keep-alive
Set-Cookie: MC1=GUID=3812daf55eb6f448b4389d2a3024477a&HASH=f5da&LV=20156&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/


DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/webproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Thu, 25 Jun 2015 17:58:17 GMT
ETag: "e6d9e8370afd01:0"
Cache-Control: max-age=501
Date: Thu, 25 Jun 2015 21:41:58 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\SharepointAdmin\AppData\Local\Microsoft\Web Platform Installer\1343597488.xml.temp
DownloadManager Warning: 0 : Could not resolve keyword ID 5nine
DownloadManager Warning: 0 : Could not resolve keyword ID Security
DownloadManager Warning: 0 : Could not resolve keyword ID 5nine
DownloadManager Warning: 0 : Could not resolve keyword ID Security
DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Cruiser
DownloadManager Warning: 0 : Could not resolve keyword ID Billing
DownloadManager Warning: 0 : Could not resolve keyword ID Showback
DownloadManager Warning: 0 : Could not resolve keyword ID Cloud Cruiser
DownloadManager Warning: 0 : Could not resolve keyword ID Billing
DownloadManager Warning: 0 : Could not resolve keyword ID Showback
DownloadManager Warning: 0 : Could not resolve keyword ID Terawe
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 : https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Thu, 25 Jun 2015 19:44:45 GMT
ETag: "51998f637fafd01:0"
Cache-Control: max-age=608
Date: Thu, 25 Jun 2015 21:41:59 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\SharepointAdmin\AppData\Local\Microsoft\Web Platform Installer\-97141593.xml.temp
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\SharepointAdmin\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 : https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Thu, 08 May 2014 18:42:31 GMT
ETag: "26a51545ed6acf1:0"
Cache-Control: max-age=700
Date: Thu, 25 Jun 2015 21:42:00 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\SharepointAdmin\AppData\Local\Microsoft\Web Platform Installer\-230948881.xml.temp
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\SharepointAdmin\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 : https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Mon, 02 Feb 2015 17:50:31 GMT
ETag: "1a5deabc103fd01:0"
Cache-Control: max-age=536
Date: Thu, 25 Jun 2015 21:42:00 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\SharepointAdmin\AppData\Local\Microsoft\Web Platform Installer\-1135381691.xml.temp
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\SharepointAdmin\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 : https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Content-Type: text/xml
Last-Modified: Thu, 08 May 2014 18:42:32 GMT
ETag: "8285645ed6acf1:0"
Cache-Control: max-age=312
Date: Thu, 25 Jun 2015 21:42:00 GMT
Connection: keep-alive
X-CCC: US
X-CID: 2


DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\SharepointAdmin\AppData\Local\Microsoft\Web Platform Installer\-1877981721.xml.temp
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\SharepointAdmin\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\SharepointAdmin\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 : http://go.microsoft.com/?linkid=9752395 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Moved Temporarily
Cache-Control: private
Content-Length: 203
Content-Type: text/html; charset=utf-8
Expires: Thu, 25 Jun 2015 21:41:00 GMT
Location: http://www.microsoft.com/web/handlers/WebPI.ashx?command=getatomfeedwithavgratingquery
Server: Microsoft-IIS/8.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Thu, 25 Jun 2015 21:42:00 GMT
Connection: keep-alive
Set-Cookie: MC1=GUID=b0491830e813844c9eb2a3a2cc1ad745&HASH=3018&LV=20156&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/


DownloadManager Information: 0 : Content-Encoding header: 'gzip'
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '23149'
DownloadManager Information: 0 : Number of bytes after possible decompression: '77337'
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 WordPress (WordPress) to cart
DownloadManager Information: 0 : Adding product 'WordPress'
DownloadManager Information: 0 : Setting current install to 1
DownloadManager Information: 0 : Starting install sequence
DownloadManager Information: 0 : Using cached file at C:\Users\SharepointAdmin\AppData\Local\Microsoft\Web Platform Installer\installers\WordPress\D8B797D0FA8864E931DB674819009D99E5582812\wordpress-4.2.2-IIS.zip instead of downloading from https://wordpress.org/wordpress-4.2.2-IIS.zip



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

DownloadManager Information: 0 : Starting install sequence
ThreadId=18
DateTime=2015-06-25T21:42:18.5486857Z
DownloadManager Information: 0 : Using cached file at C:\Users\SharepointAdmin\AppData\Local\Microsoft\Web Platform Installer\installers\WordPress\D8B797D0FA8864E931DB674819009D99E5582812\wordpress-4.2.2-IIS.zip instead of downloading from https://wordpress.org/wordpress-4.2.2-IIS.zip
ThreadId=20
DateTime=2015-06-25T21:42:18.5496880Z



Problem with IIS 6.0 about the Digest Authentication

$
0
0

Hey @ll

I have a problem with Domain Authentication on my IIS 6.0.

For example:
Active Directory is on 192.168.1.10
Web Site (in PHP) is on 192.168.1.2
I'm trying to access to this web site from 192.168.1.4
all these computers use the domain PPP

In IIS configuration (Authentication Access) I mentioned option "Digest authentication for Windows domain servers" and on Realm I wrote "PPP".


I log on 192.168.1.4 as User3, then open explorer and put address http://192.168.1.2/test.php and I have information:

"You are not authorized to view this page"

I don`t have any idea what is wrong. Please help me.

IIS 7.x SFTP support

$
0
0

I would like to use IIS with SSH is it any chance to use this feature or should use 3rd party tool for that?

Viewing all 27852 articles
Browse latest View live




Latest Images