Quantcast
Channel: General
Viewing all 7363 articles
Browse latest View live

IIS 8 sql server provider: Named Pipes Provider, error: 40

$
0
0

Today I'm trying to host my web site on IIS 8, this web site is developed in .Net MVC. When I'm trying to do a query to SQL server, hosted in another server in my intranet, I have this error message: provider: Named Pipes Provider, error: 40, but if I host my web site on IISExpress(native in Visual Studio), or I do a query from SQL server managemet, all work fine. I use this string connection:

Data Source=serversql;Initial Catalog=HD;Persist Security Info=True;User ID=sa;Password=*******

serversql is an alias that points to SQL server hosted in another machine. I have set up it in this way: 

 cliconfg set up Image


Scheduled 500 Internal Server Error

$
0
0

Hi,

Two months ago, I have converted one of my website to Joomla and uses Windows Server 2012 and IIS8 to run it.

I have installed the Joomla using WPI and my database is MySQL where in I manage using phpMyAdmin.

Lately, I encountered this 500 Internal Server Error when opening my Joomla website mywebsite.com but when you attempt directory browsing such as mywebsite.com/images or mywebsite.com/pdf will work or if you have a direct link to file such as mywebsite.com/thisispdf.pdf will also work.

To restore the website, I have to restart the website from the IIS, or I have to restart my server, this will bring back the up state of the website.

The problem occurs on 45 hours cycle.

Any idea what causes the problem? Any settings on my server or IIS I miss?

 

IIS 8.0 in Windows 8 Pro is not displaying images

$
0
0

I'm developing some webapps, using Windows 8 Pro and IIS 8.0. In my last OS installation I noticed the IIS is not showing any of the images in any of the webapps using any of the mayor browsers (IE, Chrome, Firefox, Opera, Safari) and it simply displays the image placeholders. The apps are being deployed by PHP. All permissions are fine and using Apache works fine, still I prefer to use IIS. What might be wrong? Thanks in advace to anyone that can help.

Problem running php and asp on the same iis website

$
0
0

I installed IIS8.5 

I wanted to run on my website php and asp files. I installed Microsoft® Web Platform Installer (Web PI) it made configuration in IIS in Handler Mapping it added Module mapping *.php with handler FastCgiModule adn path to php;in FastSGI Setting set path to php-cgi.exe, in ISAPI and CGI Restriction was allowed path to php also. 

When I tried to run php file with function  phpinfo(); from my default website i received this error 

HTTP Error 404.0 - Not Found

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

but my php file is on the right location.

I created new clear webiste without any asp files in his deirctory and I tried to run from there the same php file and it dsiplayed information. But i need this php file to be in exsisting directory.

Thanks if you need more information write me

Application Pool getting disabled intermittently

$
0
0

Hello & good day,

I'm having issue with my IIS Application Pool. The custom application pool created on my webserver - namely WebDBApp is getting disabled intermittently causing the http Web application is not accessible anymore.

