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

db connectivity

$
0
0

Third time is a charm... after being deleted from another couple of forums, hopefully I've landed on the right one.

I inherited an Intranet site from a previous developer and I have had to upgrade first the OS, and the WEB site worked fine.  Now I need to upgrade the SQL server (2000 -> to 2008) I have moved the database and have changed all the connections (that I could find) in the ASP VB scripts to reflect the new server.  However, every time I turn off SQL on the old 2000 server the page stops working.  So I think I can safely assume that I have missed something as connectivity goes the ASP script is going after the old server.  Can someone give me a hintas to where I should be looking?

Thanks,

Steve


Custom Rewrite Provider for Response body filtering ?

$
0
0

Hi,

   We are working on a Reverse Proxy cum URL Rewrite solution. Different customers access their portal through our parent domain, using a URL based approach. For example

For customer1 : URL -> ourportal.com/customer1

For customer2 : URL -> ourportal.com/customer2

 Our servers are Windows Server 2008 based. We use using

- URL Rewrite 2.0

- Application Request Routing 3.0

- External Cache 1.1    

We are able to configure Inbound Rules and route the https requests to the relevant web servers. Unfortunately the images and styles ( hence some controls also) do not appear properly. So we are updating the references to images and CSS in https response.

   Since there are many different matches and conditions, the configuration is complex. The C# code based approach looks like a better one. We already looked at :

http://www.iis.net/learn/extensions/url-rewrite-module/developing-a-custom-rewrite-provider-for-url-rewrite-module

This is very specific to InBound rules and processing. How do we do a similar filtering on Response body through C# ?

Aditya

WordPress through Web Platform Installer and IIS

$
0
0

Hello Friends

I have gone ahead and installed WordPress through the Web Platform Installer, but when I navigate to my site, I get the IIS welcome screen instead of WordPress!See here.

Can someone please help :(

HTTP Error 500.0 - Internal Server Error - Module "OCSAuthHelperModule" could not be found

$
0
0

Has anyone seen this error with Skype for Business. I have uninstalled IIS and Web components and reinstalled them with no success. I get this error when I am in IIS and selecting any of the following ABS or UCWA. From the client side I get "cannot sync address book" which is what led me to try and see if I could get to it from IIS. Any help would be greatly appreciated. Thank you

Error Web Application - creation of the virtual directory failed with the error: unable to access the iis metabase

How do I succesfully migrate my IIS 6.0 webserver to IIS 8.0

$
0
0

Hello everyone,

I have migrated my IIS 6.0 webserver to my new IIS 8.0 webserver with the Web Deploy Application. All the files were transmitted just as I hoped they were.

But I also hoped my new webserver would by now  be the same as the old one. But a lot of things are wrong now.

I did not install the ISAPI's before the migration and I dont know how to install them correctly now. I found and copied the DLL's to my new server but I don't know how I should install those now?.. Some applications are now working and some of them aren't.

For example, an application that doesn't work gives a HTTP 500.0 error. It says one of the most likely causes is that the ISAPI filter path is wrong. 

Over here the detailed Error Information:

Module   IsapiModule
Notification   ExecuteRequestHandler
Handler   AboMapperCustom-614832273
Error Code   0x8007007e

Is there anyone who can help me fix this?.. I'm a developer but I have never worked with IIS before..

Application becomes unresponsive

$
0
0

Hi ,

when number of users increase then IIS application becomes unresponsive. after restarting IIS service it works fine.

Error : The description for Event ID 40 from source Microsoft-Windows-SMBWitnessClient cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

ApplicationPoolIdentity not initialized when AppPool is created

$
0
0

Hi,

It appears that when an AppPool is created, and the pool is set to run under a virtual account via ApplicationPoolIdentity, said virtual account does not immediately become available as an entity. After some experimentation, it looks as if it is created the first time an attached application is executed, or at OS start-up time.

This is somewhat problematic in combination with strict file permissions, especially in the context of automated deployments, as the appropriate permissions cannot be granted to the virtual account before it exists, and it cannot exist before the application has executed for the first time, which it cannot due to insufficient permissions.

Is this actually the intended behaviour of IIS? If so, are there any clean ways of forcing the virtual account to become available?

Cheers!


External domain CNAME address - Passthru authentication no longer works after DNS changed from 2008 R2 to 2012 R2

$
0
0

Bit of a tricky one to explain in a title.  I do not work in IIS very often at all, but because I have made changes to our DNS environment recently, it was decided this is my fault :)

We have a website hosted as the default site on a server, WEBSERV1.acme.local.  This is a 2012 R2 server running IIS.  Users will access the website through "CorpApp.acme.com" - i.e. with a .com address.  There is also a "CorpApp.acme.local" address, but no one seems to use that.  The vendor that implemented the app used CNAME records on the test site, and A records on the production site, but with no other difference (we have a CorpApptest site that has exactly the same behaviour despite the different DNS setups).  The website is configured with passthru authentication, and until very recently it worked perfectly.  

