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

Using 2 IP addresses with 2 SSL certificates not working

$
0
0

I have an IIS7 production web server with about 30 sites pointing at a single private IP address and at the moment there is one SSL certificate being used on one of the sites.  I now want to add in a second certificate, so I

  • added another private IP address
  • modified the friendly names of the certificates to begin with a *
  • appended the host header on the SSL binding of the existing site

but when I attempt to change the IP address selection from All Unassigned to a particular address, the site stops dead.

How can I rectify this problem?

TIA

Crispin


Understanding NTLM prompt negotiate intranet sites/IIS7 configuration and accounts

$
0
0

Hi there,

IIS7.5 - site using integrated, .net 4, "AppPoolIdentity"

I have to say, I really don't grok "classic/integrated" and all the differences between "Local System", "Network Service" and all the other various options you have for the app pools.

My current issue is that when users hit my site:

Anon = Disabled, Forms = Disabled, Windows = Enabled with both "Negotiate" and "NTLM".

I seem to get in fine, but I am prompted for credentials, others however get 401.2 errors regardless of how many times they put in their username/passwords (however they aren't being locked in AD or anything fun like that)... it Looks like the events are"logged in, logged in, logged in, failed authorization" however I don't have anything fancy in authz just "allow */deny ?"

Also it appears that these aren't even getting to eth server? ( can't see any evidence that they are hitting the server at all... is this an AD thing a DC thing is there something obvious that I'm missing somewhere...???

 

Thsi may be more than one issue, ideally I'd like to figure out the "setup" thing and whether (and why) I need to setup the app-pools to be running under service accounts rather than the builtins - and if so how do these service accounts need to be configured?

 

Thanks in advance.

Javascript Issue

$
0
0

On a VM server with Windows server 2008 R2 installed and IIS setup.

I have a classic ASP website developed it works fine on other IIS servers, yet on this server javascript will not run.

I have serached high and low and found almost nothing on this issue.

Please i know javscript is clentside i should not depend on the server, but in this case it is the issue.

I have diagnosed all posiblities tried several browsers and all get the same error.

I have made simlple test page to demonstarte.

If the code bellow executes correctly the loading DIV should not be displayed, yet it is on this server.

Solutions i have tried:

Reinstalled IIS serveices: Did not work.

Set the dfault application pool to allow 32bit applications: Did not work.

Please any help would be appreciated.

Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JS TEST</title>
</head>

<body onload="toggle();">
TESTING!!!
<div id="divLoading" runat="server" style="text-align: center" style="display: block">
<br /><br /><br /><br />
<span style="font-size: 10pt; font-family: Verdana">
[Should Be hidden...]
</span>
<br />
<img src="images/bar-circle.gif" alt="Loading..." /><br />
</div>
</body>
<script>
function toggle() {
var ele = document.getElementById("divLoading");
if(ele.style.display == "block") {
ele.style.display = "none";
}
else {
ele.style.display = "block";
}
};
</script>
</html>

Resource interpreted as Script but transferred with MIME type text/html

$
0
0

I am having a whole bunch of javascript errors when browsing redirected page. 

See the pic below or the actual test page here

DebugDiag not Firing

$
0
0

Hi,

We are having a crash issue on one of our IIS 7.5 servers which has the following symptom below. We set up DebugDiag on the web server in an attempt to get a memory dump when the crash occurs, but DebugDiag does not fire. The worker process was terminated following the unhandled exception. I was just trying to get some input as to whether DebugDiag should fire? We've gone through a number of possible rule configuration options and tried different settings, but none of them resulted in a crash dump being taken when the event occurred.

The exception that is raised which triggers the process shut down is listed below. Thanks for any input you can provide.

****************************************************************************************************************

An unhandled exception occurred and the process was terminated.Application ID: /LM/W3SVC/20/ROOT/29971P_be1ab2e8-0e54-442b-b8d2-632d7fff8a7aProcess ID: 3300Exception: System.InvalidOperationExceptionMessage: Cannot apply a context that has been marshaled across AppDomains that was not acquired through a Capture operation or that has already been the argument to a Set call.StackTrace:    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext ContextCallback callback Object state Boolean ignoreSyncCtx)   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext ContextCallback callback Object state)   at System.Data.Common.DbAsyncResult.ExecuteCallback(Object asyncResult)   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext ContextCallback callback Object state Boolean ignoreSyncCtx)   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()   at System.Threading.ThreadPoolWorkQueue.Dispatch()   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

 

EventID 1026

Help writing a redirect using Regex/Wilcards

$
0
0

I just installed URL Rewrite, and have managed to set up some redirects using Exact Match. However, when trying to using Wildcards ior Regex, im not having much luck

