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

Using Windows 10 to Host WebApps

$
0
0

Hi, so I've developed a WebApp via ASP.NET using Visual Studio 2015 Community and I was wondering if using two Windows 10 licenses is sufficient since i already have two Windows licenses.

Server1 will have IIS installed (Windows 10 Home)

Server2 will have SQL Server 2014 Express installed (Windows 10 Pro)

Is there a signifcant difference to using IIS on Windows Server to using it on Windows 10 Pro? I cant seem to find any difference.. My webapp isnt that big but I have the resources to host it.

I looked at Windows Azure but they have a thousand options and its just to much to actually read all details. I see multiple solutions that offer the exact same thing but for different costs...


URL Redirect is working like a charm but....

$
0
0

i am somehow lost now.

Hello Group,
i use IIS 7.5 as a redirect server, with the URL rewrite module.

Following works like a charm for me:

<rule name="Domain rewrite for subdomain.domain.com" stopProcessing="true"><match url="(.*)" /><conditions logicalGrouping="MatchAny"><add input="{HTTP_HOST}" pattern="^(www.)?subdomain.domain.com$" /></conditions><action type="Redirect" url="http://www.otherdomain.com/randd/{R:0}" /></rule></rules></rewrite>

What currently is not working, when everything from http://subdomain.domain.com/whatever/ is going through the rule, it will be redirected tohttp://subdomain.domain.com/randd/whatever/.

But this an error, i want all redirections adressed to /randd.

Your help would be really apreciated.

Tamer

PHP v7.0.0 is in Microsoft WebPI, not PHP 7.0.3

$
0
0

PHP is not up to date in WebPI.  7.0.0 is available only, however 7.0.3 is released for over a week now with no update in WebPI.  How do you update a WebPI installation manually in this case?  Thank you.

Failed to create(read) session ID: wincache

$
0
0

PHP 7.0.2

Wincache reports 2.0.0.2 (but from 2.0.0.3 installer, build time Dec 23 2015 14:53:30)

I'm using session_regenerate_id() to manage users logged in for longer than nominal expiry. I'm seeing 

[31-Jan-2016 16:45:51 Europe/London] PHP Catchable fatal error:  session_regenerate_id(): Failed to create(read) session ID: wincache (path: C:\Windows\Temp) in [file location]

A quick search suggested that the Session handler (Wincache) needs a bit more work for PHP7:
https://bugs.php.net/bug.php?id=71187

winhttp.dll on windows 2008 r2 x64

$
0
0

hello,

I use WinHttp.WinHttpRequest.5.1 object and the PCI DSS provider upgrade to TLS 1.1 and TLS 1.2

if I try to use any of this options:

obj.Option(9) = 2048  'TLS 1.2

obj.Option(9) = 512 'TLS 1.1

I get an error.

I upgrade all the kb realted but I get the same result

if I try from web-browser the URL load using TLS 1.1 and TLS 1.2

what is the solution ?

access webpage from wifi

$
0
0

hello everyone,

i have a asp.net website hosted on iis on a server connected on a lan and i can access it from other computers on the netowrk but we have access points all around our building and we cant access the website from our access points.

can anyone help??

please and thank you

Unable to find the requested .Net Framework Data Provider. It may not be installed.

$
0
0

Hello All,

I am using WebMatrix with a MySQL database.  ASP.Net, with Razor syntax.

My hosting is with goDaddy.

I have successfully deployed my database to goDaddy, and am able to connect to it using mySQL Workbench.

I believe I have a problem with either my web.config file, or perhaps a mySQL dll.

I FTP'd my site to goDaddy, and placed the following DLLs int he /bin directory:

MySqlData.dll, MySql.Data.Entity.dll, MySqlWeb.dll and System.Data.Entity.dll

My web.config file looks like this:

<?xmlversion="1.0"encoding="utf-8"?><configuration><system.webServer></system.webServer><system.web><compilationdebug="true"targetFramework="4.0"/><customErrorsmode="Off"/></system.web><system.data><DbProviderFactories></DbProviderFactories></system.data><connectionStrings><addname="RP"connectionString="Server=50.62.209.107;Database=RP;Uid=my_userid;Pwd=my_password"providerName="MySql.Data.MySqlClient"></add></connectionStrings><appSettings><addkey="enableSimpleMembership"value="true"/></appSettings></configuration>

When I execute the website in my browser I get the following error:

 Unable to find the requested .Net Framework Data Provider.  It may not be installed.

