Quantcast
Channel: Publishing
Viewing all 534 articles
Browse latest View live

Getting remote component error while publish in IIS8

$
0
0

we have to deploy the package in 100+ servers through a single machine and ealried we done with  using msdeploy and  read the config entries from each server and encrypt it. It is working fine with IIS 7 & 2008 server .

'The servers are going to roll out to server 2012 with iis8 and we facing some issue which related to reading the config entries from the site and not able to encrypt it . Getting the below error while deploying in IIS8.

Deployment is failed in  WIN-Q5L8VHN2FKR - Retrieving the COM class factory for remote component with CLSID {DFD0D215-72C0-450D-92B5-10971FC24625} from machine WIN-Q5L8VHN2FKR failed due to the following error: 80070005 WIN-Q5L8VHN2FKR.

Deployment is failed in  WIN-Q5L8VHN2FKR - Unable to access the configuration system on the remote server. Make sure that the remote server allows remote configuration.

and we are acheiving this in IIS7 by using aspnet_regiis.exe config+  cmd  and it seems that no longer this command is supported in IIS8 .please let me know the solution to fix this issue.

thanks in advance.


Defautlt page IIS6

$
0
0
I have converted an old XP PC into a server for personal use running Windows Server 2003.
The website runs fine, but I can't show a default page. When accessing http://111.111.111.111/ I get a list of directories and files, or a page saying it can't list them if I disable 'browse directories'.
How do I set a default page?

FTP 7.5

$
0
0

Listing files in a FTP folder fails with the status code 150. Not sure how to fix it. I use VB.net to connect to the FTP server . I'm unable to list folder files in passive or active mode.

Can MSDEPLOY Deploy a file outside the build package

$
0
0

Is there a way to add a file with unique data for each deployment when building a web site application in Visual Studio for Web 2013. The web application being developed is using MSDeploy as a means to install the application on a hosting server and uses a wpp.targets file to set permissions for the deployed folders. I am wondering if there are commands that can be added to the wpp.targets file in order to deploy a file that resides outside of the package build and is created from scripts in a setup app before the app calls the package deploy?

WebDAV on Windows Server 2012: Cannot map drive: A device attached to the system is not functioning

$
0
0

Hi, I am an IT Consultant, but this is my first time setting up WebDAV for a client. I cannot figure out what I've done wrong and the client is getting impatient. Help will be much appreciated!

I am trying to set up Secure WebDAV access to a file share on their file server (Windows Server 2012 (not R2)).

First off, why is there no straightforward documentation from Microsoft on how to share one folder via WebDAV?!  Why is this so complicated?   I understand some need granular control of settings, but geez, why can't a newb just "flip a switch" and share a folder via WebDAV?  Okay, rant over, please help me figure this out.

I followed these articles to install WebDAV, create Certificate Signing Request (CSR), create Root and SSL Certificates using OpenSSL, install the SSL Certificate into IIS on the server and bind to port 443, set Port Forwarding on their Verizon router for port 443 to the server's LAN IP, and import the Root Certificate into the Trusted Root Certificate Store of the client PC.
http://advancedhomeserver.com/webdav-and-windows-server-2012/
http://advancedhomeserver.com/if-you-plan-to-use-ssl-read-this-first/
http://advancedhomeserver.com/making-a-pc-a-secure-webdav-server/
http://advancedhomeserver.com/iis-and-the-certificate-signing-request/
http://advancedhomeserver.com/openssl-and-your-root-certificate/
http://advancedhomeserver.com/domain-certificates-and-windows-server-2012/
http://advancedhomeserver.com/exporting-and-importing-root-certificates/
http://advancedhomeserver.com/webdav-and-windows-server-2012/

Verizon Static IP:  xxx.xxx.xxx.38
Server name: SERVER12
Domain:  COMPANYDOMAIN
Physical folder: E:\TestWebDAV
Virtual directory: TestWebDAV

When I attempt to Map Network Drive using this path:  https://xxx.xxx.xxx.38/TestWebDAV