I'm getting error with Event ID: 5138, 5013 and then subsequently 5002 (it's where it ended up disabled).
Source: Microsoft-Windows-WAS
(for full detailed error captured from Event Viewer, see it here - http://pastebin.com/wmbJ9qEf)

Appreciate any input on how can I tune up my IIS to resolve this issue.
Thank you in advanced as always!

edit: OS: Win Server 2008 R2, IIS 7.5

IIS web server port creation software/solution

$
0
0

I have too much websites on IIS server and running locally on port . when i needed to start new project i had to create the port for it manually with multiple process. Is there any software or web based solution to create port automatically with its physical location.

can each developer create port on IIS server themselves. IIS server is running separate mechine.

Creating a new website only shows the default web site

$
0
0

Hi guys, I came from LAMP server and my school teaches classic ASP so I installed IIS 8 on my Windows 8 machine. I am new to IIS so if you can be patient for me, please do help me so I can learn. When I created a new website in IIS, I followed the tutorials and named my IIS website myfirstsite with port 80 and IP Address 192.168.1.105. Then started creating the website. I created a basic file called index.htm and placed it on the directory of myfirstsite. But when I type myfirstsite:80 in google chrome, it shows"Oops! Google Chrome could not find myfirstsite". But when I type 192.168.1.105:80, it shows the default IIS interface when you type localhost in the address bar. I tried 192.168.1.105:80/index.htm but it is a 404 error. Can anyone help me please? I tried to google but no luck.

SSL Certificate in 1 IP (IIS7)

$
0
0

Hi Guys,

First, i wanna say sorry for the ignorance, really new here.

I was ask by our boss to install an SSL certificate on 1 of our site on IIS 7, but prior to that there is already 1 SSL installed on one of the site on the same IIS.

As I tried to install the SSL, i got this message:

"At least one other site is using the same HTTPS binding and the bindings is configured with a different certificate. Are you sure that you want to reuse this HTTPS binding and reassign the other site or sites to use the cew certificate?"

The first site (www.test.com) and second (try.xxxxx.com).

Please help! Ho w can I make this work.

Thanks in advance…

Jace


IIS 7.5 CERT_SUBJECT

$
0
0

I'm trying to figure out why the CERT_SUBJECT variable is populated on a IIS 7 server but is empty on a 7.5 server? Anyone know why this would be?

Thanks

Log saving trouble

$
0
0

I'm in a situation where graceful shutdowns are not allwoing enough time to upload logs to our storage location. My thought was to have the logs be written directly to an intermediary network share and have a service process those each night.

I am able to successfuly create the network share location and copy/edit files frmo the IIS server to to that new location, but when I set Advanced Logging to point to that mapped drive to create logs, no logs appear. Any help would be greatly appriciated!

This feature cannot be used because the default provider type could not be determined to check whether it is a trusted provider

$
0
0

Hi,

We are trying to configure  external users from SQL db with custom .NET provider and we get error:

You can use this feature only when the default provider is a trusted provider.  If you are a server administrator, you can make a provider a trusted provider by adding the provider type to the trusted providers list in the Administration.config file.  The provider has to be strongly typed and added to the GAC.

What I have done:

Added line:
<add type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

In C:\Windows\System32\inetsrv\Config\administration.config

Also checked that we have .NET v2 as DefaultAppPool.

Is it strange that on other sites in IIS i don't get this error for custom .NET membership provider, just in this site. I can not delete this site because it is part of SharePoint.

Please help,
Thanks

 

Installing Joomla w/ MSSQL connection

$
0
0

I have been around and around a few times on trying to resolve our issue of getting Joomla to install on our Windows 2008 R2 machine and hoping someone here can help me.

I downloaded the Joomla from Microsoft (http://www.microsoft.com/web/joomla) using the Windows Platform installer 4.6.  There doesn't appear to be any way to configure the installation with MSSQL.  We are attempting to run Joomla with IIS, PHP 5.4 and MSSQL 2012 Standard.  PHP seems to be configured properly, as I have successfully created test PHP pages that connect to AdventureWorks and queries data w/o problems.  It is just Joomla that I can't seem to get working. 

Upon changing the configuration.php file it causes the following error: Error displaying the error page: Application Instantiation Error

Any suggestions?  Am I doing something wrong with the Windows Platform Installer? 

Server configuration:

    Windows Server 2008 R2
    IIS 7.5
    SQL Server 2012 database, drivers are in place
    PHP 5.4 is installed

IIS Express and Visual Studio 2013 Debug Hang

$
0
0

After upgrading from Visual Studio 2012 to 2013 and from MVC4 to MVC5 I am finding that editing MVC razor views and refreshing pages is consistently hanging after 2-3 revisions of the same page.  I was able to do this on the same machine before using Visual Studio 2012 and MVC4 without issue.   I have multiple developers here experiencing the same issue after the upgrade so its not isolated to a single system.

I am not getting any error message.   Once the problem happens:

  • *Visual Studio 2013 becomes completely unresponsive and must be shut down with the task manager
  • *The website being debugged no longer serves any web pages

Any insight would be appreciated.

Configure SSL requirement on default website only

$
0
0

I haven't found this in searching, figure it's been asked before....

Is it possible to set 'require ssl' settings on the default web site in IIS7 without affecting the child folders?  If so, how is this done?

How do you disable handler mappings in IIS 8?


windows auth and access to a UNC

$
0
0

Hi This is my first post.

When using Windows Auth which account is used when connect to a unc.  Its my understanding that the account used would be the app pools account however ive noticed that i could get IIS to server files from a unc by using windows auth and setting the app pool account to ApplicationPoolIdentity.  I thought i would have got an access denied unless i set the app pool to use a custom service account or similar and giving that account permissions to the unc.

Any ideas, im just trying to get an idea of how it all works

Load Issue in server

$
0
0

Hi ,

We have two server which are balancing by Load Balancer. But in one of the server we are getting more no of request . Because of which we are getting more memory alerts on that server. Both server configuration are same. Can someone explain me the reason more request is coming to particular server.

Unable to display images.

$
0
0

Hi All,

I'm brand new to IIS (but not IT), I think that this issue has something to do with IIS only being able to read the top level directory.

I'm trying to create a new website, I have papercut print monitor installed on my machine. I want to be able to go to my IP and see the monitor page located at : C:\Program Files (x86)\PaperCut Print Logger\logs\html\index.htm

I created a new website, told it the working directory was : C:\Program Files (x86)\PaperCut Print Logger\logs\html

Listed the index.htm as a default page.

But the output is not the same, the text loads but no images, see below.



PS. Im running Windows 7 x64 with IIS 7

Thanks!

Disabling all logging in IIS Express 7.5

$
0
0

Hello,

I am trying to disable all logging in IIS Express 7.5, and none of the things I've tried have worked.

I followed the suggestion about adding specific entries to the applicationhost.config, found at the following link:

http://forums.iis.net/t/1180650.aspx

but the suggestions in there did not work for me. And uninstalling the logging module, another suggestion from the link, is definitely NOT an option for my needs (I can't expect clients to do this).

I am starting IIS Express with a custom config file, as follows:

iisexpress /config:"<PathToConfigFile>" /systray:false /apppool:IISExpressAppPool

and this is what I have in the <Sites> section of that config (note that <PATH> and <PORT> are valid values at startup):

<sites>
   <site name="AppManager" id="1" serverAutoStart="true">
      <application path="/">
         <virtualDirectory path="/" physicalPath="<PATH>" />
      </application>
      <bindings>
         <binding protocol="http" bindingInformation=":<PORT>:" />
      </bindings>
   </site>
   <siteDefaults>
      <logFile logFormat="W3C" directory="%IIS_USER_HOME%\Logs" enabled="false" />
      <traceFailedRequestsLogging directory="%IIS_USER_HOME%\TraceLogFiles" enabled="false" maxLogFileSizeKB="1024 />

   </siteDefaults>

   <applicationDefaults applicationPool="IISExpressAppPool" />

   <virtualDirectoryDefaults allowSubDirConfig="true" />
</sites>

And further down in the file, I have:

<httpLogging dontLog="true" />

The web site works just fine, but I cannot get IIS Express to stop logging, And in addition to a log text file being created in:

"%IIS_USER_HOME%\Logs"

I also have repeated entries in the system event viewer that look like this:

"The directory specified for caching compressed content C:\WINDOWS\TEMP\iisexpress\IIS Temporary Compressed Files\IISExpressAppPool is invalid. Static compression is being disabled.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp."

I need all of this stuff to go away. Can anyone please help?

Thansksin advance,

Ian

Can i make failover with msdeploytoll help?

$
0
0

Ok, there are two servers, running windows 2008R, lets name them SRV1 and SRV2. SRV1 is production server and there are plenty of IIS sites, so we need failover of this IIS on SRV1. We made script on SRV1:

msdeploy.exe -verb:sync -source:webServer -dest:webServer,computername=SRV2

This script copies all IIS data to SRV2, everything works OK. Then SRV1 goes down, we made some automatic dns changes, so after few minutes SRV2 starts serving IIS clients. That is ok too :) But then SRV1 brings online, it has old data so we need replicate with msdeploy tool from SRV2 to SRV1.

My question would be, is it possible to make some script, to determine which server SRV1 or SRV2 is "Master" and copies all data from master to "principal", or in this scenario, tehen SRV1 goes down (we make some changes in SRV2) and when SRV1 goes up, msdeploy tool automaticly understand that SRV1 is up and ready to become master, copies new data from SRV2 to SRV1 and inform that SRV1 can become master.

Viewing all 7363 articles
Browse latest View live


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