Line 29: 
Line 30: @{Line 31:     WebSecurity.InitializeDatabaseConnection("RP", "UserProfile", "UserId", "Email", true);Line 32: }


Source File: g:\pleskvhosts\dibbstraining.com\robeyspub.com\_AppStart.cshtml    Line: 31 

The website works fine, if I change the connection to "localhost", and leave all other information the same.

When I hit the Remote/Settings button in WebMatrix I get the following error:

"error trying to discover the databases from 'Web.config'  An error occurred when reading the IIS Configuration File."

When I hit the Remote/Check Compatibility button the process starts, and it just churns.  It never seems to finish.

I can "Publish" my website using "Web Deploy".

Any help appreciated.  Day 3 of facerolling the keyboard....  

Thanks!

Webmatrix - can't install or uninstall

$
0
0

Webmatrix 3, Windows 8.1.

Was running WM3, then wanted to reconfigure some options, eg enable PHP.  But I got installation errors, something about ODBC not being compatible..?  The Help option for the error was useless.

So I decided (bad decision..?) to uninstall WM3 and then reinstall fresh.  Uninstall worked OK (only uninstalled WM itself).  Reinstall was progressing OK, but then it hung - after waiting a LONG time, was forced to reboot as the installer had locked up completely.

Now I can't Install (installer says I have "ïnsufficient privileges"to C:\Program Files (x86)\Microsoft Webmatrix... - yet I have full Administrator rights...

WM is now NOT shown as a removable program, so I can't uninstall.  Tried the MS Fixit thing for Install, no problems found...

I haven't yet tried manually uninstalling all the other stuff that WM installs - don't really want to do that unless I know it will help..  I'm guessing there's a corrupted file somewhere stopping me from proceeding, but what/where?  There is a log for the install problem, but it's quite long...  From that log, the important bit seems to be here:

....

MSI (s) (F4:18) [10:48:26:584]: Executing op: ActionStart(Name=InstallFiles,Description=Copying new files,Template=File: [1], Directory: [9], Size: [6])
MSI (s) (F4:18) [10:48:26:584]: Executing op: ProgressTotal(Total=38502617,Type=0,ByteEquivalent=1)
MSI (s) (F4:18) [10:48:26:584]: Executing op: SetTargetFolder(Folder=C:\Program Files (x86)\Microsoft WebMatrix\)
MSI (s) (F4:18) [10:48:26:584]: Executing op: SetSourceFolder(Folder=1\WbMatrix\|Microsoft WebMatrix\)
MSI (s) (F4:18) [10:48:26:584]: Executing op: ChangeMedia(,MediaPrompt=Please insert the disk: ,MediaCabinet=WebMatrix.cab,BytesPerTick=65536,CopierType=2,ModuleFileName=C:\windows\Installer\32b6aa.msi,,,,,IsFirstPhysicalMedia=1)
MSI (s) (F4:18) [10:48:26:584]: Executing op: FileCopy(SourceName=Release.url|Release_Notes.url,SourceCabKey=F_Release_Notes.url,DestName=Release_Notes.url,Attributes=512,FileSize=128,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=-709970195,HashPart2=-752670432,HashPart3=2135291042,HashPart4=1886942959,,)
MSI (s) (F4:18) [10:48:26:584]: File: C:\Program Files (x86)\Microsoft WebMatrix\Release_Notes.url; To be installed; Won't patch; No existing file
MSI (s) (F4:18) [10:48:26:584]: Source for file 'F_Release_Notes.url' is compressed
MSI (s) (F4:18) [10:48:26:928]: Note: 1: 1303 2: C:\Program Files (x86)\Microsoft WebMatrix
MSI (s) (F4:18) [10:48:26:928]: Product: Microsoft WebMatrix 3 -- Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files (x86)\Microsoft WebMatrix. The installation cannot continue. Log on as administrator or contact your system administrator.

MSI (s) (F4:18) [10:48:26:959]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (F4:18) [10:48:26:959]: User policy value 'DisableRollback' is 0
MSI (s) (F4:18) [10:48:26:959]: Machine policy value 'DisableRollback' is 0
Action ended 10:48:26: InstallFinalize. Return value 3.
MSI (s) (F4:18) [10:48:26:959]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1212962317,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (F4:18) [10:48:26:959]: Executing op: DialogInfo(Type=0,Argument=1033)

....

Any suggestions appreciated...  (fairly novice user - does it show? :D)