I get challenged, enter my domain username and password 2 or 3 times, and receive the following error. Same error if I use the administrator username/password.

   The mapped network drive could not be created because the following error has occurred:

   A device attached to the system is not functioning.

Note: I cannot use their domain name address (https:\\www.companydomain.com\TestWebDAV) since their website is hosted by an external provider.  I got them a Static IP address from Verizon and have Port Forwarding configured on the Verizon router for TCP 443.

============================================================
After I enabled Directory Browsing for the Default Web Site in IIS, I can now browse to https://localhost/TestWebDAV and its subfolders from within IIS, Internet Explorer, and Google Chrome on the server.

The problem occurs when I attempt to connect across the Internet.  I have tried to Map Network Drive from the client's laptop (from my office) which is a member of the domain, and from my desktop PC.  Both are Windows 7.

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

I followed these instructions for converting the Virtual Directory to an Application and associating a different application pool to the Application instead of using the DefaultAppPool:
http://blogs.msdn.com/b/benjaminperkins/archive/2013/08/01/setting-up-webdav-on-iis-using-windows-authentication-and-a-unc-mapped-drive-or-file-share.aspx

I ran thru the instructions a week ago, then reverted the changes when it did get WebDAV working. I then discovered the SSL Certificate I had installed on the server had disappeared somehow, so I am now following the instructions again, but:

I am stuck on the SETSPN commands, I cannot figure out what "accountname to use". I have tried:

SETSPN -L administrator
SETSPN -L COMPANYDOMAIN\administrator
SETSPN -L SERVER12\administrator

None are working now, although when I tried this previously, I got the SETSPN commands to work.

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

As a sanity check, I had a friend create a WebDAv share on his website, which is hosted at hostgator.com

I can successfully Map Network Drive to:

https://gatorNNNN.hostgator.com:2078

using the username and password he set up for me.

So the problem getting WebAV working for my client is not my computer/router/firewall, etc.