I need to redirect all files in this folder:

http://OldDomain.com/Secure/Download/IniFiles/

To

http://NewDomain.com/docs/default-source/ini-files/

I could set up individual 'Exact Match' rules for each file in that folder, but i tried using Wildcard with these settings, and it didnt work:

  • Pattern: Secure/Download/IniFiles/*
  • Redirect URL: http://NewDomain.com/docs/default-source/ini-files/*

It just redirected the URL to exactly what i had in the 'Redirect URL', including the * wildcard!

Is what i am trying to do possible with Wilcards, or do i have to use Regex (which i have not used before)?

cache issue when kernel cache enabled on arr server

$
0
0

I have two servers, arr server in front and app server background

on arr server, there is only one website for listening and forwarding requests to the backgroud, I find that when kernel cache is enabled on arr server, any request for static content will be directly responsed from arr server even when the static content changed on background server untill I restart the site on arr server

Not recieveing a JSON response

$
0
0

I've been scratching my head on this for weeks and after countless hours of see the same "fix" it doen't work for me.

Before I go any further I've added the Mime Type & Handler

  1. Click MIME Types and then add the JSON extension:
  2. File name extension: .json
  • MIME type: application/json
  1. Go back to the properties for IIS Server
    1. Click on Handler Mappings
    2. Add a script map
    • Request path: *.json
    • Executable: C:\WINDOWS\system32\inetsrv\asp.dll
    • Name: JSON

I've got a PHP file which respondes when i give it the information required but if i change it to .json i recieve a 404 I've turned on detailed error pages but seem to only get a standard 404 page unless i break the scriped i'll then recieved a detailed error page.

What information can i give to try help me get the response i require.


500 Interner-Serverfehler, Problem bei der gesuchten Ressource

$
0
0

German
-------------------

ich habe vom alten win srv 2003 auf win srv 2008 migriert. Nun bekomme ich bei der Homepage mit asp folgende Meldung:

 

Meldung am Browser

500 - Interner Serverfehler - Problem bei der gesuchten Ressource. Problem bei der gesuchten Ressource. Sie kann nicht angezeigt werden.

 

Meldung im EventLog (Windows)

Fehler: Fehler bei der Initialisierung des permanenten Vorlagencaches für den Anwendungspool "Homepage". Ursache: Es konnte kein Cacheunterverzeichnis für den Anwendungspool erstellt werden. Möglicherweise weisen die Daten weitere Fehlercodes auf.

 

Datei /Dateiformat

Die anderen Datei Formaten:
htm
php
php mit Datenbank (mysql / mssql / odbc)

Funktionieren einwandfrei. Nur asp gehen nicht.

 

 

Ich möchte gerne, dass ASP auch wieder einwandfrei geht, den sonst müsste ich die ganze Homepage leider umschreiben auf PHP, was ich eigentlich nicht machen möchte.

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

english
------------
I havemigrated from the oldwinsrv 2003 towinsrv 2008.NowI get to thehome page withaspfollowing message:


Message on thebrowser
500 - InternalServer Error - problem withthe requestedresource.Problem withthe requested resource.Youcan not be displayed.


Messagein the Event Log (Windows)
Error:Template Persistent Cacheinitializationfor the application pool"Homepage".Cause: It wasnot acachesubdirectoryfor the application poolto be created.Possibly, the datafor other errorcodes.
 

File/ File Format
Theother file formats:
htm
php
phpwith database (mysql /mssql / odbc)

Functioningproperly. Onlyaspnot go.


I would likethat ASP againgoes perfectly, theotherwise I would havethe wholewebsiteunfortunately rewriteofPHP, which I do not reallywant to do.

PROBLEM WITH ELECTRONIC SIGN IN IIS6

$
0
0

Hi, I have the following problem. I made a web application signing electronically . Pdf . The application is installed on a windows server 2003 running on a VMware . As the server is virtual and physically " does not exist" , the certificate with the advanced electronic signature , which is on a eToken , connects to the server through a device called DIGI AnywhereUSB , which is connected to the local network. In the server, a client software,  simulates as the eToken is connected through the USB port direct to server.

The problem I have is that when running the application through IIS shows me an error stating "private key not found" , but if I run the same functionality encapsulated in a console application , does not throw the error and sign  correctly the pdf .

This made me think it could be a permissions problem . I used " impersonate" in web.config and machine.config granting permissions to a domain user administrator who is also part of the Administrators group on the computer.... but not work.

Another precedent is that the private key can not be exported by the certificate from the eToken .

Why it works well as a console application , but not when run as a web application on IIS 6.

Anybody can help me please??

what setting need to change when silverlight application deploy in windows server 2003 in iis 6.0 ?

$
0
0

hai
 
What changes need to be do when silver light application run in server 2003 in iis ?
 
i am developing website with silverlight controls,if i run in windows 7 or server 2008 i can run ,but same website if i run i server 2003 it not work,and it not show any error,just open blank page ,if i right clik i page can get silverlight properties.
 
i will try mime types also.but not work.i just add 
.xap application/x-silverlight-app
.xaml application/xaml+xml
.xbap application/x-ms-xbap
 
but if i paste website in local drive like D or E and form i open using vs2010 and if i run(localhost:1533/sam/samsl.aspx) i can get silverlight control in page ,and i can use.
 
so problem in iis,pls reply me what cofig need to chnage in iis6.0

May I know why I get this error 503 Service unavailable after installng IIS?

Oracle Error ORA-01019 On IIS 6

$
0
0

I am using VS 2008, Oracle Database 11g, andIIS6.

I am getting connection throw SQLPLUS, Getting telnet of DB Server.

Everything is good while I am running my asp.net application on VS 2008.

Once I deploy it on same server then I am getting error

"Error while trying to retrieve text for error ORA-01019"

On server there is only one SQAORA32.dll and tnsnames.ORA file.

I have given administrative privilege to respective folders. I am debugging it on IIS byAttach to process (w3wp.exe) .  I have gone throw so many article none of them giving me proper solution. It is very urgent to resolve this issue.

Rewrite on Boolean True

$
0
0

Hi,

I have a function I have in a DLL and would like to redirect users to the same page if the boolean is true. I could write an If statement but for 72 asp.net pages doesn't seem like a good idea. Is there anyway I can do this in URL rewrite in IIS 7.5/8?

IServerXMLHTTPRequest on HTTPS

$
0
0

I am trying to implement a c++ application that will access an HTTPS server using IServerXMLHTTPRequest.

When I try to run the code below, the server returns an 403 (Forbidden) error.

What could be the cause of this? And, what should I do about this?

My current code is:

CComPtr<MSXML2::IServerXMLHTTPRequest> xmlHttp;
    HRESULT hr = xmlHttp.CoCreateInstance(__uuidof(ServerXMLHTTP));
    hr = xmlHttp->open(_T("POST"),_T("https://someurl.com/somepath"),false);
    hr = xmlHttp->setTimeouts( 100000,
            50000,
            100000,
            100000
            );
    hr = xmlHttp->setOption(SXH_OPTION_SELECT_CLIENT_SSL_CERT,
                            xmlHttp->getOption(SXH_OPTION_SELECT_CLIENT_SSL_CERT));
    hr = xmlHttp->setRequestHeader(_T("Content-Type"),_T("application/x-www-form-urlencoded"));
    sPostData = ...;
    hr = xmlHttp->send((BSTR)sPostData);

file operation

$
0
0

Hi,

I'm rookie, so my question could be a bit strange...
Is there any way to store file operations ( e.g. copy file on ftp (total commander)) on server or another way

thank you,

Gergő

Updateing multiple .asp pages within a single record

$
0
0

I am currently using Frontpage to create .asp pages for updating and viewing my access 2000 database.

Instead of typing in an access code for a series of single client updates, is it an .asp function to enable me tostay within the same record while jumping from one .asp page to the other?

Thanks,

 

Ron

Hosting virtual directory in IIS7

$
0
0

Hi all,

Hosting virtual directory in IIS 5.1 is easy, but in IIS 7 it's difficult.

I'm using Windows server 2008 R2. I couldn't find any clear reference on googling. I want to host a asp.net webpage.

Help me!!!!

site not working accross network

$
0
0

I have setup an intranet  php website on a server through iis and it works great on the server. But when I tried to connect through the network ie does not connect but I can connect through chrome,firefox and opera. initially it was telling me to download ie11 and i did. but still is not working.

Any help will be appreciated.

Thanks

Download Question

$
0
0

Hi,

I  am thinking of installing wordpress locally to use as a test site for themes and plugins. I currently have a live site but want to do the testing locally. I don't know anything about Webmatrix so before I try it, I could use some help.

1) Once installed and I am ready  to put site live, is it easy to upload?

2) The new site will be at the same URL as the old site, so will it remove the old site files or will I need to do that manually?  

3) Once the new site is uploaded, can I edit it as I have done with my current site by logging into Wordpress (e.g,http://mysite/wp-admin) or do I have to edit through Webmatrix?

Thanks for any information you can give me.

Chris

Viewing all 26858 articles
Browse latest View live


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