getting and error CGI process is shutting down unexpectedly - Please help

$
0
0

Hi All,

Configured the cgi-bin and geting the error HTTP Error 502.2 - Bad Gateway The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "".

  • The CGI process was shut down or terminated unexpectedly before it finished processing the request.
  • The CGI process has a flaw and does not return a complete set of HTTP header

How do i debug 

Detailed Error Information:

<div id="x_x_details-left">
Module   CgiModule
Notification   ExecuteRequestHandler
Handler  Listener
Error Code   0xc0000005
</div>

IIS 10 & Rewrite module

$
0
0

Hello,

I have a problem with IIS 10 and the local setup of our sites - recently I have installed Windows 10 together with Rewrite 2.0.

I have a site which has only 1 ISAPI module which handles all the requetss and this site has the folowing folder structure in it: /~~~/m/01/. Inside this "01" folder there are rewrite rules defined:

<rules><clear /><rule name="mini:: Menu" stopProcessing="true"><match url="menu/([^/.]+)/([^/]+)/*$" /><action type="Rewrite" url="/scores/{R:1}/{R:2}/?encx=0&amp;fmtv=9&amp;catflt=0&amp;splst=1&amp;elst=0" /></rule><rule name="mini:: Match+Details" stopProcessing="true"><match url="m/([^/.]+)/([^/]+)/([^/]+)/*$" /><action type="Rewrite" url="/scores/{R:1}/~~id/{R:2}/?encx=0&amp;fmtv=9&amp;tzout={R:3}&amp;elgs=1&amp;ecomm=max&amp;eic=max&amp;elu=1&amp;esub=1&amp;est=1&amp;eodds=1" /></rule><rule name="mini:: MatchesList" stopProcessing="true"><match url="list/([^/.]+)/([^/]+)/([^/]+)/([^/]+)/*$" /><action type="Rewrite" url="/scores/{R:1}/{R:2}/?encx=0&amp;fmtv=9&amp;catflt=0&amp;sttbl=0&amp;elstFromX={R:3}&amp;elstToX={R:3}&amp;tz={R:4}&amp;tzout={R:4}" /></rule><rule name="mini:: Fixtures" stopProcessing="true"><match url="fix/([^/.]+)/([^/]+)/([^/]+)/([^/]+)/*$" /><action type="Rewrite" url="/scores/{R:1}/{R:2}/?encx=0&amp;fmtv=9&amp;sttbl=0&amp;stl={R:3}&amp;tz={R:4}&amp;tzout={R:4}" /></rule><rule name="mini:: Tables" stopProcessing="true"><match url="tbl/([^/.]+)/([^/]+)/([^/]+)/([^/]+)/*$" /><action type="Rewrite" url="/scores/{R:1}/{R:2}/?encx=0&amp;fmtv=9&amp;sttbl=1&amp;elst=0&amp;stl={R:3}&amp;tz={R:4}&amp;tzout={R:4}" /></rule><rule name="mini:: Stage" stopProcessing="true"><match url="stg/([^/.]+)/([^/]+)/([^/]+)/([^/]+)/*$" /><action type="Rewrite" url="/scores/{R:1}/{R:2}/?encx=0&amp;fmtv=9&amp;sttbl=1&amp;stl={R:3}&amp;tz={R:4}&amp;tzout={R:4}" /></rule><rule name="mini:: Live" stopProcessing="true"><match url="live/([^/.]+)/([^/]+)/([^/]+)/*$" /><action type="Rewrite" url="/scores/{R:1}/{R:2}/?encx=0&amp;fmtv=9&amp;catflt=11&amp;sttbl=0&amp;tz={R:3}&amp;tzout={R:3}" /></rule><rule name="mini:: Team" stopProcessing="true"><match url="team/([^/.]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/*$" /><action type="Rewrite" url="/scores/{R:1}/{R:2}/?encx=0&amp;fmtv=9&amp;tz={R:6}&amp;tzout={R:6}&amp;sttbl=1&amp;sthid=1&amp;pllst=1&amp;gplst=1&amp;ptflt={R:3}&amp;gpevs=1&amp;gpevsFromX={R:4}&amp;gpevsToX={R:5}" /></rule></rules>

The problem is that I get 2 requests to handle in ISAPI module - the one rewritten "/scores/..." for which 200 is returned and the original "/~~~/m/01/..." for which I return 404.