Perfectly that is, until I changed the DNS client that the workstations that connect to the website internally use.  Instead of using a 2008 R2 DNS server to do the lookups, they now use a 2012 R2 server.  Whenever users access the "CorpApp.acme.com" address, they now receive a dialog box to enter their credentials.  There is a box to enter your domain credentials - entering these will work, although saving the credentials doesn't (if you tick the "save my details" box, it will still prompt for credentials next time you open the page).

And nothing else has changed.  In fact, if I tinker with a workstation's DNS client settings, I can make it work when I use 2008 R2, but never 2012 R2.  Switching between the two (I have to delete the IE cache to break it after changing from 2008 R2 to 2012 R2 as a DNS client) confirms this is the only difference.  There are no issues with DNS or replication.

Anyone who uses the "CorpApp.acme.local" address will log in automatically without the dialog box appearing.  

Since our Active Directory domain is "acme.local", I figured that the reason the credentials request appears is because it cannot find a domain controller for that domain.  But the fact that it worked when the DNS client of the workstation is 2008 R2 and doesn't for 2012 R2 - it confuses me - as if the 2012 R2 server returns a record in a way that makes the IIS server fail to recognise that the original source is a domain-joined PC - i.e. that it probably appears to come from the internet.  The application team has asked me to set up "CorpApp.acme.com" to be recognised as "intranet".  I'm VERY wary to do this, because this exact same server receives requests through our reverse proxy for that address - I do not want internet traffic to be seen as intranet traffic!

So I'm wondering - what could possibly cause this? Pass through authentication works on the server - the server uses the 2012 R2 DNS server.   The workstation clients used a 2008 R2 DNS server, and pass through works when accessing through "CorpApp.acme.com". Once that client server changes, the dialog box requesting credentials appears.

I'm a bit stumped! I was thinking of asking in the DNS forums, but this really sounds like the best place to start - it's possibly behaviour that someone has seen before? 

FastCGI Error Number: 2 (0x80070002).

$
0
0

I'm trying to setup a new webserver. Some pages are working but not all. When I request a certain page I get the following CGI error:

FastCGI Error

The FastCGI Handler was unable to process the request.


Error Details:

  • An error occurred processing config file.
  • Error Number: 2 (0x80070002).
  • Error Description: The system cannot find the file specified.

HTTP Error 500 - Server Error. Internet Information Services (IIS)

I have a hard time getting more information about this error. Am I missing a config file? What is good to know is that I found out I most likely installed PHP twice. Is there maybe a path to my php-cgi.exe wrong? Where should I start checking? Where can I find more info about this error in my logs?

Thanks for any help in advance.

EDIT:

I found out it works perfectly fine with .php files. But whenever my index file is .html or .htm he will give this error. Any suggestions?

Complex Query Retrieval

$
0
0

ASP Classic and MS SQL are not my main coding language so I have a question if anyone could please help me.

I'm having to rework the code on a page and I have 4 separate SQL queries that if I could I would like to turn into one complex query.

How can I query a database that some tables return multiple results for one item and then iterate through them.

301 redirect HTML pages on IIS 8.5 using ASP.dll

$
0
0

We have an application built using .NET 4.0 and running on IIS 8.5. We have some HTML pages and PDF files moved to separate directory in the application and URLS needs to be 301 redirected to new location. If we use .NET handler for redirecting HTML and PDF files then the redirection pages works proper, but we are having problems with other HTML pages and PDF files which are accessed using their actual URL.

How should we handle the 301 redirection for HTML and PDF files?

Directory Browsing So Slow

$
0
0

Hi

I have two Virtual Directories that their "Directory Browsing" is enabled.

One of them is so slow.

I mean it shows the contents inside but after some time, so it's useless for us.

I've put screenshots of the properties of those two folders below

Is there a size limit on anything in virtual directories?

Is there something I can do to make directory browsing smooth as the other one?

Thank you

Tom

URL Rewrite isn't working.

$
0
0

I am trying to remove the .html extension of http://subglobal.net/store.html

In IIS7, click on the site, subglobal, under connections. I open URL Rewrite > Add Rule > User-friendly URL.

I enter the store.html URL and it creates this web.config:

<?xml version="1.0" encoding="UTF-8"?><configuration><system.webServer><rewrite><rules><rule name="RewriteUserFriendlyURL1" stopProcessing="true"><match url="^store$" /><conditions><add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /><add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /></conditions><action type="Rewrite" url="store.html" /></rule></rules></rewrite></system.webServer></configuration>