I do wonder if I am formulating the URL correctly using the Static IP (https://xxx.xxx.xxx.38/TestWebDAV)?

============================================================
Server = Windows Server 2012 (not R2)

Roles - File Server / IIS / Desktop Experience feature added

Here are the things I have done already:

1. Created a test file share (TestWebDAV) with subfolders, some Full Control for the Sales group, others explicitly denied Full Control for the Sales group.  Exploring those same file shares from a LAN computer works fine: folders are either Read/Write or "invisible" per their permissions.

2. Added webDAV/IIS role and created virtual directory, pointing to that file share.

3. Created WebDAV Authoring Rule and allowed all users to access all content.

4. At this point with basic configuration it failed, so then I tried other things.
 
5. Enabled Windows authentication, but have tried Basic and Digest.   Currently I'm allowing Windows Authentication only.
    
6. After I enabled Directory Browsing for the Default Web Site in IIS, I can now browse to https://localhost/TestWebDAV and its subfolders from within IIS, Internet Explorer, and Google Chrome ON SERVER12.  But when I attempt to Map Network Drive across the Internet, I get the error  "A device attached to the system is not functioning".


7. Since I have the SSL cert on SERVER12 and the clients, i have enforced Use SSL only. The bindings are 80 and 443.  

8. I increased the Registry values:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\
   FileAttributesLimitInBytes = 200000000
   FileSizeLimitInBytes = 4200000000

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

Here is the bottom section of the applicationHost.config file in C:\Windows\System32\inetsrv\config:

    </system.webServer>
    <location path="Default Web Site">
        <system.webServer>
            <security>
                <requestFiltering>
                    <fileExtensions applyToWebDAV="false" />
                    <verbs applyToWebDAV="false" />
                    <hiddenSegments applyToWebDAV="false" />
                </requestFiltering>
                <authentication>
                    <windowsAuthentication enabled="true" />
                    <anonymousAuthentication enabled="false" />
                    <basicAuthentication enabled="false" />
                    <digestAuthentication enabled="false" />
                </authentication>
                <access sslFlags="Ssl" />
            </security>
            <webdav>
                <authoring enabled="true" requireSsl="true" />
                <authoringRules>
                    <add users="*" path="*" access="Read, Write, Source" />
                </authoringRules>
            </webdav>
        </system.webServer>
    </location>
    <location path="Default Web Site/TestWebDAV">
        <system.webServer>
            <security>
                <authentication>
                    <digestAuthentication enabled="false" />
                    <basicAuthentication enabled="false" />
                    <windowsAuthentication enabled="true" useAppPoolCredentials="true" />
                </authentication>
                <access sslFlags="Ssl" />
            </security>
        </system.webServer>
    </location>

</configuration>

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

Thank you very much for any assistance.  Let me know if you need more info.

Publishing Website thru Frontpage Server Extension(FPSE) RTR

$
0
0

Hi,

I installed FPSE in Server08R2, the hitcounters run well, but i am fail to publish the web content from local by SharePoint Designer.

It tells the server is not installed with FPSE or SharePoint Services.

In some books, it tells it can be config at SharePoint Administrator web site, but i didn't find in 08 or 08R2

May i know how to config? and Any alternative except WebDav.

Thanks

Weird issue with application naming

$
0
0

Hello,

This is a strange issue I ran into today, and I was wondering if somebody could give me an explanation.

So we have a IIS staging site, currently hosting 72 Applications. I created a copy of an application, renamed the folder to "wlp2-demo". Added the new site in IIS along with a new application pool. When I go to browse the site, its just a WHITE page with my html title...

When I do the same process, but rename the folder to "demo-wlp2" it actually works just fine as intended. Any ideas why this would happen?

It does not load with wlp2-demo, but loads fine with demo-wlp2.... So strange.

helo IIS7..i want ask..

$
0
0

whythis forumis called IIS7?whetherpreviouslythere IIS beside IIS7?

___________________________________________________________________________________________________________________

Larome

<div style="display: none;" id="__if72ru4sdfsdfrkjahiuyi_once"></div> <div style="display: none;" id="__if72ru4sdfsdfruh7fewui_once"></div> <div style="display: none;" id="__hggasdgjhsagd_once"></div>

Copy Meta file from one server to a different IIS Server to populate sites

$
0
0

Team,

I have an IIS Server with few sites.  I am trying to copy the meta file from one server and populate the same sites on a different IIS Server.

Is this possible?

For instance, if I have a xml file with the below kind of information, can I populate the websites in a different IIS server with this?

<IIS_Status>

<ROOTNODE from="localhost" level="/LM" version="458757">
<MDKey MDPath="/LM/W3SVC/2/" Comment="HelloThere">
<Data MDIdentifier="1002" MDAttributes="0" MDUserType="1" MDDataType="2" MDDataLen="26" MDData="SQBJAHMAVwBlAGIAUwBlAHIAdgBlAHIAAAA="/>
<Data MDIdentifier="1012" MDAttributes="16" MDUserType="1" MDDataType="1" MDDataLen="4" MDData="AQAAAA=="/>
<Data MDIdentifier="1015" MDAttributes="1" MDUserType="1" MDDataType="2" MDDataLen="22" MDData="SABlAGwAbABvAFQAaABlAHIAZQAAAA=="/>
<Data MDIdentifier="1016" MDAttributes="16" MDUserType="1" MDDataType="1" MDDataLen="4" MDData="AgAAAA=="/>
<Data MDIdentifier="1023" MDAttributes="0" MDUserType="1" MDDataType="5" MDDataLen="12" MDData="OgA4ADIAOgAAAAAA"/>
<Data MDIdentifier="1099" MDAttributes="16" MDUserType="1" MDDataType="1" MDDataLen="4" MDData="AAAAAA=="/>
<Data MDIdentifier="4011" MDAttributes="1" MDUserType="1" MDDataType="2" MDDataLen="78" MDData="ewBGAEYAMQA2ADAANgA2ADMALQBEAEUAOAAyAC0AMQAxAEMARgAtAEIAQwAwAEEALQAwADAAQQBBADAAMAA2ADEAMQAxAEUAMAB9AAAA"/>
</MDKey>
<MDKey MDPath="/LM/W3SVC/2/ROOT/">
<Data MDIdentifier="1002" MDAttributes="0" MDUserType="1" MDDataType="2" MDDataLen="34" MDData="SQBJAHMAVwBlAGIAVgBpAHIAdAB1AGEAbABEAGkAcgAAAA=="/>
<Data MDIdentifier="2103" MDAttributes="0" MDUserType="2" MDDataType="2" MDDataLen="34" MDData="LwBMAE0ALwBXADMAUwBWAEMALwAyAC8AUgBPAE8AVAAAAA=="/>
<Data MDIdentifier="2104" MDAttributes="0" MDUserType="100" MDDataType="1" MDDataLen="4" MDData="AAAAAA=="/>
<Data MDIdentifier="3001" MDAttributes="1" MDUserType="2" MDDataType="2" MDDataLen="60" MDData="QwA6AFwAaQBuAGUAdABwAHUAYgBcAHcAdwB3AHIAbwBvAHQAXABIAGUAbABsAG8AVABoAGUAcgBlAAAA"/>
<Data MDIdentifier="9101" MDAttributes="1" MDUserType="1" MDDataType="2" MDDataLen="22" MDData="SABlAGwAbABvAFQAaABlAHIAZQAAAA=="/>
</MDKey>

Webdav - terminate/preauth traffic in reverseproxy?

$
0
0

Hi, I got a reverseproxy before  my IIS that terminates and do pre-auth of windows users. I have tried to proxy webdav through it but it doesn´t work. 

I got a Win2012R2 server as backend. I have tried to disable pre-auth and only to SSL termination of the traffic, but it doesn´t work either. 

I got error 67 from client. I´m using a public certificates that is installed on the reverse proxy. 

I have tested locally, and it´s works fine on short name, but not on FQDN, then I got error 67 on the inside (over http). 

What could be wrong?

Edit. Added more info

WEBDAV System error 1920 has occurred

$
0
0

I am not able to map Website -> Folder->SubFolder1 as a network drive on my Windows 8 desktop. Authoring Rule is already in place.

i have used "net use * https://Website_name/Folder/SubFolder1" command to map as network drive. It gives "System Error 1920 has occurred".

Web client service is also started and Also Windows Firewall is disabled.

Request help

Microsoft Expression Web vs Visual Studio Espress 2013 for Web

$
0
0

Ok. Years ago I bought Microsoft Expression Web 4, and I have been using it for my web development needs up until now. I know a while back Microsoft stopped selling and basically discontinued their Expression products and basically merged it with Visual Studio. I in the past had messed around with Visual Studio, but never really got around to upgrading. Recently I was thinking. Windows 10 is coming out and Office 2016 is coming out and a lot of new things are releasing and I am always one to upgrade. But I have not taken the time to upgrade my web software. Since I enjoy working with Expression Web, I wanted to find Microsoft's newest web software hoping it would be similar. And then I found Visual Studio Express 2013 for Web. It was a free download and I wanted to try it out. So I downloaded it on to my Windows 8.1 machine. I experimented and I like it. But my biggest complaint for it is publishing. In Expression Web 4. At the top I can click on the Site View Tab. Look down at the bottom and click on the Publishing Tab and add my FTP server and the get a side by side view of my Web Server and the Files I have on my computer. And When I want to transfer something it's as easy as selecting what I want to transfer and hitting either the right or left arrows. When I was in Visual Studio I couldn't find anything that worked like Expression Web does. So I guess my question is, Is there a way for me to publish similar to the way I did in Expression Web in Visual Studio with the Files being on each side for me to compare? Or is there a better way for me to publish? All I know is I like to be able to see what's on the Web Server and Compare it to the files that are on my computer and vise versa. It's a feature I like and have grown accustom to.

use ARR “IIS reverse proxy” to publish specific path to http(s) server

WebDAV disable web.config validation

$
0
0

I'm trying to use WebDAV for backup file storage. The problem is that there are some websites source code in my files, and they include web.config files. I need IIS to treat these web.config files just as regular files, and not try to take any configuration from them.

What I have done so far (all changes in applicationHost.config file):

- Added both enableConfigurationOverride="false" and allowSubDirConfig="false" to appropriate parts of config.

- Disabled request filtering for WebDAV: 

<requestFiltering>
  <fileExtensions applyToWebDAV="false" />
  <verbs applyToWebDAV="false" />
  <hiddenSegments applyToWebDAV="false" />
</requestFiltering>

I can see and open web.config files from WebDAV now. But when I try to upload a sample web.config file, its content is replaced by empty configuration:

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

I searched for and found that the reason most likely is web.config validation which is performed automatically by IIS. Obviously validation is not needed in this case (honestly I would expect it to be already disabled by enableConfigurationOverrideor allowSubDirConfig options). So how can I disable the validation for my files? I don't need to disable it for the whole IIS, but only for the specific WebDAV website contents.

File upload fails with IIS 7.5 and FileZilla using TLS 1.1/1.2 - Return code 550

$
0
0

Exactly as described in thread "File upload fails in FTP 7.5, getting error 550", file uploads from FileZilla to IIS 7.5 since I have enabled TLS 1.1 and 1.2 on the Windows Server. The FTP return code is 550 and the Windows status code is 2148074264, meaning SEC_E_INCOMPLETE_MESSAGE. Everything worked like a charm with TLS 1.0.

However, the final solution (not the one marked as solution, but the second solution) suggested in this very thread - namely to prioritize RC4 ciphers - isnot favourable since RC4 ciphers are weak. Therefore, does anyone know a better solution?


IIS Smooth Streaming with Visio Forge

$
0
0

Can I use the live smooth streaming feature of IIS Server without any encoder like Microsoft Expression Encoder. Is it possible to achieve live smooth streaming with Visio Forge and IIS server only?   

how to access the FTP site in Internet Browser

$
0
0

i am created a new ftp site, how to access that ftp site in browser? please help me.

Publishing an ASP.NET vNext web application to azure using WebDeploy from vs 2015 rc

$
0
0

Until now I used vs to web deploy my vnext app to azure with success. Now i want to deploy the app with only a sub folder of the wwwroot to be the main wwwroot folder in azure. I can use ftp after i do this command :

dnu publish --out "F:\publish" --configuration Release --wwwroot "wwwroot/dist" --wwwroot-out "wwwroot" --runtime dnx-clr-win-x86.1.0.0-beta4


Using ftp to deploy is slow and not effective i think... Is there an option to do the same with vs and web deploy?

Port Problem

$
0
0

Hi All,

I used to have website.com/content working but when they changed the port number, it's not working anymore but if you were to type 10.10.10.10:4000, the page is working. Can someone help me how to configure this setup?

Much appreciated

Raymond

Microsoft Studio web express 2013 - Publish tool!!!!!!!

$
0
0

Hi folks, can someone please HELP me with this, it’s driving me round the bend...

I have tried to publish a website using Microsoft Studio web express 2013. Every time I try to use the Publish tool I receive the following error;

“Error1Web deployment task failed. ('Microsoft.Web.Deployment.DeploymentBaseOptions' does not contain a definition for 'UserAgent')00TyrescannerWebApp”

After Googling this error I found out that I needed to install Web Deploy 3.5

I tried to install this, received another error - This product did not install successfully, the installer has encountered an unexpected error installing this package, error code is 2738

I have also tried repair Studio web express 2013, no use!! Same error...

I have also re-installed a new version of Microsoft Studio web express 2013, no joy, still receiving the following error

('Microsoft.Web.Deployment.DeploymentBaseOptions' does not contain a definition for 'UserAgent')00TyrescannerWebApp”

SOS….

Viewing all 534 articles
Browse latest View live


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