The browser (a client for testing) sees only the 1st reply (the one with 200) which is fine but for me the 2nd request with the original URI before rewriting is the problem.

Could it be IIS 10 and Rewrite 2.0 issue?

Thank you.

Petr

Single Sign On

$
0
0

Hi All,

We hosted .Net web Application Framework 2.0 in one of our client server. It's a Intranet site. Currently Single Sign on is working fine. Client need to add another US domain for accessing the site from US.

500.19 error on first click, works on second click

$
0
0

Hi,

We have a basic Intranet site running on IIS 7.5  on Server 2008 R2. There is no ASP installed on this server.

The Intranet is the 2nd website on this server, the first 'default web site' is no started. The Intranet uses its own application pool

I migrated this website from a Server 2003 (32-bit) machine, by using the Web Deploy tool. The website worked fine on this server. Since the migration, the users occasionally see Error 500 when clicking on pages, or more commonly clicking on links to PDF, Word, Excel docs etc.  However, clicking back and trying the link again always works.

I found the 500.19 errors in C:\Windows\System32\LogFiles\W3SVC2. To find even more accurate errors I need to know the "error code", example as 0x800700b7 - where can I find this??

Other info...

The site files, including attachments are stored locally on the C drive.
There is local Sophos AV on this server, with no special exceptions for IIS, could this be causing a brief timeout while it scans the file??
The site was migrated from 32-bit to 64-bit OS, could this be an issue??

My web.config is

<?xml version="1.0" encoding="UTF-8"?><configuration><system.webServer><defaultDocument enabled="true"><files><clear /><add value="index.htm" /><clear /><add value="Default.aspx" /><add value="Default.htm" /><add value="Default.asp" /><add value="index.htm" /></files></defaultDocument><staticContent><remove fileExtension=".xls" /><mimeMap fileExtension=".lnk" mimeType="application/x-ms-shortcut" /><mimeMap fileExtension=".xls" mimeType="application/vnd.ms-excel" /></staticContent><httpErrors errorMode="Detailed" /></system.webServer></configuration>

Any help, advice, suggestions are greatly received.

Thanks.

Microsoft Web Deploy 3.5 -- Error 1720

$
0
0

I have a W2K R2 SP1 server that refuses to install web deploy 3.5.

I've attempted the suggested actions in this post, but with no change:

http://forums.iis.net/t/1207327.aspx?Unable+to+Install+Web+Deploy+3+5+on+my+windows+Getting+Error+

I've run the extracted MSI with logging and received this error:

MSI (s) (4C:88) [05:49:32:582]: Product: Microsoft Web Deploy 3.5 -- Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action InstallEtwManifest script error -2147217406, SWbemServicesEx: Not found  Line 9, Column 13, 

I've seen posts regarding checking the DLL path for vbscript and making sure it's pointed to the correct version (32bit VS 64bit) and the Mcafee script blocking.  I've updated the registry entry "HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\Wow6432Node\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32"  to "C:\Windows\SysWOW64\vbscript.dll"  No change.

I've also reinstalled IIS numerous times without addressing the issue, using this link as reference:

http://blogs.msdn.com/b/chaun/archive/2010/05/26/iis7-x-a-common-mistake-when-reinstalling-iis-7-x-errors-0x80070490-and-0x80070002.aspx?Redirected=true

I've also run sfc /scannow.  No issues were found.  Server is still running IE 9 (corporate standard) and has all recent Windows OS patches.

Any other suggestions?

IIS client certificate authentication issue: No client certificate CA names sent

$
0
0

I try to get 2-way SSL working on a windows server but still cannot provide a list of certificate that client requires.

Server: Windows Server 2008R2

IIS: 7.5

Client Certificate installed:: Entrust Root, Entrust Intermediate and client public key

Testing command: openssl s_client -connect veritydevservice.fmr.com:443

Expected results:

...

Acceptable client certificate CA names
/C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority
/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO SSL CA

...

Actual Results:

---
No client certificate CA names sent
---

I am not sure where went wrong and will appreciate your help very much.

Aiming

Install failure for Azure SDK - Azure App Service Tools v2.8.2

$
0
0

There appears to be a hardcoded path in the latest installer for the Azure SDK. I'm installing v2.8.2 for Visual Studio 2015 on Windows. The error message is below.

I'll try again - I'm hoping you've got A/B testing and monitoring to catch these types of errors. Feel free to wake up the muppet who checked it in.

