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

Getting Classic asp app working on Windows 7

$
0
0

Hello,

I have a classic asp application that i have working on a windows 7 machine where I can debug in Visual Studio 2010.  unfortunately hard drive issues are forcing me to move to another windows 7 machine.   

The application uses the msdaora provider which I am trying to get installed but the installer doesn't seem to be working for some reason and I can't remember if this is how we got it working initially. 

Anyone know how to get a classic asp application using the msdaora provider working on windows 7?

Thanks.


Web Deploy causes dll’s to be corrupt when executed from Windows Server 2012

$
0
0

 Hi,

 

We’re having problem with Web Deploy on Windows 2012 Servers.

 

The following command is executed in a Windows Server 2012 (Web Deploy V3)

msdeploy.exe  -verb:sync -source:contentpath=”path to source share” -dest:contentpath=”path to dest share”

 

This sometimes causes dll-files to be corrupt in the destination path!

I have compared corrupted dll-files from the source/destination and the corruptions in the files are different everytime

I have runned batch test and appr 10-20% of command execution above fails with corrupt dll-files.

 

We’ve been using this command on Server 2008/2008 R2 for several years without any dll-files to be corrupt.

The problem has occurred on all tested Windows 2012 servers.

 

Regards

Anders Sjölander

Application pool stops 503 service unavailable

$
0
0

Hi Folks

I migrated a website from IIS6 to IIS 7.5.

I turned on the 32-bit application to true in the Application Pool.

After few seconds the application pool stops responding: Service Unavailable. HTTP Error 503. The service is unavailable.

When looking at the Event Viewer, I see the following error:The Module DLL 'C:\Inetpub\CSPGateway\CSPms.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, seehttp://go.microsoft.com/fwlink/?LinkId=29349.

 

The file CSPms.dll exists in this location. This DLL is used for another website I guess.

Can I turn it off for this particular website? Or do you guys have another solution?

I read also this thread: http://forums.iis.net/t/1149768.aspx?500+19+Error+When+Enabling+32+bit+Application+Pool

Thx in advance.

 

 

IIS 500 error

$
0
0

Hi, when I go to http://myurl.pw

I end up getting a 500.0 internal server error "this page cannot be seen because of an internal server error"

I'm not sure why this is, I've tried literally everything to sort this issue. 

thanks, 

steve

IIS7.5 can't find file

$
0
0

I am using IIS7.5 to run a small website (for myself) to keep up on things when I am on the road. It uses Docuwiki. It ran fine until a couple of weeks ago when I suddenly couldn't get access anymore. I have been trying since to get that working again.

Here is the problem: I call up a php page from localhost/wiki/file.php, and I get an error message:404.0 Not found. In the details it says that the physical path is c:\inetpub\wwwroot\wiki\file.php. When I look into the folder, the file is DEFINITELY there. I even set the permissions ro read for anonymous. But I still get the error message instead of the page.

It gets more confusing when I go via the internet to access a page. I set up a domain (let's call it "mydomain.com), which links back to my server. I have set up a website (mydomain), and I have a file "test.php" in the root directory of the web page, as well as a copy of the wiki. Now, when I load the "test.php" from a browser (www.mydomain.com/test.php), everything is fine. When I try to load the "\wiki\file.php" page I get also an error message.

This error emssage is a bit different. It complains that "An error occurred loading a configuration file: Failed to start monitoring changes to 'C:\inetpub\mydomain\wiki\web.config' because access is denied."

Now when I check, I don't even have a web.config in the wiki folder. I have one in the "mydomain" folder. And when I put a web.config file in the wiki folder, the error message changes again:

"There is a problem with the resource you are looking for, and it cannot be displayed."

I am already getting far deeper into this than I ever wanted, and I can't figure this out. Does anyone have a suggestion?

net.tcp System.InsufficientMemoryException

$
0
0

Hi,

I am using an application .net with the Net.TCP binding.

I'm, running client and server in the  same Server (2k8 R2).

I verify my logs, and I found the following error:

System.InsufficientMemoryException: Insufficient winsock resources available to complete socket connection initiation. ---> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full (IP:820)  at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)     at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)     at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)     --- End of inner exception stack trace ---    Server stack trace:      at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)     at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)     at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)    Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)     at System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout)