I then go to http://subglobal.net/store  (without the extension) and instead of getting the page, I get an Error 404 - Page not found.

What am I doing wrong?

Client certificate authentication for virtual directory

$
0
0

Hello.

I have 2 websites.

Website 1: SSL Settings (Require SSL | Require), All other authentication mechanizms are turned off, I've set up client certificate mapping.

It works

Website 2: Has Anonymous authentication enabled and it has virtual directory (converted to application) that has settings exactely line Website1 and the nested web application client certification mapping doesn't work.

Here is the trace from Website 1:

122. i AUTH_START AuthTypeSupported="MapCliCert"
123. i AUTH_REQUEST_AUTH_TYPE RequestAuthType="CertMap"
124. i AUTH_SUCCEEDED AuthType="NT", NTLMUsed="false", RemoteUserName="User", AuthUserName="User", TokenImpersonationLevel="ImpersonationImpersonate"
125. i USER_SET AuthType="SSL/PCT", UserName="User", SupportsIsInRole="false"
126. i AUTH_END

Here is trace from Website 2/NestedWebApplication:

120. i AUTH_START AuthTypeSupported="MapCliCert"
121. i AUTH_REQUEST_AUTH_TYPE RequestAuthType="CertMap"
122. i AUTH_END


I'm sure client certification mapping setup is identical. What can be the issue?


Machine key generation error

$
0
0

Hey guys I am using IIS 8.5 and every time I try to generate and apply a machine key (to a separate file that the web.config is pointing to) I get:

There was an error while performing this operation.

Details:

Exception from HRESULT: 0xC00CEF03

I have tried googling and looking through the forum but I cannot find anything relating to the above error.

web Matrix error

$
0
0

Hello 

I am really new in programming and everything 

I am learning ASP.NET web pages and currently doing a tutorial.

I installed WM and tried to run this simple code

@{
}<!DOCTYPE html><html lang="en"><head><meta charset="utf-8" /><title></title></head><body></body></html>

when I hit RUN I get this error with any browser I have (IE, Chr, Moz)

HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.

I already went to IIS and checked all what could be checked and nothing 

Can you help?

Y tried to open as well an html file. The default name that web matrix produce for the file is making the browser to produce same error. I change that name to Index.html  and was able to get the page running on the browser 

Tried same approach for web pages but nothing

Thanks

HTTP Error 500.19 - Internal Server Error 0x8007052e IIS 7.5

$
0
0

I got HTTP  Error 500.19 when I tried to access localhost on the internet explorer to my  IIS 7.5 on my Windows 7 Home 64 bits machine.

It worked before, but suddenly dose not work.

Module IIS Web Core

Notification Unknown
Handler Not yet determined
Error Code 0x8007052e
Config Error Can not log on locally to C:\inetpub\wwwroot as user MyMachine\Myaccount with virtual directory password
Config File \\?\C:\inetpub\temp\apppools\DefaultAppPool\DefaultAppPool.config

I check the rights that I have read/write rights and I have admin rights of the machine.

I tried to change UAC to the least level, I still get same error.

I do not change the default.configure file.

It looks like that the user does not have enough rights to access the configure file.

Your help and information is great appreciated,

Regards,

Sourises

 

Redirect working but url does not change in IE

$
0
0

I am not sure if this is a problem with my rule or if it is just IE. I have this rewrite on my website. This rewrite works, the customer goes to the other location, however, in IE the URL does not change. In Chrome it does. This is my rule....

<rule name="RSSFeedFire" stopProcessing="true">     
          <match url=".*" />     
          <conditions>            
                  <add input="{RSSFeedFireMap:{REQUEST_URI}}" pattern="(.+)" />        
           </conditions>        
           <action type="Redirect" url="http://node.tampagov.net/api/rss/fire" appendQueryString="False" redirectType="Permanent" />
</rule>

<rewriteMap name="RSSFeedFireMap">       
          <add key="/appl_rss_feeds/rss.asp?feed=fire_calls" value="http://node.tampagov.net/api/rss/fire" />  
</rewriteMap>

My server is Windows Server 2012 and IIS 8.5.

In IE, the page actually goes to the node server, but the customer's url does not change (I watched it in Fiddler and it goes there, plus I changed the name of the original file and I do not get a 404 error). I have IE9, and do not know if this is the same behavior in other ie browsers (locked down work PC and cannot check externally as this is in DEV still) In Chrome, the url changes to the node site as I would expect.

Is this something to do with IE or is there a problem with my redirect? If it is the redirect any guidance would be greatly appreciated.

thanks

terri

Web Deploy

$
0
0

Hi guys,

Does anyone knows how to transfer FTP logins and Local users accounts from IIS web server 2003 to 2012?

With best regards

Karson

Viewing all 27852 articles
Browse latest View live


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