DownloadManager Error: 0 : Error while downloading file 'file://web14-ci/drops/WTA/Release.Nightly/2016-02-01_b88/dev14/Release/Signed/Bundle/14.0/WebToolsAzure2015.exe'. Exception: System.IO.IOException: The network path was not found.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   at Microsoft.Web.PlatformInstaller.ManagedWinInet.DownloadFile(Uri uri, String fileName, String& contentDispositionFileName)
   at Microsoft.Web.PlatformInstaller.InstallManager.WinInetDownloadInstallerFile(InstallerContext currentInstall, String& failureReason)
DownloadManager Warning: 0 : WinInet failure: The network path was not found.
. Retrying download for 'Microsoft Azure App Service Tools v2.8.2 - Visual Studio 2015'
DownloadManager Information: 0 : WebClient downloading file 'file://web14-ci/drops/WTA/Release.Nightly/2016-02-01_b88/dev14/Release/Signed/Bundle/14.0/WebToolsAzure2015.exe' to: C:\Users\clill\AppData\Local\Temp\tmpF132.tmp
DownloadManager Error: 0 : WebClient error while downloading file 'file://web14-ci/drops/WTA/Release.Nightly/2016-02-01_b88/dev14/Release/Signed/Bundle/14.0/WebToolsAzure2015.exe'. Exception: System.Net.WebException: The network path was not found.
 ---> System.Net.WebException: The network path was not found.
 ---> System.IO.IOException: The network path was not found.


Failed to create(read) session ID: wincache

$
0
0

PHP 7.0.2

Wincache reports 2.0.0.2 (but from 2.0.0.3 installer, build time Dec 23 2015 14:53:30)

I'm using session_regenerate_id() to manage users logged in for longer than nominal expiry. I'm seeing 

[31-Jan-2016 16:45:51 Europe/London] PHP Catchable fatal error:  session_regenerate_id(): Failed to create(read) session ID: wincache (path: C:\Windows\Temp) in [file location]

A quick search suggested that the Session handler (Wincache) needs a bit more work for PHP7:
https://bugs.php.net/bug.php?id=71187

how to strip the http request header with IIS ARR before forward it on

$
0
0

We have a vendor web service behind the iis arr setup, for some reason it won't work with relic http request headers, unfortunately since we have no insight to the code, we are thinking if any way to remove the http request header from the iis arr before forward on, is this doable? please help! thanks

Where does certificate binding sow up in ASP.Net config files?

$
0
0

We deploy our application from Visual Studio Online to our web site, which runs in IIS 8.0 on Windows Server 2012 R2.  Our operations guy has used the IIS Manager GUI to map All Unassigned to https, assigning a certificate.  When this is done, we run secured, and HTTP requests are redirected to HTTPS, as desired.

When we redeploy the application, these bindings are gone, there's no SSL and HTTP doesn't redirect.

I would like to be able to find a way to place the appropriate config file changes under source control so we don't have to re-do the bindings from the GUI every time we re-deploy.

Except that I don't know, and can't find, where these bindings are persisted in config.

Any thoughts?  Thanks in advance.

Pete Hornby

 

Delete handlers for *.php paths in C#

$
0
0

Hi,

The lovely people on the C# forums pointed me to you. I want to

1/ delete handlers for all of the *.php paths for an application

2/ create a new one

I have solved 2/ with the following code.

ConfigurationSection myHandlersSection = myWebConfig.GetSection("system.webServer/handlers");
ConfigurationElementCollection myHandlersCollection = myHandlersSection.GetCollection();

ConfigurationElement myAddElement = myHandlersCollection.CreateElement("add");

myAddElement["name"] = inHandlerName;
myAddElement["path"] = @"*.php";
myAddElement["verb"] = @"*";
myAddElement["modules"] = @"FastCgiModule";
myAddElement["scriptProcessor"] = inPhpExecutable;
myAddElement["resourceType"] = @"Either";

myHandlersCollection.AddAt(0, myAddElement);


I cannot seem to find a way to delete from ConfigurationElementCollection for a named path.

Thanks,

Unable to see 'Basic Authetication' option in IIS 7.5

$
0
0

My machine is Windows 7 sp1 Professional. IIS version is 7.5.7600.16385.

In Inetmgr window, I selected 'My default website'. Under this chose 'Authentication'.

Detail page show only 'Anonymous Authentication', 'ASP.NET Authentication', 'Forms Authentication' .

Please suggest.

Viewing all 27852 articles
Browse latest View live




Latest Images

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