Somebody, can help me?

* Sorry, my english!

Web Deploy Error Message

$
0
0

I am trying to migrate web content from a windows server 2008r2, iis 7 to another windows server 2008r2. I am using the following ms deploy document as a guideline: http://www.orcsweb.com/blog/fred/how-to-migrate-all-your-sites-using-web-deploy/. I am getting the following error messag on the sestination server when I tried to import the web content in ms deploy version 2.0. Error Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupted. I think this is because it's not excepting the encrypted password. I am unable to paste the error message onto the site. i am unable to paste anything into the box. Sorry!

 

url rewrite to redirect 301 entire site

$
0
0

The original site was running ColdFusion, hence files were .cfm. I want to redirect all page requests to the identical directory/page but now a .html. Trying to avoid a Google SEO hit. All the code I have found on the web does not work.

 ex.

^/(*.cfm)  ->  ^/(*.html)

Suggestions?

Thx

Harry

 


FPSE RTR unable to download

$
0
0

Wollte nur mal kurz diesen FPSE downloaden, lesen muss man sehr viel, und wenn man dann am richtigen Ort ist hat man server timeouts.

Und der PI kennt den FPSE von RTR nicht. Was soll man also tun; am besten hier etwas motzen

Attempted to download the FPSE RTR, direct download repeatedly has server time outs, dont know why. Attemting to use the proposed PI, a no go either, as PI does not know a package which has the FPSE from RTR in it. But at least you can read why you love the PI;

Time consuming isn't it?

Josef Stadelmann

building an FTP on IIS

$
0
0

hi everybody

i'm a novice on the FTP field !! never used it and i need to create an ftp account 
i choosed to build an ftp site on my windows7 ...   i don't know if it is the best way !! you may advise me if there is a better idea  :) !
the problem is i don't know how to create passwords to access the ftp site,  during the process i wasn't asked to provide any password !!!!
i followed the stapes given in this site and in technet.microsoft,  i gave a nome to the ftp site, choosed  "All Unassigned" in the ip adress,  allow SSL,  i choosed basic authentication,  and gave authorization to administrator. and finished installing the FTP site.

now how can i define a password and what is tha hostname i can use to get access to the site ?! 

thanks in advance 

HTTP Error 500.19

$
0
0

On my Windows 8.1 / 64 bit laptop I'm trying to get my ASP.NET 4.0 Web Forms application running without VStudio.  I believe I have everything setup properly but am getting this error:

Detailed Error Information:
Module    IIS Web Core 
Notification    BeginRequest 
Handler    Not yet determined 
Error Code    0x80070021 
Config Error    This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".  
Config File    \\?\C:\inetpub\wwwroot\Incentives\web.config 
Requested URL    http://localhost:80/Incentives 
Physical Path    C:\inetpub\wwwroot\Incentives 
Logon Method    Not yet determined 
Logon User    Not yet determined 


Config Source:
  145:     <validation validateIntegratedModeConfiguration="false" />
  146:     <handlers>
  147:       <remove name="ChartImage_axd" />

I followed the advice shown here and here but neither fixed the problem.

Might anyone have a suggestion of what else I could try to do to resolve this?

Robert

IIS logs : sc-bytes

$
0
0

What does sc-bytes represent ? every single discussion and blog about sc-bytes states that its represents bytes from server to client.

Want to know whether sc-bytes represents total response bytes, for eg,. when we access any URL , does it include the bytes for css,js etc ?

Nested sectionGroups inside IIS8 express applicationhost file?

$
0
0

I have looked at every post I can find on Stack overflow etc and cannot solve my problem of trying to use IIS8 express to learn Visual Studio 2013 Express. I notice VS 13 is nested way deep inside the VS 2012 folder in Programs on my Windows 7 computer. Also, I notice there are sectionGroups inside of sectionGroups in the applicationhost files. I have read there should be an IIS Express folder in my documents folder, but it is never created. Doesn't  help if I put one there either. I always get error message, usually the one about the redirection file not being read.

help......

Http error 500 IIS 7.5

$
0
0

My dear saviour :-)

Our IIS 7.5 on SBS 2011 does not show any website, instead gives us an error 500. I am trying to open the default website, where I just put a simple index.html (http://localhost).

Following you will see the error trace, I do not understand at which point things go wrong.

I would be glad if anybody maybe can explain to me where things go wrong, so that I can fix such things in less than 2 days next time.

No.


EventName

Details

Time

1. i GENERAL_REQUEST_START SiteId="1", AppPoolId="SBS Web Applications application pool", ConnId="1610612805", RawConnId="0", RequestURL="http://server:80/", RequestVerb="GET"
 08:55:02.429 
2. — PRE_BEGIN_REQUEST_START ModuleName="FailedRequestsTracingModule"
 08:55:02.429 
3. — PRE_BEGIN_REQUEST_END ModuleName="FailedRequestsTracingModule", NotificationStatus="NOTIFICATION_CONTINUE"
 08:55:02.429 
4. — PRE_BEGIN_REQUEST_START ModuleName="RequestMonitorModule"
 08:55:02.429 
5. — PRE_BEGIN_REQUEST_END ModuleName="RequestMonitorModule", NotificationStatus="NOTIFICATION_CONTINUE"
 08:55:02.429 
6. — PRE_BEGIN_REQUEST_START ModuleName="IsapiFilterModule"
 08:55:02.429 
7. i FILTER_PREPROC_HEADERS_START 
 08:55:02.429 
8. i FILTER_START FilterName="C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa\auth\owaauth.dll"
 08:55:02.429 
9. i FILTER_END NotificationStatus="SF_STATUS_REQ_NEXT_NOTIFICATION"
 08:55:02.429 
10. i FILTER_START FilterName="C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\sync\bin\AirFilter.dll"
 08:55:02.429 
11. i FILTER_END NotificationStatus="SF_STATUS_REQ_NEXT_NOTIFICATION"
 08:55:02.429 
12. i FILTER_PREPROC_HEADERS_END 
 08:55:02.429 
13. — PRE_BEGIN_REQUEST_END ModuleName="IsapiFilterModule", NotificationStatus="NOTIFICATION_CONTINUE"
 08:55:02.429 
14. — PRE_BEGIN_REQUEST_START ModuleName="WebDAVModule"
 08:55:02.429 
15. — PRE_BEGIN_REQUEST_END ModuleName="WebDAVModule", NotificationStatus="NOTIFICATION_CONTINUE"
 08:55:02.429 
16. i GENERAL_ENDPOINT_INFORMATION RemoteAddress="fe80::9185:7570:4676:a52f%17", RemotePort="37619", LocalAddress="fe80::9185:7570:4676:a52f%17", LocalPort="80"
 08:55:02.429 
17. i GENERAL_REQUEST_HEADERS Headers="Connection: Keep-Alive
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Accept-Encoding: gzip, deflate
Accept-Language: de-DE
Host: server
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
DNT: 1"
 08:55:02.429 
18. i URL_CACHE_ACCESS_START RequestURL="/"
 08:55:02.429 
19. i URL_CACHE_ACCESS_END PhysicalPath="", URLInfoFromCache="false", URLInfoAddedToCache="true", ErrorCode="Der Vorgang wurde erfolgreich beendet.
 (0x0)"
 08:55:02.429 
20. i GENERAL_GET_URL_METADATA PhysicalPath="", AccessPerms="513"
 08:55:02.429 
21. i HANDLER_CHANGED OldHandlerName="", NewHandlerName="ExtensionlessUrlHandler-Integrated-4.0", NewHandlerModules="ManagedPipelineHandler", NewHandlerScriptProcessor="", NewHandlerType="System.Web.Handlers.TransferRequestHandler"
 08:55:02.429 
22. — NOTIFY_MODULE_START ModuleName="HttpCacheModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"
 08:55:02.429 
23. — NOTIFY_MODULE_END ModuleName="HttpCacheModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
 08:55:02.429 
24. — NOTIFY_MODULE_START ModuleName="IpRestrictionModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"
 08:55:02.429 
25. — NOTIFY_MODULE_END ModuleName="IpRestrictionModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
 08:55:02.429 
26. — NOTIFY_MODULE_START ModuleName="RequestFilteringModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"
 08:55:02.429 
27. — NOTIFY_MODULE_END ModuleName="RequestFilteringModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
 08:55:02.429 
28. — NOTIFY_MODULE_START ModuleName="FailedRequestsTracingModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"
 08:55:02.429 
29. — NOTIFY_MODULE_END ModuleName="FailedRequestsTracingModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
 08:55:02.429 
30. — NOTIFY_MODULE_START ModuleName="ConfigurationValidationModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"
 08:55:02.429 
31. — NOTIFY_MODULE_END ModuleName="ConfigurationValidationModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"
 08:55:02.429 
32. — NOTIFY_MODULE_START ModuleName="WSMan", Notification="BEGIN_REQUEST", fIsPostNotification="false"
 08:55:02.429 
33. r MODULE_SET_RESPONSE_ERROR_STATUS
Warning ModuleName="WSMan", Notification="BEGIN_REQUEST", HttpStatus="500", HttpReason="Request Failed", HttpSubStatus="0", ErrorCode="Der Vorgang wurde erfolgreich beendet.
 (0x0)", ConfigExceptionInfo=""
 08:55:02.460 

Update:

C:\Windows\system32>%windir%\system32\inetsrv\AppCmd.exe list sites 
SITE "Default Web Site" id:1,bindings:http/127.0.0.1:80:,http/*:80:,https/127.0.0.1:443:,net.tcp/808:*,net.pipe/*,net.msmq/localhost,msmq.formatname/localhost,https/*:443:,state:Started)

ARR+WSFederation: 502.3 empty request entity

$
0
0

Environment:

  • WIndows Server 2008R2
  • IIS 7.5
  • ARR 3
  • enabled WS Federation Module

In web config i have a rule like this:

<rule name="grafana" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="http://192.168.xxx.xxx/{R:1}" />
</rule>

Applications do POST requests with form data type of request body and the server returned an invalid or unrecognized response. 

with failed request tracing  I get the following:

ModuleNameApplicationRequestRouting
Notification128
HttpStatus502
HttpReasonBad Gateway
HttpSubStatus3
ErrorCode2147954552
ConfigExceptionInfo
NotificationEXECUTE_REQUEST_HANDLER

and then 

SET_RESPONSE_ERROR_DESCRIPTION 

<div id="section_errors_138_details" class="hidden">

ErrorDescriptionThe server returned an invalid or unrecognized response 

</div>

The reason of invalid respone is empty request body after redirecting.

At start reques looks like this (not empty entity):

GENERAL_REQUEST_ENTITY
Buffer="from=-6h&until=now&target=randomWalk('random%20walk')&format=json&maxDataPoints=1920"

then url changed:

URL_CHANGED
OldUrl="http://192.168.xx.xxx:xx/render", NewUrl="/graphite/render"

and finally i have empty request (with only headers and cookies): (and tcpdump confirms that) wireshark POST

GENERAL_READ_ENTITY_START

GENERAL_READ_ENTITY_END
BytesReceived="0", ErrorCode="Reached the end of the file.
 (0x80070026)"

I tried to increase both buffers in ARR settings but still the same 502.3 error.

My web.config

<?xml version="1.0" encoding="UTF-8"?><configuration><configSections><section name="system.identityModel" type="System.IdentityModel.Configuration.SystemIdentityModelSection, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /><section name="system.identityModel.services" type="System.IdentityModel.Services.Configuration.SystemIdentityModelServicesSection, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /></configSections><system.webServer><rewrite><rules><clear /><rule name="/elasticsearch" stopProcessing="true"><match url="^elasticsearch(.*)" /><conditions logicalGrouping="MatchAll" trackAllCaptures="false" /><action type="Rewrite" url="http://192.168.191.138:9200/{R:1}" /></rule><rule name="graphite" stopProcessing="true"><match url="^graphite(.*)" /><conditions logicalGrouping="MatchAll" trackAllCaptures="false" /><action type="Rewrite" url="http://192.168.191.138:82/{R:1}" /></rule> <rule name="grafana" stopProcessing="true"><match url="(.*)" /><conditions logicalGrouping="MatchAll" trackAllCaptures="false" /><action type="Rewrite" url="http://192.168.191.138/{R:1}" /></rule>            </rules></rewrite>	<modules runAllManagedModulesForAllRequests="true"><add name="WSFederationAuthenticationModule" type="System.IdentityModel.Services.WSFederationAuthenticationModule, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler" /><add name="SessionAuthenticationModule" type="System.IdentityModel.Services.SessionAuthenticationModule, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler" /></modules><security><requestFiltering><requestLimits maxUrl="20480" maxQueryString="10240" /><verbs></verbs></requestFiltering></security><httpErrors errorMode="Detailed" /><tracing><traceFailedRequests><add path="*"><traceAreas><add provider="ASP" verbosity="Verbose" /><add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" /><add provider="ISAPI Extension" verbosity="Verbose" /><add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,FastCGI" verbosity="Verbose" /></traceAreas><failureDefinitions timeTaken="00:00:00" statusCodes="504" /></add></traceFailedRequests></tracing>        </system.webServer><system.identityModel><identityConfiguration><audienceUris><add value="https://edi-grafana.kontur.ru/" /></audienceUris><certificateValidation certificateValidationMode="None" /><issuerNameRegistry type="System.IdentityModel.Tokens.ConfigurationBasedIssuerNameRegistry, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"><trustedIssuers><add thumbprint="A5686A15188253C513199353A3AD94C063E4F7D6" name="Passport" /></trustedIssuers></issuerNameRegistry><securityTokenHandlers><!-- machine key for session protection --><remove type="System.IdentityModel.Tokens.SessionSecurityTokenHandler, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /><add type="System.IdentityModel.Services.Tokens.MachineKeySessionSecurityTokenHandler, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /></securityTokenHandlers></identityConfiguration></system.identityModel><system.identityModel.services><federationConfiguration><wsFederation passiveRedirectEnabled="true" issuer="https://passport.skbkontur.ru/v2/issue/wsfed" realm="https://edi-grafana.kontur.ru/" /><cookieHandler requireSsl="false" /></federationConfiguration></system.identityModel.services><system.web><compilation debug="true" targetFramework="4.5" /><httpRuntime targetFramework="4.5" /><authentication mode="None" /><authorization><deny users="?" /></authorization><customErrors mode="Off" /></system.web></configuration>

Thanks for your help.


Redirect all to site except one

iis 6.1 do not play swf file.

$
0
0

Hi, I have quetion about play swf.

1. OS: windows 2008 R2

2. IIS: 6.1(build 7601: service pack1)

3. Framework: 2.0

4. problem: if user connect some page which show swf file.(because show loading bar)

but swf file do not show anything.

5. etc: i check mime.

flv : video/x-flv

swf: application/x-shockwave-flash

what should i do that?

enableVersionHeader="false" not working in IIS 6

$
0
0

As per our requirement, we need to hide the response headers.

Used enableVersionHeader="false", its not working.  My server is "windows 2003 - IIS 6".

Also tried URL Scan 3.1 - "RemoveServerHeader = 1".  Even that is not working.

Any help is appreciated.

How to add a iis error pages

$
0
0

Hi

In this example the inherited error pages with status code 401 is deleted.

So how can I insert a new 401 with the status code " inherited " ? is it posible

%SystemDrive%\inetpub\custerr\<LANGUAGE-TAG>\401.HTM

I have tried a lot but all come as a local status

Is there a command to grant IPs relay access in SMTP Service?

$
0
0

I really do not want to manually enter 150 IP addresses

Viewing all 25587 articles
Browse latest View live


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